1 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
7 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10 finalizing MALLSTREAM.
12 * sysdeps/mach/hurd/syncfs.c: New file.
14 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21 (_nss_dns_gethostbyname4_r): Likewise.
22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33 * elf/cache.c (print_entry): Print ",AArch64" for
36 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37 * elf/cache.c (print_entry): Print ",hard-float" for
40 2012-11-18 David S. Miller <davem@davemloft.net>
42 With help from Joseph Myers.
43 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
45 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51 * math/libm-test.inc (y0_test): New tests.
53 * sysdeps/i386/fpu/libm-test-ulps: Update.
54 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
59 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61 * configure: Regenerated.
63 2012-11-17 David S. Miller <davem@davemloft.net>
66 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67 nonzero exponents with absolute value below 0x1p-128 to +/-
70 2012-11-17 Joseph Myers <joseph@codesourcery.com>
72 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
76 * posix/getconf-speclist.c: New file.
77 * posix/posix-envs.def: Likewise.
78 * posix/confstr.c (START_ENV_GROUP): New macro.
79 (END_ENV_GROUP): Likewise.
80 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
81 (KNOWN_PRESENT_ENV_STRING): Likewise.
82 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
83 (UNKNOWN_ENVIRONMENT): Likewise.
84 (confstr): Include posix-envs.def instead of handling
85 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
86 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
87 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
88 (END_ENV_GROUP): Likewise.
89 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
90 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
91 (UNKNOWN_ENVIRONMENT): Likewise.
92 (__sysconf): Include posix-envs.def instead of handling associated
94 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
95 preprocessing getconf-speclist.c rather than running getconf or
96 generating empty file.
98 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
100 * scripts/check-local-headers.sh: Ignore 'mach' headers.
102 2012-11-16 Andrej Lajovic <natrij@gmail.com>
105 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
107 2012-11-16 David S. Miller <davem@davemloft.net>
109 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
110 smaller than LDBL_EPSILON/2.0L, just return xm1.
112 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
114 * elf/tst-array1.c (init): Set constructor priority to 1000.
115 (fini): Set destructor priority to 1000.
116 * elf/tst-array2dep.c: Likewise.
118 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
121 * libio/fileops.c (_IO_new_file_write): Correctly return error.
122 (_IO_new_file_xsputn): Also return EOF if none of the input
123 data was written when overflow failed.
124 * libio/iopadn.c (_IO_padn): Likewise.
125 * libio/iowpadn.c (_IO_wpadn): Likewise.
126 * stdio-common/tst-put-error.c: Add copyright notice.
127 (do_test): Add case for printing padded string.
128 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
129 _IO_padn returned error.
130 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
131 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
134 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * libio/libioP.h: Add comment note that the references to C++
137 bits are now obsolete.
139 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
141 * math/libm-test.inc (check_complex): Use asprintf.
143 2012-11-14 Joseph Myers <joseph@codesourcery.com>
145 * debug/pcprofiledump.c (print_version): Update copyright year.
146 * malloc/memusagestat.c (print_version): Likewise.
148 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
151 * elf/Makefile (tests): Add tst-audit8.
152 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
153 ($(objpfx)tst-audit8.out): New target.
154 (tst-audit8-ENV): New variable.
155 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
156 audit if l_reloc_result is NULL.
157 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
158 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
159 * elf/tst-audit8.c: New file.
161 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
163 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
164 * misc/Makefile (CFLAGS-select.c): Define.
165 * posix/Makefile (CFLAGS-pause.c): Define.
167 2012-11-13 David S. Miller <davem@davemloft.net>
169 * crypt/Makefile: Move test targets after toplevel Rules
170 inclusion. Grab any necessary sysdep routines when linking.
171 * crypt/md5.c (md5_process_block): Remove define, we will always
172 name it __md5_process_block.
173 (md5_finish_ctx): Update md5_process_block call.
174 (md5_stream): Likewise.
175 (md5_process_bytes): Likewise.
176 (md5_process_block): Rename to __md5_process_block and move to ...
177 * crypt/md5-block.c: ... here.
178 * crypt/sha256.c (sha256_process_block): Move to ...
179 * crypt/sha256-block.c: ... here.
180 * crypt/sha512.c (sha512_process_block): Move to ...
181 * crypt/sha512-block.c: ... here.
182 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
184 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
185 * sysdeps/sparc/sparc64/multiarch/Makefile
186 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
188 (localedef-aux): Add md5 crypto assembler when in locale subdir.
189 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
191 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
192 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
193 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
194 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
195 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
196 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
198 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
202 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
206 2012-11-13 Joseph Myers <joseph@codesourcery.com>
208 * timezone/tzselect.ksh: Update from tzcode git revision
209 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
210 * timezone/zdump.c: Likewise.
211 * timezone/zic.c: Likewise.
212 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
213 in TZVERSION setting, not $(PKGVERSION).
214 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
215 REPORT_BUGS_TO settings.
218 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
221 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
223 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
224 detection to immediately after _FP_ROUND().
225 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
228 2012-11-11 David S. Miller <davem@davemloft.net>
230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
232 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
233 __close rather than their public counterparts.
235 2012-11-10 Joseph Myers <joseph@codesourcery.com>
237 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
239 [UNIX98] (sem_timedwait): Do not expect.
240 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
241 [XPG4 || UNIX98] (sockatmark): Do not expect.
242 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
243 (clock_getcpuclockid): Do not expect.
244 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
245 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
247 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
248 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
249 [UNIX98] (vwscanf): Likewise.
250 [UNIX98] (vswscanf): Likewise.
252 2012-11-09 Joseph Myers <joseph@codesourcery.com>
254 * timezone/version.h: Remove file.
255 * timezone/README: Do not refer to version.h.
256 * timezone/Makefile ($(objpfx)zic.o): New dependency on
258 ($(objpfx)zdump.o): Likewise.
259 ($(objpfx)version.h): New target.
261 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
263 * timezone/README: Don't mention modification to tzselect.ksh.
264 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
265 work on unmodified tzselect.ksh. Substitute version numbers in
268 * Makefile (format-me): Remove.
269 (INSTALL): Adjust indentation. Use commands directly instead of
272 * aclocal.m4 (ACX_PKGVERSION): New macro.
273 (ACX_BUGURL): Likewise.
274 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
275 (PKGVERSION): New AC_DEFINE_UNQUOTED.
276 (REPORT_BUGS_TO): Likewise.
277 * configure: Regenerated.
278 * config.h.in (PKGVERSION): New macro.
279 (REPORT_BUGS_TO): Likewise.
280 * config.make.in (PKGVERSION): New variable.
281 (PKGVERSION_TEXI): Likewise.
282 (REPORT_BUGS_TO): Likewise.
283 (REPORT_BUGS_TEXI): Likewise.
284 * Makefile (format-me): Use -I$(common-objpfx)manual.
285 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
286 ($(common-objpfx)manual/%): New target.
287 (manual/%): Remove target.
288 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
289 (print_version): Use PKGVERSION.
290 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
291 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
293 ($(objpfx)xtrace): Likewise.
294 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
295 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
296 (print_version): Use PKGVERSION.
297 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
298 (do_version): Use PKGVERSION.
299 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
301 (common-ldd-rewrite): Likewise.
302 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
303 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
304 (print_version): Use PKGVERSION.
305 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
306 * elf/pldd.c (argp_program_bug_address): Remove variable.
307 (more_help): New function.
308 (argp): Use more_help.
309 (print_version): Use PKGVERSION.
310 * elf/sln.c (main): Use PKGVERSION.
311 (usage): Use REPORT_BUGS_TO.
312 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
313 (top level): Use PKGVERSION.
314 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
315 (print_version): Use PKGVERSION.
316 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
317 (print_version): Use PKGVERSION.
318 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
319 (print_version): Use PKGVERSION.
320 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
321 (print_version): Use PKGVERSION.
322 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
323 (print_version): Use PKGVERSION.
324 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
325 (print_version): Use PKGVERSION.
326 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
328 ($(objpfx)memusage): Likewise.
329 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
330 (do_version): Use PKGVERSION.
331 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
332 (print_version): Use PKGVERSION.
333 * malloc/mtrace.pl ($PACKAGE): Remove variable.
334 ($PKGVERSION): New variable.
335 ($REPORT_BUGS_TO): Likewise.
336 (usage): Use $REPORT_BUGS_TO.
337 (top level): Use $PKGVERSION.
338 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
339 ($(objpfx)pkgvers.texi): New rule.
340 ($(objpfx)stamp-pkgvers): Likewise.
341 * manual/install.texi: Include pkgvers.texi.
342 (--with-pkgversion): Document new configure option.
343 (--with-bugurl): Likewise.
344 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
345 than necessarily for this particular distribution. Use
346 REPORT_BUGS_TO for where to report bugs.
347 * INSTALL: Regenerated.
348 * manual/libc.texinfo: Include pkgvers.texi.
349 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
350 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
351 (print_version): Use PKGVERSION.
352 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
353 (print_version): Use PKGVERSION.
354 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
355 (print_version): Use PKGVERSION.
356 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
357 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
359 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
360 (print_version): Use PKGVERSION.
361 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
362 (print_version): Use PKGVERSION.
363 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
366 * timezone/checktab.awk: Update from tzcode 2012i.
367 * timezone/ialloc.c: Likewise.
368 * timezone/private.h: Likewise.
369 * timezone/scheck.c: Likewise.
370 * timezone/tzfile.h: Likewise.
371 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
372 (TZVERSION): Hardcode tzcode version number.
373 * timezone/zdump.c: Update from tzcode 2012i.
374 * timezone/zic.c: Likewise.
375 * timezone/version.h: New file.
376 * timezone/README: Describe version.h. Update upstream location.
379 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
380 (mktemp): Enable declaration.
381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
398 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
399 offset in buffer as u_int32_t not u_long. Consistently use memcpy
400 for copies of such integer values.
401 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
402 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
404 2012-11-09 Andreas Jaeger <aj@suse.de>
406 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
407 definitions and declarations that are provided by
408 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
410 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
412 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
413 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
414 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
417 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
419 * elf/elf.h: Update comment before AArch64 relocations.
421 2012-11-07 David S. Miller <davem@davemloft.net>
423 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
424 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
425 (__start_context): Declare.
426 (__makecontext_ret): Delete.
427 (__makecontext): Hook up __start_context instead of
429 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
430 (sysdep_routines): Add __start_context when in stdlib.
432 2012-11-07 Joseph Myers <joseph@codesourcery.com>
434 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
435 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
436 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
438 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
439 (READELF): New variable. Use it instead of hardcoded "readelf".
441 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
443 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
444 * sysdeps/x86/Makefile: Here.
445 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
446 * sysdeps/x86/tst-xmmymm.sh: This.
448 2012-11-07 Joseph Myers <joseph@codesourcery.com>
450 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
452 [UNIX98] (pthread_barrier_t): Do not expect.
453 [UNIX98] (pthread_barrierattr_t): Likewise.
454 [UNIX98] (pthread_spinlock_t): Likewise.
455 [UNIX98] (pthread_barrier_destroy): Likewise.
456 [UNIX98] (pthread_barrier_init): Likewise.
457 [UNIX98] (pthread_barrier_wait): Likewise.
458 [UNIX98] (pthread_barrierattr_destroy): Likewise.
459 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
460 [UNIX98] (pthread_barrierattr_init): Likewise.
461 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
462 [UNIX98] (pthread_getcpuclockid): Likewise.
463 [UNIX98] (pthread_mutex_timedlock): Likewise.
464 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
465 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
466 [UNIX98] (pthread_sigmask): Likewise.
467 [UNIX98] (pthread_spin_destroy): Likewise.
468 [UNIX98] (pthread_spin_init): Likewise.
469 [UNIX98] (pthread_spin_lock): Likewise.
470 [UNIX98] (pthread_spin_trylock): Likewise.
471 [UNIX98] (pthread_spin_unlock): Likewise.
472 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
474 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
475 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
476 [XPG3 || XPG4] (pthread_cond_t): Likewise.
477 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
478 [XPG3 || XPG4] (pthread_key_t): Likewise.
479 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
480 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
481 [XPG3 || XPG4] (pthread_once_t): Likewise.
482 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
483 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
484 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
485 [XPG3 || XPG4] (pthread_t): Likewise.
487 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
489 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
491 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
492 Change function return type to int.
494 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
495 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
496 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
497 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
498 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
499 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
500 [!POSIX] (posix_madvise): Likewise.
501 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
503 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
504 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
506 (posix_mem_offset): Likewise.
507 (posix_typed_mem_get_info): Likewise.
508 (posix_typed_mem_open): Likewise.
510 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
511 Change condition to [XOPEN2K8].
513 * conform/conformtest.pl: Preprocess allow-header data with -x c
514 instead of from stdin.
515 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
516 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
517 [C99-based standards] (cerfc): Likewise.
518 [C99-based standards] (cexp2): Likewise.
519 [C99-based standards] (cexpm1): Likewise.
520 [C99-based standards] (clog10): Likewise.
521 [C99-based standards] (clog1p): Likewise.
522 [C99-based standards] (clog2): Likewise.
523 [C99-based standards] (clgamma): Likewise.
524 [C99-based standards] (ctgamma): Likewise.
525 [C99-based standards] (cerff): Likewise.
526 [C99-based standards] (cerfcf): Likewise.
527 [C99-based standards] (cexp2f): Likewise.
528 [C99-based standards] (cexpm1f): Likewise.
529 [C99-based standards] (clog10f): Likewise.
530 [C99-based standards] (clog1pf): Likewise.
531 [C99-based standards] (clog2f): Likewise.
532 [C99-based standards] (clgammaf): Likewise.
533 [C99-based standards] (ctgammaf): Likewise.
534 [C99-based standards] (cerfl): Likewise.
535 [C99-based standards] (cerfcl): Likewise.
536 [C99-based standards] (cexp2l): Likewise.
537 [C99-based standards] (cexpm1l): Likewise.
538 [C99-based standards] (clog10l): Likewise.
539 [C99-based standards] (clog1pl): Likewise.
540 [C99-based standards] (clog2l): Likewise.
541 [C99-based standards] (clgammal): Likewise.
542 [C99-based standards] (ctgammal): Likewise.
543 * conform/data/inttypes.h-data [C99-based standards]: Include
544 stdint.h-data. Remove all expectations for stdint.h contents.
545 [C99-based standards] (PRI*): Do not allow.
546 [C99-based standards] (SCN*): Likewise.
547 [C99-based standards] (*_t): Likewise.
548 [C99-based-standards] (PRId8): Expect macro.
549 [C99-based-standards] (PRIi8): Likewise.
550 [C99-based-standards] (PRIo8): Likewise.
551 [C99-based-standards] (PRIu8): Likewise.
552 [C99-based-standards] (PRIx8): Likewise.
553 [C99-based-standards] (PRIX8): Likewise.
554 [C99-based-standards] (SCNd8): Likewise.
555 [C99-based-standards] (SCNi8): Likewise.
556 [C99-based-standards] (SCNo8): Likewise.
557 [C99-based-standards] (SCNu8): Likewise.
558 [C99-based-standards] (SCNx8): Likewise.
559 [C99-based-standards] (PRIdLEAST8): Likewise.
560 [C99-based-standards] (PRIiLEAST8): Likewise.
561 [C99-based-standards] (PRIoLEAST8): Likewise.
562 [C99-based-standards] (PRIuLEAST8): Likewise.
563 [C99-based-standards] (PRIxLEAST8): Likewise.
564 [C99-based-standards] (PRIXLEAST8): Likewise.
565 [C99-based-standards] (SCNdLEAST8): Likewise.
566 [C99-based-standards] (SCNiLEAST8): Likewise.
567 [C99-based-standards] (SCNoLEAST8): Likewise.
568 [C99-based-standards] (SCNuLEAST8): Likewise.
569 [C99-based-standards] (SCNxLEAST8): Likewise.
570 [C99-based-standards] (PRIdFAST8): Likewise.
571 [C99-based-standards] (PRIiFAST8): Likewise.
572 [C99-based-standards] (PRIoFAST8): Likewise.
573 [C99-based-standards] (PRIuFAST8): Likewise.
574 [C99-based-standards] (PRIxFAST8): Likewise.
575 [C99-based-standards] (PRIXFAST8): Likewise.
576 [C99-based-standards] (SCNdFAST8): Likewise.
577 [C99-based-standards] (SCNiFAST8): Likewise.
578 [C99-based-standards] (SCNoFAST8): Likewise.
579 [C99-based-standards] (SCNuFAST8): Likewise.
580 [C99-based-standards] (SCNxFAST8): Likewise.
581 [C99-based-standards] (PRId16): Likewise.
582 [C99-based-standards] (PRIi16): Likewise.
583 [C99-based-standards] (PRIo16): Likewise.
584 [C99-based-standards] (PRIu16): Likewise.
585 [C99-based-standards] (PRIx16): Likewise.
586 [C99-based-standards] (PRIX16): Likewise.
587 [C99-based-standards] (SCNd16): Likewise.
588 [C99-based-standards] (SCNi16): Likewise.
589 [C99-based-standards] (SCNo16): Likewise.
590 [C99-based-standards] (SCNu16): Likewise.
591 [C99-based-standards] (SCNx16): Likewise.
592 [C99-based-standards] (PRIdLEAST16): Likewise.
593 [C99-based-standards] (PRIiLEAST16): Likewise.
594 [C99-based-standards] (PRIoLEAST16): Likewise.
595 [C99-based-standards] (PRIuLEAST16): Likewise.
596 [C99-based-standards] (PRIxLEAST16): Likewise.
597 [C99-based-standards] (PRIXLEAST16): Likewise.
598 [C99-based-standards] (SCNdLEAST16): Likewise.
599 [C99-based-standards] (SCNiLEAST16): Likewise.
600 [C99-based-standards] (SCNoLEAST16): Likewise.
601 [C99-based-standards] (SCNuLEAST16): Likewise.
602 [C99-based-standards] (SCNxLEAST16): Likewise.
603 [C99-based-standards] (PRIdFAST16): Likewise.
604 [C99-based-standards] (PRIiFAST16): Likewise.
605 [C99-based-standards] (PRIoFAST16): Likewise.
606 [C99-based-standards] (PRIuFAST16): Likewise.
607 [C99-based-standards] (PRIxFAST16): Likewise.
608 [C99-based-standards] (PRIXFAST16): Likewise.
609 [C99-based-standards] (SCNdFAST16): Likewise.
610 [C99-based-standards] (SCNiFAST16): Likewise.
611 [C99-based-standards] (SCNoFAST16): Likewise.
612 [C99-based-standards] (SCNuFAST16): Likewise.
613 [C99-based-standards] (SCNxFAST16): Likewise.
614 [C99-based-standards] (PRId32): Likewise.
615 [C99-based-standards] (PRIi32): Likewise.
616 [C99-based-standards] (PRIo32): Likewise.
617 [C99-based-standards] (PRIu32): Likewise.
618 [C99-based-standards] (PRIx32): Likewise.
619 [C99-based-standards] (PRIX32): Likewise.
620 [C99-based-standards] (SCNd32): Likewise.
621 [C99-based-standards] (SCNi32): Likewise.
622 [C99-based-standards] (SCNo32): Likewise.
623 [C99-based-standards] (SCNu32): Likewise.
624 [C99-based-standards] (SCNx32): Likewise.
625 [C99-based-standards] (PRIdLEAST32): Likewise.
626 [C99-based-standards] (PRIiLEAST32): Likewise.
627 [C99-based-standards] (PRIoLEAST32): Likewise.
628 [C99-based-standards] (PRIuLEAST32): Likewise.
629 [C99-based-standards] (PRIxLEAST32): Likewise.
630 [C99-based-standards] (PRIXLEAST32): Likewise.
631 [C99-based-standards] (SCNdLEAST32): Likewise.
632 [C99-based-standards] (SCNiLEAST32): Likewise.
633 [C99-based-standards] (SCNoLEAST32): Likewise.
634 [C99-based-standards] (SCNuLEAST32): Likewise.
635 [C99-based-standards] (SCNxLEAST32): Likewise.
636 [C99-based-standards] (PRIdFAST32): Likewise.
637 [C99-based-standards] (PRIiFAST32): Likewise.
638 [C99-based-standards] (PRIoFAST32): Likewise.
639 [C99-based-standards] (PRIuFAST32): Likewise.
640 [C99-based-standards] (PRIxFAST32): Likewise.
641 [C99-based-standards] (PRIXFAST32): Likewise.
642 [C99-based-standards] (SCNdFAST32): Likewise.
643 [C99-based-standards] (SCNiFAST32): Likewise.
644 [C99-based-standards] (SCNoFAST32): Likewise.
645 [C99-based-standards] (SCNuFAST32): Likewise.
646 [C99-based-standards] (SCNxFAST32): Likewise.
647 [C99-based-standards] (PRId64): Likewise.
648 [C99-based-standards] (PRIi64): Likewise.
649 [C99-based-standards] (PRIo64): Likewise.
650 [C99-based-standards] (PRIu64): Likewise.
651 [C99-based-standards] (PRIx64): Likewise.
652 [C99-based-standards] (PRIX64): Likewise.
653 [C99-based-standards] (SCNd64): Likewise.
654 [C99-based-standards] (SCNi64): Likewise.
655 [C99-based-standards] (SCNo64): Likewise.
656 [C99-based-standards] (SCNu64): Likewise.
657 [C99-based-standards] (SCNx64): Likewise.
658 [C99-based-standards] (PRIdLEAST64): Likewise.
659 [C99-based-standards] (PRIiLEAST64): Likewise.
660 [C99-based-standards] (PRIoLEAST64): Likewise.
661 [C99-based-standards] (PRIuLEAST64): Likewise.
662 [C99-based-standards] (PRIxLEAST64): Likewise.
663 [C99-based-standards] (PRIXLEAST64): Likewise.
664 [C99-based-standards] (SCNdLEAST64): Likewise.
665 [C99-based-standards] (SCNiLEAST64): Likewise.
666 [C99-based-standards] (SCNoLEAST64): Likewise.
667 [C99-based-standards] (SCNuLEAST64): Likewise.
668 [C99-based-standards] (SCNxLEAST64): Likewise.
669 [C99-based-standards] (PRIdFAST64): Likewise.
670 [C99-based-standards] (PRIiFAST64): Likewise.
671 [C99-based-standards] (PRIoFAST64): Likewise.
672 [C99-based-standards] (PRIuFAST64): Likewise.
673 [C99-based-standards] (PRIxFAST64): Likewise.
674 [C99-based-standards] (PRIXFAST64): Likewise.
675 [C99-based-standards] (SCNdFAST64): Likewise.
676 [C99-based-standards] (SCNiFAST64): Likewise.
677 [C99-based-standards] (SCNoFAST64): Likewise.
678 [C99-based-standards] (SCNuFAST64): Likewise.
679 [C99-based-standards] (SCNxFAST64): Likewise.
680 [C99-based-standards] (PRIdMAX): Likewise.
681 [C99-based-standards] (PRIiMAX): Likewise.
682 [C99-based-standards] (PRIoMAX): Likewise.
683 [C99-based-standards] (PRIuMAX): Likewise.
684 [C99-based-standards] (PRIxMAX): Likewise.
685 [C99-based-standards] (PRIXMAX): Likewise.
686 [C99-based-standards] (SCNdMAX): Likewise.
687 [C99-based-standards] (SCNiMAX): Likewise.
688 [C99-based-standards] (SCNoMAX): Likewise.
689 [C99-based-standards] (SCNuMAX): Likewise.
690 [C99-based-standards] (SCNxMAX): Likewise.
691 [C99-based-standards] (PRIdPTR): Likewise.
692 [C99-based-standards] (PRIiPTR): Likewise.
693 [C99-based-standards] (PRIoPTR): Likewise.
694 [C99-based-standards] (PRIuPTR): Likewise.
695 [C99-based-standards] (PRIxPTR): Likewise.
696 [C99-based-standards] (PRIXPTR): Likewise.
697 [C99-based-standards] (SCNdPTR): Likewise.
698 [C99-based-standards] (SCNiPTR): Likewise.
699 [C99-based-standards] (SCNoPTR): Likewise.
700 [C99-based-standards] (SCNuPTR): Likewise.
701 [C99-based-standards] (SCNxPTR): Likewise.
702 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
704 * conform/data/stdint.h-data: Update comments to clarify
706 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
708 [C99-based standards] (INT8_MAX): Likewise.
709 [C99-based standards] (INT16_MIN): Likewise.
710 [C99-based standards] (INT16_MAX): Likewise.
711 [C99-based standards] (INT32_MIN): Likewise.
712 [C99-based standards] (INT32_MAX): Likewise.
713 [C99-based standards] (INT64_MIN): Likewise.
714 [C99-based standards] (INT64_MAX): Likewise.
715 [C99-based standards] (UINT8_MAX): Likewise.
716 [C99-based standards] (UINT16_MAX): Likewise.
717 [C99-based standards] (UINT32_MAX): Likewise.
718 [C99-based standards] (UINT64_MAX): Likewise.
719 [C99-based standards] (INT_LEAST8_MIN): Likewise.
720 [C99-based standards] (INT_LEAST8_MAX): Likewise.
721 [C99-based standards] (INT_LEAST16_MIN): Likewise.
722 [C99-based standards] (INT_LEAST16_MAX): Likewise.
723 [C99-based standards] (INT_LEAST32_MIN): Likewise.
724 [C99-based standards] (INT_LEAST32_MAX): Likewise.
725 [C99-based standards] (INT_LEAST64_MIN): Likewise.
726 [C99-based standards] (INT_LEAST64_MAX): Likewise.
727 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
728 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
729 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
730 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
731 [C99-based standards] (INT_FAST8_MIN): Likewise.
732 [C99-based standards] (INT_FAST8_MAX): Likewise.
733 [C99-based standards] (INT_FAST16_MIN): Likewise.
734 [C99-based standards] (INT_FAST16_MAX): Likewise.
735 [C99-based standards] (INT_FAST32_MIN): Likewise.
736 [C99-based standards] (INT_FAST32_MAX): Likewise.
737 [C99-based standards] (INT_FAST64_MIN): Likewise.
738 [C99-based standards] (INT_FAST64_MAX): Likewise.
739 [C99-based standards] (UINT_FAST8_MAX): Likewise.
740 [C99-based standards] (UINT_FAST16_MAX): Likewise.
741 [C99-based standards] (UINT_FAST32_MAX): Likewise.
742 [C99-based standards] (UINT_FAST64_MAX): Likewise.
743 [C99-based standards] (INTPTR_MIN): Likewise.
744 [C99-based standards] (INTPTR_MAX): Likewise.
745 [C99-based standards] (UINTPTR_MAX): Likewise.
746 [C99-based standards] (INTMAX_MIN): Likewise.
747 [C99-based standards] (INTMAX_MAX): Likewise.
748 [C99-based standards] (UINTMAX_MAX): Likewise.
749 [C99-based standards] (PTRDIFF_MIN): Likewise.
750 [C99-based standards] (PTRDIFF_MAX): Likewise.
751 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
752 [C99-based standards] (SIZE_MAX): Likewise.
753 [C99-based standards] (WCHAR_MAX): Likewise.
754 [C99-based standards] (WINT_MAX): Likewise.
755 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
757 [C99-based standards] (WCHAR_MIN): Likewise.
758 [C99-based standards] (WINT_MIN): Likewise.
759 [C99-based standards] (*_t): Allow.
760 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
761 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
762 Include math.h-data and complex.h-data. Remove all expectations
763 of math.h and complex.h contents.
764 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
766 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
767 (struct tm): Expect tag.
768 [C99-based-standards] (wcstof): Expect function.
769 [C99-based-standards] (wcstold): Likewise.
770 [C99-based-standards] (wcstoll): Likewise.
771 [C99-based-standards] (wcstoull): Likewise.
772 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
773 macro-int-constant. Specify type.
774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
776 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
778 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
780 [ISO C standards]: Do not allow headers.
781 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
782 wcs[abcdefghijklmnopqrstuvwxyz]*.
783 [ISO C standards] (*_t): Do not allow.
784 * conform/data/wctype.h-data [C99-based standards] (iswblank):
786 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
787 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
789 [ISO C standards]: Do not allow headers.
790 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
791 is[abcdefghijklmnopqrstuvwxyz]*.
792 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
793 to[abcdefghijklmnopqrstuvwxyz]*.
794 [ISO C standards] (*_t): Do not allow.
795 * conform/data/stdalign.h-data: New file.
796 * conform/data/stdbool.h-data: Likewise.
797 * conform/data/stdnoreturn.h-data: Likewise.
799 2012-11-07 Andreas Jaeger <aj@suse.de>
802 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
803 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
804 guards are changed. Only define if not yet defined, #undef back
805 after including linux/sysctl.h if defined here.
807 2012-11-07 Roland McGrath <roland@hack.frob.com>
810 * manual/filesys.texi (Directory Entries): Typo fix.
811 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
813 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
815 * elf/elf.h (EM_AARCH64): New macro.
816 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
817 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
818 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
819 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
820 (R_AARCH64_TLSDESC): Likewise.
821 (NT_ARM_TLS): Likewise.
822 (NT_ARM_HW_BREAK): Likewise.
823 (NT_ARM_HW_WATCH): Likewise.
825 2012-11-07 Joseph Myers <joseph@codesourcery.com>
828 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
829 (__ieee754_powl): Saturate nonzero exponents with absolute value
830 below 0x1p-79 to +/- 0x1p-79.
831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
832 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
833 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
834 nonzero exponents with absolute value below 0x1p-32 to +/-
836 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
837 (__ieee754_powl): Saturate nonzero exponents with absolute value
838 below 0x1p-79 to +/- 0x1p-79.
839 * math/libm-test.inc (pow_test): Add more tests.
841 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
843 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
844 _dl_s390_cap_flags with kernel. Increase string length.
845 (_dl_s390_platforms): Add z196 and zEC12.
847 2012-11-07 Joseph Myers <joseph@codesourcery.com>
849 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
850 Change XOPEN21K to XOPEN2K.
852 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
854 * string/memmove.c: Use memcpy when possible.
856 2012-11-06 Andreas Jaeger <aj@suse.de>
858 * po/eo.po: Update from translation team.
860 2012-11-06 Joseph Myers <joseph@codesourcery.com>
863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
864 exponent and small x and y exponents, scale x or y up. Increase
865 by 2 the exponent used in scaling up.
866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
868 * math/libm-test.inc (fma_test): Add more tests.
869 (fma_test_towardzero): Likewise.
870 (fma_test_downward): Likewise.
871 (fma_test_upward): Likewise.
873 2012-11-05 Joseph Myers <joseph@codesourcery.com>
876 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
880 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
881 namespace for names of struct fields.
882 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
884 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
885 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
887 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
890 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
892 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
894 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
898 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
901 2012-11-04 Joseph Myers <joseph@codesourcery.com>
904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
905 definitely overflow as x * y not x * y + z.
906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
908 * math/libm-test.inc (fma_test): Add more tests.
909 (fma_test_towardzero): Likewise.
910 (fma_test_downward): Likewise.
911 (fma_test_upward): Likewise.
913 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
917 * include/stub-tag.h: Remove file.
918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
920 * manual/maint.texi (Porting): Don't reference it.
921 * Makerules ($(objpfx)stubs): Likewise.
922 * dirent/closedir.c: Don't include <stub-tag.h>.
923 * dirent/dirfd.c: Likewise.
924 * dirent/fdopendir.c: Likewise.
925 * dirent/getdents.c: Likewise.
926 * dirent/getdents64.c: Likewise.
927 * dirent/opendir.c: Likewise.
928 * dirent/readdir.c: Likewise.
929 * dirent/readdir64.c: Likewise.
930 * dirent/readdir64_r.c: Likewise.
931 * dirent/readdir_r.c: Likewise.
932 * dirent/rewinddir.c: Likewise.
933 * dirent/seekdir.c: Likewise.
934 * dirent/telldir.c: Likewise.
935 * gmon/profil.c: Likewise.
936 * grp/setgroups.c: Likewise.
937 * inet/if_index.c: Likewise.
938 * io/access.c: Likewise.
939 * io/chdir.c: Likewise.
940 * io/chmod.c: Likewise.
941 * io/chown.c: Likewise.
942 * io/close.c: Likewise.
943 * io/dup.c: Likewise.
944 * io/dup2.c: Likewise.
945 * io/dup3.c: Likewise.
946 * io/euidaccess.c: Likewise.
947 * io/faccessat.c: Likewise.
948 * io/fchdir.c: Likewise.
949 * io/fchmod.c: Likewise.
950 * io/fchmodat.c: Likewise.
951 * io/fchown.c: Likewise.
952 * io/fchownat.c: Likewise.
953 * io/fcntl.c: Likewise.
954 * io/flock.c: Likewise.
955 * io/fstatfs.c: Likewise.
956 * io/fstatfs64.c: Likewise.
957 * io/fstatvfs.c: Likewise.
958 * io/fstatvfs64.c: Likewise.
959 * io/futimens.c: Likewise.
960 * io/fxstat.c: Likewise.
961 * io/fxstat64.c: Likewise.
962 * io/fxstatat.c: Likewise.
963 * io/fxstatat64.c: Likewise.
964 * io/getcwd.c: Likewise.
965 * io/isatty.c: Likewise.
966 * io/lchmod.c: Likewise.
967 * io/lchown.c: Likewise.
968 * io/link.c: Likewise.
969 * io/linkat.c: Likewise.
970 * io/lseek.c: Likewise.
971 * io/lseek64.c: Likewise.
972 * io/lxstat64.c: Likewise.
973 * io/mkdir.c: Likewise.
974 * io/mkdirat.c: Likewise.
975 * io/mkfifo.c: Likewise.
976 * io/mkfifoat.c: Likewise.
977 * io/open.c: Likewise.
978 * io/open64.c: Likewise.
979 * io/openat.c: Likewise.
980 * io/openat64.c: Likewise.
981 * io/pipe.c: Likewise.
982 * io/pipe2.c: Likewise.
983 * io/poll.c: Likewise.
984 * io/posix_fadvise.c: Likewise.
985 * io/posix_fadvise64.c: Likewise.
986 * io/posix_fallocate.c: Likewise.
987 * io/posix_fallocate64.c: Likewise.
988 * io/read.c: Likewise.
989 * io/readlink.c: Likewise.
990 * io/readlinkat.c: Likewise.
991 * io/rmdir.c: Likewise.
992 * io/sendfile.c: Likewise.
993 * io/sendfile64.c: Likewise.
994 * io/statfs.c: Likewise.
995 * io/statfs64.c: Likewise.
996 * io/statvfs.c: Likewise.
997 * io/statvfs64.c: Likewise.
998 * io/symlink.c: Likewise.
999 * io/symlinkat.c: Likewise.
1000 * io/ttyname.c: Likewise.
1001 * io/ttyname_r.c: Likewise.
1002 * io/umask.c: Likewise.
1003 * io/unlink.c: Likewise.
1004 * io/unlinkat.c: Likewise.
1005 * io/utime.c: Likewise.
1006 * io/utimensat.c: Likewise.
1007 * io/write.c: Likewise.
1008 * io/xmknod.c: Likewise.
1009 * io/xmknodat.c: Likewise.
1010 * io/xstat.c: Likewise.
1011 * io/xstat64.c: Likewise.
1012 * login/getpt.c: Likewise.
1013 * login/grantpt.c: Likewise.
1014 * login/unlockpt.c: Likewise.
1015 * math/e_acoshl.c: Likewise.
1016 * math/e_acosl.c: Likewise.
1017 * math/e_asinl.c: Likewise.
1018 * math/e_atan2l.c: Likewise.
1019 * math/e_atanhl.c: Likewise.
1020 * math/e_coshl.c: Likewise.
1021 * math/e_expl.c: Likewise.
1022 * math/e_fmodl.c: Likewise.
1023 * math/e_gammal_r.c: Likewise.
1024 * math/e_hypotl.c: Likewise.
1025 * math/e_j0l.c: Likewise.
1026 * math/e_j1l.c: Likewise.
1027 * math/e_jnl.c: Likewise.
1028 * math/e_lgammal_r.c: Likewise.
1029 * math/e_log10l.c: Likewise.
1030 * math/e_log2l.c: Likewise.
1031 * math/e_logl.c: Likewise.
1032 * math/e_powl.c: Likewise.
1033 * math/e_rem_pio2l.c: Likewise.
1034 * math/e_sinhl.c: Likewise.
1035 * math/e_sqrtl.c: Likewise.
1036 * math/fclrexcpt.c: Likewise.
1037 * math/fedisblxcpt.c: Likewise.
1038 * math/feenablxcpt.c: Likewise.
1039 * math/fegetenv.c: Likewise.
1040 * math/fegetexcept.c: Likewise.
1041 * math/fegetround.c: Likewise.
1042 * math/feholdexcpt.c: Likewise.
1043 * math/fesetenv.c: Likewise.
1044 * math/fesetround.c: Likewise.
1045 * math/feupdateenv.c: Likewise.
1046 * math/fgetexcptflg.c: Likewise.
1047 * math/fraiseexcpt.c: Likewise.
1048 * math/fsetexcptflg.c: Likewise.
1049 * math/ftestexcept.c: Likewise.
1050 * math/k_cosl.c: Likewise.
1051 * math/k_rem_pio2l.c: Likewise.
1052 * math/k_sinl.c: Likewise.
1053 * math/k_tanl.c: Likewise.
1054 * math/s_asinhl.c: Likewise.
1055 * math/s_atanl.c: Likewise.
1056 * math/s_cbrtl.c: Likewise.
1057 * math/s_erfl.c: Likewise.
1058 * math/s_expm1l.c: Likewise.
1059 * math/s_log1pl.c: Likewise.
1060 * math/s_tanhl.c: Likewise.
1061 * misc/acct.c: Likewise.
1062 * misc/brk.c: Likewise.
1063 * misc/chflags.c: Likewise.
1064 * misc/chroot.c: Likewise.
1065 * misc/fchflags.c: Likewise.
1066 * misc/fgetxattr.c: Likewise.
1067 * misc/flistxattr.c: Likewise.
1068 * misc/fremovexattr.c: Likewise.
1069 * misc/fsetxattr.c: Likewise.
1070 * misc/fsync.c: Likewise.
1071 * misc/ftruncate.c: Likewise.
1072 * misc/futimes.c: Likewise.
1073 * misc/futimesat.c: Likewise.
1074 * misc/getdomain.c: Likewise.
1075 * misc/getdtsz.c: Likewise.
1076 * misc/gethostid.c: Likewise.
1077 * misc/gethostname.c: Likewise.
1078 * misc/getloadavg.c: Likewise.
1079 * misc/getpagesize.c: Likewise.
1080 * misc/getsysstats.c: Likewise.
1081 * misc/getxattr.c: Likewise.
1082 * misc/gtty.c: Likewise.
1083 * misc/ioctl.c: Likewise.
1084 * misc/lgetxattr.c: Likewise.
1085 * misc/listxattr.c: Likewise.
1086 * misc/llistxattr.c: Likewise.
1087 * misc/lremovexattr.c: Likewise.
1088 * misc/lsetxattr.c: Likewise.
1089 * misc/lutimes.c: Likewise.
1090 * misc/madvise.c: Likewise.
1091 * misc/mincore.c: Likewise.
1092 * misc/mlock.c: Likewise.
1093 * misc/mlockall.c: Likewise.
1094 * misc/mmap.c: Likewise.
1095 * misc/mprotect.c: Likewise.
1096 * misc/msync.c: Likewise.
1097 * misc/munlock.c: Likewise.
1098 * misc/munlockall.c: Likewise.
1099 * misc/munmap.c: Likewise.
1100 * misc/preadv.c: Likewise.
1101 * misc/preadv64.c: Likewise.
1102 * misc/ptrace.c: Likewise.
1103 * misc/pwritev.c: Likewise.
1104 * misc/pwritev64.c: Likewise.
1105 * misc/readv.c: Likewise.
1106 * misc/reboot.c: Likewise.
1107 * misc/remap_file_pages.c: Likewise.
1108 * misc/removexattr.c: Likewise.
1109 * misc/revoke.c: Likewise.
1110 * misc/select.c: Likewise.
1111 * misc/setdomain.c: Likewise.
1112 * misc/setegid.c: Likewise.
1113 * misc/seteuid.c: Likewise.
1114 * misc/sethostid.c: Likewise.
1115 * misc/sethostname.c: Likewise.
1116 * misc/setregid.c: Likewise.
1117 * misc/setreuid.c: Likewise.
1118 * misc/setxattr.c: Likewise.
1119 * misc/sstk.c: Likewise.
1120 * misc/stty.c: Likewise.
1121 * misc/swapoff.c: Likewise.
1122 * misc/swapon.c: Likewise.
1123 * misc/sync.c: Likewise.
1124 * misc/syncfs.c: Likewise.
1125 * misc/syscall.c: Likewise.
1126 * misc/truncate.c: Likewise.
1127 * misc/ualarm.c: Likewise.
1128 * misc/usleep.c: Likewise.
1129 * misc/ustat.c: Likewise.
1130 * misc/utimes.c: Likewise.
1131 * misc/vhangup.c: Likewise.
1132 * misc/writev.c: Likewise.
1133 * posix/_exit.c: Likewise.
1134 * posix/alarm.c: Likewise.
1135 * posix/execve.c: Likewise.
1136 * posix/fexecve.c: Likewise.
1137 * posix/fork.c: Likewise.
1138 * posix/fpathconf.c: Likewise.
1139 * posix/getaddrinfo.c: Likewise.
1140 * posix/getegid.c: Likewise.
1141 * posix/geteuid.c: Likewise.
1142 * posix/getgid.c: Likewise.
1143 * posix/getgroups.c: Likewise.
1144 * posix/getlogin.c: Likewise.
1145 * posix/getlogin_r.c: Likewise.
1146 * posix/getpgid.c: Likewise.
1147 * posix/getpid.c: Likewise.
1148 * posix/getppid.c: Likewise.
1149 * posix/getresgid.c: Likewise.
1150 * posix/getresuid.c: Likewise.
1151 * posix/getsid.c: Likewise.
1152 * posix/getuid.c: Likewise.
1153 * posix/glob64.c: Likewise.
1154 * posix/nanosleep.c: Likewise.
1155 * posix/pathconf.c: Likewise.
1156 * posix/pause.c: Likewise.
1157 * posix/posix_madvise.c: Likewise.
1158 * posix/pread.c: Likewise.
1159 * posix/pread64.c: Likewise.
1160 * posix/pwrite.c: Likewise.
1161 * posix/pwrite64.c: Likewise.
1162 * posix/sched_getaffinity.c: Likewise.
1163 * posix/sched_getp.c: Likewise.
1164 * posix/sched_gets.c: Likewise.
1165 * posix/sched_primax.c: Likewise.
1166 * posix/sched_primin.c: Likewise.
1167 * posix/sched_rr_gi.c: Likewise.
1168 * posix/sched_setaffinity.c: Likewise.
1169 * posix/sched_setp.c: Likewise.
1170 * posix/sched_sets.c: Likewise.
1171 * posix/sched_yield.c: Likewise.
1172 * posix/setgid.c: Likewise.
1173 * posix/setlogin.c: Likewise.
1174 * posix/setpgid.c: Likewise.
1175 * posix/setresgid.c: Likewise.
1176 * posix/setresuid.c: Likewise.
1177 * posix/setsid.c: Likewise.
1178 * posix/setuid.c: Likewise.
1179 * posix/sleep.c: Likewise.
1180 * posix/spawni.c: Likewise.
1181 * posix/sysconf.c: Likewise.
1182 * posix/times.c: Likewise.
1183 * posix/wait.c: Likewise.
1184 * posix/wait3.c: Likewise.
1185 * posix/wait4.c: Likewise.
1186 * posix/waitpid.c: Likewise.
1187 * resolv/gai_sigqueue.c: Likewise.
1188 * resource/getpriority.c: Likewise.
1189 * resource/getrlimit.c: Likewise.
1190 * resource/getrusage.c: Likewise.
1191 * resource/nice.c: Likewise.
1192 * resource/setpriority.c: Likewise.
1193 * resource/setrlimit.c: Likewise.
1194 * resource/ulimit.c: Likewise.
1195 * rt/aio_cancel.c: Likewise.
1196 * rt/aio_fsync.c: Likewise.
1197 * rt/aio_read.c: Likewise.
1198 * rt/aio_sigqueue.c: Likewise.
1199 * rt/aio_suspend.c: Likewise.
1200 * rt/aio_write.c: Likewise.
1201 * rt/clock_getres.c: Likewise.
1202 * rt/clock_gettime.c: Likewise.
1203 * rt/clock_nanosleep.c: Likewise.
1204 * rt/clock_settime.c: Likewise.
1205 * rt/lio_listio.c: Likewise.
1206 * rt/mq_close.c: Likewise.
1207 * rt/mq_getattr.c: Likewise.
1208 * rt/mq_notify.c: Likewise.
1209 * rt/mq_open.c: Likewise.
1210 * rt/mq_receive.c: Likewise.
1211 * rt/mq_send.c: Likewise.
1212 * rt/mq_setattr.c: Likewise.
1213 * rt/mq_timedreceive.c: Likewise.
1214 * rt/mq_timedsend.c: Likewise.
1215 * rt/mq_unlink.c: Likewise.
1216 * rt/shm_open.c: Likewise.
1217 * rt/shm_unlink.c: Likewise.
1218 * rt/timer_create.c: Likewise.
1219 * rt/timer_delete.c: Likewise.
1220 * rt/timer_getoverr.c: Likewise.
1221 * rt/timer_gettime.c: Likewise.
1222 * rt/timer_settime.c: Likewise.
1223 * setjmp/__longjmp.c: Likewise.
1224 * setjmp/setjmp.c: Likewise.
1225 * signal/kill.c: Likewise.
1226 * signal/killpg.c: Likewise.
1227 * signal/raise.c: Likewise.
1228 * signal/sigaction.c: Likewise.
1229 * signal/sigaltstack.c: Likewise.
1230 * signal/sigblock.c: Likewise.
1231 * signal/sigignore.c: Likewise.
1232 * signal/sigintr.c: Likewise.
1233 * signal/signal.c: Likewise.
1234 * signal/sigpause.c: Likewise.
1235 * signal/sigpending.c: Likewise.
1236 * signal/sigqueue.c: Likewise.
1237 * signal/sigreturn.c: Likewise.
1238 * signal/sigset.c: Likewise.
1239 * signal/sigsetmask.c: Likewise.
1240 * signal/sigstack.c: Likewise.
1241 * signal/sigsuspend.c: Likewise.
1242 * signal/sigtimedwait.c: Likewise.
1243 * signal/sigvec.c: Likewise.
1244 * signal/sigwait.c: Likewise.
1245 * signal/sigwaitinfo.c: Likewise.
1246 * signal/sysv_signal.c: Likewise.
1247 * socket/accept.c: Likewise.
1248 * socket/accept4.c: Likewise.
1249 * socket/bind.c: Likewise.
1250 * socket/connect.c: Likewise.
1251 * socket/getpeername.c: Likewise.
1252 * socket/getsockname.c: Likewise.
1253 * socket/getsockopt.c: Likewise.
1254 * socket/isfdtype.c: Likewise.
1255 * socket/listen.c: Likewise.
1256 * socket/recv.c: Likewise.
1257 * socket/recvfrom.c: Likewise.
1258 * socket/recvmsg.c: Likewise.
1259 * socket/send.c: Likewise.
1260 * socket/sendmsg.c: Likewise.
1261 * socket/sendto.c: Likewise.
1262 * socket/setsockopt.c: Likewise.
1263 * socket/shutdown.c: Likewise.
1264 * socket/sockatmark.c: Likewise.
1265 * socket/socket.c: Likewise.
1266 * socket/socketpair.c: Likewise.
1267 * stdio-common/ctermid.c: Likewise.
1268 * stdio-common/cuserid.c: Likewise.
1269 * stdio-common/remove.c: Likewise.
1270 * stdio-common/rename.c: Likewise.
1271 * stdio-common/renameat.c: Likewise.
1272 * stdio-common/tempname.c: Likewise.
1273 * stdlib/getcontext.c: Likewise.
1274 * stdlib/makecontext.c: Likewise.
1275 * stdlib/setcontext.c: Likewise.
1276 * stdlib/swapcontext.c: Likewise.
1277 * stdlib/system.c: Likewise.
1278 * streams/fattach.c: Likewise.
1279 * streams/fdetach.c: Likewise.
1280 * streams/getmsg.c: Likewise.
1281 * streams/getpmsg.c: Likewise.
1282 * streams/putmsg.c: Likewise.
1283 * streams/putpmsg.c: Likewise.
1284 * sysdeps/unix/bsd/getpt.c: Likewise.
1285 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1286 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1287 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1290 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1291 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1292 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1293 * sysvipc/msgctl.c: Likewise.
1294 * sysvipc/msgget.c: Likewise.
1295 * sysvipc/msgrcv.c: Likewise.
1296 * sysvipc/msgsnd.c: Likewise.
1297 * sysvipc/semctl.c: Likewise.
1298 * sysvipc/semget.c: Likewise.
1299 * sysvipc/semop.c: Likewise.
1300 * sysvipc/semtimedop.c: Likewise.
1301 * sysvipc/shmat.c: Likewise.
1302 * sysvipc/shmctl.c: Likewise.
1303 * sysvipc/shmdt.c: Likewise.
1304 * sysvipc/shmget.c: Likewise.
1305 * termios/tcdrain.c: Likewise.
1306 * termios/tcflow.c: Likewise.
1307 * termios/tcflush.c: Likewise.
1308 * termios/tcgetattr.c: Likewise.
1309 * termios/tcgetpgrp.c: Likewise.
1310 * termios/tcsendbrk.c: Likewise.
1311 * termios/tcsetattr.c: Likewise.
1312 * termios/tcsetpgrp.c: Likewise.
1313 * time/adjtime.c: Likewise.
1314 * time/clock.c: Likewise.
1315 * time/getitimer.c: Likewise.
1316 * time/gettimeofday.c: Likewise.
1317 * time/setitimer.c: Likewise.
1318 * time/settimeofday.c: Likewise.
1319 * time/stime.c: Likewise.
1320 * time/time.c: Likewise.
1322 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1324 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1327 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1329 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1331 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1335 FE_TONEAREST before applying Dekker multiplication and Knuth
1336 addition. Clear inexact exceptions and check for exact zero
1338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1339 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1340 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1341 * math/libm-test.inc (fma_test): Add more tests.
1342 (fma_test_towardzero): Likewise.
1343 (fma_test_downward): Likewise.
1344 (fma_test_upward): Likewise.
1345 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1347 (libc_fesetround): New macro.
1348 (libc_fesetroundf): Likewise.
1349 (libc_fesetroundl): Likewise.
1350 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1352 (libc_fesetround_387): Likewise.
1353 (libc_fesetroundf): New macro.
1354 (libc_fesetround): Likewise.
1355 (libc_fesetroundl): Likewise.
1356 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1358 (libc_fesetroundf): New macro.
1359 (libc_fesetround): Likewise.
1360 (libc_fesetroundl): Likewise.
1361 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1362 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1363 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1365 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1366 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1368 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1369 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1371 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1375 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1376 integer constant usable in #if and use that to give value to enum
1378 (FE_DIVBYZERO): Likewise.
1379 (FE_UNDERFLOW): Likewise.
1380 (FE_OVERFLOW): Likewise.
1381 (FE_INVALID): Likewise.
1382 (FE_INVALID_SNAN): Likewise.
1383 (FE_INVALID_ISI): Likewise.
1384 (FE_INVALID_IDI): Likewise.
1385 (FE_INVALID_ZDZ): Likewise.
1386 (FE_INVALID_IMZ): Likewise.
1387 (FE_INVALID_COMPARE): Likewise.
1388 (FE_INVALID_SOFTWARE): Likewise.
1389 (FE_INVALID_SQRT): Likewise.
1390 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1391 (FE_TONEAREST): Likewise.
1392 (FE_TOWARDZERO): Likewise.
1393 (FE_UPWARD): Likewise.
1394 (FE_DOWNWARD): Likewise.
1395 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1396 (FE_DIVBYZERO): Likewise.
1397 (FE_OVERFLOW): Likewise.
1398 (FE_UNDERFLOW): Likewise.
1399 (FE_INEXACT): Likewise.
1400 (FE_TONEAREST): Likewise.
1401 (FE_DOWNWARD): Likewise.
1402 (FE_UPWARD): Likewise.
1403 (FE_TOWARDZERO): Likewise.
1404 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1405 (FE_UNDERFLOW): Likewise.
1406 (FE_OVERFLOW): Likewise.
1407 (FE_DIVBYZERO): Likewise.
1408 (FE_INVALID): Likewise.
1409 (FE_TONEAREST): Likewise.
1410 (FE_TOWARDZERO): Likewise.
1411 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1412 (FE_OVERFLOW): Likewise.
1413 (FE_UNDERFLOW): Likewise.
1414 (FE_DIVBYZERO): Likewise.
1415 (FE_INEXACT): Likewise.
1416 (FE_TONEAREST): Likewise.
1417 (FE_TOWARDZERO): Likewise.
1418 (FE_UPWARD): Likewise.
1419 (FE_DOWNWARD): Likewise.
1420 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1421 (FE_DIVBYZERO): Likewise.
1422 (FE_OVERFLOW): Likewise.
1423 (FE_UNDERFLOW): Likewise.
1424 (FE_INEXACT): Likewise.
1425 (FE_TONEAREST): Likewise.
1426 (FE_DOWNWARD): Likewise.
1427 (FE_UPWARD): Likewise.
1428 (FE_TOWARDZERO): Likewise.
1430 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1432 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1434 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1436 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1437 commands. Quote $PWD.
1438 (blacklist_exports): Don't use remove_newlines. Replace "declare
1440 (remove_newlines): Remove.
1442 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1444 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1445 * stdlib/stdlib.h (atof): Moved to ...
1446 * include/bits/stdlib-float.h: Here. New file.
1447 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1448 * stdlib/bits/stdlib-float.h: New file.
1449 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1454 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1456 * conform/conformtest.pl (@headers): Add fenv.h.
1457 * conform/data/fenv.h-data: New file.
1458 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1459 include of <math/fenv.h>.
1461 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1462 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1463 && !UNIX98]. Enables tests for XOPEN2K8.
1464 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1465 POSIX2008]: Likewise.
1467 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1468 (struct rusage): Do not expect type or its members.
1471 * math/math.h (FP_NAN): Define macro to integer constant usable in
1472 #if and use that to give value to enum constant.
1473 (FP_INFINITE): Likewise.
1474 (FP_ZERO): Likewise.
1475 (FP_SUBNORMAL): Likewise.
1476 (FP_NORMAL): Likewise.
1478 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1480 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1481 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1484 2012-11-02 Roland McGrath <roland@hack.frob.com>
1486 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1487 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1488 autoconf-time if not.
1489 * configure.in: Remove AC_PREREQ.
1491 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1493 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1494 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1495 of the internal implementation.
1497 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1499 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1500 except include of <misc/sys/syslog.h>.
1502 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1505 function returns with a NULL context exit with zero.
1507 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1509 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1511 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1513 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1514 (run_program_cmd): This.
1515 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1516 (tst_langinfo): New variable. Use it.
1518 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1520 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1521 floating point opcodes.
1523 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1525 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1528 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1530 * sysdeps/mach/hurd/powerpc: Remove directory.
1531 * sysdeps/mach/powerpc: Likewise.
1533 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1535 * scripts/check-local-headers.sh: Ignore c++ headers.
1537 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1539 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1540 __libc_cleanup_region_start argument.
1542 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1547 x * y using scaling, not as x * y + z.
1548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1550 * math/libm-test.inc (fma_test): Add more tests.
1551 (fma_test_towardzero): Likewise.
1552 (fma_test_downward): Likewise.
1553 (fma_test_upward): Likewise.
1555 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1557 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1559 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1561 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1564 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1566 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1568 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1575 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1578 Fix the order of the list for glibc 2.17.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1582 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1586 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1589 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1590 for low part of x being zero before using __atanl (y).
1591 * math/libm-test.inc (atan2_test): Add another test.
1593 * manual/install.texi (Configuring and compiling): Document
1594 general use of test-wrapper and test-wrapper-env.
1595 * INSTALL: Regenerated.
1597 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1598 (__fma): Do not extract and scale down low bits on after-rounding
1599 systems when result rounded to normal precision would have normal
1601 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1602 (__fmal): Do not extract and scale down low bits on after-rounding
1603 systems when result rounded to normal precision would have normal
1605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1606 (__fmal): Do not extract and scale down low bits on after-rounding
1607 systems when result rounded to normal precision would have normal
1609 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1611 (fma_test): Add more tests.
1612 (fma_test_towardzero): Likewise.
1613 (fma_test_downward): Likewise.
1614 (fma_test_upward): Likewise.
1616 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1618 * sysdeps/i386/tininess.h: Renamed to ...
1619 * sysdeps/x86/tininess.h: This.
1620 * sysdeps/x86_64/tininess.h: Removed.
1622 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1624 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1625 input. Use $(build-program-cmd).
1626 ($(objpfx)tst-array1-static.out): Likewise.
1627 ($(objpfx)tst-array2.out): Likewise.
1628 ($(objpfx)tst-array3.out): Likewise.
1629 ($(objpfx)tst-array4.out): Likewise.
1630 ($(objpfx)tst-array5.out): Likewise.
1631 ($(objpfx)tst-array5-static.out): Likewise.
1633 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1635 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1638 * nss/nsswitch.h (nss_interface_function): Provide new
1639 macro for use with NSS functions.
1640 * grp/initgroups.c: Use new macro.
1641 * nss/getXXbyYY.c: Likewise.
1642 * nss/getXXbyYY_r.c: Likewise.
1643 * nss/getXXent.c: Likewise.
1644 * nss/getXXent_r.c: Likewise.
1645 * sysdeps/posix/getaddrinfo.c: Likewise.
1647 2012-10-30 Andreas Jaeger <aj@suse.de>
1649 * po/ru.po: Update Russion translation from translation project.
1651 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1656 result and shift together with sticky bit instead of replicating
1657 round-to-nearest rounding.
1658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1660 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1661 missing underflow exceptions.
1662 (fma_test_towardzero): Add more tests.
1663 (fma_test_downward): Likewise.
1664 (fma_test_upward): Likewise.
1667 * sysdeps/generic/tininess.h: New file.
1668 * sysdeps/i386/tininess.h: Likewise.
1669 * sysdeps/sh/tininess.h: Likewise.
1670 * sysdeps/x86_64/tininess.h: Likewise.
1671 * stdlib/tst-strtod-underflow.c: Likewise.
1672 * stdlib/tst-tininess.c: Likewise.
1673 * stdlib/strtod_l.c: Include <tininess.h>.
1674 (round_and_return): Do not set errno for exact underflow cases.
1675 Force an underflow exception when setting errno for underflow.
1676 Determine underflow based on rounding to normal precision if
1677 TININESS_AFTER_ROUNDING.
1678 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1679 ERANGE for exact underflow cases.
1680 * stdlib/Makefile (tests): Add tst-tininess and
1681 tst-strtod-underflow.
1682 ($(objpfx)tst-tininess): Use $(link-libm).
1683 ($(objpfx)tst-strtod-underflow): Likewise.
1685 2012-10-30 Andreas Jaeger <aj@suse.de>
1688 * elf/Makefile (tests): Remove conditional for have-initfini-array
1689 since this is now always required and the variable does not exist
1691 (tests-static): Likewise.
1692 (modules-names): Likewise.
1694 * po/eo.po: Add Esperanto translation from translation project.
1696 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1697 merged with constructor/destructor.
1698 (init_array): Likewise.
1699 * elf/tst-array2dep.c (fini_array): Likewise.
1700 (init_array): Likewise.
1702 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1704 * manual/message.texi: Delete @cartouche tags.
1706 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1708 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1710 * sysdeps/mach/hurd/fsync.c: Likewise.
1712 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1713 [_POSIX_REALTIME_SIGNALS]: Change condition to
1714 [_POSIX_REALTIME_SIGNALS > 0].
1716 2012-10-27 Andreas Jaeger <aj@suse.de>
1718 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1719 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1721 [__WORDSIZE != 64]: Likewise.
1723 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1725 * iconvdata/tst-table.sh: Remove ${SHELL}.
1726 * iconvdata/tst-tables.sh: Likewise.
1728 2012-10-25 David S. Miller <davem@davemloft.net>
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1731 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1737 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1738 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1741 2012-10-25 Roland McGrath <roland@hack.frob.com>
1743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1744 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1747 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1748 Jim Blandy <jimb@codesourcery.com>
1750 * scripts/cross-test-ssh.sh: New file.
1751 * manual/install.texi (Configuring and compiling): Document use of
1753 * INSTALL: Regenerated.
1755 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1757 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1760 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1762 * Makeconfig (run-program-prefix): Fix comment.
1764 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1765 Jim Blandy <jimb@codesourcery.com>
1767 * Makeconfig (test-wrapper): New variable,
1768 (test-wrapper-env): Likewise.
1769 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1770 (run-built-tests): Define to yes.
1771 (run-program-prefix): Use $(test-wrapper).
1772 (built-program-cmd): Likewise.
1773 * Rules (make-test-out): Use $(test-wrapper-env) and
1774 $(host-built-program-cmd).
1775 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1776 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1778 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1779 $(test-wrapper-env) to tst-rtld-load-self.sh.
1780 ($(objpfx)order2.out): Use $(test-wrapper).
1781 ($(objpfx)tst-initorder.out): Likewise.
1782 ($(objpfx)tst-initorder2.out): Likewise.
1783 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1784 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1785 (test_wrapper_env): New variable. Use it to run ld.so.
1786 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1787 Use it to run ld.so.
1788 (test_wrapper_env): Likewise.
1789 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1790 $(test-wrapper) to run-iconv-test.sh.
1791 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1792 (ICONV): Use $test_wrapper.
1793 * posix/Makefile ($(objpfx)globtest.out): Pass
1794 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1795 globtest.sh, not $(run-program-prefix).
1796 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1797 (test_wrapper): Likewise.
1798 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1799 set together with run_via_rtld_prefix.
1800 (run_program_prefix): Define in terms of test_wrapper and
1801 run_via_rtld_prefix.
1803 2012-10-24 Roland McGrath <roland@hack.frob.com>
1805 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1806 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1810 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1811 Declare __clock_getres, __clock_gettime, __clock_settime,
1812 __clock_nanosleep, and __clock_getcpuclockid.
1813 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1814 Remove librt_hidden_def (clock_gettime).
1815 * sysdeps/unix/clock_gettime.c: Likewise.
1816 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1817 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1818 * rt/clock_getres.c: Define __clock_getres as an alias.
1819 * sysdeps/posix/clock_getres.c: Likewise.
1820 * rt/clock_settime.c: Define __clock_settime as an alias.
1821 * sysdeps/unix/clock_settime.c: Likewise.
1822 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1823 * sysdeps/unix/clock_nanosleep.c: Likewise.
1824 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1825 * rt/clock-compat.c: New file.
1826 * rt/Makefile (librt-routines): Add clock-compat and move
1827 $(clock-routines) to ...
1828 (routines): ... here, new variable.
1829 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1830 Don't add get_clockfreq here.
1831 * rt/Versions (libc: GLIBC_2.17): New version set.
1832 Add clock_* symbols here.
1833 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1835 (GLIBC_2.17): Add clock_* symbols.
1836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1847 * NEWS: Mention the move.
1849 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1850 Use __open, __read, __close rather than their public counterparts.
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1852 (__get_clockfreq_via_cpuinfo): Likewise.
1853 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1854 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1856 * config.h.in (HAVE_IFUNC): New #undef.
1857 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1859 * configure: Regenerated.
1861 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1863 * configure.in: Move READELF check to start of file.
1864 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1865 libc_cv_asm_gnu_indirect_function in the process.
1866 * configure: Regenerated.
1868 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1870 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1871 send the output to /dev/null.
1872 (libc_cv_cc_with_libunwind): Likewise.
1873 (libc_cv_as_noexecstack): Likewise.
1874 * configure: Regenerate.
1876 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1878 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1880 * posix/globtest.sh (TMPDIR): Do not set.
1881 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1882 (testout): Likewise.
1884 2012-10-24 Andreas Jaeger <aj@suse.de>
1886 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1887 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1888 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1889 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1890 posix_fadvise64, posix_fallocate64.
1892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1893 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1894 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1896 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1898 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1901 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1902 <bits/fcntl-linux.h>.
1903 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1906 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1907 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1908 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1909 [__WORDSIZE != 64]: Likewise.
1911 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1913 * Makeconfig (run-built-tests): New variable.
1914 * Rules [$(cross-compiling) = yes]: Change condition to
1915 [$(run-built-tests) = no].
1916 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1917 to [$(run-built-tests) = yes].
1918 * elf/Makefile [$(cross-compiling) = no]: Likewise
1919 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1920 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1921 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1922 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1923 * io/Makefile [$(cross-compiling) = no]: Likewise.
1924 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1925 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1926 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1927 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1928 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1929 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1930 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1931 * string/Makefile [$(cross-compiling) = no]: Likewise.
1933 * posix/Makefile ($(objpfx)globtest.out): Pass
1934 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1935 $(rtld-installed-name).
1936 * posix/globtest.sh (elf_objpfx): Remove variable.
1937 (rtld_installed_name): Likewise.
1938 (library_path): Likewise.
1939 (run_program_prefix): New variable. Use for running globtest
1942 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1943 Joseph Myers <joseph@codesourcery.com>
1945 * Makeconfig (host-built-program-cmd): New variable.
1946 * elf/Makefile (tst-stackguard1-ARGS): Use
1947 $(host-built-program-cmd).
1948 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1949 (tst-spawn-ARGS): Likewise.
1950 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1952 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1953 Jim Blandy <jimb@codesourcery.com>
1955 * Makeconfig (run-via-rtld-prefix): New variable.
1956 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1957 (built-program-cmd): Likewise.
1959 2012-10-22 Andreas Jaeger <aj@suse.de>
1961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1962 __O_RSYNC if it exists, otherwise to O_SYNC.
1964 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1965 Joseph Myers <joseph@codesourcery.com>
1967 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1969 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1971 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1974 2012-10-22 Andreas Jaeger <aj@suse.de>
1976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1984 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1991 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1992 Joseph Myers <joseph@codesourcery.com>
1994 * config.make.in (NM): New variable.
1996 2012-10-21 Andreas Jaeger <aj@suse.de>
1998 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1999 definitions and declarations that are provided by
2000 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2002 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2005 * elf/Makefile (tests-static): Add tst-leaks1-static.
2006 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2007 ($(objpfx)tst-leaks1-static): New rule.
2008 ($(objpfx)tst-leaks1-static-mem): Likewise.
2009 (tst-leaks1-static-ENV): New macro.
2010 * elf/dl-open.c (dl_open_worker): Check the main application
2011 only if SHARED is defined.
2012 * elf/tst-leaks1-static.c: New file.
2014 2012-10-20 Andreas Jaeger <aj@suse.de>
2016 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2017 generic values for Linux.
2018 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2019 and declarations that are provided by <bits/fcntl-linux.h> and
2020 include <bits/fcntl-linux.h>.
2021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2024 2012-10-20 Roland McGrath <roland@hack.frob.com>
2026 * io/fcntl.h: Move include of <bits/types.h> to the top and
2027 include it unconditionally.
2029 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2031 * wcsmbs/Makefile (tests-ifunc): New variable.
2032 (tests): Add $(tests-ifunc).
2033 * wcsmbs/test-wcschr-ifunc.c: New file.
2034 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2035 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2036 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2037 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2038 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2040 * string/Makefile (tests-ifunc): New variable.
2041 (tests): Add $(tests-ifunc).
2042 * string/test-memccpy.c (TEST_NAME): New macro.
2043 * string/test-memchr.c (TEST_NAME): Likewise.
2044 * string/test-memcmp.c (TEST_NAME): Likewise.
2045 * string/test-memcpy.c (TEST_NAME): Likewise.
2046 * string/test-memmem.c (TEST_NAME): Likewise.
2047 * string/test-memmove.c (TEST_NAME): Likewise.
2048 * string/test-memset.c (TEST_NAME): Likewise.
2049 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2050 * string/test-stpcpy.c (TEST_NAME): Likewise.
2051 * string/test-stpncpy.c (TEST_NAME): Likewise.
2052 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2053 * string/test-strcasestr.c (TEST_NAME): Likewise.
2054 * string/test-strcat.c (TEST_NAME): Likewise.
2055 * string/test-strchr.c (TEST_NAME): Likewise.
2056 * string/test-strcmp.c(TEST_NAME): Likewise.
2057 * string/test-strcpy.c (TEST_NAME): Likewise.
2058 * string/test-strcspn.c (TEST_NAME): Likewise.
2059 * string/test-strlen.c (TEST_NAME): Likewise.
2060 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2061 * string/test-strncmp.c (TEST_NAME): Likewise.
2062 * string/test-strncpy.c (TEST_NAME): Likewise.
2063 * string/test-strnlen.c (TEST_NAME): Likewise.
2064 * string/test-strpbrk.c (TEST_NAME): Likewise.
2065 * string/test-strrchr.c (TEST_NAME): Likewise.
2066 * string/test-strspn.c (TEST_NAME): Likewise.
2067 * string/test-strstr.c (TEST_NAME): Likewise.
2068 * string/test-bcopy-ifunc.c: New file.
2069 * string/test-bzero-ifunc.c: Likewise.
2070 * string/test-memccpy-ifunc.c: Likewise.
2071 * string/test-memchr-ifunc.c: Likewise.
2072 * string/test-memcmp-ifunc.c: Likewise.
2073 * string/test-memcpy-ifunc.c: Likewise.
2074 * string/test-memmem-ifunc.c: Likewise.
2075 * string/test-memmove-ifunc.c: Likewise.
2076 * string/test-mempcpy-ifunc.c: Likewise.
2077 * string/test-memset-ifunc.c: Likewise.
2078 * string/test-rawmemchr-ifunc.c: Likewise.
2079 * string/test-stpcpy-ifunc.c: Likewise.
2080 * string/test-stpncpy-ifunc.c: Likewise.
2081 * string/test-strcasecmp-ifunc.c: Likewise.
2082 * string/test-strcasestr-ifunc.c: Likewise.
2083 * string/test-strcat-ifunc.c: Likewise.
2084 * string/test-strchr-ifunc.c: Likewise.
2085 * string/test-strchrnul-ifunc.c: Likewise.
2086 * string/test-strcmp-ifunc.c: Likewise.
2087 * string/test-strcpy-ifunc.c: Likewise.
2088 * string/test-strcspn-ifunc.c: Likewise.
2089 * string/test-strlen-ifunc.c: Likewise.
2090 * string/test-strncasecmp-ifunc.c: Likewise.
2091 * string/test-strncat-ifunc.c: Likewise.
2092 * string/test-strncmp-ifunc.c: Likewise.
2093 * string/test-strncpy-ifunc.c: Likewise.
2094 * string/test-strnlen-ifunc.c: Likewise.
2095 * string/test-strpbrk-ifunc.c: Likewise.
2096 * string/test-strrchr-ifunc.c: Likewise.
2097 * string/test-strspn-ifunc.c: Likewise.
2098 * string/test-strstr-ifunc.c: Likewise.
2100 * debug/Makefile (tests-ifunc): New variable.
2101 (tests): Add $(tests-ifunc).
2102 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2103 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2104 * debug/test-stpcpy_chk-ifunc.c: New file.
2105 * debug/test-strcpy_chk-ifunc.c: Likewise.
2107 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2110 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2111 header is not read in.
2113 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2115 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2116 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2117 directly. Pass built executable to script as
2118 $(built-program-cmd).
2119 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2120 $testprogram without using LD_LIBRARY_PATH and $ldso.
2122 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2123 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2124 $(rtld-installed-name).
2125 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2126 (rtld_installed_name): Likewise.
2127 (library_path): Likewise.
2128 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2129 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2130 $(run-program-prefix) to tst-tables.sh.
2131 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2132 it to run tst-table-from and tst-table-to.
2133 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2134 Pass it to tst-table.sh.
2135 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2136 $(run-program-prefix) to tst-gettext.sh.
2137 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2139 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2141 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2143 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2144 to run tst-gettext2.
2145 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2146 to run tst-translit.
2147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2148 $(run-program-prefix) to tst-mtrace.sh.
2149 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2151 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2152 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2153 $(rtld-installed-name).
2154 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2155 (rtld_installed_name): Likewise.
2156 (run_program_prefix): New variable. Use it to run wordexp-test.
2158 * Makeconfig (ARCH): Remove all definitions.
2159 (machine): Likewise.
2160 [ARCH]: Remove conditional code.
2161 [!objdir]: Give error.
2162 [!objdir] (objpfx): Remove.
2163 [!objdir] (common-objpfx): Likewise.
2164 [!objdir] (common-objdir): Likewise.
2165 * configure.in (config_makefile): Remove. Hardcode Makefile in
2166 AC_CONFIG_FILES call.
2167 * configure: Regenerated.
2170 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2172 (testout): Likewise.
2174 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2175 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2176 $(rtld-installed-name).
2177 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2178 (rtld_installed_name): Likwise.
2179 (runit): Remove function.
2180 (run_getconf): New variable, Use it for running getconf binary.
2182 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2185 * string/test-memmem.c (check_result): New function.
2186 (do_one_test): Use it.
2187 (check1): New function.
2188 (test_main): Use it.
2190 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2192 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2194 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2197 (_G_LSEEK64): Likewise.
2198 (_G_MMAP64): Likewise.
2199 (_G_FSTAT64): Likewise.
2200 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2201 (_G_LSEEK64): Likewise.
2202 (_G_MMAP64): Likewise.
2203 (_G_FSTAT64): Likewise.
2204 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2205 unconditional. Call __mmap64 directly.
2206 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2207 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2209 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2210 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2212 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2213 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2215 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2216 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2218 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2219 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2221 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2222 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2223 __fxstat64 directly.
2224 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2225 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2227 (freopen64) [!_G_OPEN64]: Remove conditional code.
2228 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2230 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2231 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2233 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2234 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2236 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2237 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2239 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2240 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2242 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2243 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2245 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2246 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2248 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2250 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2253 * manual/memory.texi (Malloc Tunable Parameters): Add note
2254 about free list pointers overwriting some perturb bytes.
2255 Wording suggested by Roland McGrath.
2257 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2259 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2260 (lgamma_test): Likewise.
2261 (tgamma_test): Likewise.
2263 2012-10-16 Florian Weimer <fweimer@redhat.com>
2266 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2267 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2269 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2271 * NEWS: Mention BZ #14716.
2272 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2273 when removing AVAILABLE1_USES_J macro.
2275 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2277 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2278 (__bswap_64): __uint64_t for unsigned 64-bit int.
2280 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2282 * include/string.h (memmem): Declare libc hidden alias.
2283 * string/memmem.c (memmem): Define libc hidden alias.
2284 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2285 __read, __close instead of open, read, close.
2287 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2290 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2292 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2293 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2294 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2296 (__rawmemchr_sse2): Likewise.
2297 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2298 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2299 (__strchr_sse2): Likewise.
2300 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2301 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2302 (__strcasecmp_sse2): Likewise.
2303 (__strncasecmp_sse2): Likewise.
2304 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2305 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2306 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2307 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2308 (__strrchr_sse2): Likewise.
2309 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2311 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2312 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2313 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2314 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2315 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2316 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2317 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2318 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2319 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2320 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2321 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2323 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2324 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2325 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2326 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2327 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2328 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2329 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2330 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2331 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2332 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2333 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2334 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2335 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2336 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2337 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2338 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2339 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2340 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2342 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2344 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2345 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2346 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2347 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2349 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2351 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2352 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2353 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2354 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2356 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2358 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2359 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2360 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2361 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2362 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2363 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2364 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2365 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2366 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2367 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2368 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2369 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2370 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2372 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2373 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2374 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2375 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2377 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2378 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2379 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2381 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2382 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2383 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2384 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2385 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2386 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2387 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2388 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2389 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2390 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2391 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2392 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2393 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2394 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2395 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2396 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2398 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2399 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2400 * include/ifunc-impl-list.h: New file.
2401 * misc/ifunc-impl-list.c: Likewise.
2402 * misc/Makefile (routines): Add ifunc-impl-list.
2403 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2404 * string/test-string.h: Include <ifunc-impl-list.h>.
2405 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2406 impl_array): New variables.
2407 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2409 (test_init): Call __libc_ifunc_impl_list to initialize
2410 func_list if TEST_IFUNC and TEST_NAME are defined.
2412 * string/Makefile (strop-tests): Add bcopy and bzero.
2413 * string/test-bcopy.c: New file.
2414 * string/test-bzero.c: Likewise.
2415 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2417 * string/test-memset.c: Support bzero test if TEST_BZERO is
2419 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2421 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2423 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2426 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2428 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2429 * configure: Regenerated.
2431 * Makeconfig (+link-static-before-libc): Don't include
2432 $(link-static-libc).
2434 * libio/libio.h (_IO_pos_t): Remove.
2436 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2438 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2441 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2443 * crypt/crypt-entry.c: Include fips-private.h.
2444 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2445 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2446 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2447 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2449 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2451 * crypt/crypt-private.h: Include stdbool.h.
2452 (_ufc_setup_salt_r): Return bool.
2453 * crypt/crypt-entry.c: Include errno.h.
2454 (__crypt_r): Return NULL with EINVAL for bad salt.
2455 * crypt/crypt_util.c (bad_for_salt): New.
2456 (_ufc_setup_salt_r): Check that salt is long enough and within
2457 the specified alphabet.
2458 * crypt/badsalttest.c: New file.
2459 * crypt/Makefile (tests): Add it.
2460 ($(objpfx)badsalttest): New.
2462 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2464 * NEWS: Add entry for BZ #14602.
2466 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2468 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2470 * math/libm-test.inc: Update comment listing what functions and
2472 (isgreater_test): New function.
2473 (isgreaterequal_test): Likewise.
2474 (isless_test): Likewise.
2475 (islessequal_test): Likewise.
2476 (islessgreater_test): Likewise.
2477 (isunordered_test): Likewise.
2478 (main): Call the new functions.
2480 2012-10-09 Roland McGrath <roland@hack.frob.com>
2482 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2483 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2484 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2485 * sysdeps/i386/configure: Regenerated.
2486 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2487 * sysdeps/mach/configure: Regenerated.
2488 * sysdeps/mach/hurd/configure: Regenerated.
2489 * sysdeps/powerpc/configure: Regenerated.
2490 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2491 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2492 * sysdeps/s390/s390-32/configure: Regenerated.
2493 * sysdeps/s390/s390-64/configure: Regenerated.
2494 * sysdeps/sh/configure: Regenerated.
2495 * sysdeps/sparc/configure: Regenerated.
2496 * sysdeps/unix/sysv/linux/configure: Regenerated.
2497 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2498 * sysdeps/x86_64/configure: Regenerated.
2500 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2501 defined. Don't check if MAP is NULL.
2503 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2506 (_G_stat64): Likewise.
2507 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2508 (_G_stat64): Likewise.
2509 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2510 instead of struct _G_stat64.
2511 * libio/fileops.c (mmap_remap_check): Likewise.
2512 (decide_maybe_mmap): Likewise.
2513 (_IO_new_file_seekoff): Likewise.
2514 (_IO_file_stat): Likewise.
2515 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2517 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2518 instead of struct _G_stat64.
2519 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2521 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2524 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2526 (CHECK_EOL): New macro.
2527 (two_way_short_needle): Check beginning of haystack for EOL. Use
2529 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2530 Replace with CHECK_EOL.
2531 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2532 Replace with CHECK_EOL.
2534 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2536 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2538 * math/libm-test.inc: Update comment listing what functions and
2540 (finite_test): New function.
2541 (isinf_test): Likewise.
2542 (isnan_test): Likewise.
2543 (fpclassify_test): Test subnormal input.
2544 (isfinite_test): Likewise.
2545 (isnormal_test): Likewise.
2546 (main): Call the new functions.
2548 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2551 * Makerules (%.dynsym): Force C locale when running
2552 $(OBJDUMP) --dynamic-syms.
2554 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2556 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2559 2012-10-06 David S. Miller <davem@davemloft.net>
2561 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2562 upper 32-bits of the length value in %o2 since we use branch-on-register
2563 tests which consider the entire 64-bit register.
2565 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2567 * string/test-strstr.c (check2): Add a test for page boundary.
2569 2012-10-05 David S. Miller <davem@davemloft.net>
2571 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2572 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2574 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2577 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2578 and bzero when HWCAP_SPARC_CRYPTO is present.
2580 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2583 * string/test-strstr.c (check2): New function.
2584 (test_main): Call check2.
2586 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2588 * string/bug-strcasestr1.c (do_test): Moved to ...
2589 * string/test-strcasestr.c (check1): Here. New function.
2590 (do_one_test): Break out result checking code into ...
2591 (check_result): This. New function.
2592 (do_one_test): Call check_result.
2593 (test_main): Call check1.
2594 * string/bug-strchr1.c (do_test): Moved to ...
2595 * string/test-strchr.c (check1): Here. New function.
2596 (do_one_test): Break out result checking code into ...
2597 (check_result): This. New function.
2598 (do_one_test): Call check_result.
2599 (test_main): Call check1.
2600 * string/bug-strstr1.c (main): Moved to ...
2601 * string/test-strchr.c (check1): Here. New function.
2602 (do_one_test): Break out result checking code into ...
2603 (check_result): This. New function.
2604 (do_one_test): Call check_result.
2605 (test_main): Call check1.
2606 * string/bug-strcasestr1.c: Removed.
2607 * string/bug-strchr1.c: Likewise.
2608 * string/bug-strstr1.c: Likewise.
2610 * elf/Makefile (dl-routines): Add hwcaps.
2611 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2612 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2613 (_dl_important_hwcaps): Moved to ...
2614 * elf/dl-hwcaps.c: Here. New file.
2615 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2618 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2619 if IS_IN_rtld isn't defined.
2621 * elf/dl-support.c (_dl_sysinfo_map): New.
2622 Include "get-dynamic-info.h" and "setup-vdso.h".
2623 (_dl_non_dynamic_init): Call setup_vdso.
2624 * elf/dynamic-link.h: Don't include <assert.h>.
2625 (elf_get_dynamic_info): Moved to ...
2626 * elf/get-dynamic-info.h: Here. New file.
2627 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2628 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2629 * elf/setup-vdso.h: Here. New file.
2630 * elf/rtld.c: Include "setup-vdso.h".
2631 (dl_main): Call setup_vdso.
2633 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2635 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2636 creal in comment listing functions tested. List finite, isinf,
2637 isnan, isless, islessequal, isgreater, isgreaterequal,
2638 islessgreater, isunordered, lgamma_r and pow10 as functions and
2639 macros not tested. Mention which functions not tested are aliases
2640 for other functions. Fix typo. Note that signs of NaNs are not
2643 * scripts/config.guess: Update from config.git.
2644 * scripts/config.sub: Likewise.
2646 2012-10-04 Roland McGrath <roland@hack.frob.com>
2648 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2649 * misc/madvise.c (madvise): Renamed to __madvise.
2650 Make madvise a weak alias.
2651 * include/sys/mman.h: Declare __madvise.
2652 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2653 * sysdeps/unix/syscalls.list
2654 (madvise): Make __madvise the strong name, and madvise a weak alias.
2655 * sysdeps/unix/sysv/linux/syscalls.list
2656 (madvise, mmap): Remove redundant entries.
2657 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2658 * malloc/malloc.c (mtrim): Likewise.
2659 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2661 2012-10-03 Roland McGrath <roland@hack.frob.com>
2663 * sysdeps/mach/hurd/dl-cache.c: File removed.
2664 * config.h.in (USE_LDCONFIG): New #undef.
2665 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2666 * configure: Regenerated.
2667 * elf/Makefile (dl-routines): Add dl-cache only under
2668 [$(use-ldconfig) = yes].
2669 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2670 cache on [USE_LDCONFIG].
2671 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2673 * elf/rtld.c (dl_main): Likewise.
2675 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2677 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2678 _SC_LEVEL4_CACHE_LINESIZE.
2680 2012-10-03 Roland McGrath <roland@hack.frob.com>
2682 * sysdeps/unix/bsd/confstr.h: File removed.
2684 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2686 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2689 2012-10-02 Roland McGrath <roland@hack.frob.com>
2691 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2692 Make 'mapoff' field ElfW(Off) rather than off_t.
2694 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2696 * nscd/Makefile: Remove nscd-cflags and all its users.
2697 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2698 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2701 * malloc.c (malloc_printerr): Clarify error message.
2703 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2707 Set bit_FMA_Usable if FMA is supported.
2708 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2710 (bit_FMA4_Usable): Updated.
2711 (index_FMA_Usable): New macro.
2712 (CPUID_FMA): Likewise
2713 (HAS_FMA): Defined with bit_FMA_Usable.
2715 2012-10-01 Roland McGrath <roland@hack.frob.com>
2717 * bits/types.h (__swblk_t): Type removed.
2718 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2719 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2721 (__SWBLK_T_TYPE): Likewise.
2722 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2723 (__SWBLK_T_TYPE): Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2725 (__SWBLK_T_TYPE): Likewise.
2726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2727 (__SWBLK_T_TYPE): Likewise.
2729 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2730 Honza Horak <hhorak@redhat.com>
2732 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2733 (xdr_mapname): Use YPMAXMAP as maxsize.
2734 (xdr_peername): Use YPMAXPEER as maxsize.
2735 (xdr_keydat): Use YPAXRECORD as maxsize.
2736 (xdr_valdat): Use YPMAXRECORD as maxsize.
2738 2012-10-01 Roland McGrath <roland@hack.frob.com>
2740 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2742 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2743 * csu/init-first.c: ... here.
2744 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2745 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2746 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2747 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2748 * sysdeps/i386/init-first.c: File removed.
2749 * sysdeps/sh/init-first.c: File removed.
2751 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2755 if x * y might underflow to zero and z is zero.
2756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2758 * math/libm-test.inc (min_subnorm_value): New variable.
2759 (fma_test): Add more tests.
2760 (fma_test_towardzero): Likewise.
2761 (fma_test_downward): Likewise
2762 (fma_test_upward): Likewise.
2763 (initialize): Set min_subnorm_value.
2765 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2771 mode for addition resulting in exact zero.
2772 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2777 * math/libm-test.inc (fma_test): Add more tests.
2778 (fma_test_towardzero): New function.
2779 (fma_test_downward): Likewise.
2780 (fma_test_upward): Likewise.
2781 (main): Call the new functions.
2783 2012-09-28 David S. Miller <davem@davemloft.net>
2785 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2787 2012-09-28 Roland McGrath <roland@hack.frob.com>
2789 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2792 * sysdeps/gnu/_G_config.h: Moved to ...
2793 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2794 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2795 * sysdeps/generic/_G_config.h: ... here.
2797 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2799 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2801 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2802 Conditionalize target on [libnss_test1.so-version].
2804 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2806 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2807 (elfobjdir): Move out of conditionals.
2809 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2810 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2811 (__nss_lookup_function): Conditionalize label remove_from_tree on
2812 [!DO_STATIC_NSS || SHARED], matching its only use.
2814 2012-09-28 David S. Miller <davem@davemloft.net>
2816 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2817 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2819 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2821 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2823 when HWCAP_SPARC_CRYPTO is present.
2825 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2827 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2829 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2832 * stdio-common/vfprintf.c (process_string_arg): Revert
2835 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2837 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2839 * stdio-common/tst-sprintf.c: Include <locale.h>
2840 (main): Test sprintf's handling of incomplete multibyte
2843 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2845 * elf/dl-runtime.c (VERSYMIDX): Removed.
2846 * elf/dl-version.c (VERSYMIDX): Likewise.
2847 * elf/do-rel.h (VERSYMIDX): Likewise.
2849 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2850 * elf/rtld.c (VALIDX): Likewise.
2851 (ADDRIDX): Likewise.
2852 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2853 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2854 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2855 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2857 (ADDRIDX): Likewise.
2859 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2861 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2863 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2866 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2868 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2869 addresses are in the same scope as 192.0.2/24.
2870 * posix/gai.conf: Document new scope table defaults.
2872 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2875 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2876 for ftell. Compute offsets from write pointers instead.
2877 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2879 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2882 * libio/Makefile (tests): New test case tst-fseek.
2883 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2884 combination works in wide mode.
2885 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2886 state when the external buffer state changes.
2888 2012-09-27 David S. Miller <davem@davemloft.net>
2891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2892 pass reloc->r_addend in as the 'high' argument to
2893 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2897 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2899 * rt/tst-aio2.c: Include <pthread.h>.
2900 * rt/tst-aio3.c: Likewise.
2902 2012-09-27 Steve Ellcey <sellcey@mips.com>
2904 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2906 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2908 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2909 contents on [SHARED].
2911 2012-09-26 Marek Polacek <polacek@redhat.com>
2915 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2916 for C++ and GCC <4.3 as well as for non GCC compilers.
2918 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2922 2012-09-25 Roland McGrath <roland@hack.frob.com>
2924 * Makefile.in (all, install): Declare with .PHONY.
2925 Reported by Michael Hope <michael.hope@linaro.org>.
2927 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2929 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2930 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2932 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2934 (sydep_routines): Add the new and the internal functions.
2935 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2936 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2938 (GLIBC_2.17): Add the new function.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2940 (GLIBC_2.17): Likewise.
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2942 (GLIBC_2.17): Likewise.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2944 (GLIBC_2.17): Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2947 2012-09-25 Alan Modra <amodra@gmail.com>
2949 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2950 Add release barrier before setting once_control to say
2951 initialisation is done. Add hints on lwarx. Use macro in
2953 (clear_once_control): Add release barrier.
2955 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2958 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2960 * math/s_clog10.c (__clog10): Likewise.
2961 * math/s_clog10f.c (__clog10f): Likewise.
2962 * math/s_clog10l.c (__clog10l): Likewise.
2963 * math/s_clogf.c (__clogf): Likewise.
2964 * math/s_clogl.c (__clogl): Likewise.
2965 * math/Makefile (libm-calls): Add x2y2m1.
2966 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2967 (__x2y2m1): Likewise.
2968 (__x2y2m1l): Likewise.
2969 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2970 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2971 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2972 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2973 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2974 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2975 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2976 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2980 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2981 int as type of variable DEPTH.
2982 (glob): Use size_t instead of int as type of variables NEWCOUNT
2985 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2987 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2989 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2990 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2991 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2992 macros for using routine as __sincosf_ia32.
2993 Use macro for function declaration and weak_alias.
2994 * sysdeps/i386/fpu/libm-test-ulps: Update.
2996 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2999 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3001 * math/s_cexpf.c (__cexpf): Likewise.
3002 * math/s_csinf.c (__csinf): Likewise.
3003 * math/s_csinhf.c (__csinhf): Likewise.
3004 * math/s_ctanf.c (__ctanf): Likewise.
3005 * math/s_ctanhf.c (__ctanhf): Likewise.
3006 * math/s_ccosh.c (__ccoshf): Likewise.
3007 * math/s_cexp.c (__cexpl): Likewise.
3008 * math/s_csin.c (__csin): Likewise.
3009 * math/s_csinh.c (__csinh): Likewise.
3010 * math/s_ctan.c (__ctan): Likewise.
3011 * math/s_ctanh.c (ctanh): Likewise.
3012 * math/s_ccoshl.c (__ccoshl): Likewise.
3013 * math/s_cexpl.c (__cexpl): Likewise.
3014 * math/s_csinl.c (__csinl): Likewise.
3015 * math/s_csinhl.c (__csinhl): Likewise.
3016 * math/s_ctanl.c (__ctanl): Likewise.
3017 * math/s_ctanhl.c (__ctanhl): Likewise.
3019 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3021 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3022 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3023 (_IO_off_t): Define to __off_t, not _G_off_t.
3024 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3025 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3026 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3027 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3028 type of __dummy and __dummy2 fields.
3029 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3030 (_G_ssize_t): Likewise.
3031 (_G_off_t): Likewise.
3032 (_G_pid_t): Likewise.
3033 (_G_uid_t): Likewise.
3034 (_G_wchar_t): Likewise.
3035 (_G_wint_t): Likewise.
3036 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3037 (_G_ssize_t): Likewise.
3038 (_G_off_t): Likewise.
3039 (_G_pid_t): Likewise.
3040 (_G_uid_t): Likewise.
3041 (_G_wchar_t): Likewise.
3042 (_G_wint_t): Likewise.
3043 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3044 (_G_ssize_t): Likewise.
3045 (_G_off_t): Likewise.
3046 (_G_pid_t): Likewise.
3047 (_G_uid_t): Likewise.
3048 (_G_wchar_t): Likewise.
3049 (_G_wint_t): Likewise.
3051 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3053 * malloc/arena.c: Include malloc-sysdep.h.
3054 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3055 is sufficient to shrink the heap or an unmap is needed.
3056 * sysdeps/generic/malloc-sysdep.h: New file. Define
3057 new function check_may_shrink_heap.
3058 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3059 new function check_may_shrink_heap.
3061 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3063 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3066 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3068 * catgets/test-gencat.sh: Add "set -e".
3069 * elf/tst-pathopt.sh: Likewise.
3070 * grp/tst_fgetgrent.sh: Likewise.
3071 * iconvdata/run-iconv-test.sh: Likewise.
3072 * intl/tst-gettext.sh: Likewise.
3073 * intl/tst-gettext2.sh: Likewise.
3074 * intl/tst-gettext4.sh: Likewise.
3075 * intl/tst-gettext6.sh: Likewise.
3076 * intl/tst-translit.sh: Likewise.
3077 * io/ftwtest-sh: Likewise.
3078 * libio/test-freopen.sh: Likewise.
3079 * malloc/tst-mtrace.sh: Likewise.
3080 * posix/globtest.sh: Likewise.
3081 * posix/tst-getconf.sh: Likewise.
3082 * posix/wordexp-tst.sh: Likewise.
3083 * stdio-common/tst-printf.sh: Likewise.
3084 * stdio-common/tst-unbputc.sh: Likewise.
3085 * stdlib/tst-fmtmsg.sh: Likewise.
3086 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3087 * catgets/Makefile: Do not specify -e option when running
3088 testsuite shell scripts.
3089 * elf/Makefile: Likewise.
3090 * grp/Makefile: Likewise.
3091 * iconvdata/Makefile: Likewise.
3092 * intl/Makefile: Likewise.
3093 * io/Makefile: Likewise.
3094 * libio/Makefile: Likewise.
3095 * malloc/Makefile: Likewise.
3096 * posix/Makefile: Likewise.
3097 * stdio-common/Makefile: Likewise.
3098 * stdlib/Makefile: Likewise.
3099 * sysdeps/x86_64/Makefile: Likewise.
3101 * io/ftwtest-sh: Add copyright header.
3102 * posix/globtest.sh: Likewise.
3103 * posix/tst-getconf.sh: Likewise.
3104 * posix/wordexp-tst.sh: Likewise.
3105 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3107 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3110 * Makeconfig (+link): Defined as $(+link-static) if
3111 $(build-shared) isn't yes.
3112 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3114 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3116 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3119 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3120 new chunk size with MALLOC_ALIGN_MASK.
3122 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3125 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3127 (__printf_fphex): Determine rounding using get_rounding_mode and
3129 * stdio-common/tst-printf-round.c (struct hex_test): New
3131 (hex_tests): New variable.
3132 (test_hex_in_one_mode): New function.
3133 (do_test): Also run tests for hex float output.
3135 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3137 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3138 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3139 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3140 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3141 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3142 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3143 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3144 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3146 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3148 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3149 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3150 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3151 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3153 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3156 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3158 * elf/tst-rtld-load-self.sh: New test.
3159 * elf/Makefile: Run it.
3161 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3163 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3164 (tst-writev-ENV): Remove.
3165 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3167 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3169 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3171 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3173 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3175 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3177 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3178 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3179 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3182 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3185 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3186 * config.make.in (have-cpp-asm-debuginfo): Removed.
3187 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3188 * configure: Regenerated.
3190 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3193 * stdio-common/printf_fp.c: Include <stdbool.h> and
3195 (___printf_fp): Determine rounding using get_rounding_mode and
3197 * stdio-common/tst-printf-round.c: New file.
3198 * stdio-common/Makefile (tests): Add tst-printf-round.
3199 (link-libm): New variable.
3200 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3202 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3205 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3206 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3208 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3211 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3213 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3214 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3215 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3216 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3218 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3221 * include/rounding-mode.h: New file.
3222 * sysdeps/generic/get-rounding-mode.h: Likewise.
3223 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3224 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3225 (MAX_VALUE): New macro.
3226 (MIN_VALUE): Likewise.
3227 (overflow_value): New function.
3228 (underflow_value): Likewise.
3229 (round_and_return): Use overflow_value and underflow_value to
3230 determine return values in overflow and underflow cases. Use
3231 round_away to determine rounding depending on rounding mode.
3232 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3233 determine return values in overflow and underflow cases.
3234 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3235 (struct test_results): New structure.
3236 (struct test): Use struct test_results to store expected results
3237 for all rounding modes.
3238 (TEST): Include expected results for all rounding modes.
3239 (test_in_one_mode): New function.
3240 (do_test): Use test_in_one_mode to compute and check results.
3241 Check results for all rounding modes.
3242 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3245 2012-12-09 Allan McRae <allan@archlinux.org>
3247 * sysdeps/i386/fpu/libm-test-ulps: Update
3249 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3251 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3252 (_G_int32_t): Likewise.
3253 (_G_uint16_t): Likewise.
3254 (_G_uint32_t): Likewise.
3255 (_G_HAVE_BOOL): Likewise.
3256 (_G_HAVE_ATEXIT): Likewise.
3257 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3258 (_G_HAVE_IO_FILE_OPEN): Likewise.
3259 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3260 (_G_int32_t): Likewise.
3261 (_G_uint16_t): Likewise.
3262 (_G_uint32_t): Likewise.
3263 (_G_HAVE_BOOL): Likewise.
3264 (_G_HAVE_ATEXIT): Likewise.
3265 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3266 (_G_HAVE_IO_FILE_OPEN): Likewise.
3267 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3268 (_G_int32_t): Likewise.
3269 (_G_uint16_t): Likewise.
3270 (_G_uint32_t): Likewise.
3271 (_G_HAVE_BOOL): Likewise.
3272 (_G_HAVE_ATEXIT): Likewise.
3273 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3274 (_G_HAVE_IO_FILE_OPEN): Likewise.
3276 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3278 * csu/libc-tls.c: Update copyright years.
3280 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3282 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3283 [!_G_USING_THUNKS]: Remove conditional code.
3284 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3285 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3287 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3288 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3289 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3290 (_G_VTABLE_LABEL_PREFIX): Likewise.
3291 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3292 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3293 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3294 (_G_VTABLE_LABEL_PREFIX): Likewise.
3295 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3296 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3297 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3298 (_G_VTABLE_LABEL_PREFIX): Likewise.
3299 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3301 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3303 * libio/Makefile: Include ../Makeconfig before tests.
3304 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3305 only if $(build-shared) is yes.
3307 * iconv/gconv_db.c: Update copyright years.
3309 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3311 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3312 unwind info if defined PIC. Fix special cases description.
3313 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3315 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3317 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3319 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3321 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3323 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3326 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3327 (LDLIBS-tst-chk4): This.
3328 (LDFLAGS-tst-chk5): Renamed to ...
3329 (LDLIBS-tst-chk5): This.
3330 (LDFLAGS-tst-chk6): Renamed to ...
3331 (LDLIBS-tst-chk6): This.
3332 (LDFLAGS-tst-lfschk4): Renamed to ...
3333 (LDLIBS-tst-lfschk4): This.
3334 (LDFLAGS-tst-lfschk5): Renamed to ...
3335 (LDLIBS-tst-lfschk5): This.
3336 (LDFLAGS-tst-lfschk6): Renamed to ...
3337 (LDLIBS-tst-lfschk6): This.
3339 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3340 on $(common-objpfx)soversions.mk.
3342 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3345 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3348 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3350 * malloc/arena.c (arena_get_retry): New function that gets
3351 another arena for the caller to try its request on.
3352 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3353 current arena cannot fulfill the request.
3354 (__libc_memalign): Likewise.
3355 (__libc_memalign): Likewise.
3356 (__libc_pvalloc): Likewise.
3357 (__libc_calloc): Likewise.
3359 2012-09-05 John Tobey <john.tobey@gmail.com>
3362 * manual/arith.texi (Operations on Complex): Fix description
3365 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3368 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3372 * manual/memory.texi (Memory): Make order of menu items match
3375 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3377 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3378 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3379 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3381 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3383 * csu/libc-tls.c (static_dtv): Renamed to ...
3384 (_dl_static_dtv): This. Make it global.
3385 (_dl_initial_dtv): Removed.
3386 (__libc_setup_tls): Updated.
3387 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3388 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3391 2012-09-06 Petr Machata <pmachata@redhat.com>
3393 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3394 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3395 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3396 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3398 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3401 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3402 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3405 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3408 * Makeconfig (link-static-before-libc): Replace $(+prector)
3410 (link-static-after-libc): Replace $(+postctor) with
3412 (link-bounded): Replace $(+prector)/$(+postctor) with
3413 $(+prectorT)/$(+postctorT).
3414 (+prectorT): New macro.
3415 (+postctorT): Likewise.
3417 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3419 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3420 (round_str): Handle values above the maximum for IBM long double
3422 * stdlib/tst-strtod-round.c (tests): Regenerated.
3424 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3426 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3428 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3429 zarch_nohighgprs around the zarch optimized routines.
3430 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3431 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3432 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3435 2012-09-05 David S. Miller <davem@davemloft.net>
3437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3439 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3440 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3441 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3442 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3447 * malloc/arena.c: Fold copyright years.
3448 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3450 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3452 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3454 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3456 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3458 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3460 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3461 change internal state upon failure.
3463 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3465 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3466 * malloc/memusage.c (mmap): Likewise.
3467 (mmap64, mremap): Likewise. Adjust name in comment.
3469 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3471 * libio/fileops.c: Fix typos in comments.
3472 * libio/oldfileops.c: Likewise.
3473 * libio/wfileops.c: Likewise.
3475 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3478 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3479 (tst-malloc-usable-ENV): Set environment for test case.
3480 * malloc/hooks.c (malloc_check_get_size): New function to get
3482 * malloc/malloc.c (musable): Use malloc_check_get_size.
3483 * malloc/tst-malloc-usable.c: New test case.
3485 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3487 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3489 2012-09-05 Allan McRae <allan@archlinux.org>
3492 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3493 determine header location.
3494 * configure: Regenerated.
3496 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3498 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3500 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3501 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3505 2012-09-04 David S. Miller <davem@davemloft.net>
3507 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3511 2012-09-04 Florian Weimer <fweimer@redhat.com>
3513 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3516 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3518 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3521 * libio/iogetdelim.c: Include <limits.h>.
3522 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3523 + len + 1 would overflow.
3525 2012-09-03 Andreas Jaeger <aj@suse.de>
3527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3528 * sysdeps/i386/fpu/libm-test-ulps: Update.
3530 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3532 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3533 Add s_sinf-sse2, s_conf-sse2.
3535 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3536 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3537 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3538 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3540 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3541 for using routine as __sinf_ia32.
3542 Use macro for function declaration and weak_alias.
3543 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3544 for using routine as __cosf_ia32.
3545 Use macro for function declaration and weak_alias.
3547 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3548 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3550 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3551 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3554 * math/libm-test.inc (cos_test): Add more test cases.
3555 (sin_test): Likewise.
3556 (sincos_test): Likewise.
3558 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3560 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3561 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3563 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3565 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3568 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3569 first element of the GOT.
3570 (elf_machine_load_address): Return the difference between
3571 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3573 2012-09-01 Allan McRae <allan@archlinux.org>
3576 * configure.in (AWK): Require gawk version 3.0 or later.
3577 * configure: Regenerated.
3579 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3581 * sysdeps/unix/sysv/linux/kernel-features.h
3582 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3584 [__NR_clock_getres]: Make code unconditional.
3585 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3586 (clock_getcpuclockid): Remove code left unreachable by removal of
3588 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3590 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3592 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3593 Make code unconditional.
3594 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3595 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3596 * sysdeps/unix/sysv/linux/clock_settime.c
3597 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3599 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3600 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3602 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3605 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3606 scripts/test-installation.pl.
3608 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3609 and $ld_so_version if it is set.
3611 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3614 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3615 failure if reading from procfs failed.
3616 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3618 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3620 * sysdeps/unix/sysv/linux/kernel-features.h
3621 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3622 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3623 Remove conditional code.
3624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3625 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3626 Remove conditional code.
3627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3628 * sysdeps/unix/sysv/linux/i386/fxstat.c
3629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3631 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3632 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3634 * sysdeps/unix/sysv/linux/i386/lxstat.c
3635 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3637 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3638 Remove conditional code.
3639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3640 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3641 Remove conditional code.
3642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3643 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3644 <kernel-features.h>.
3645 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3647 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3648 Remove conditional code.
3649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3650 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3653 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3656 * NEWS: Add fixed bug number.
3658 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3661 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3662 underflowing exponent in case of negative sign.
3663 * stdlib/tst-strtod-round-data: Add more tests.
3664 * stdlib/tst-strtod-round.c (tests): Regenerated.
3667 * stdlib/strtod_l.c (NDIG): Remove.
3668 (HEXNDIG): Likewise.
3669 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3670 smallest representable value.
3671 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3672 lie within an exact representation of 1/2 ulp of the result.
3673 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3675 (TENS_P9_IDX): Define unconditionally.
3676 (TENS_P9_SIZE): Likewise.
3677 (TENS_P10_IDX): Likewise.
3678 (TENS_P10_SIZE): Likewise.
3679 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3680 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3681 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3682 entries for 10^2^13 and 10^2^14.
3683 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3684 (TENS_P13_IDX): Define.
3685 (TENS_P13_SIZE): Likewise.
3686 (TENS_P14_IDX): Likewise.
3687 (TENS_P14_SIZE): Likewise.
3688 (_fpioconst_pow10): Change array size to
3689 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3691 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3692 1024]: Add entries for 10^2^13 and 10^2^14.
3693 [LAST_POW10 > _LAST_POW10]: Remove #error.
3694 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3695 (_fpioconst_pow10): Change array size to
3696 FPIOCONST_POW10_ARRAY_SIZE.
3697 * stdlib/gen-fpioconst.c: New file.
3698 * stdlib/gen-tst-strtod-round.c: Likewise.
3699 * stdlib/tst-strtod-round-data: Likewise.
3700 * stdlib/tst-strtod-round.c: Likewise.
3701 * stdlib/Makefile (tests): Add tst-strtod-round.
3704 * stdlib/strtod_l.c: Include <stdint.h>.
3705 (NDEBUG): Do not define.
3706 (round_and_return): Change EXPONENT parameter to type intmax_t.
3707 Rearrange calculations to avoid internal overflow possibilities.
3708 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3709 Rearrange calculations to avoid internal overflow possibilities.
3710 Assert that number fits inside MPNSIZE limbs.
3711 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3712 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3713 calculations and add assertions to avoid internal overflow
3714 possibilities. Add casts to avoid signed/unsigned operations.
3715 * stdlib/tst-strtod-overflow.c: New file.
3716 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3718 2012-08-25 Marek Polacek <polacek@redhat.com>
3720 * time/time.h: Fix some typos in comments.
3722 2012-08-23 Roland McGrath <roland@hack.frob.com>
3724 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3725 * posix/tst-rfc3484-2.c: Likewise.
3726 * posix/tst-rfc3484-3.c: Likewise.
3728 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3730 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3731 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3733 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3735 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3736 #include of fxstatat64.c.
3738 2012-08-22 Roland McGrath <roland@hack.frob.com>
3740 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3741 * shadow/getspent_r.c: Likewise.
3742 * shadow/getspnam.c: Likewise.
3743 * shadow/getspnam_r.c: Likewise.
3744 * gshadow/getsgent.c: Likewise.
3745 * gshadow/getsgent_r.c: Likewise.
3746 * gshadow/getsgnam.c: Likewise.
3747 * gshadow/getsgnam_r.c: Likewise.
3748 * inet/getnetbyad.c: Likewise.
3749 * inet/getnetbyad_r.c: Likewise.
3750 * inet/getnetbynm.c: Likewise.
3751 * inet/getnetbynm_r.c: Likewise.
3752 * inet/getnetent.c: Likewise.
3753 * inet/getnetent_r.c: Likewise.
3754 * inet/getproto.c: Likewise.
3755 * inet/getproto_r.c: Likewise.
3756 * inet/getprtent.c: Likewise.
3757 * inet/getprtent_r.c: Likewise.
3758 * inet/getprtname.c: Likewise.
3759 * inet/getprtname_r.c: Likewise.
3760 * inet/getrpcbyname.c: Likewise.
3761 * inet/getrpcbyname_r.c: Likewise.
3762 * inet/getrpcbynumber.c: Likewise.
3763 * inet/getrpcbynumber_r.c: Likewise.
3764 * inet/getrpcent.c: Likewise.
3765 * inet/getrpcent_r.c: Likewise.
3766 * inet/getaliasent.c: Likewise.
3767 * inet/getaliasent_r.c: Likewise.
3768 * inet/getaliasname.c: Likewise.
3769 * inet/getaliasname_r.c: Likewise.
3770 * nscd/getgrgid_r.c: Likewise.
3771 * nscd/getgrnam_r.c: Likewise.
3772 * nscd/gethstbyad_r.c: Likewise.
3773 * nscd/gethstbynm3_r.c: Likewise.
3774 * nscd/getpwnam_r.c: Likewise.
3775 * nscd/getpwuid_r.c: Likewise.
3776 * nscd/getsrvbynm_r.c: Likewise.
3777 * nscd/getsrvbypt_r.c: Likewise.
3778 * nscd/gai.c: Likewise.
3780 * configure.in (build_nscd): New substituted variable, set
3781 by --disable-build-nscd and defaults to $use_nscd.
3782 * configure: Regenerated.
3783 * config.make.in (build-nscd): New substituted variable.
3784 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3785 Change conditional to require [$(build-nscd) = yes] as well.
3786 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3789 * configure.in (use_nscd): New substituted variable, set by
3790 --disable-nscd. If enabled, define USE_NSCD.
3791 * configure: Regenerated.
3792 * config.h.in: Add USE_NSCD.
3793 * config.make.in (use-nscd): New substituted variable.
3794 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3795 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3796 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3797 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3798 (CFLAGS-getgrnam_r.c): Likewise.
3799 (CFLAGS-initgroups.c): Likewise.
3800 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3801 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3803 * inet/getnetgrent_r.c
3804 (nscd_setnetgrent): New function, broken out of ...
3805 (setnetgrent): ... here. Call it.
3806 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3807 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3808 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3809 * nscd/Makefile (routines, aux): Move definitions after include of
3810 Makeconfig. Conditionalize on [$(use-nscd) != no].
3811 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3812 Conditionalize on [USE_NSCD].
3813 (is_nscd, nscd_init_cb): Likewise.
3814 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3815 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3816 * nss/nss_db/db-init.c: Likewise.
3817 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3819 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3820 (make_request): Use it.
3821 (cache_valid_p): New function.
3822 (__check_pf): Use it.
3823 * NEWS: Add item for --disable-nscd.
3825 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3827 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3828 to support sed >= 4.2.1-20-ga9bf076.
3829 * configure: Regenerated.
3831 2012-08-22 Roland McGrath <roland@hack.frob.com>
3833 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3834 Conditionalize whole body on [IREL].
3836 2012-08-22 Jeff Law <law@redhat.com>
3839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3840 if the family is PF_UNSPEC.
3842 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3844 * Makerules (lib-version): Rename from V.
3845 (install-lib-nosubdir): Change V to lib-version.
3847 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3850 * powerpc32/power6/wcschr.c: New file.
3851 * powerpc32/power6/wcscpy.c: New file.
3852 * powerpc32/power6/wcsrchr.c: New file.
3853 * powerpc64/power6/wcschr.c: New file.
3854 * powerpc64/power6/wcscpy.c: New file.
3855 * powerpc64/power6/wcsrchr.c: New file.
3857 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3859 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3860 (two_way_short_needle): Use it.
3861 * string/strstr.c (AVAILABLE1_USES_J): Define.
3862 * string/strcasestr.c: Likewise.
3864 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3866 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3869 * NEWS: Add an entry.
3870 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3871 define their defaults.
3872 (two_way_short_needle): Detect end-of-string on-the-fly.
3873 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3874 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3875 * string/bug-strcasestr1.c: New test.
3876 * string/Makefile: Run it.
3878 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3881 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3882 the first character.
3884 2012-08-21 Roland McGrath <roland@hack.frob.com>
3886 * csu/elf-init.c (__libc_csu_irel): Function removed.
3887 * csu/libc-start.c (apply_irel): New function.
3888 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3890 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3892 * sysdeps/unix/sysv/linux/kernel-features.h
3893 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3894 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3895 <kernel-features.h>.
3896 [__NR_fadvise64_64]: Make code unconditional.
3897 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3898 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3899 !__NR_fadvise64_64)]: Likewise.
3900 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3901 !__NR_fadvise64_64))]: Likewise.
3902 [__NR_fadvise64]: Make code unconditional.
3903 [!__NR_fadvise64]: Remove conditional code.
3904 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3905 <kernel-features.h>.
3906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3911 not include <kernel-features.h>.
3912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3916 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3917 include <kernel-features.h>.
3918 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3920 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3923 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3926 slight instruction rearrangements per scrollpipe analysis.
3927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3929 2012-08-20 Roland McGrath <roland@hack.frob.com>
3931 * manual/syslog.texi (syslog; vsyslog, closelog):
3932 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3933 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3935 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3936 DSOCAPS to match condition on defining it.
3938 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3940 * sysdeps/unix/sysv/linux/kernel-features.h
3941 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3946 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3947 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3949 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3950 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3952 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3953 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3955 * sysdeps/unix/sysv/linux/kernel-features.h
3956 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3957 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3959 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3960 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3961 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3962 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3963 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3964 Make code unconditional.
3965 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3966 (__mmap64) [!__NR_mmap2]: Likewise.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3968 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3969 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3971 [__NR_mmap2]: Make code unconditional.
3972 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3973 (__mmap64) [!__NR_mmap2]: Likewise.
3975 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3977 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3979 2012-08-18 Andreas Jaeger <aj@suse.de>
3981 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3983 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3985 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3986 * include/unistd.h (__have_sock_cloexec): Likewise.
3987 (__have_pipe2): Likewise.
3988 (__have_dup3): Likewise.
3990 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3993 * include/unistd.h (__have_pipe2): Change define into an extern int.
3994 (__have_dup3): Likewise.
3995 * socket/have_sock_cloexec.c: Include fcntl.h.
3996 (__have_pipe2): New variable.
3997 (__have_dup3): Likewise.
3999 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4001 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4003 2012-08-17 Marek Polacek <polacek@redhat.com>
4005 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4006 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4008 2012-08-17 Roland McGrath <roland@hack.frob.com>
4010 * configure.in: Add AC_SUBST for sysheaders.
4011 * configure: Regenerated.
4012 * config.make.in (sysheaders): New substituted variable.
4014 * sysdeps/unix/mkfifo.c: Moved ...
4015 * sysdeps/posix/mkfifo.c: ... here.
4016 * sysdeps/unix/mkfifoat.c: Moved ...
4017 * sysdeps/posix/mkfifoat.c: ... here.
4019 * sysdeps/unix/utime.c: Moved ...
4020 * sysdeps/posix/utime.c: ... here.
4022 * sysdeps/unix/time.c: Moved ...
4023 * sysdeps/posix/time.c: ... here.
4024 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4027 * sysdeps/unix/nice.c: Moved ...
4028 * sysdeps/posix/nice.c: ... here.
4030 * sysdeps/unix/alarm.c: Moved ...
4031 * sysdeps/posix/alarm.c: ... here.
4033 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4035 2012-08-17 Jeff Law <law@redhat.com>
4037 * intl/Makefile (codeset_mo): New variable.
4038 ($(codeset_mo)): New target.
4039 (tst-codeset.out): Depend on that. Remove explicit rule.
4040 (tst-gettext3.out, tst-gettext5.out): Likewise.
4041 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4042 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4043 * intl/tst-codeset.sh: Remove.
4044 * intl/tst-gettext3.sh: Likewise.
4045 * intl/tst-gettext5.sh: Likewise.
4047 2012-08-17 Roland McGrath <roland@hack.frob.com>
4049 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4050 * sysdeps/unix/syscalls.list: ... here.
4052 * sysdeps/posix/getaddrinfo.c
4053 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4054 (gaiconf_init, gaiconf_reload): Use them.
4056 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4057 Define using time_t rather than struct timespec.
4059 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4060 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4062 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4064 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4065 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4068 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4069 __libc_cleanup_push argument.
4071 * bits/param.h: New file.
4072 * misc/sys/param.h: New file.
4073 * include/sys/param.h: New file.
4074 * misc/Makefile (headers): Add bits/param.h.
4075 * sysdeps/generic/sys/param.h: File removed.
4076 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4077 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4078 * sysdeps/mach/hurd/bits/param.h: New file.
4079 * sysdeps/mach/hurd/sys/param.h: File removed.
4081 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4084 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4086 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4087 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4090 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4091 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4092 rather than -D_IO_MTSAFE_IO conditionally.
4093 * stdio-common/Makefile (CPPFLAGS): Likewise.
4094 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4095 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4096 Use $(libio-mtsafe).
4097 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4099 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4100 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4101 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4102 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4103 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4104 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4105 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4106 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4107 (CFLAGS-fread_u_chk.c): Likewise.
4108 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4109 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4110 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4111 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4112 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4113 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4114 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4115 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4116 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4118 * libio/Makefile: Test [$(libc-reentrant) = yes]
4119 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4122 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4123 * sysdeps/pthread/configure: File removed.
4124 * sysdeps/pthread/Makeconfig: New file.
4125 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4126 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4128 2012-08-16 Gary Benson <gbenson@redhat.com>
4130 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4131 unmapping the first object in a namespace.
4133 2012-08-16 Roland McGrath <roland@hack.frob.com>
4135 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4136 (__internal_setnetgrent): ... this. Add internal_function to
4137 definition. Add libc_hidden_def.
4138 (setnetgrent): Update caller.
4139 (internal_endnetgrent): Renamed to ...
4140 (__internal_endnetgrent): ... this. Add internal_function to
4141 definition. Add libc_hidden_def.
4142 (endnetgrent): Update caller.
4143 (internal_getnetgrent_r): Renamed to ...
4144 (__internal_getnetgrent_r): ... this. Add internal_function to
4145 definition. Add libc_hidden_def.
4146 (__getnetgrent_r): Update caller.
4147 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4149 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4151 * stdlib/longlong.h: Update from GCC.
4153 2012-08-16 Roland McGrath <roland@hack.frob.com>
4155 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4156 on _QL, which is set by umul_ppmm but never used.
4157 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4158 variables, which are set by GMP macros but never used.
4159 * stdio-common/_itowa.c (_itowa): Likewise.
4160 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4161 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4163 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4165 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4166 struct La_sh_regs is not constant.
4167 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4168 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4169 and struct La_sparc64_regs are not constant.
4171 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4173 * sysdeps/unix/sysv/linux/kernel-features.h
4174 (__ASSUME_POSIX_TIMERS): Remove.
4175 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4177 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4178 Make code unconditional.
4179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4180 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4181 Make code unconditional.
4182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4183 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4184 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4186 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4187 Make code unconditional.
4188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4189 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4190 (__libc_missing_posix_timers): Remove.
4192 2012-08-15 Roland McGrath <roland@hack.frob.com>
4194 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4195 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4197 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4199 * elf/dl-sym.c: Include <stdlib.h>.
4201 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4202 constants, which avoids warnings in 32-bit builds.
4204 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4205 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4207 * misc/lseek.c: File moved to ...
4208 * io/lseek.c: ... here.
4210 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4212 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4213 shifting LEN more than 31 bits at once.
4215 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4218 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4219 segmentation fault for a case of two empty input strings.
4220 * string/test-strncasecmp.c (check1): Renamed to...
4222 (bz14195): Add new testcase for two empty input strings and N > 0.
4223 (test_main): Call new testcase, adapt for renamed function.
4225 2012-08-15 Andreas Jaeger <aj@suse.de>
4228 * crypt/md5test2.c: New test, based on test supplied by Serge
4229 Belyshev <belyshev@depni.sinp.msu.ru>.
4230 * crypt/Makefile (xtests): Add md5test-giant..
4231 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4233 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4236 * crypt/md5.c (md5_process_block): Don't assume the buffer
4237 length is less than 2**32.
4238 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4239 length is less than 2**64.
4241 2012-08-15 Roland McGrath <roland@hack.frob.com>
4243 * string/str-two-way.h: Include <sys/param.h>.
4244 (MAX): Macro removed.
4246 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4247 Move #define and #undef of memmove to just before and after
4248 including <string.h>.
4250 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4251 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4252 and after including <string.h>. Move declarations of
4253 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4254 to before #include "string/memmove.c".
4256 * include/dirent.h: Declare __getdirentries.
4258 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4259 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4261 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4263 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4264 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4265 * sysdeps/i386/configure: Regenerated.
4266 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4267 STABS_CURRENT_FILE, and STABS_FUN.
4268 (END): Remove call to STABS_FUN_END.
4269 (STABS_CURRENT_FILE1): Delete.
4270 (STABS_CURRENT_FILE): Likewise.
4271 (STABS_FUN): Likewise.
4272 (STABS_FUN_END): Likewise.
4273 (STABS_FUN2): Likewise.
4274 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4275 * sysdeps/x86_64/configure: Regenerated.
4277 2012-08-14 Roland McGrath <roland@hack.frob.com>
4279 * elf/dl-open.c: Include <atomic.h>.
4280 * elf/dl-lookup.c: Likewise.
4282 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4284 * sysdeps/unix/sysv/linux/kernel-features.h
4285 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4286 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4288 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4290 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4291 condition on __ASSUME_CLONE_THREAD_FLAGS.
4293 2012-08-14 Andreas Jaeger <aj@suse.de>
4295 * sysdeps/i386/fpu/libm-test-ulps: Update.
4297 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4299 * include/atomic.h (atomic_exchange_and_add): Split into ...
4300 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4303 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4307 2012-08-13 Jeff Law <law@redhat.com>
4309 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4310 null byte in the output string.
4312 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4314 * sysdeps/unix/sysv/linux/kernel-features.h
4315 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4316 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4317 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4318 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4319 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4320 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4321 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4323 2012-08-09 Jeff Law <law@redhat.com>
4326 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4327 When avoid_arena is set, don't retry in the that arena. Pick the
4328 next one, whatever it might be.
4329 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4330 (arena_lock): Pass in new parameter to arena_get2.
4331 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4333 (__libc_malloc): Unify retrying after main arena failure with
4334 __libc_memalign version.
4335 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4337 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4340 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4341 to __redirect_strstr.
4342 (__strstr_sse42): Use typeof __redirect_strstr.
4343 (__strstr_ia32): Likewise.
4344 (__libc_strstr): New prototype.
4345 (strstr): Renamed to ...
4346 (__libc_strstr): This.
4347 (strstr): New strong alias of __libc_strstr.
4348 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4349 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4352 (__libc_time): New prototype.
4353 (time_ifunc): Replace time with __libc_time.
4354 (time): New strong alias and hidden definition of __libc_time.
4355 (__GI_time): Remove strong alias.
4356 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4358 (memmove): Redefined to __redirect_memmove.
4359 (__memmove_sse2): Use typeof __redirect_memmove.
4360 (__memmove_ssse3): Likewise.
4361 (__memmove_ssse3_back): Likewise.
4362 (__libc_memmove): New prototype.
4363 (memmove): Renamed to ...
4364 (__libc_memmove): This.
4365 (memmove): New strong alias of __libc_memmove.
4367 2012-08-08 Mark Salter <msalter@redhat.com>
4370 (R_MN10300_TLS_GD): Define.
4371 (R_MN10300_TLS_LD): Likewise.
4372 (R_MN10300_TLS_LDO): Likewise.
4373 (R_MN10300_TLS_GOTIE): Likewise.
4374 (R_MN10300_TLS_IE): Likewise.
4375 (R_MN10300_TLS_LE): Likewise.
4376 (R_MN10300_TLS_DTPMOD): Likewise.
4377 (R_MN10300_TLS_DTPOFF): Likewise.
4378 (R_MN10300_TLS_TPOFF): Likewise.
4379 (R_MN10300_SYM_DIFF): Likewise.
4380 (R_MN10300_ALIGN): Likewise.
4381 (R_MN10300_NUM): Update.
4383 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4388 2012-08-08 Roland McGrath <roland@hack.frob.com>
4390 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4392 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4393 sysdeps/unix -> sysdeps/posix move.
4394 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4396 2012-08-07 Allan McRae <allan@archlinux.org>
4399 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4400 (SUNOS_CPP): Likewise.
4401 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4403 (open_input): Call CPP using execvp.
4405 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4407 * sysdeps/unix/sysv/linux/kernel-features.h
4408 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4409 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4410 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4411 (__ASSUME_WAITID_SYSCALL): Likewise.
4412 * sysdeps/unix/sysv/linux/dl-execstack.c
4413 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4415 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4417 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4418 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4419 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4421 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4423 [__ASSUME_WAITID_SYSCALL]: Likewise.
4424 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4426 2012-08-07 Roland McGrath <roland@hack.frob.com>
4428 * sysdeps/unix/closedir.c: Renamed to ...
4429 * sysdeps/posix/closedir.c: ... here.
4430 * sysdeps/unix/dirfd.c: Renamed to ...
4431 * sysdeps/posix/dirfd.c: ... here.
4432 * sysdeps/unix/dirstream.h: Renamed to ...
4433 * sysdeps/posix/dirstream.h: ... here.
4434 * sysdeps/unix/fdopendir.c: Renamed to ...
4435 * sysdeps/posix/fdopendir.c: ... here.
4436 * sysdeps/unix/opendir.c: Renamed to ...
4437 * sysdeps/posix/opendir.c: ... here.
4438 * sysdeps/unix/readdir.c: Renamed to ...
4439 * sysdeps/posix/readdir.c: ... here.
4440 * sysdeps/unix/readdir_r.c: Renamed to ...
4441 * sysdeps/posix/readdir_r.c: ... here.
4442 * sysdeps/unix/rewinddir.c: Renamed to ...
4443 * sysdeps/posix/rewinddir.c: ... here.
4444 * sysdeps/unix/seekdir.c: Renamed to ...
4445 * sysdeps/posix/seekdir.c: ... here.
4446 * sysdeps/unix/telldir.c: Renamed to ...
4447 * sysdeps/posix/telldir.c: ... here.
4448 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4449 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4450 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4451 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4453 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4454 * bits/fcntl.h: ... here.
4456 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4458 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4459 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4460 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4461 (struct flock): Move l_start, l_len to the beginning.
4462 Use __pid_t for l_pid.
4463 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4464 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4465 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4466 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4467 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4468 [__USE_LARGEFILE64] (struct flock64): New type.
4469 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4471 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4472 * bits/dirent.h: ... here.
4474 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4475 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4477 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4480 Change from 2.6.0 to 2.6.16.
4481 * sysdeps/unix/sysv/linux/configure: Regenerated.
4482 * sysdeps/unix/sysv/linux/kernel-features.h
4483 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4484 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4486 (__ASSUME_UTIMES): Likewise.
4487 (__ASSUME_CLONE_STOPPED): Remove.
4488 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4489 architectures, not kernel version.
4490 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4491 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4492 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4493 (__ASSUME_WAITID_SYSCALL): Likewise.
4494 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4495 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4496 * README: State 2.6.16 as minimum Linux kernel version. Do not
4497 refer to older versions.
4499 2012-08-06 Roland McGrath <roland@hack.frob.com>
4501 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4502 Define alphasort64 as an alias.
4503 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4504 Define versionsort64 as an alias.
4505 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4506 Define scandir64 as an alias.
4507 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4508 Define scandirat64 as an alias.
4509 * dirent/alphasort64.c (alphasort64):
4510 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4511 * dirent/versionsort64.c: Likewise.
4512 * dirent/scandir64.c: Likewise.
4513 * dirent/scandirat64.c: Likewise.
4514 * sysdeps/wordsize-64/alphasort.c: File removed.
4515 * sysdeps/wordsize-64/alphasort64.c: File removed.
4516 * sysdeps/wordsize-64/scandir.c: File removed.
4517 * sysdeps/wordsize-64/scandir64.c: File removed.
4518 * sysdeps/wordsize-64/scandirat.c: File removed.
4519 * sysdeps/wordsize-64/scandirat64.c: File removed.
4520 * sysdeps/wordsize-64/versionsort.c: File removed.
4521 * sysdeps/wordsize-64/versionsort64.c: File removed.
4522 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4528 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4531 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4533 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4535 [defined __arch64__ || defined __sparcv9]
4536 (__INO_T_MATCHES_INO64_T): New macro.
4537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4538 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4539 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4540 * sysdeps/unix/sysv/linux/bits/dirent.h
4541 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4542 (_DIRENT_MATCHES_DIRENT64): New macro.
4544 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4545 Define lockf64 as an alias.
4546 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4547 Define fseeko64 as an alias.
4548 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4549 Define ftello64 as an alias.
4550 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4551 Define _IO_fgetpos64 and fgetpos64 as aliases.
4552 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4553 Define _IO_fsetpos64 and fsetpos64 as aliases.
4554 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4555 Conditionalize body on this.
4556 * libio/fseeko64.c: Likewise.
4557 * libio/ftello64.c: Likewise.
4558 * libio/iofgetpos64.c: Likewise.
4559 * libio/iofsetpos64.c: Likewise.
4560 * sysdeps/wordsize-64/lockf.c: File removed.
4561 * sysdeps/wordsize-64/lockf64.c: File removed.
4562 * sysdeps/wordsize-64/fseeko.c: File removed.
4563 * sysdeps/wordsize-64/fseeko64.c: File removed.
4564 * sysdeps/wordsize-64/ftello.c: File removed.
4565 * sysdeps/wordsize-64/ftello64.c: File removed.
4566 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4567 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4568 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4569 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4570 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4571 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4576 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4578 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4581 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4583 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4585 [defined __arch64__ || defined __sparcv9]
4586 (__OFF_T_MATCHES_OFF64_T): New macro.
4587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4588 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4590 (__OFF_T_MATCHES_OFF64_T): New macro.
4592 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4594 * stdlib/secure-getenv.c (__secure_getenv): Replace
4595 GLIBC_2_16 with GLIBC_2_17.
4597 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4602 2012-08-03 David S. Miller <davem@davemloft.net>
4604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4606 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4610 (__ASSUME_CORRECT_SI_PID): Likewise.
4611 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4612 (__ASSUME_TMPFS_NAME): Likewise.
4613 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4614 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4615 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4616 (HAVE_AUX_SECURE): Make definition unconditional.
4617 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4618 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4620 2012-08-03 Roland McGrath <roland@hack.frob.com>
4622 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4623 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4624 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4625 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4626 __eloop_threshold instead of SYMLOOP_MAX.
4628 * sysdeps/generic/eloop-threshold.h: New file.
4629 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4631 * elf/chroot_canon.c (chroot_canon): Likewise.
4633 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4637 Change to 2.6.0 everywhere.
4638 * sysdeps/unix/sysv/linux/configure: Regenerated.
4639 * sysdeps/unix/sysv/linux/kernel-features.h
4640 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4641 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4643 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4644 (__ASSUME_FUTEX_REQUEUE): Remove.
4645 (__ASSUME_STATFS64): Define unconditionally.
4646 (__ASSUME_AT_SECURE): Likewise.
4647 (__ASSUME_CORRECT_SI_PID): Likewise.
4648 (__ASSUME_TGKILL): Define without depending on kernel version for
4650 (__ASSUME_UTIMES): Likewise.
4651 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4653 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4654 (__ASSUME_TMPFS_NAME): Likewise.
4655 * README: Update reference to Linux kernel versions.
4657 2012-08-02 Marek Polacek <polacek@redhat.com>
4660 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4661 libc_cv_asm_type_prefix with %.
4662 * configure: Regenerated.
4663 * include/libc-symbols.h: Remove comment about
4664 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4665 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4666 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4667 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4668 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4669 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4670 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4671 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4672 * elf/tst-unique2mod1.c: Likewise.
4673 * elf/tst-unique1mod2.c: Likewise.
4674 * elf/tst-unique1mod1.c: Likewise.
4675 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4676 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4677 Replace ASM_TYPE_DIRECTIVE with .type.
4678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4679 * sysdeps/i386/sysdep.h: Likewise.
4680 * sysdeps/x86_64/sysdep.h: Likewise.
4681 * sysdeps/sh/sysdep.h: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4683 Do not define ASM_TYPE_DIRECTIVE.
4684 * sysdeps/powerpc/sysdep.h: Likewise.
4685 * sysdeps/powerpc/powerpc32/sysdep.h:
4686 Replace ASM_TYPE_DIRECTIVE with .type.
4687 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4688 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4689 * sysdeps/i386/fpu/e_powf.S: Likewise.
4690 * sysdeps/i386/fpu/e_expl.S: Likewise.
4691 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4692 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4693 * sysdeps/i386/fpu/e_pow.S: Likewise.
4694 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4695 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4696 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4697 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4698 * sysdeps/i386/fpu/e_log2.S: Likewise.
4699 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4701 * sysdeps/i386/fpu/e_powl.S: Likewise.
4702 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4703 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4704 * sysdeps/i386/fpu/e_logl.S: Likewise.
4705 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4706 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4707 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4708 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4709 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4710 * sysdeps/i386/fpu/e_log.S: Likewise.
4711 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4712 * sysdeps/i386/fpu/e_logf.S: Likewise.
4713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4715 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4716 * sysdeps/i386/fpu/e_log10.S: Likewise.
4717 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4718 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4719 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4720 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4721 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4722 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4723 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4724 * sysdeps/i386/i686/strtok.S: Likewise.
4725 * sysdeps/i386/i386-mcount.S: Likewise.
4726 * sysdeps/i386/strtok.S: Likewise.
4727 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4730 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4731 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4732 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4733 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4734 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4735 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4736 * sysdeps/x86_64/_mcount.S: Likewise.
4737 * sysdeps/x86_64/strtok.S: Likewise.
4738 * sysdeps/sh/_mcount.S: Likewise.
4740 2012-08-01 Roland McGrath <roland@hack.frob.com>
4742 * libio/iofopen.c: Include <fcntl.h>.
4743 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4744 (_IO_fopen64, fopen64): Define as aliases.
4745 * libio/iofopen64.c: Include <fcntl.h>.
4746 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4747 Conditionalize body on this.
4748 * sysdeps/wordsize-64/iofopen.c: File removed.
4749 * sysdeps/wordsize-64/iofopen64.c: File removed.
4751 2012-08-01 Marek Polacek <polacek@redhat.com>
4753 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4754 Use dlfcn directly instead of a variable.
4755 (binfmt-subdir): Do not define.
4758 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4761 Remove all definitions.
4762 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4763 <kernel-features.h>.
4764 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4765 (miss_F_GETOWN_EX): Remove all definitions.
4766 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4768 [!__ASSUME_FCNTL64]: Remove conditional code.
4769 [__ASSUME_FCNTL64]: Make code unconditional.
4770 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4771 <kernel-features.h>.
4772 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4773 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4774 (lockf64) [__NR_fcntl64]: Make code unconditional.
4775 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4777 * sysdeps/unix/sysv/linux/kernel-features.h
4778 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4779 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4780 Make code unconditional.
4781 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4782 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4784 [__NR_vfork]: Make code unconditional.
4785 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4786 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4788 [__NR_vfork]: Make code unconditional.
4789 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4790 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4792 2012-08-01 Roland McGrath <roland@hack.frob.com>
4794 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4795 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4797 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4798 Define mkstemp64 as an alias.
4799 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4800 Define mkstemps64 as an alias.
4801 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4802 Define mkostemp64 as an alias.
4803 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4804 Define mkostemps64 as an alias.
4805 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4806 Conditionalize body on this.
4807 * misc/mkostemp64.c: Likewise.
4808 * misc/mkostemps64.c: Likewise.
4809 * misc/mkstemps64.c: Likewise.
4810 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4811 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4812 * sysdeps/wordsize-64/mkostemp.c: File removed.
4813 * sysdeps/wordsize-64/mkstemp.c: File removed.
4814 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4820 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4821 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4822 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4823 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4825 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4826 compat_symbol macros from <shlib-compat.h> rather than the underlying
4827 default_symbol_version and symbol_version macros, so that DEFAULT
4828 lines in shlib-versions are respected.
4829 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4831 2012-08-01 Florian Weimer <fweimer@redhat.com>
4833 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4834 Declare with warn_unused_result.
4835 (setgid, setregid, setegid, setresgid): Likewise.
4836 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4838 * WUR-REPORT: Remove set*id functions.
4840 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4842 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4844 2012-07-31 Roland McGrath <roland@hack.frob.com>
4846 * include/sys/socket.h (__libc_accept, __libc_accept4):
4847 Add attribute_hidden.
4848 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4850 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4852 * inet/getnetgrent_r.c (setup): Likewise.
4854 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4856 2012-07-31 David S. Miller <davem@davemloft.net>
4858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4860 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4863 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4864 value between 1.0 and 2.0 and smaller part has absolute value less
4866 * math/s_clog10.c (__clog10): Likewise.
4867 * math/s_clog10f.c (__clog10f): Likewise.
4868 * math/s_clog10l.c (__clog10l): Likewise.
4869 * math/s_clogf.c (__clogf): Likewise.
4870 * math/s_clogl.c (__clogl): Likewise.
4871 * math/libm-test.inc (clog_test): Add more tests.
4872 (clog10_test): Likewise.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4876 2012-07-31 Florian Weimer <fweimer@redhat.com>
4878 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4879 Exit with zero in case no suitable GID is found, and write a
4880 message to standard error.
4882 2012-07-30 Roland McGrath <roland@hack.frob.com>
4884 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4886 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4887 (MAXPATHLEN): Removed.
4888 (NOGROUP, NODEV): New macros.
4889 (setbit, clrbit, isset, isclr): New macros.
4890 (howmany, roundup, powerof2): New macros.
4891 (DEV_BSIZE): New macro.
4893 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4894 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4896 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4897 definition on [!__NO_LONG_DOUBLE_MATH].
4899 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4900 PTR_MANGLE and PTR_DEMANGLE.
4902 * socket/accept4.c (accept4): Rename to __libc_accept4.
4903 Define accept4 as a weak alias.
4905 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4906 on [_DIRENT_HAVE_D_TYPE].
4907 * io/ftw.c (ftw_dir): Likewise.
4909 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4911 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4913 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4914 Use the BSD numbers rather than the arbitrary ones we had.
4915 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4916 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4917 (SIGXCPU, SIGXFSZ): New macros.
4920 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4921 initializer on [_LIBC_REENTRANT].
4923 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4924 definitions inside [_POSIX_MAPPED_FILES].
4926 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4928 * dirent/opendir.c: Include <fcntl.h>.
4930 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4931 (__libc_getspecific): Likewise.
4932 (__libc_key_create): Likewise.
4934 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4935 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4936 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4937 (tmpfile64): Define as alias.
4938 * sysdeps/wordsize-64/tmpfile.c: File removed.
4939 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4943 * stdio-common/vfscanf.c: Include <stdbool.h>.
4944 * nss/makedb.c: Likewise.
4945 * stdio-common/_i18n_number.h: Likewise.
4946 * argp/argp-help.c: Likewise.
4947 * posix/wordexp.c: Likewise.
4948 * sysdeps/posix/spawni.c: Likewise.
4949 * nss/nss_files/files-initgroups.c: Likewise.
4950 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4951 * nss/nss_files/files-initgroups.c: Likewise.
4952 * nss/nss_db/db-netgrp.c: Likewise.
4953 * nss/nss_db/db-initgroups.c: Likewise.
4954 * io/fchmodat.c: Include <sys/stat.h>.
4956 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4957 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4959 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4962 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4963 Add multiple inclusion protection.
4965 2012-07-27 David S. Miller <davem@davemloft.net>
4967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4969 2012-07-27 Gary Benson <gbenson@redhat.com>
4972 * elf/rtld.c: Include <stap-probe.h>.
4973 (dl_main): Added static probes "init_start" and "init_complete".
4974 * elf/dl-load.c: Include <stap-probe.h>.
4975 (lose): Take new parameter "nsid".
4976 Added static probe "map_failed".
4977 (_dl_map_object_from_fd): Pass namespace id to lose.
4978 Added static probe "map_start".
4979 (open_verify): Pass namespace id to lose.
4980 * elf/dl-open.c: Include <stap-probe.h>.
4981 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4982 and "reloc_complete".
4983 * elf/dl-close.c: Include <stap-probe.h>.
4984 (_dl_close_worker): Added static probes "unmap_start" and
4986 * elf/rtld-debugger-interface.txt: New file documenting the above.
4988 2012-07-26 Roland McGrath <roland@hack.frob.com>
4990 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4991 rather than a string variable.
4992 * sunrpc/rpc_main.c (h_output): Likewise.
4993 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4995 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4997 * inet/check_native.c: New file.
4999 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5002 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5003 if larger part has absolute value 1.0.
5004 * math/s_clog10.c (__clog10): Likewise.
5005 * math/s_clog10f.c (__clog10f): Likewise.
5006 * math/s_clog10l.c (__clog10l): Likewise.
5007 * math/s_clogf.c (__clogf): Likewise.
5008 * math/s_clogl.c (__clogl): Likewise.
5009 * math/libm-test.inc (clog_test): Add more tests.
5010 (clog10_test): Likewise.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5014 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5015 (pltexit): Likewise.
5016 (La_regs): Likewise.
5017 (La_retval): Likewise.
5018 (int_retval): Likewise.
5019 Update #error for removed macros to refer only to definitions in
5021 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5023 (pltexit): Likewise.
5024 (La_regs): Likewise.
5025 (La_retval): Likewise.
5026 (int_retval): Likewise.
5027 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5029 (pltexit): Likewise.
5030 (La_regs): Likewise.
5031 (La_retval): Likewise.
5032 (int_retval): Likewise.
5033 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5035 (pltexit): Likewise.
5036 (La_regs): Likewise.
5037 (La_retval): Likewise.
5038 (int_retval): Likewise.
5039 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5041 (pltexit): Likewise.
5042 (La_regs): Likewise.
5043 (La_retval): Likewise.
5044 (int_retval): Likewise.
5045 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5047 (pltexit): Likewise.
5048 (La_regs): Likewise.
5049 (La_retval): Likewise.
5050 (int_retval): Likewise.
5051 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5053 (pltexit): Likewise.
5054 (La_regs): Likewise.
5055 (La_retval): Likewise.
5056 (int_retval): Likewise.
5057 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5058 macro definitions in tst-audit.h.
5059 * sysdeps/i386/tst-audit.h: New file.
5060 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5061 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5062 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5063 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5064 * sysdeps/sh/tst-audit.h: Likewise.
5065 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5066 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5067 * sysdeps/x86_64/tst-audit.h: Likewise.
5069 2012-07-26 Andreas Jaeger <aj@suse.de>
5071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5074 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5075 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5076 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5078 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5080 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5082 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5085 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5087 (si_call_addr, si_syscall, si_arch): Define new macro.
5088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5090 (si_call_addr, si_syscall, si_arch): Define new marcro.
5091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5093 (si_call_addr, si_syscall, si_arch): Define new macro.
5094 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5096 (si_call_addr, si_syscall, si_arch): Define new macro.
5098 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5102 Change to 2.4.21 where previously 2.4.1.
5103 * sysdeps/unix/sysv/linux/configure: Regenerated.
5104 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5105 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5106 Linux kernel version.
5107 (__ASSUME_STD_AUXV): Remove.
5108 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5110 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5111 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5112 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5113 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5114 (__ASSUME_NETLINK_SUPPORT): Likewise.
5115 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5116 (__no_netlink_support): Remove conditional definition.
5117 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5119 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5120 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5121 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5122 (if_nameindex_ioctl): Remove.
5123 (if_nameindex_netlink): Do not handle __no_netlink_support.
5124 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5126 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5127 Remove conditional code.
5128 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5130 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5132 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5133 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5134 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5136 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5137 [!__ASSUME_STD_AUXV]: Remove conditional code.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5139 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5140 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5142 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5143 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5145 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5147 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5148 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5150 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5152 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5155 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5158 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5160 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5162 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5164 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5167 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5169 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5172 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5174 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5176 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5178 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5181 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5183 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5185 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5187 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5190 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5192 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5193 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5194 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5195 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5196 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5197 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5198 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5199 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5200 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5201 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5202 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5203 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5204 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5205 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5207 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5208 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5209 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5210 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5211 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5212 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5213 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5214 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5216 2012-07-25 Florian Weimer <fweimer@redhat.com>
5218 * Versions.def: Add GLIBC_2.17.
5219 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5220 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5221 Introduce __libc_secure_getenv.
5222 * stdlib/Versions (2.17): Add secure_getenv
5223 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5224 * stdlib/secure-getenv.c: Rename __secure_getenv to
5225 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5226 symbol __secure_getenv for GLIBC_2.0.
5227 * stdlib/tst-secure-getenv.c: New.
5228 * stdlib/Makefile (tests): Add testcase.
5229 * manual/startup.texi (Environment Access): Document
5231 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5232 __libc_secure_getenv.
5233 * inet/ruserpass.c (ruserpass): Likewise.
5234 * malloc/mtrace.c (mtrace): Likewise.
5235 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5236 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5237 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5238 * sysdeps/posix/tempname.c: Likewise. Evaluate
5240 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5241 __secure_getenv to __libc_secure_getenv.
5242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5255 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5257 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5258 (struct La_i86_retval): Likewise.
5259 (struct La_x86_64_regs): Likewise.
5260 (struct La_x86_64_retval): Likewise.
5261 (struct La_x32_regs): Likewise.
5262 (struct La_x32_retval): Likewise.
5263 (struct La_ppc32_regs): Likewise.
5264 (struct La_ppc32_retval): Likewise.
5265 (struct La_ppc64_regs): Likewise.
5266 (struct La_ppc64_retval): Likewise.
5267 (struct La_sh_regs): Likewise.
5268 (struct La_sh_retval): Likewise.
5269 (struct La_s390_32_regs): Likewise.
5270 (struct La_s390_32_retval): Likewise.
5271 (struct La_s390_64_regs): Likewise.
5272 (struct La_s390_64_retval): Likewise.
5273 (struct La_sparc32_regs): Likewise.
5274 (struct La_sparc32_retval): Likewise.
5275 (struct La_sparc64_regs): Likewise.
5276 (struct La_sparc64_retval): Likewise.
5277 (struct audit_ifaces): Remove architecture-specific pltenter and
5279 * sysdeps/i386/ldsodefs.h: New file.
5280 * sysdeps/powerpc/ldsodefs.h: Likewise.
5281 * sysdeps/s390/ldsodefs.h: Likewise.
5282 * sysdeps/sh/ldsodefs.h: Likewise.
5283 * sysdeps/sparc/ldsodefs.h: Likewise.
5284 * sysdeps/x86_64/ldsodefs.h: Likewise.
5286 2012-07-25 Marek Polacek <polacek@redhat.com>
5289 * math/libm-test.inc (yn_test): Add another test.
5290 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5291 to ERANGE when the result is +-Inf.
5292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5293 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5294 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5295 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5297 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5299 * conform/data/time.h-data (NULL): Use macro-constant. Require
5301 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5303 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5305 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5307 * configure.in <sysdeps resolving>: Correct printing
5309 * configure: Regenerate.
5311 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5313 * math/w_ilogb.c: Include <limits.h>.
5314 * math/w_ilogbl.c: Likewise.
5316 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5318 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5319 va_copy. Document allowing for unavailable va_copy only as
5320 pre-C99 compatibility.
5321 * manual/string.texi (Copying and Concatenation): Use va_copy
5322 instead of __va_copy in concat example.
5324 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5326 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5327 (__sendto): Use create_address_port. Initialize APORT and deallocate
5330 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5331 with O_NOLINK passed to __file_name_lookup.
5333 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5334 with O_NOLINK passed to __file_name_lookup.
5336 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5337 negative N or less than NGIDS.
5339 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5340 type to string_t. Set ERANGE as errno and return it if NAME is not big
5341 enough. Use memcpy instead of strncpy.
5343 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5345 * elf/Makefile (check-data): Remove.
5346 (localplt.data): New vpath directive.
5347 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5348 instead of $(check-data).
5349 * scripts/data/localplt-generic.data: Move to ...
5350 * sysdeps/generic/localplt.data: ... here.
5351 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5352 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5353 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5356 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5359 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5362 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5365 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5368 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5372 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5374 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5375 PPC32 and PPC64 files.
5376 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5377 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5379 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5381 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5382 __makecontext_ret to ...
5383 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5384 ... here and call exit if uc_link is NULL. New file.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5386 __makecontext_ret.S.
5387 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5388 __makecontext_ret to ...
5389 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5390 ... here and call exit if uc_link is NULL. New file.
5391 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5392 __makecontext_ret.S.
5394 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5396 * elf/elf.h (R_390_IRELATIVE): New definition.
5397 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5398 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5399 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5401 (elf_machine_lazy_rel): Likewise.
5402 * sysdeps/s390/dl-irel.h: New file.
5403 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5404 * sysdeps/s390/s390-64/memset.S: New asm code.
5405 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5406 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5408 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5409 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5410 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5411 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5412 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5413 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5414 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5415 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5416 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5417 * sysdeps/s390/s390-32/memset.S: New asm code.
5418 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5420 2012-07-17 Marek Polacek <polacek@redhat.com>
5423 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5424 * sysdeps/s390/s390-64/configure.in: Likewise.
5425 * sysdeps/sparc/configure.in: Likewise.
5426 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5427 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5428 * sysdeps/i386/configure.in: Likewise.
5429 * sysdeps/x86_64/configure.in: Likewise.
5430 * sysdeps/sh/configure.in: Likewise.
5431 * sysdeps/s390/s390-32/configure: Regenerated.
5432 * sysdeps/s390/s390-64/configure: Likewise.
5433 * sysdeps/x86_64/configure: Likewise.
5434 * sysdeps/sh/configure: Likewise.
5435 * sysdeps/powerpc/powerpc64/configure: Likewise.
5436 * sysdeps/powerpc/powerpc32/configure: Likewise.
5437 * sysdeps/sparc/configure: Likwise.
5438 * sysdeps/i386/configure: Likewise.
5440 * elf/dl-open.c: Comment fixes.
5442 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5444 * Makefile [CXX] (check-data): Remove.
5445 [CXX] (c++-types.data): New vpath directive.
5446 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5447 vpath. Do not allow for C++ type data being missing.
5448 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5449 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5450 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5451 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5452 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5453 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5454 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5457 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5460 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5463 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5466 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5469 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5472 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5475 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5478 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5479 definitions to architecture-specific files.
5483 * sysdeps/i386/tls-macros.h: New file.
5484 * sysdeps/powerpc/tls-macros.h: Likewise.
5485 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5486 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5487 * sysdeps/sh/tls-macros.h: Likewise.
5488 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5489 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5490 * sysdeps/x86_64/tls-macros.h: Likewise.
5492 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5495 zero value for regular exit case.
5497 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5498 (__start_context): Preserve zero value for regular exit case.
5500 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5501 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5503 * manual/setjmp.texi (setcontext): Clarify normal process
5504 termination when uc_link is the null pointer.
5505 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5508 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5510 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5511 preprocessor. Test for each exception mask separately.
5513 2012-07-16 Andreas Jaeger <aj@suse.de>
5515 * po/ru.po: Update from translation team.
5517 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5519 * conform/data/string.h-data (NULL): Use macro-constant. Require
5521 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5522 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5523 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5524 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5527 2012-07-13 Andreas Jaeger <aj@suse.de>
5529 * po/fr.po: Update from translation team.
5531 2012-07-12 Marek Polacek <polacek@redhat.com>
5534 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5535 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5538 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5542 Change to 2.4.1 where previously 2.4.0.
5543 * sysdeps/unix/sysv/linux/configure: Regenerated.
5544 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5545 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5547 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5548 (__ASSUME_AT_CLKTCK): Remove.
5549 (__ASSUME_AT_PAGESIZE): Likewise.
5550 (__ASSUME_AT_XID): Likewise.
5551 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5552 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5553 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5555 (HAVE_AUX_PAGESIZE): Likewise.
5556 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5557 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5558 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5560 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5564 the temporary buffer used to invoke __gethostbyname2_r,
5565 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5566 host_data / struct gaih_addrtuple.
5567 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5568 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5569 header file nss/nsswitch.h.
5570 * nss/nsswitch.h (global scope): Add definition of implementation
5571 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5572 resolv/nss_dns/dns-host.c).
5574 2012-07-11 Andreas Jaeger <aj@suse.de>
5576 * po/fr.po: Update from translation team.
5578 * po/sv.po: Update from translation team
5579 * po/fr.po: Another update from translation team.
5581 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5584 for subnormals or multiply small sinh result by itself.
5585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5588 2012-07-11 David S. Miller <davem@davemloft.net>
5590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5592 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5595 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5596 (INTERNAL_MARK): Shift it here.
5598 2012-07-10 Marek Polacek <polacek@redhat.com>
5601 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5602 libc_cv_asm_global_directive with .globl.
5603 * configure: Regenerated.
5604 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5606 * sysdeps/i386/configure: Regenerated.
5607 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5609 * sysdeps/x86_64/configure: Regenerated.
5610 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5611 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5612 * elf/tst-unique2mod2.c: Likewise.
5613 * elf/tst-unique2mod1.c: Likewise.
5614 * elf/tst-unique1mod2.c: Likewise.
5615 * elf/tst-unique1mod1.c: Likewise.
5616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5617 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5619 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5620 * sysdeps/mach/sysdep.h: Likewise.
5621 * sysdeps/i386/sysdep.h: Likewise.
5622 * sysdeps/i386/i386-mcount.S: Likewise.
5623 * sysdeps/x86_64/_mcount.S: Likewise.
5624 * sysdeps/x86_64/sysdep.h: Likewise.
5625 * sysdeps/sh/_mcount.S: Likewise.
5626 * sysdeps/sh/sysdep.h: Likewise.
5627 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5628 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5629 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5630 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5631 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5632 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5633 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5634 * locale/localeinfo.h: Likewise.
5635 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5636 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5638 2012-07-09 Roland McGrath <roland@hack.frob.com>
5641 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5643 * manual/message.texi (The Uniforum approach): Likewise.
5644 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5645 (glibc iconv Implementation): Likewise.
5647 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5650 * math/s_clog.c (__clog): Avoid scaling a value down where that
5651 could result in underflow.
5652 * math/s_clog10.c (__clog10): Likewise.
5653 * math/s_clog10f.c (__clog10f): Likewise.
5654 * math/s_clog10l.c (__clog10l): Likewise.
5655 * math/s_clogf.c (__clogf): Likewise.
5656 * math/s_clogl.c (__clogl): Likewise.
5657 * math/libm-test.inc (clog_test): Add more tests.
5658 (clog10_test): Likewise.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5665 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5666 by 7 not 8 to examine high bit of fractional part.
5669 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5670 for call to __mcount_internal.
5671 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5672 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5673 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5675 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5678 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5679 approximation for values within 0x1p-13f of an odd multiple of
5681 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5682 exception. Add more tests.
5683 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5687 inputs and return -1 for them. Do not check for +Inf in case not
5689 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5690 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5691 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5692 and return -1 for them. Do not check for +Inf in case not
5694 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5696 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5697 and return -1 for them. Do not check for +Inf in case not
5699 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5701 * sysdeps/i386/fpu/libm-test-ulps: Update.
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5704 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5706 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5708 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5712 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5713 could result in spurious underflow. Scale down values above
5714 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5715 * math/s_csqrtf.c (__csqrtf): Likewise.
5716 * math/s_csqrtl.c (__csqrtl): Likewise.
5717 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5719 * sysdeps/i386/fpu/libm-test-ulps: Update.
5720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5724 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5726 * catgets/xopen-msg.awk: New file.
5727 * catgets/xopen-msg.sed: Removed.
5729 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5731 * intl/po2test.awk: New file.
5732 * intl/po2test.sed: Removed.
5734 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5737 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5738 or multiply small sinh result by itself.
5739 * math/s_ctanf.c (__ctanf): Likewise.
5740 * math/s_ctanh.c (__ctanh): Likewise.
5741 * math/s_ctanhf.c (__ctanhf): Likewise.
5742 * math/s_ctanhl.c (__ctanhl): Likewise.
5743 * math/s_ctanl.c (__ctanl): Likewise.
5744 * math/libm-test.inc (ctan_test_tonearest): New function.
5745 (ctan_test_towardzero): Likewise.
5746 (ctan_test_downward): Likewise.
5747 (ctan_test_upward): Likewise.
5748 (ctanh_test_tonearest): Likewise.
5749 (ctanh_test_towardzero): Likewise.
5750 (ctanh_test_downward): Likewise.
5751 (ctanh_test_upward): Likewise.
5752 (main): Call these new functions.
5753 * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5756 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5758 * .gitignore: Delete /ports entry.
5760 2012-07-03 Andreas Jaeger <aj@suse.de>
5762 * po/bg.po: Update from translation team.
5763 * po/cs.po: Likewise.
5764 * po/de.po: Likewise.
5765 * po/hr.po: Likewise.
5766 * po/nl.pl: Likewise.
5767 * po/pl.po: Likewise.
5768 * po/vi.po: Likewise.
5770 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5772 * Makeconfig [!+link] (+link-before-libc): New variable.
5773 [!+link] (+link-after-libc): Likewise.
5774 [!+link] (+link-tests): Likewise.
5775 [!+link] (+link): Define in terms of $(+link-before-libc) and
5776 $(+link-after-libc).
5777 [!+link-static] (+link-static-before-libc): New variable.
5778 [!+link-static] (+link-static-after-libc): Likewise.
5779 [!+link-static] (+link-static-tests): Likewise.
5780 [!+link-static] (+link-static): Define in terms of
5781 $(+link-static-before-libc) and $(+link-static-after-libc).
5782 [build-shared] (link-libc-before-gnulib): New variable.
5783 [build-shared] (link-libc-tests): Likewise.
5784 [build-shared] (link-libc): Define in terms of
5785 $(link-libc-before-gnulib).
5786 [!build-shared] (link-libc-tests): New variable.
5787 (link-libc-static-tests): New variable.
5788 [!gnulib] (gnulib-arch): New variable.
5789 [!gnulib] (gnulib-tests): Likewise.
5790 [!gnulib] (static-gnulib-arch): Likewise.
5791 [!gnulib] (static-gnulib-tests): Likewise.
5792 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5793 Define with "=" instead of ":=".
5794 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5795 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5796 * Rules (binaries-all-notests): New variable.
5797 (binaries-all-tests): Likewise.
5798 (binaries-static-notests): Likewise.
5799 (binaries-static-tests): Likewise.
5800 (binaries-all): Define using $(binaries-all-notests) and
5801 $(binaries-all-tests).
5802 (binaries-static): Define using $(binaries-static-notests) and
5803 $(binaries-static-tests).
5804 (binaries-shared-tests): New variable.
5805 (binaries-shared-notests): Likewise.
5806 (binaries-shared): Remove variable.
5807 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5808 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5809 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5810 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5811 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5812 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5813 * elf/Makefile (sln-modules): New variable.
5814 (extra-objs): Add $(sln-modules:=.o).
5815 (ldconfig-modules): Add static-stubs.
5816 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5817 * elf/static-stubs.c: New file.
5820 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5821 by 7 not 8 to examine high bit of fractional part. Use volatile
5822 variables when splitting into final array of floats if
5823 __FLT_EVAL_METHOD__ != 0.
5824 * math/libm-test.inc (cos_test): Add another test.
5825 (sin_test): Likewise.
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5829 * math/libm-test.inc (cosh_test): Add more tests.
5831 * version.h (RELEASE): Set to "development".
5832 (VERSION): Set to "2.16.90".
5834 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5836 * NEWS: Update copyright. Remove last-updated date.
5837 Mention math library bug fixes and timezone data changes.
5838 * README: Mention GNU/Hurd, x32, and HPPA support status.
5840 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5842 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5844 2012-06-27 Andreas Jaeger <aj@suse.de>
5846 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5848 2012-06-25 Andreas Jaeger <aj@suse.de>
5850 * sysdeps/s390/fpu/libm-test-ulps: Update.
5852 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5853 Thomas Schwinge <thomas@codesourcery.com>
5855 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5856 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5860 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5862 * sysdeps/mach/start.c: Remove file.
5863 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5864 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5865 * sysdeps/sh/init-first.c: Likewise.
5867 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5868 registers for frame unwinding purposes, add CFI directives.
5869 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5870 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5871 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5874 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5875 __fortify_fail returning.
5876 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5878 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5879 sysdeps/sh/____longjmp_chk.S.
5880 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5881 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5882 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5883 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5885 * sysdeps/sh/abort-instr.h: New file.
5886 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5887 process in case exit returns.
5889 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5890 initialize the GOT register before use.
5892 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5893 calculation of ARGC > 4.
5895 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5896 meaningful names to some local labels.
5898 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5899 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5901 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5902 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5903 (__arch_compare_and_exchange_val_16_acq): Likewise.
5904 (__arch_compare_and_exchange_val_32_acq): Likewise.
5905 (atomic_exchange_and_add): Fix gUSA sequence.
5906 (atomic_add): Likewise.
5907 (atomic_add_negative): Likewise.
5908 (atomic_add_zero): Likewise.
5909 (atomic_bit_test_set): Likewise.
5911 2012-06-22 Andreas Schwab <schwab@redhat.com>
5914 * include/link.h (struct link_map): Add l_free_initfini.
5915 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5917 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5918 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5919 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5922 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5924 * configure.in: Use AC_LANG_SOURCE.
5925 * configure: Regenerate.
5927 2012-06-22 Roland McGrath <roland@hack.frob.com>
5929 * configure.in (libc_cv_localstatedir): New substituted variable.
5930 * configure: Regenerated.
5931 * config.make.in (localstatedir): New variable, substituted from
5932 libc_cv_localstatedir.
5933 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5934 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5935 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5936 * sysdeps/gnu/configure: Regenerated.
5938 2012-06-21 Jeff Law <law@redhat.com>
5941 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5942 free. Simplify list management for _LIBC case.
5944 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5947 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5948 Clear sign bit of 64-bit integer value before comparing against
5951 * sysdeps/mach/configure: Regenerated.
5953 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5956 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5958 2012-06-21 Jeff Law <law@redhat.com>
5961 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5962 uint16_t for elements in the "seen" array to avoid char overflows.
5963 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5964 * elf/dl-open.c (dl_open_worker): Likewise.
5966 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5968 * scripts/list-sources.sh: Scan PORTS for translations.
5969 * po/libc.pot: Regenerated.
5971 2012-06-21 Andreas Jaeger <aj@suse.de>
5974 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5976 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5977 * bits/byteswap-16.h (__bswap_16): Likewise.
5978 * bits/byteswap.h (__bswap_constant_16): Likewise.
5980 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5983 * sysdeps/i386/fpu_control.h: Removed.
5984 * sysdeps/x86_64/fpu_control.h: Moved to ...
5985 * sysdeps/x86/fpu_control.h: Here.
5987 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5988 (_FPU_SETCW): Likewise.
5990 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5993 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5994 * sysdeps/x86/fpu/bits/mathinline.h: This.
5995 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5999 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6000 functions if __x86_64__ is defined.
6002 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6004 * string/endian.h: Add !__ASSEMBLER__ condition for including
6005 conversion interfaces.
6007 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6011 of ABS(x) in calculating zero to negative powers other than odd
6013 * math/libm-test.inc (pow_test): Add more tests.
6015 2012-06-15 Andreas Jaeger <aj@suse.de>
6017 * manual/contrib.texi (Contributors): Update entry of Liubov
6018 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6021 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6023 * string/string.h: Add __wur to GNU version of strerror_r.
6025 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6028 * string/Makefile (tests): Add tst-strtok_r.
6029 * string/tst-strtok_r.c: New file.
6030 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6031 RAX_LP/RDX_LP on SAVE_PTR.
6033 2012-06-14 Roland McGrath <roland@hack.frob.com>
6035 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6037 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6039 * libm_test.inc (csqrt_test): Allow more spurious underflow
6041 (j0_test): Likewise.
6042 (j1_test): Likewise.
6043 (y0_test): Likewise.
6044 (y1_test): Likewise.
6046 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6048 * po/Makefile (libc.pot): Use UTF-8 charset.
6050 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6053 Suppress sign-conversion warning from FD_SET.
6054 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6055 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6056 not unsigned long int.
6057 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6059 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6063 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6064 __extern_always_inline instead of __extern_inline.
6065 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6066 (__signbit): Likewise.
6067 (__signbitl): Support C++ namespace.
6068 (lrintf): New inline function.
6070 (llrintf): Likewise.
6082 (nearbyint): Likewise.
6083 (nearbyintf): Likewise.
6085 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6088 non-default versions.
6090 2012-06-11 Roland McGrath <roland@hack.frob.com>
6093 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6095 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6097 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6098 (FE_UPWARD, FE_DOWNWARD): Don't define.
6099 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6100 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6102 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6104 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6105 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6107 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6109 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6111 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6112 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6114 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6117 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6118 * sysdeps/i386/fpu/Implies: New file.
6119 * sysdeps/x86_64/fpu/Implies: Likewise.
6120 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6121 * sysdeps/x86/fpu/bits/fenv.h: This.
6123 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6126 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6129 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6130 character 0xffff that matches the last element of the
6133 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6138 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6141 values higher than 25.6283.
6143 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6146 subnormal exponent extraction and add some __builtin_expect.
6147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6148 Fix for subnormal mantissa calculation.
6150 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6152 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6153 cpu2 is -1 and errno is not ENOSYS.
6155 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6158 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6159 * sysdeps/x86/bits/string.h: This.
6160 * sysdeps/x86_64/bits/string.h: Removed.
6162 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6163 if not compiling for x86-64, but compiling for >= i486.
6165 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6166 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6168 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6169 New macro from Linux kernel 3.4.0.
6170 (FP_XSTATE_MAGIC2): Likewise.
6171 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6172 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6173 (struct _fpx_sw_bytes): New struct.
6174 (struct _xsave_hdr): Likewise.
6175 (struct _ymmh_state): Likewise.
6176 (struct _xstate): Likewise.
6178 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6179 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6180 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6181 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6183 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6185 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6186 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6187 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6188 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6189 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6190 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6192 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6195 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6196 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6197 (sysdep_headers): Include sys/platform/ppc.h.
6198 * sysdeps/powerpc/test-gettimebase.c: Test for
6199 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6200 * manual/Makefile (appendices): Include platform.texi.
6201 * manual/contrib.texi (Contributors): Update @node pointers.
6202 * manual/maint.texi (Maintenance): Likewise.
6203 (Platform): New node.
6204 * manual/platform.texi: New file. Document the new features.
6206 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6207 Jakub Jelinek <jakub@redhat.com>
6210 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6211 where __builtin_expect is unavailable.
6213 2012-06-03 David S. Miller <davem@davemloft.net>
6215 * stdlib/longlong.h: Updated from GCC.
6217 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6220 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6221 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6224 (GLIBC_2.16): Likewise.
6226 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6228 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6230 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6233 (default-abi): New variable.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6235 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6237 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6244 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6245 definition. Document in comment.
6247 2012-06-01 David S. Miller <davem@davemloft.net>
6249 * stdlib/longlong.h: Updated from GCC.
6251 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6254 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6255 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6256 sys/debugreg.h sys/io.h here.
6257 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6258 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6260 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6261 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6262 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6263 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6264 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6265 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6267 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6268 Define only if __x86_64__ is defined.
6270 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6274 Use int64_t for variable i.
6275 * math/libm-test.inc (fmod_test): Add more tests.
6277 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6278 z computation is not scheduled after fetestexcept.
6279 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6280 Use math_force_eval instead of asm to ensure calculation scheduled
6281 before exception test.
6282 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6283 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6285 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6288 computation is not scheduled after fetestexcept.
6290 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6294 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6296 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6298 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6299 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6301 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6304 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6306 (__WCHAR_MIN): Support __WORDSIZE == 64.
6307 (__WCHAR_MAX): Likewise.
6309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6310 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6314 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6317 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6318 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6320 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6321 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6323 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6324 Defined to 1 if __x86_64__ isn't defined.
6325 (_STAT_VER_LINUX_OLD): New.
6326 (st_atime): Remove duplicate.
6327 (st_mtime): Likewise.
6328 (st_ctime): Likewise.
6330 2012-05-31 David S. Miller <davem@davemloft.net>
6332 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6335 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6337 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6341 * elf/dl-reloc.c: Include <_itoa.h>.
6342 (_dl_reloc_bad_type): Remove use of INTUSE.
6343 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6344 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6345 * stdio-common/psiginfo.c (psiginfo): Likewise.
6346 * stdio-common/psignal.c (psignal): Likewise.
6347 * string/strsignal.c (strsignal): Likewise.
6348 * include/signal.h (_sys_siglist): Declare hidden proto.
6349 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6350 INTVARDEF with libc_hidden_data_def.
6351 * stdio-common/itoa-udigits.c: Likewise.
6352 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6353 (_itoa_lower_digits_internal): Remove declaration.
6354 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6355 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6356 (_sys_sigabbrev_internal): Remove aliases.
6357 (_sys_siglist): Define hidden alias.
6359 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6364 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6367 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6368 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6370 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6371 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6372 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6373 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6375 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6377 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6378 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6379 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6381 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6391 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6393 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6394 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6396 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6397 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6398 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6400 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6401 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6403 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6404 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6407 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6408 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6410 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6411 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6413 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6415 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6416 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6417 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6419 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6421 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6423 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6425 * math/math.h (M_El): Use two more decimal places.
6426 (M_LOG2El): Likewise.
6427 (M_LOG10El): Likewise.
6429 (M_LN10l): Likewise.
6431 (M_PI_2l): Likewise.
6432 (M_PI_4l): Likewise.
6433 (M_1_PIl): Likewise.
6434 (M_2_PIl): Likewise.
6435 (M_2_SQRTPIl): Likewise.
6436 (M_SQRT2l): Likewise.
6437 (M_SQRT1_2l): Likewise.
6439 2012-05-31 David S. Miller <davem@davemloft.net>
6441 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6442 values between float registers.
6443 * sysdeps/sparc/sparc64/memset.S: Likewise.
6444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6446 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6448 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6449 -D_FORTIFY_SOURCE=1.
6450 (CPPFLAGS-tst-longjmp_chk.c): Define.
6451 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6452 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6453 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6454 CFLAGS-tst-wchar-h.c.
6456 2012-05-31 Marek Polacek <polacek@redhat.com>
6459 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6460 __endmntent_internal): Remove declaration.
6461 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6462 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6463 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6465 2012-05-30 David S. Miller <davem@davemloft.net>
6467 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6468 (___Q_simulate_exceptions): Use real FP ops rather than writing
6470 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6473 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6476 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6477 * sysdeps/x86/bits/xtitypes.h: This.
6479 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6480 * sysdeps/x86/bits/wordsize.h: This.
6482 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6483 * sysdeps/x86/bits/huge_vall.h: This.
6485 * sysdeps/i386/bits/select.h: Removed.
6486 * sysdeps/x86_64/bits/select.h: Renamed to ...
6487 * sysdeps/x86/bits/select.h: This.
6489 * sysdeps/i386/bits/setjmp.h: Removed.
6490 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6491 * sysdeps/x86/bits/setjmp.h: This.
6493 * sysdeps/i386/bits/mathdef.h: Removed.
6494 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6495 * sysdeps/x86/bits/mathdef.h: This.
6497 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6500 * include/sys/socket.h (__connect_internal)
6501 (__libc_sa_len_internal): Remove declaration.
6502 (__connect, __libc_sa_len): Declare hidden_proto.
6503 (SA_LEN): Remove use of INTUSE.
6504 * socket/connect.c: Add libc_hidden_def.
6505 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6506 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6507 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6509 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6510 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6511 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6512 of adding _internal alias.
6514 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6517 * sysdeps/i386/bits/link.h: Removed.
6518 * sysdeps/i386/bits/linkmap.h: Likewise.
6519 * sysdeps/x86_64/bits/link.h: Renamed to ...
6520 * sysdeps/x86/bits/link.h: This.
6521 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6522 * sysdeps/x86/bits/linkmap.h: This.
6524 * sysdeps/i386/bits/endian.h: Removed.
6525 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6526 * sysdeps/x86/bits/endian.h: This.
6528 * sysdeps/i386/bits/byteswap.h: Removed.
6529 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6530 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6531 * sysdeps/x86/bits/byteswap.h: This.
6532 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6533 * sysdeps/x86/bits/byteswap-16.h: This.
6534 * sysdeps/i386/Implies: Add x86.
6535 * sysdeps/x86_64/Implies: Likewise.
6537 2012-05-30 David S. Miller <davem@davemloft.net>
6539 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6540 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6541 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6542 (FP_TRAPPING_EXCEPTIONS): Define.
6543 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6544 (FP_TRAPPING_EXCEPTIONS): Define.
6545 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6546 subnormals only when inexact has been signalled or underflow
6547 exceptions are enabled.
6548 (_FP_PACK_CANONICAL): Likewise.
6550 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6553 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6554 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6556 2012-05-30 Richard Henderson <rth@twiddle.net>
6558 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6559 with #ifndef NOT_IN_libc.
6561 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6562 marked to avoid plt entry.
6564 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6567 * Makeconfig (default-abi): New macro.
6568 (abi-includes): Likewise.
6569 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6570 $(abi-$(default-abi)-lib-soname) for soname if defined.
6571 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6573 * Makefile (installed-stubs): Likewise.
6574 * include/stubs-biarch.h: Removed.
6575 * scripts/lib-names.awk: Only handle one library at a time.
6576 * scripts/soversions.awk: Remove WORDSIZE support.
6577 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6579 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6581 (syscall-list-default-condition): Likewise.
6582 (syscall-list-default-condition): Likewise.
6583 (syscall-list-includes): Likewise.
6584 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6585 syscall-list-* with abi-*. Handle undefined abi-variants.
6586 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6587 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6588 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6589 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6590 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6591 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6593 (syscall-list-32-options): Likewise.
6594 (syscall-list-32-condition): Likewise.
6595 (syscall-list-64-options): Likewise.
6596 (syscall-list-64-condition): Likewise.
6597 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6599 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6602 (abi-64-ld-soname): New macro.
6603 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6604 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6607 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6608 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6610 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6612 * sysdeps/unix/sysv/linux/kernel-features.h
6613 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6614 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6615 include <kernel-features.h>.
6616 [!__NR_ftruncate64]: Remove conditional code.
6617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6618 [__NR_ftruncate64]: Make code unconditional.
6619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6620 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6621 include <kernel-features.h>.
6622 [!__NR_ftruncate64]: Remove conditional code.
6623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6624 [__NR_ftruncate64]: Make code unconditional.
6625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6627 include <kernel-features.h>.
6628 [!__NR_ftruncate64]: Remove conditional code.
6629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6630 [__NR_ftruncate64]: Make code unconditional.
6631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6633 include <kernel-features.h>.
6634 [!__NR_ftruncate64]: Remove conditional code.
6635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6636 [__NR_ftruncate64]: Make code unconditional.
6637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6639 * configure.in (libc_cv_fpie): Weaken to a compile test using
6641 * configure: Regenerated.
6643 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6658 2012-05-27 David S. Miller <davem@davemloft.net>
6660 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6662 (__Q_simulate_exceptions): Return void. Change to simulate
6663 exceptions by writing into the %fsr.
6664 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6665 (__Qp_handle_exceptions): Likewise.
6667 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6668 __Qp_handle_exceptions.
6669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6670 __Qp_handle_exceptions.
6671 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6672 as unused and give dummy FP_RND_NEAREST initializer.
6673 (FP_INHIBIT_RESULTS): Define.
6674 (___Q_simulate_exceptions): Update declaration.
6675 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6678 as unused and give dummy FP_RND_NEAREST initializer.
6679 (__Qp_handle_exceptions): Update declaration.
6680 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6683 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6685 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6686 the temporary FPU control word.
6687 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6688 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6689 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6690 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6692 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6693 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6694 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6695 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6696 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6699 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6701 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6704 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6706 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6707 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6708 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6709 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6711 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6712 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6715 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6717 * po/h.po: Update from translation team.
6719 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6721 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6723 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6724 handling of denormals.
6725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6726 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6728 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6734 2012-05-26 Marek Polacek <polacek@redhat.com>
6737 * math/libm-test.inc (fma_test): Don't always expect underflow
6740 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6743 * elf/tst-execstack.c: Include stackinfo.h.
6744 (do_test): Adjust test case to ensure that pthread_getattr_np
6745 behaviour remains the same after marking stack executable.
6747 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6749 * sysdeps/unix/sysv/linux/kernel-features.h
6750 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6751 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6753 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6754 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6755 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6757 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6758 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6760 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6762 * configure.in: Define the default includes to being none.
6763 * configure: Regenerated.
6765 2012-05-25 Roland McGrath <roland@hack.frob.com>
6767 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6768 * sysdeps/x86_64/setjmp.S: Likewise.
6769 * sysdeps/i386/bsd-setjmp.S: Likewise.
6770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6771 * sysdeps/i386/setjmp.S: Likewise.
6772 * sysdeps/i386/__longjmp.S: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6774 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6776 * include/stap-probe.h: New file.
6777 * configure.in: Handle --enable-systemtap.
6778 * configure: Regenerated.
6779 * config.h.in (USE_STAP_PROBE): New #undef.
6780 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6781 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6782 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6784 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6788 to 2.4.0 where earlier.
6789 * sysdeps/unix/sysv/linux/configure: Regenerated.
6790 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6791 <kernel-features.h>.
6792 [__ASSUME_32BITUIDS]: Make code unconditional.
6793 [!__ASSUME_32BITUIDS]: Remove conditional code.
6794 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6795 <kernel-features.h>.
6796 [__ASSUME_32BITUIDS]: Make code unconditional.
6797 [!__ASSUME_32BITUIDS]: Remove conditional code.
6798 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6799 [__ASSUME_32BITUIDS]: Make code unconditional.
6800 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6801 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6802 <kernel-features.h>.
6803 [__ASSUME_32BITUIDS]: Make code unconditional.
6804 [!__ASSUME_32BITUIDS]: Remove conditional code.
6805 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6806 <kernel-features.h>.
6807 [__ASSUME_32BITUIDS]: Make code unconditional.
6808 [!__ASSUME_32BITUIDS]: Remove conditional code.
6809 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6810 <kernel-features.h>.
6811 [__ASSUME_32BITUIDS]: Make code unconditional.
6812 [!__ASSUME_32BITUIDS]: Remove conditional code.
6813 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6814 <kernel-features.h>.
6815 [__ASSUME_32BITUIDS]: Make code unconditional.
6816 [!__ASSUME_32BITUIDS]: Remove conditional code.
6817 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6818 <kernel-features.h>.
6819 [__ASSUME_32BITUIDS]: Make code unconditional.
6820 [!__ASSUME_32BITUIDS]: Remove conditional code.
6821 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6822 <kernel-features.h>.
6823 [__ASSUME_32BITUIDS]: Make code unconditional.
6824 [!__ASSUME_32BITUIDS]: Remove conditional code.
6825 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6826 <kernel-features.h>.
6827 [__ASSUME_32BITUIDS]: Make code unconditional.
6828 [!__ASSUME_32BITUIDS]: Remove conditional code.
6829 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6830 <kernel-features.h>.
6831 [__ASSUME_32BITUIDS]: Make code unconditional.
6832 [!__ASSUME_32BITUIDS]: Remove conditional code.
6833 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6834 <kernel-features.h>.
6835 [__ASSUME_32BITUIDS]: Make code unconditional.
6836 [!__ASSUME_32BITUIDS]: Remove conditional code.
6837 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6838 <kernel-features.h>.
6839 [__ASSUME_32BITUIDS]: Make code unconditional.
6840 [!__ASSUME_32BITUIDS]: Remove conditional code.
6841 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6842 <kernel-features.h>.
6843 [__NR_setresgid] (__setresgid): Do not declare.
6844 [__ASSUME_32BITUIDS]: Make code unconditional.
6845 [!__ASSUME_32BITUIDS]: Remove conditional code.
6846 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6847 <kernel-features.h>.
6848 [__NR_setresuid] (__setresuid): Do not declare.
6849 [__ASSUME_32BITUIDS]: Make code unconditional.
6850 [!__ASSUME_32BITUIDS]: Remove conditional code.
6851 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6852 <kernel-features.h>.
6853 [__ASSUME_32BITUIDS]: Make code unconditional.
6854 [!__ASSUME_32BITUIDS]: Remove conditional code.
6855 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6856 <kernel-features.h>.
6857 [__ASSUME_32BITUIDS]: Make code unconditional.
6858 [!__ASSUME_32BITUIDS]: Remove conditional code.
6859 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6860 <kernel-features.h>.
6861 [__ASSUME_32BITUIDS]: Make code unconditional.
6862 [!__ASSUME_32BITUIDS]: Remove conditional code.
6863 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6864 <kernel-features.h>.
6865 [__ASSUME_32BITUIDS]: Make code unconditional.
6866 [!__ASSUME_32BITUIDS]: Remove conditional code.
6867 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6868 <kernel-features.h>.
6869 [__ASSUME_32BITUIDS]: Make code unconditional.
6870 [!__ASSUME_32BITUIDS]: Remove conditional code.
6871 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6872 <kernel-features.h>.
6873 [__ASSUME_32BITUIDS]: Make code unconditional.
6874 [!__ASSUME_32BITUIDS]: Remove conditional code.
6875 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6876 <kernel-features.h>.
6877 [__ASSUME_32BITUIDS]: Make code unconditional.
6878 [!__ASSUME_32BITUIDS]: Remove conditional code.
6879 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6880 <kernel-features.h>.
6881 [__ASSUME_32BITUIDS]: Make code unconditional.
6882 [!__ASSUME_32BITUIDS]: Remove conditional code.
6883 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6884 <kernel-features.h>.
6885 [__ASSUME_32BITUIDS]: Make code unconditional.
6886 [!__ASSUME_32BITUIDS]: Remove conditional code.
6887 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6888 <kernel-features.h>.
6889 [__ASSUME_32BITUIDS]: Make code unconditional.
6890 [!__ASSUME_32BITUIDS]: Remove conditional code.
6891 * sysdeps/unix/sysv/linux/kernel-features.h
6892 (__ASSUME_SETRESUID_SYSCALL): Remove.
6893 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6894 (__ASSUME_32BITUIDS): Likewise.
6895 (__ASSUME_LDT_WORKS): Likewise.
6896 (__ASSUME_O_DIRECTORY): Likewise.
6897 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6898 architecture but not kernel version.
6899 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6900 (__ASSUME_MMAP2_SYSCALL): Likewise.
6901 (__ASSUME_STAT64_SYSCALL): Likewise.
6902 (__ASSUME_IPC64): Likewise.
6903 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6904 <kernel-features.h>.
6905 [__ASSUME_32BITUIDS]: Make code unconditional.
6906 [!__ASSUME_32BITUIDS]: Remove conditional code.
6907 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6908 <kernel-features.h>.
6909 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6910 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6911 132096]: Remove conditional code.
6912 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6913 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6914 <kernel-features.h>.
6915 [__ASSUME_32BITUIDS]: Make code unconditional.
6916 [!__ASSUME_32BITUIDS]: Remove conditional code.
6917 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6918 <kernel-features.h>.
6919 [__ASSUME_32BITUIDS]: Make code unconditional.
6920 [!__ASSUME_32BITUIDS]: Remove conditional code.
6921 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6922 <kernel-features.h>.
6923 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6925 (__setresgid): Do not declare.
6926 [__ASSUME_32BITUIDS]: Make code unconditional.
6927 [!__ASSUME_32BITUIDS]: Remove conditional code.
6928 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6929 <kernel-features.h>.
6930 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6932 (__setresuid): Do not declare.
6933 [__ASSUME_32BITUIDS]: Make code unconditional.
6934 [!__ASSUME_32BITUIDS]: Remove conditional code.
6935 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6936 <kernel-features.h>.
6937 [__ASSUME_32BITUIDS]: Make code unconditional.
6938 [!__ASSUME_32BITUIDS]: Remove conditional code.
6939 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6940 <kernel-features.h>.
6941 [__ASSUME_32BITUIDS]: Make code unconditional.
6942 [!__ASSUME_32BITUIDS]: Remove conditional code.
6944 2012-05-25 Richard Henderson <rth@twiddle.net>
6946 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6947 dl_hwcap to ifunc resolver.
6948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6950 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6951 dl_hwcap to ifunc resolver.
6952 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6954 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6957 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6958 for |x| <= 2**-26, not 2**-57.
6959 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6962 2012-05-24 Jeff Law <law@redhat.com>
6964 * stdio-common/Makefile (tests): Add bug25.
6965 * stdio-common/bug25.c: New test.
6967 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6970 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6971 multiple of MALLOC_ALIGNMENT in size.
6972 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6974 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6976 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6978 (FILENAME_MAX): Use macro-int-constant.
6979 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6980 (_IOFBF): Use macro-int-constant.
6983 (SEEK_CUR): Likewise.
6984 (SEEK_END): Likewise.
6985 (SEEK_SET): Likewise.
6986 (TMP_MAX): Likewise.
6987 (EOF): Use macro-int-constant. Require < 0.
6988 (NULL): Use macro-constant. Require == 0.
6989 (stdin): Require type to be FILE *.
6992 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6994 (EXIT_SUCCESS): Likewise.
6995 (NULL): Use macro-constant. Require == 0.
6996 (RAND_MAX): Use macro-int-constant.
6997 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6998 [C99-based standards] (strtof): Require function.
6999 [C99-based standards] (strtold): Likewise.
7000 [C99-based standards] (strtoll): Likewise.
7001 [C99-based standards] (strtoull): Likewise.
7002 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7003 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7004 [ISO || ISO99 || ISO11] (math.h): Likewise.
7005 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7006 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7009 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7012 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7013 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7014 * intl/dgettext.c (DCGETTEXT): Likewise.
7015 * intl/gettext.c (DCGETTEXT): Likewise.
7016 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7017 * posix/regex_internal.h (gettext): Likewise.
7018 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7020 * include/argz.h (__argz_count_internal)
7021 (__argz_stringify_internal): Remove declaration.
7022 (__argz_count, __argz_stringify): Declare hidden proto.
7023 * intl/dcgettext.c: Remove use of INTDEF.
7024 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7025 * string/argz-stringify.c: Likewise.
7026 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7027 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7028 Declare hidden proto.
7029 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7030 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7031 Declare hidden proto.
7032 * include/stdio.h (__asprintf_internal): Don't declare.
7033 (__asprintf): Don't define as macro. Declare hidden proto.
7034 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7035 (__fsetlocking): Declare hidden proto.
7036 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7037 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7039 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7040 (_IO_setlinebuf): Remove use of INTUSE.
7041 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7042 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7043 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7045 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7046 (_IO_do_flush): Remove use of INTUSE.
7047 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7048 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7049 (_IO_adjust_column, _IO_least_wmarker)
7050 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7051 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7052 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7053 (_IO_default_doallocate, _IO_wdefault_doallocate)
7054 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7055 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7056 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7057 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7058 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7059 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7060 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7061 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7062 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7063 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7064 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7065 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7066 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7068 (_IO_flush_all_internal, _IO_adjust_column_internal)
7069 (_IO_default_uflow_internal, _IO_default_finish_internal)
7070 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7071 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7072 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7073 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7074 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7075 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7076 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7077 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7078 (_IO_file_close_internal, _IO_file_close_it_internal)
7079 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7080 (_IO_file_init_internal, _IO_file_attach_internal)
7081 (_IO_file_fopen_internal, _IO_file_read_internal)
7082 (_IO_file_sync_internal, _IO_file_seek_internal)
7083 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7084 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7085 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7086 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7087 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7088 (_IO_list_all_internal, _IO_link_in_internal)
7089 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7090 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7091 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7092 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7093 (_IO_do_write_internal, _IO_padn_internal)
7094 (_IO_getline_info_internal, _IO_getline_internal)
7095 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7096 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7097 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7098 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7099 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7100 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7101 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7102 with libc_hidden_ver, remove use of INTUSE.
7103 * libio/genops.c: Likewise.
7104 * libio/freopen.c: Likewise.
7105 * libio/freopen64.c: Likewise.
7106 * libio/iofclose.c: Likewise.
7107 * libio/iofdopen.c: Likewise.
7108 * libio/iofflush.c: Likewise.
7109 * libio/iofflush_u.c: Likewise.
7110 * libio/iofgets.c: Likewise.
7111 * libio/iofgets_u.c: Likewise.
7112 * libio/iofopen.c: Likewise.
7113 * libio/iofopncook.c: Likewise.
7114 * libio/iofread.c: Likewise.
7115 * libio/iofread_u.c: Likewise.
7116 * libio/ioftell.c: Likewise.
7117 * libio/iofwrite.c: Likewise.
7118 * libio/iogetline.c: Likewise.
7119 * libio/iogets.c: Likewise.
7120 * libio/iogetwline.c: Likewise.
7121 * libio/iopadn.c: Likewise.
7122 * libio/iopopen.c: Likewise.
7123 * libio/ioseekoff.c: Likewise.
7124 * libio/ioseekpos.c: Likewise.
7125 * libio/iosetbuffer.c: Likewise.
7126 * libio/iosetvbuf.c: Likewise.
7127 * libio/ioungetc.c: Likewise.
7128 * libio/ioungetwc.c: Likewise.
7129 * libio/iovdprintf.c: Likewise.
7130 * libio/iovsprintf.c: Likewise.
7131 * libio/iovsscanf.c: Likewise.
7132 * libio/memstream.c: Likewise.
7133 * libio/obprintf.c: Likewise.
7134 * libio/oldfileops.c: Likewise.
7135 * libio/oldiofclose.c: Likewise.
7136 * libio/oldiofdopen.c: Likewise.
7137 * libio/oldiofopen.c: Likewise.
7138 * libio/oldiopopen.c: Likewise.
7139 * libio/oldstdfiles.c: Likewise.
7140 * libio/putc.c: Likewise.
7141 * libio/setbuf.c: Likewise.
7142 * libio/setlinebuf.c: Likewise.
7143 * libio/stdfiles.c: Likewise.
7144 * libio/strops.c: Likewise.
7145 * libio/vasprintf.c: Likewise.
7146 * libio/vscanf.c: Likewise.
7147 * libio/vsnprintf.c: Likewise.
7148 * libio/vswprintf.c: Likewise.
7149 * libio/wfiledoalloc.c: Likewise.
7150 * libio/wfileops.c: Likewise.
7151 * libio/wgenops.c: Likewise.
7152 * libio/wmemstream.c: Likewise.
7153 * libio/wstrops.c: Likewise.
7154 * libio/__fpurge.c: Likewise.
7155 * libio/__fsetlocking.c: Likewise.
7156 * assert/assert.c: Likewise.
7157 * debug/fgets_chk.c: Likewise.
7158 * debug/fgets_u_chk.c: Likewise.
7159 * debug/fread_chk.c: Likewise.
7160 * debug/fread_u_chk.c: Likewise.
7161 * debug/gets_chk.c: Likewise.
7162 * debug/obprintf_chk.c: Likewise.
7163 * debug/vasprintf_chk.c: Likewise.
7164 * debug/vdprintf_chk.c: Likewise.
7165 * debug/vsnprintf_chk.c: Likewise.
7166 * debug/vsprintf_chk.c: Likewise.
7167 * malloc/mtrace.c: Likewise.
7168 * misc/error.c: Likewise.
7169 * misc/syslog.c: Likewise.
7170 * stdio-common/asprintf.c: Likewise.
7171 * stdio-common/fxprintf.c: Likewise.
7172 * stdio-common/getw.c: Likewise.
7173 * stdio-common/isoc99_fscanf.c: Likewise.
7174 * stdio-common/isoc99_scanf.c: Likewise.
7175 * stdio-common/isoc99_vfscanf.c: Likewise.
7176 * stdio-common/isoc99_vscanf.c: Likewise.
7177 * stdio-common/isoc99_vsscanf.c: Likewise.
7178 * stdio-common/printf-prs.c: Likewise.
7179 * stdio-common/printf_fp.c: Likewise.
7180 * stdio-common/printf_fphex.c: Likewise.
7181 * stdio-common/printf_size.c: Likewise.
7182 * stdio-common/putw.c: Likewise.
7183 * stdio-common/scanf.c: Likewise.
7184 * stdio-common/sprintf.c: Likewise.
7185 * stdio-common/tmpfile.c: Likewise.
7186 * stdio-common/vfprintf.c: Likewise.
7187 * stdio-common/vfscanf.c: Likewise.
7188 * stdlib/strfmon_l.c: Likewise.
7189 * sunrpc/openchild.c: Likewise.
7190 * sunrpc/xdr_stdio.c: Likewise.
7191 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7192 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7194 2012-05-24 Roland McGrath <roland@hack.frob.com>
7196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7198 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7199 in the third column, to generate for the shared library an IFUNC
7200 that uses _dl_vdso_vsym.
7201 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7202 * Makeconfig (object-suffixes-noshared): New variable.
7204 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7205 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7206 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7207 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7210 * include/sys/time.h (__gettimeofday): Remove macro.
7211 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7212 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7214 (__gettimeofday): Add libc_hidden_def.
7215 (gettimeofday): Add libc_hidden_weak.
7216 * sysdeps/mach/gettimeofday.c: Likewise.
7217 * sysdeps/posix/gettimeofday.c: Likewise.
7218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7219 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7221 (__gettimeofday_internal): Remove strong_alias.
7222 (__gettimeofday): Add libc_hidden_def.
7223 (gettimeofday): Add libc_hidden_weak.
7224 * sysdeps/unix/syscalls.list (gettimeofday):
7225 Remove __gettimeofday_internal alias.
7227 2012-05-24 Daniel Jacobowitz <drow@false.org>
7228 H.J. Lu <hongjiu.lu@intel.com>
7231 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7232 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7233 (largebin_index_32_big): New.
7234 (largebin_index): Use it for 16-byte alignment.
7235 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7236 correction with front_misalign.
7238 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7266 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7267 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7269 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7273 * math/libm-test.inc (exp_test): Add test from bug 14036.
7274 (pow_test): Add test from bug 10846.
7276 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7278 (special_function): Do not include flags in test name.
7279 (parse_args): Likewise.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7282 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7283 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7286 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7288 * math/libm-test.inc ("Philosophy"): Update comment about
7290 (UNDERFLOW_EXCEPTION): New macro.
7291 (UNDERFLOW_EXCEPTION_OK): Likewise.
7292 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7293 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7294 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7295 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7296 (INVALID_EXCEPTION_OK): Update value.
7297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7298 (OVERFLOW_EXCEPTION_OK): Likewise.
7299 (IGNORE_ZERO_INF_SIGN): Likewise.
7300 (test_exceptions): Handle underflow exceptions.
7301 (acos_test): Update for underflow exception expectations.
7302 (cexp_test): Likewise.
7303 (clog_test): Likewise.
7304 (clog10_test): Likewise.
7305 (csqrt_test): Likewise.
7306 (ctan_test): Likewise.
7307 (ctanh_test): Likewise.
7308 (exp_test): Likewise.
7309 (exp10_test): Likewise.
7310 (exp2_test): Likewise.
7311 (expm1_test): Likewise.
7312 (fma_test): Likewise.
7313 (j0_test): Likewise.
7314 (jn_test): Likewise.
7315 (nexttoward_test): Likewise.
7316 (pow_test): Likewise.
7317 (scalbn_test): Likewise.
7318 (scalbln_test): Likewise.
7319 (tan_test): Likewise.
7320 (y1_test): Likewise.
7321 * sysdeps/i386/fpu/libm-test-ulps: Update.
7322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324 2012-05-23 David S. Miller <davem@davemloft.net>
7326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7327 (__libc_sigaction): Remove unused local variables.
7329 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7331 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7333 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7335 mktime: avoid signed integer overflow
7336 * time/mktime.c (__mktime_internal): Do not mishandle the case
7337 where diff == INT_MIN.
7339 mktime: simplify computation of average
7340 * time/mktime.c (ranged_convert): Use new time_t_avg function
7341 instead of rolling our own (probably-slower) code.
7343 mktime: do not assume signed right shift propagates sign bit
7344 * time/mktime.c (isdst_differ): New static function.
7345 (__mktime_internal): No need to normalize tm_isdst now.
7346 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7349 mktime: merge another wrapv change from gnulib
7350 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7351 from some compilers.
7353 mktime: remove incorrect attempt at unusual arithmetics
7354 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7355 The code didn't really work on such machines anyway.
7356 (TYPE_MINIMUM): Assume two's complement.
7357 (twos_complement_arithmetic): Verify that long_int and time_t
7358 are two's complement (or unsigned, in the latter case).
7360 mktime: check signed shifts on long_int and time_t, too
7361 * time/mktime.c (SHR): Check that shifts work as desired
7362 on the types long_int and time_t too, as SHR is used on
7365 mktime: do not assume 'long' is wide enough
7366 * time/mktime.c (verify): Move decl up.
7367 (long_int): New type.
7368 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7369 to remove assumption in the code that 'long' is wide enough to
7370 store year values. This assumption is not true on x32 and on
7371 some non-glibc platforms.
7373 mktime: merge wrapv change from gnulib
7374 * time/mktime.c (WRAPV): New macro.
7375 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7376 (guess_time_tm, __mktime_internal): Do not assume that signed
7377 integer overflow wraps around; modern compilers generate code
7378 where this assumption is no longer valid.
7380 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7382 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7383 Replace "jmp L(pseudo_end)" with "ret".
7384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7387 2012-05-23 Andreas Jaeger <aj@suse.de>
7389 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7390 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7392 2012-05-23 Andreas Jaeger <aj@suse.de>
7393 Maximilian Attems <max@stro.at>
7395 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7398 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7401 code so that pseudo_end is just ret and the stack pointer is
7402 correct also for static library in error case.
7404 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7406 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7407 move to syscalls.list.
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7413 * manual/install.texi (Running make install): Do not mention Linux
7414 kernel version for which pt_chown is not needed.
7415 (Linux): Do not mention problems with nscd with 2.0 kernels.
7416 * INSTALL: Regenerated.
7418 2012-05-23 Andreas Jaeger <aj@suse.de>
7420 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7421 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7423 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7425 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7427 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7433 * sysdeps/unix/sysv/linux/bits/in.h
7434 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7436 2012-05-22 Roland McGrath <roland@hack.frob.com>
7438 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7439 (PREPARE_VERSION): Just use assert instead, it will be elided
7440 under [NDEBUG] anyway.
7442 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7444 * sysdeps/unix/sysv/linux/Makefile: Include
7445 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7446 (sysdep_routines): Remove sysctl.
7447 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7448 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7449 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7450 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7451 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7453 2012-05-22 Andreas Jaeger <aj@suse.de>
7455 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7456 that pseudo_end is just ret and the stack pointer is correct also
7457 for static library in error case.
7459 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7462 * nss/nsswitch.c (defconfig_entries): New variable.
7463 (__nss_database_lookup): Don't leak defconfig entries.
7464 (nss_parse_service_list): Don't leak on error paths.
7465 (free_database_entries): New function.
7466 (free_defconfig): New function.
7467 (free_mem): Move common code to free_database_entries.
7469 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7471 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7473 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7475 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7476 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7479 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7480 (INTERNAL_SYSCALL_TYPES): Likewise.
7481 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7482 (LOAD_REGS_TYPES_[1-6]): Likewise.
7483 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7484 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7486 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7488 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7489 copysignl for GLIBC_2_0.
7490 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7491 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7493 logbl for GLIBC_2_0.
7494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7497 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7500 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7502 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7505 * time/mktime.c: Update copyright years.
7507 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7509 mktime: merge comment-quoting-style change from gnulib
7510 * time/mktime.c: Quote 'like this' in comments.
7511 The GNU coding standards suggest that we no longer quote `like this',
7512 as "`" and "'" are typically rendered asymmetrically nowadays.
7513 The typical gnulib style is to quote 'like this' when quoting
7514 code, and "like this" when quoting English.
7516 * time/mktime.c (compile-command): Add "-I.".
7518 mktime: merge mktime-internal.h change from gnulib
7519 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7521 mktime: merge time_r change from gnulib
7522 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7524 mktime: merge DEBUG change from gnulib
7525 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7526 case system <time.h> has a #define.
7528 mktime: merge <sys/types.h> change from gnulib
7529 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7530 since <time.t> is now guaranteed to define time_t.
7532 mktime: merge HAVE_CONFIG_H change from gnulib
7533 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7535 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7540 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7542 (struct rusage): Use anonymous union to pad each field to
7545 2012-05-21 David S. Miller <davem@davemloft.net>
7547 * Makefules (o-iterator): Remove .s cases.
7548 (compile-command.s): Delete.
7549 (COMPILE.s): Delete.
7550 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7552 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7554 * configure.in (libc_cv_predef_stack_protector): Only consider
7555 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7556 * configure: Regenerated.
7558 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7561 New macro. Use R*LP on int and pointer.
7562 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7563 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7564 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7565 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7567 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7568 [__WORDSIZE_TIME64_COMPAT32] instead of
7569 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7570 (struct utmp): Likewise.
7571 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7572 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7574 (__WORDSIZE_TIME64_COMPAT32): This.
7575 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7576 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7577 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7578 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7579 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7580 (__WORDSIZE_TIME64_COMPAT32): New macro.
7582 2012-05-21 Andreas Jaeger <aj@suse.de>
7584 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7585 only if [SHARED]. Add prototype for __wcschr_ia32.
7587 2012-05-21 Roland McGrath <roland@hack.frob.com>
7589 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7590 of %rbp unmolested in the jmp_buf while mangling the low bits.
7591 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7592 unmolested high bits of %rbp while demangling the low bits.
7593 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7595 2012-05-21 Andreas Jaeger <aj@suse.de>
7597 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7598 * sunrpc/svc_simple.c: Use it for registerrpc.
7599 * sunrpc/xcrypt.c: Use it for passwd2des.
7601 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7603 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7605 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7606 Don't define if [__SYSCALL_WORDSIZE != 32].
7607 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7610 2012-05-21 Bruno Haible <bruno@clisp.org>
7611 Andreas Jaeger <aj@suse.de>
7613 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7614 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7615 inptr and inend for must_buffer_ch.
7616 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7617 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7618 * stdio-common/Makefile (tests): Remove bug15.
7619 (bug15-ENV): Remove macro.
7620 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7623 2012-05-19 Andreas Jaeger <aj@suse.de>
7624 Roland McGrath <roland@hack.frob.com>
7626 * manual/contrib.texi: Completely rewritten. It contains now an
7627 alphabetical list of contributors and their contributions.
7629 2012-05-21 Richard Henderson <rth@twiddle.net>
7631 * misc/getauxval.c (__getauxval): Use unsigned long int.
7632 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7633 (getauxval): Use unsigned long int.
7635 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7639 2012-05-21 Roland McGrath <roland@hack.frob.com>
7641 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7642 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7643 __alignof__ (long double).
7645 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7649 2012-05-20 Richard Henderson <rth@twiddle.net>
7651 * misc/getauxval.c: New file.
7652 * misc/sys/auxv.h: New file.
7653 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7654 (routines): Add getauxval.
7655 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7656 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7657 * elf/dl-sysdep.c (_dl_auxv): Remove.
7658 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7659 * elf/dl-support.c (_dl_auxv): New variable.
7660 (_dl_aux_init): Initialize it.
7661 * manual/startup.texi (Auxiliary Vector): New node.
7662 * sysdeps/generic/bits/hwcap.h: New file.
7663 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7664 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7665 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7666 * sysdeps/sparc/sysdep.h: ... here. Include it.
7667 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7668 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7680 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7684 2012-05-19 David S. Miller <davem@davemloft.net>
7686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7688 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7691 * math/s_ccosh.c: Include <float.h>
7692 (__ccosh): Avoid internal overflow calculating sinh and cosh
7693 values before multiplying by sin and cos values.
7694 * math/s_ccoshf.c: Likewise.
7695 * math/s_ccoshl.c: Likewise.
7696 * math/s_csin.c: Likewise.
7697 * math/s_csinf.c: Likewise.
7698 * math/s_csinl.c: Likewise.
7699 * math/s_csinh.c: Likewise.
7700 * math/s_csinhf.c: Likewise.
7701 * math/s_csinhl.c: Likewise.
7702 * math/libm-test.inc (ccos_test): Add more tests.
7703 (ccosh_test): Likewise.
7704 (csin_test): Likewise.
7705 (csinh_test): Likewise.
7706 * sysdeps/i386/fpu/libm-test-ulps: Update.
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7709 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7711 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7712 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7714 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7716 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7718 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7719 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7720 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7721 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7722 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7723 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7724 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7725 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7726 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7727 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7728 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7729 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7730 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7731 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7732 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7733 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7734 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7735 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7736 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7737 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7738 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7739 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7740 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7741 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7742 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7743 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7744 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7745 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7746 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7747 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7748 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7750 2012-05-18 Andreas Jaeger <aj@suse.de>
7752 * csu/.gitignore: Delete.
7754 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7756 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7757 (timex): Use __syscall_slong_t.
7759 2012-05-18 Andreas Jaeger <aj@suse.de>
7760 Carlos O'Donell <carlos_odonell@mentor.com>
7762 * manual/install.texi (Configuring and compiling): Update
7763 description about files modified in the source directory.
7764 * INSTALL: Regenerated.
7766 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7769 value. Use "or" to set return value to -1.
7770 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7771 negate return value.
7773 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7775 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7776 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7777 failure if the compiler has Graphite support disabled.
7778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7780 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7781 CFLAGS-memmove.c): Likewise.
7782 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7785 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/x86_64/x32/_itoa.h: New file.
7789 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7790 getdents system call only if kernel and user dirents have the
7791 same d_ino and d_off.
7793 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7794 LLONG_MAX != LONG_MAX.
7795 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7796 (_fitoa_word): Likewise.
7798 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7800 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7801 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7802 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7804 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7805 include <bits/wordsize.h>. Check __x86_64__ instead of
7807 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7808 if __x86_64__ is defined. Use anonymous union on fpstate.
7810 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7813 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7815 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7816 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7817 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7818 Refer to _rtld_local_ro instead of _rtld_global_ro.
7819 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7821 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7823 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7825 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7826 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7827 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7829 * sysdeps/powerpc/powerpc32/dl-machine.c
7830 (__elf_machine_runtime_setup) [PROF]: Don't reference
7833 2012-05-18 Andreas Jaeger <aj@suse.de>
7835 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7836 function only available for GCCs before 3.4 since GCC 3.4
7837 introduced a builtin.
7839 (llrintf): Likewise.
7847 (nearbyint): Likewise.
7848 (nearbyintf): Likewise.
7854 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7856 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7857 on both fields and cast pointer to __syscall_ulong_t.
7859 * bits/types.h (__fsword_t): New type.
7860 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7861 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7863 (__FSWORD_T_TYPE): Likewise.
7864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7865 (__FSWORD_T_TYPE): Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7867 (__FSWORD_T_TYPE): Likewise.
7868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7869 (__FSWORD_T_TYPE): Likewise.
7870 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7871 __SWORD_TYPE with __fsword_t.
7872 (statfs64): Likewise.
7874 2012-05-17 David S. Miller <davem@davemloft.net>
7876 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7878 2012-05-17 Andreas Jaeger <aj@suse.de>
7880 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7883 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7885 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7887 2012-05-17 Andreas Jaeger <aj@suse.de>
7889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7892 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7894 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7896 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7898 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7899 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7901 2012-05-17 Andreas Jaeger <aj@suse.de>
7902 Carlos O'Donell <carlos_odonell@mentor.com>
7905 * sysdeps/x86_64/multiarch/init-arch.h
7906 (bit_YMM_Usable): Rename to...
7907 (bit_AVX_Usable): ... this.
7908 (bit_FMA4_Usable): New macro.
7909 (bit_XMM_state): New macro.
7910 (bit_YMM_state): New macro.
7911 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7912 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7913 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7914 (CPUID_OSXSAVE): New macro.
7915 (CPUID_AVX): New macro.
7916 (CPUID_FMA4): New macro.
7917 (index_YMM_Usable): Rename to...
7918 (index_AVX_Usable): ... this.
7919 (HAS_AVX): Use HAS_ARCH_FEATURE.
7920 (HAS_FMA4): Likewise.
7921 (HAS_YMM_USABLE): Remove.
7922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7923 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7925 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7926 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7927 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7928 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7929 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7931 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7933 * math/libm-test.c: Support platforms without multiple rounding modes.
7934 * math/bug-nextafter.c: Support platforms without FP exceptions.
7935 * math/bug-nexttoward.c: Likewise.
7936 * math/test-fenv.c: Likewise.
7937 * math/test-misc.c: Likewise.
7938 * stdlib/bug-getcontext.c: Likewise.
7940 2012-05-17 Andreas Jaeger <aj@suse.de>
7942 * manual/examples/search.c (critter_cmp): Change signature to
7944 * manual/string.texi (Collation Functions): Likewise.
7946 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7948 * bits/types.h: Fold copyright years.
7949 * bits/typesizes.h: Likewise.
7950 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7953 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7954 * time/time.h: Likewise.
7956 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7959 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7960 in instead of returning them. Return void.
7961 (__libc_mallinfo): Accumulate over all arenas.
7962 (__malloc_stats): Adjust for change in int_mallinfo interface.
7964 2012-05-16 Roland McGrath <roland@hack.frob.com>
7967 * configure.in (NM): Add AC_CHECK_TOOL for it.
7968 (libc_extra_cflags): New substituted variable.
7969 Check for -fstack-protector being used implicitly.
7970 * configure: Regenerated.
7971 * config.make.in (config-extra-cflags): New variable,
7972 gets @libc_extra_cflags@.
7973 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7976 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7977 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7978 * configure: Regenerated.
7979 * config.make.in (CPPUNDEFS): New substituted variable.
7980 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7981 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7982 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7984 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7987 (mq_attr): Use __syscall_slong_t.
7989 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7991 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7992 Check __x86_64__ instead of __WORDSIZE.
7993 (_STAT_VER_LINUX): Likewise.
7994 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7995 __syscall_ulong_t and __syscall_slong_t.
7998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8002 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8004 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8006 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8008 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8011 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8012 include <bits/wordsize.h>. Check __x86_64__ instead of
8014 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8016 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8018 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8019 include <bits/wordsize.h>. Check __x86_64__ instead of
8021 (user_regs_struct): Use "__extension__ unsigned long long"
8022 instead of "unsigned long" if __x86_64__ is defined.
8023 (user): Likewise. Pad after pointer field if __ILP32__ is
8026 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8028 * configure.in (makeinfo): Require version 4.5 or later. Allow
8030 * configure: Regenerated.
8031 * manual/install.texi (texinfo): Increase version requirement to
8033 * INSTALL: Regenerated.
8035 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8039 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8041 * sysdeps/x86_64/x32/ffs.c: New file.
8043 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8045 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8046 defined. Use __syscall_ulong_t.
8047 (shminfo): Use __syscall_ulong_t.
8048 (shm_info): Likewise.
8050 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8053 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8055 (msgqnum_t): Use __syscall_ulong_t.
8056 (msglen_t): Likewise.
8057 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8060 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8061 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8063 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8065 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8066 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8068 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8071 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8072 include <bits/wordsize.h>. Check __x86_64__ instead of
8075 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8076 "unsigned long long int" if __x86_64__ is defined.
8077 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8080 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8081 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8083 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8085 (GET_PC): Cast to uintptr_t first.
8086 (GET_FRAME): Likewise.
8087 (GET_STACK): Likewise.
8089 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8090 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8094 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8096 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8097 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8098 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8100 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8101 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8102 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8103 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8104 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8106 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8107 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8108 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8110 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8112 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8113 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8114 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8116 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8117 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8119 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8121 * Makerules (+depfiles): Also collect depfiles from .oS in
8123 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8124 .oS, $(libnldbl-routines)).
8126 * Makerules (native-compile-mkdep-flags): Define.
8127 * sunrpc/Makefile (extra-objs): Add $(addprefix
8128 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8129 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8130 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8131 calling $(make-target-directory).
8133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8135 * bits/types.h (__snseconds_t): Removed.
8136 * time/time.h (struct timespec): Replace __snseconds_t with
8138 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8139 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8142 (__SNSECONDS_T_TYPE): Likewise.
8143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8144 (__SNSECONDS_T_TYPE): Likewise.
8145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8146 (__SNSECONDS_T_TYPE): Likewise.
8148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8150 * sysdeps/mach/hurd/bits/typesizes.h
8151 (__SYSCALL_SLONG_TYPE): New macro.
8152 (__SYSCALL_ULONG_TYPE): Likewise.
8154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8156 * bits/types.h (__syscall_slong_t): New type.
8157 (__syscall_ulong_t): Likewise.
8159 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8160 (__SYSCALL_ULONG_TYPE): Likewise.
8161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8162 (__SYSCALL_SLONG_TYPE): Likewise.
8163 (__SYSCALL_ULONG_TYPE): Likewise.
8164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8165 (__SYSCALL_SLONG_TYPE): Likewise.
8166 (__SYSCALL_ULONG_TYPE): Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8168 (__SYSCALL_SLONG_TYPE): Likewise.
8169 (__SYSCALL_ULONG_TYPE): Likewise.
8171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8173 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8174 Add sigaltstack-offsets.sym.
8175 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8176 <sigaltstack-offsets.h>.
8177 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8178 longjmp_msg pointer.
8179 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8180 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8182 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8184 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8186 * elf/stackguard-macros.h: Remove file.
8187 * sysdeps/generic/stackguard-macros.h: New file.
8188 * sysdeps/i386/stackguard-macros.h: Likewise.
8189 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8190 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8191 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8192 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8193 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8194 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8195 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8196 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8197 <elf/stackguard-macros.h>.
8200 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8201 __aligned__ in attribute.
8202 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8203 (gregset_t): Likewise.
8205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8207 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8208 * sysdeps/x86_64/64/Implies-after: Here. New file.
8209 * sysdeps/x86_64/x32/Implies-after: New file.
8211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8213 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8214 and access return value for _dl_profile_fixup. Use R10_LP to
8217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8219 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8224 * sysdeps/x86_64/x32/sysdep.h: New file.
8226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8228 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8229 * sysdeps/x86_64/setjmp.S: Likewise.
8231 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8233 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8234 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8235 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8237 remove unused global constant.
8239 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8241 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8242 include of <not-cancel.h>.
8244 2012-05-15 Roland McGrath <roland@hack.frob.com>
8246 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8248 2012-05-15 Jeff Law <law@redhat.com>
8249 Andreas Jaeger <aj@suse.de>
8252 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8254 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8255 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8256 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8257 code changing __hst_map_handle.map.
8259 2012-05-15 Roland McGrath <roland@hack.frob.com>
8261 * configure.in (sysnames): Look for Implies-before and Implies-after
8263 * configure: Regenerated.
8265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8268 8-byte data alignment with LP_SIZE alignment.
8270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8272 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8277 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8283 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8285 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8289 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8290 (stackinfo_sub_sp): Likewise.
8292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8309 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8313 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8314 into R11_LP and load __x86_64_shared_cache_size_half into
8317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8319 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8322 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8330 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8331 powerpc32/power7/fpu/s_logb.c via #include.
8332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8333 powerpc32/power7/fpu/s_logbf.c via #include.
8334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8335 powerpc32/power7/fpu/s_logbl.c via #include.
8337 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8339 * README.libm: Remove file.
8341 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8343 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8344 count for x32. Use R*_LP and omit operand-size suffix.
8346 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8348 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8349 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8350 * sysdeps/x86_64/x32/shlib-versions: New file.
8352 2012-05-14 Roland McGrath <roland@hack.frob.com>
8354 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8355 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8356 Use _dl_fatal_printf instead.
8358 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8360 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8361 set if not set by the user. Do not allow for being unset.
8362 * sysdeps/unix/sysv/linux/configure: Regenerated.
8364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8366 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8367 the `q' suffix from lea and replace .quad with ASM_ADDR.
8369 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8372 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8374 (PTR_DEMANGLE): Likewise.
8376 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8380 (ASM_ADDR): Likewise.
8398 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8400 * sysdeps/x86_64/x32/dl-machine.h: New file.
8402 2012-05-14 Andreas Jaeger <aj@suse.de>
8404 * manual/Makefile (subdir): Remove export of subdir.
8405 (all): Remove target.
8406 (.PHONY): Remove all from list.
8407 (mkinstalldirs): Remove.
8408 (.PHONY): Remove installdirs from list.
8409 ($(inst_infodir)/libc.info): Use make-target-directory.
8410 (installdirs): Remove.
8412 (glibc-targets): Remove.
8415 ($(objpfx)stubs ../po/manual.pot): Remove.
8416 ($(objpfx)stamp%): Remove.
8417 (make-target-directory): Remove.
8418 (subdir_install): Remove.
8426 * manual/.gitignore: Remove, it's not needed anymore.
8427 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8429 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8431 (texis): Renamed to $(objpfx)texis.
8432 (texis-path): New, contains path to generated files.
8433 (chapters.%): Use texis-path for complete path, add extra argument
8435 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8436 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8437 (summary,texi, stamp-summary): Use complete path of
8438 files. Generate files in build dir.
8439 (dir-add.texi): Build in build dir.
8440 (libm-err.texi,stamp-libm-err): Likewise.
8441 (version.texi, stamp-version): Likewise.
8442 (.%c.texi): Likewise.
8443 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8444 (mostlyclean): Remove target.
8445 (realclean): Remove target.
8446 (generated): Add new variable with contents from mostlyclean and
8447 realclean, remove entries duplicated in common-mostlyclean, add
8448 stamp-libm-err and stamp-version.
8449 (generated-dirs): Add libc directory.
8450 ($(inst_infodir)/libc.info): Install files from build dir.
8452 * manual/install.texi (Configuring and compiling): Adjust since
8453 the info files are not part of the tar ball anymore.
8455 2012-05-14 Andreas Jaeger <aj@suse.de>
8457 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8460 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8464 to 2.2.0 where earlier.
8465 * sysdeps/unix/sysv/linux/configure: Regenerated.
8466 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8467 Remove conditional code.
8468 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8469 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8470 Remove conditional code.
8471 [!__NR_lchown]: Likewise.
8472 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8473 [__NR_lchown]: Likewise.
8474 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8475 comment referencing __ASSUME_LCHOWN_SYSCALL.
8476 * sysdeps/unix/sysv/linux/i386/sigaction.c
8477 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8478 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8479 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8480 Remove conditional code.
8481 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8482 (__protocol_available): Remove #if 0 code.
8483 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8485 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8486 * sysdeps/unix/sysv/linux/kernel-features.h
8487 (__ASSUME_GETCWD_SYSCALL): Don't define.
8488 (__ASSUME_REALTIME_SIGNALS): Likewise.
8489 (__ASSUME_PREAD_SYSCALL): Likewise.
8490 (__ASSUME_PWRITE_SYSCALL): Likewise.
8491 (__ASSUME_POLL_SYSCALL): Likewise.
8492 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8493 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8495 (__ASSUME_SIOCGIFNAME): Don't define.
8496 (__ASSUME_MSG_NOSIGNAL): Likewise.
8497 (__ASSUME_SENDFILE): Define unconditionally.
8498 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8499 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8501 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8502 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8503 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8504 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8505 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8506 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8507 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8509 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8512 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8515 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8518 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8519 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8521 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8532 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8533 Remove conditional code.
8534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8535 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8536 Remove conditional code.
8537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8538 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8539 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8540 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8541 Remove conditional code.
8542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8543 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8544 Remove conditional code.
8545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8546 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8547 Remove conditional code.
8548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8549 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8550 Remove conditional code.
8551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8552 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8553 Remove conditional code.
8554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8555 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8558 * sysdeps/unix/sysv/linux/sigaction.c
8559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8561 * sysdeps/unix/sysv/linux/sigpending.c
8562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8564 * sysdeps/unix/sysv/linux/sigprocmask.c
8565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8567 * sysdeps/unix/sysv/linux/sigsuspend.c
8568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8570 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8571 (__libc_missing_rt_sigs): Remove.
8572 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8573 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8574 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8575 Remove conditional code.
8576 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8577 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8580 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8581 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8582 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8584 2012-05-14 Andreas Jaeger <aj@suse.de>
8586 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8587 it's not used in glibc.
8588 (__coshm1): Likewise.
8589 (__acosh1p): Likewise.
8592 * manual/string.texi (Copying and Concatenation): Add missing
8593 variable in concat example.
8594 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8596 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8599 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8600 __builtin_clzl with __builtin_clzll.
8602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8605 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8608 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8610 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8611 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8612 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8613 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8615 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8617 * NEWS: Update ia64 info.
8619 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8621 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8624 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8626 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8627 * sysdeps/unix/syscalls.list (dup3): Likewise.
8628 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8629 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8631 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8633 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8634 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8636 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8638 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8640 (TLS_IE): Use mov/add instead of movq/addq to load thread
8642 (TLS_GD_PREFIX): New.
8645 2012-05-11 David S. Miller <davem@davemloft.net>
8647 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8648 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8649 (_FPU_SETCW): Likewise.
8651 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8653 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8656 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8659 * iconvdata/gb18030.c: Update tables.
8660 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8661 characters specially.
8662 (BODY for TO_LOOP): Add encoding of missing ranges.
8664 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8667 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8668 * sysdeps/mach/hurd/dup3.c: Likewise.
8669 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8670 * sysdeps/powerpc/memmove.c:: Likewise.
8672 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8675 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8677 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8679 * elf/elf.h (R_X86_64_RELATIVE64): New.
8680 (R_X86_64_NUM): Updated.
8681 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8682 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8683 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8684 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8685 tst-quad1pie tst-quad2pie
8686 (modules-names): Add tst-quadmod1 tst-quadmod2.
8687 ($(objpfx)tst-quad1): New dependency.
8688 ($(objpfx)tst-quad2): Likewise.
8689 ($(objpfx)tst-quad1pie): Likewise.
8690 ($(objpfx)tst-quad2pie): Likewise.
8691 * sysdeps/x86_64/tst-quad1.c: New file.
8692 * sysdeps/x86_64/tst-quad1pie.c: New file.
8693 * sysdeps/x86_64/tst-quad2.c: Likewise.
8694 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8695 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8696 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8697 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8698 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8700 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8702 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8703 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8704 * streams/stropts.h (t_scalar_t): Define type.
8706 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8707 (_PATH_PRESERVE): Set to "/var/lib".
8708 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8710 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8713 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8714 if __dir_mkfile succeeded.
8716 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8717 checking for _hurd_dtablesize. Unlock it right after having
8718 finished _hurd_dtable allocation.
8720 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8722 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8723 * sysdeps/mach/hurd/configure: Regenerated.
8724 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8725 special-casing to...
8726 * sysdeps/gnu/configure.in: ... this new file.
8727 * sysdeps/unix/sysv/linux/configure: Regenerated.
8728 * sysdeps/gnu/configure: New generated file.
8730 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8731 for Linux: use nsec instead of usec, as well as:
8732 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8733 members of type struct timespec.
8734 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8736 (struct stat64): Likewise.
8737 (_STATBUF_ST_NSEC): New macro.
8738 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8740 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8741 __strtoul_internal rather than strtoul.
8743 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8745 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8750 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8751 which preserves existing values.
8752 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8754 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8756 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8757 TIMEOUT values. Return EINVAL for NFDS values either negative or
8758 greater than FD_SETSIZE.
8760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8762 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8763 allocated, call __vm_protect to finish enabling the existing space, and
8764 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8765 allocate the remainder.
8767 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8769 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8770 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8774 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8775 sysdeps/mach/hurd/readlink.c.
8777 * posix/tst-sysconf.c (posix_options): Only use
8778 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8779 _POSIX_SYNCHRONIZED_IO when they are defined
8780 * sysdeps/mach/hurd/bits/posix_opt.h:
8781 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8782 (_XOPEN_REALTIME): Undefine macro.
8783 (_XOPEN_REALTIME_THREADS): Undefine macro.
8784 (_XOPEN_SHM): Undefine macro.
8785 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8787 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8789 (_POSIX_ASYNC_IO): Undefine macro.
8790 (_POSIX_PRIORITIZED_IO): Undefine macro.
8791 (_POSIX_SPIN_LOCKS): Define macro to -1.
8793 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8794 SA_NODEFER, SA_RESETHAND.
8795 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8796 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8799 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8801 * elf/Makefile (pldd-modules): Define unconditionally.
8803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8805 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8809 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8810 Return ENOENT when name is empty.
8811 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8813 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8815 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8817 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8821 Fix mlock in all cases except non-readable pages.
8822 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8823 instead of VM_PROT_ALL as parameter to __vm_wire function.
8825 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8826 (__mkdir): When path is `/', just fail with EEXIST.
8827 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8829 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8831 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8832 <sys/uio.h> (for writev).
8833 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8834 and <sys/param.h> (for MIN).
8836 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8838 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8839 REQUESTED_TIME. Properly set the remaining time and return EINTR
8842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8844 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8845 Depend on against $(link-rpcuserlibs).
8847 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8849 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8850 (__libc_stack_end): Do not use attribute_relro.
8851 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8852 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8853 to libthread-provided value.
8854 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8860 * bits/libc-lock.h (__libc_once_get): New macro.
8861 * sysdeps/mach/bits/libc-lock.h: Likewise.
8862 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8864 instead of using implementation details.
8866 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8867 * libio/freopen.c: Likewise.
8868 * libio/freopen64.c: Likewise.
8869 * misc/syslog.c: Likewise.
8870 * nscd/connections.c: Likewise.
8871 * nscd/netgroupcache.c: Likewise.
8872 * sysdeps/posix/getcwd.c: Likewise.
8874 2012-05-10 Roland McGrath <roland@hack.frob.com>
8876 * math/w_ilogbf.c: Add #include <limits.h>.
8878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8880 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8881 path instead of returning without unlocking.
8883 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8884 immediate-write ioctls.
8885 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8887 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8889 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8890 __builtin_frame_address instead of making assumptions about the
8891 location of the return address relative to DATA. Force early load of
8893 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8894 __builtin_frame_address.
8897 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8898 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8899 implement dup3 and do some further code clean-ups.
8900 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8901 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8905 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8907 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8908 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8909 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8910 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8911 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8914 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8915 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8916 when handler == SIG_ERR, not when handler != SIG_ERR.
8918 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8920 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8921 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8924 accept4 for GNU Hurd.
8925 * include/sys/socket.h (__libc_accept4): New prototype.
8926 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8927 to implement __libc_accept4.
8928 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8930 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8932 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8933 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8934 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8939 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8943 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8944 assertion on O_CLOEXEC flag.
8945 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8946 * hurd/intern-fd.c: Likewise.
8947 * hurd/port2fd.c: Likewise.
8949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8952 * bits/in.h (IPV6_PKTINFO): Define new macro.
8953 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8955 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8960 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8962 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8965 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8966 * math/libm-test.inc (logb_test) : Additional logb tests.
8968 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8969 Andreas Jaeger <aj@suse.de>
8971 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8972 * configure: Regenerated.
8973 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8974 * config.make.in (link-obsolete-rpc): New substituted variable.
8975 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8976 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8977 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8978 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8979 so that libc.a contains the symbols.
8980 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8981 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8982 * sunrpc/auth_none.c: Likewise.
8983 * sunrpc/auth_unix.c: Likewise.
8984 * sunrpc/authdes_prot.c: Likewise.
8985 * sunrpc/authuxprot.c: Likewise.
8986 * sunrpc/clnt_gen.c: Likewise.
8987 * sunrpc/clnt_perr.c: Likewise.
8988 * sunrpc/clnt_raw.c: Likewise.
8989 * sunrpc/clnt_simp.c: Likewise.
8990 * sunrpc/clnt_tcp.c: Likewise.
8991 * sunrpc/clnt_udp.c: Likewise.
8992 * sunrpc/clnt_unix.c: Likewise.
8993 * sunrpc/des_crypt.c: Likewise.
8994 * sunrpc/des_soft.c: Likewise.
8995 * sunrpc/get_myaddr.c: Likewise.
8996 * sunrpc/key_call.c: Likewise.
8997 * sunrpc/key_prot.c: Likewise.
8998 * sunrpc/netname.c: Likewise.
8999 * sunrpc/pm_getmaps.c: Likewise.
9000 * sunrpc/pm_getport.c: Likewise.
9001 * sunrpc/pmap_clnt.c: Likewise.
9002 * sunrpc/pmap_prot.c: Likewise.
9003 * sunrpc/pmap_prot2.c: Likewise.
9004 * sunrpc/pmap_rmt.c: Likewise.
9005 * sunrpc/publickey.c: Likewise.
9006 * sunrpc/rpc_cmsg.c: Likewise.
9007 * sunrpc/rpc_common.c: Likewise.
9008 * sunrpc/rpc_dtable.c: Likewise.
9009 * sunrpc/rpc_prot.c: Likewise.
9010 * sunrpc/rpc_thread.c: Likewise.
9011 * sunrpc/rtime.c: Likewise.
9012 * sunrpc/svc.c: Likewise.
9013 * sunrpc/svc_auth.c: Likewise.
9014 * sunrpc/svc_raw.c: Likewise.
9015 * sunrpc/svc_run.c: Likewise.
9016 * sunrpc/svc_tcp.c: Likewise.
9017 * sunrpc/svc_udp.c: Likewise.
9018 * sunrpc/svc_unix.c: Likewise.
9019 * sunrpc/svcauth_des.c: Likewise.
9020 * sunrpc/xcrypt.c: Likewise.
9021 * sunrpc/xdr.c: Likewise.
9022 * sunrpc/xdr_array.c: Likewise.
9023 * sunrpc/xdr_float.c: Likewise.
9024 * sunrpc/xdr_intXX_t.c: Likewise.
9025 * sunrpc/xdr_mem.c: Likewise.
9026 * sunrpc/xdr_rec.c: Likewise.
9027 * sunrpc/xdr_ref.c: Likewise.
9028 * sunrpc/xdr_sizeof.c: Likewise.
9029 * sunrpc/xdr_stdio.c: Likewise.
9031 2012-05-10 Roland McGrath <roland@hack.frob.com>
9033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9034 change. Update copyright years.
9036 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9038 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9040 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9041 Joseph Myers <joseph@codesourcery.com>
9042 Paul Pluzhnikov <ppluzhnikov@google.com>
9045 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9047 [cross-compiling] (extra-libs): Likewise.
9048 [cross-compiling] (extra-libs-others): Likewise.
9049 [cross-compiling] (librpcsvc-routines): Likewise.
9050 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9051 [cross-compiling] (omit-deps): Likewise.
9052 (sunrpc-CPPFLAGS): New variable.
9053 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9054 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9055 (cross-rpcgen-objs): New variable.
9056 (extra-objs): Append $(cross-rpcgen-objs).
9057 ($(cross-rpcgen-objs)): New rule.
9058 ($(objpfx)cross-rpcgen): Likewise.
9059 (rpcgen-cmd): Define to use $(built-program-file). Expand
9061 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9062 ($(objpfx)x%.stmp): Likewise.
9063 * sunrpc/proto.h [IS_IN_build] (_): Define.
9064 [IS_IN_build] (_libc_intl_domainname): Likewise.
9066 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9068 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9069 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9070 and R_X86_64_TPOFF64.
9072 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9074 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9075 sysdeps/unix/sysv/syscalls.list.
9078 * sysdeps/unix/sysv/syscalls.list: Remove file.
9080 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9083 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9084 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9085 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9086 (__LC_IDENTIFICATION): Make these macros useful in #if
9087 expressions, as required by C99.
9089 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9091 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9092 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9095 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9097 * stdlib/longlong.h: Updated from GCC.
9099 2012-05-09 Andreas Jaeger <aj@suse.de>
9101 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9102 default is first entry.
9103 (run_mode): Set type.
9104 (main): Remove informal message about syslog.
9105 (options): Fix typo.
9108 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9111 (llrintf): Likewise.
9115 (nearbyint): Likewise.
9116 (nearbyintf): Likewise.
9118 2012-05-09 Andreas Jaeger <aj@suse.de>
9119 Pedro Alves <palves@redhat.com>
9121 * nscd/nscd.c (run_mode): Use enum.
9122 (main): Cleanup coding style issue.
9124 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9125 Andreas Jaeger <aj@suse.de>
9127 * nscd/nscd.c (go_background): Replaced with...
9128 (run_mode): ... this.
9129 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9130 (options): Add -F --foreground.
9131 (main): Implement it.
9132 (parse_opt): Parse it.
9134 2012-05-09 Andreas Jaeger <aj@suse.de>
9137 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9138 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9139 -Wconversion warning.
9140 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9143 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9145 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9147 (LC_ALL): Use macro-int-constant.
9148 (LC_COLLATE): Likewise.
9149 (LC_CTYPE): Likewise.
9150 (LC_MESSAGES): Likewise.
9151 (LC_MONETARY): Likewise.
9152 (LC_NUMERIC): Likewise.
9153 (LC_TIME): Likewise.
9154 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9155 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9157 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9159 [C99-based standards] (float_t): Expect type.
9160 [C99-based standards] (double_t): Expect type.
9161 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9163 [C99-based standards] (HUGE_VALL): Likewise.
9164 [C99-based standards] (INFINITY): Likewise.
9165 [C99-based standards] (NAN): Likewise.
9166 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9167 [C99-based standards] (FP_NAN): Likewise.
9168 [C99-based standards] (FP_NORMAL): Likewise.
9169 [C99-based standards] (FP_SUBNORMAL): Likewise.
9170 [C99-based standards] (FP_ZERO): Likewise.
9171 [C99-based standards] (FP_FAST_FMA): Use
9172 optional-macro-int-constant. Specify type. Require == 1.
9173 [C99-based standards] (FP_FAST_FMAF): Likewise.
9174 [C99-based standards] (FP_FAST_FMAL): Likewise.
9175 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9176 [C99-based standards] (FP_ILOGBNAN): Likewise.
9177 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9179 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9180 [C99-based standards] (math_errhandling): Specify type.
9181 [ISO99 || ISO11] (signgam): Do not allow.
9182 [non-C99-based standards] (copysignf): Do not allow.
9183 [non-C99-based standards] (exp2f): Likewise.
9184 [non-C99-based standards] (log2f): Likewise.
9185 [non-C99-based standards] (modff): Allow.
9186 [non-C99-based standards] (erff): Do not allow.
9187 [non-C99-based standards] (erfcf): Likewise.
9188 [non-C99-based standards] (gammaf): Likewise.
9189 [non-C99-based standards] (hypotf): Likewise.
9190 [non-C99-based standards] (j0f): Likewise.
9191 [non-C99-based standards] (j1f): Likewise.
9192 [non-C99-based standards] (jnf): Likewise.
9193 [non-C99-based standards] (lgammaf): Likewise.
9194 [non-C99-based standards] (tgammaf): Likewise.
9195 [non-C99-based standards] (y0f): Likewise.
9196 [non-C99-based standards] (y1f): Likewise.
9197 [non-C99-based standards] (ynf): Likewise.
9198 [non-C99-based standards] (isnanf): Likewise.
9199 [non-C99-based standards] (acoshf): Likewise.
9200 [non-C99-based standards] (asinhf): Likewise.
9201 [non-C99-based standards] (atanhf): Likewise.
9202 [non-C99-based standards] (cbrtf): Likewise.
9203 [non-C99-based standards] (expm1f): Likewise.
9204 [non-C99-based standards] (ilogbf): Likewise.
9205 [non-C99-based standards] (log1pf): Likewise.
9206 [non-C99-based standards] (logbf): Likewise.
9207 [non-C99-based standards] (nextafterf): Likewise.
9208 [non-C99-based standards] (remainderf): Likewise.
9209 [non-C99-based standards] (rintf): Likewise.
9210 [non-C99-based standards] (scalbf): Likewise.
9211 [non-C99-based standards] (copysignl): Likewise.
9212 [non-C99-based standards] (exp2l): Likewise.
9213 [non-C99-based standards] (log2l): Likewise.
9214 [non-C99-based standards] (modfl): Allow.
9215 [non-C99-based standards] (erfl): Do not allow.
9216 [non-C99-based standards] (erfcl): Likewise.
9217 [non-C99-based standards] (gammal): Likewise.
9218 [non-C99-based standards] (hypotl): Likewise.
9219 [non-C99-based standards] (j0l): Likewise.
9220 [non-C99-based standards] (j1l): Likewise.
9221 [non-C99-based standards] (jnl): Likewise.
9222 [non-C99-based standards] (lgammal): Likewise.
9223 [non-C99-based standards] (tgammal): Likewise.
9224 [non-C99-based standards] (y0l): Likewise.
9225 [non-C99-based standards] (y1l): Likewise.
9226 [non-C99-based standards] (ynl): Likewise.
9227 [non-C99-based standards] (isnanl): Likewise.
9228 [non-C99-based standards] (acoshl): Likewise.
9229 [non-C99-based standards] (asinhl): Likewise.
9230 [non-C99-based standards] (atanhl): Likewise.
9231 [non-C99-based standards] (cbrtl): Likewise.
9232 [non-C99-based standards] (expm1l): Likewise.
9233 [non-C99-based standards] (ilogbl): Likewise.
9234 [non-C99-based standards] (log1pl): Likewise.
9235 [non-C99-based standards] (logbl): Likewise.
9236 [non-C99-based standards] (nextafterl): Likewise.
9237 [non-C99-based standards] (remainderl): Likewise.
9238 [non-C99-based standards] (rintl): Likewise.
9239 [non-C99-based standards] (scalbl): Likewise.
9240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9241 [non-C99-based standards] (FP_*): Do not allow.
9242 [C99-based standards] (FP_*): Change to
9243 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9244 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9246 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9247 (SIG_ERR): Likewise.
9248 [X/Open-based standards] (SIG_HOLD): Likewise.
9249 (SIG_IGN): Likewise.
9250 (SIGABRT): Use macro-int-constant. Specify type. Require
9255 (SIGSEGV): Likewise.
9257 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9258 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9259 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9260 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9261 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9262 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9263 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9264 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9265 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9266 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9267 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9268 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9269 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9270 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9271 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9272 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9273 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9274 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9275 [X/Open-based standards] (SIGTRAP): Likewise.
9276 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9277 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9278 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9279 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9280 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9283 2012-05-08 Ian Wienand <ianw@vmware.com>
9286 * time/tzset.c (__tzset_parse_tz): Update default rules for
9287 daylight time changes in the Energy Policy Act of 2005.
9289 2012-05-09 Andreas Jaeger <aj@suse.de>
9292 * elf/ldconfig.c (parse_conf): Change string to make clear that
9293 ldconfig only issued a warning if ld.so.conf does not exist.
9295 2012-05-08 David S. Miller <davem@davemloft.net>
9297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9298 movxtod instead of popping the value on the stack.
9300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9302 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9304 * config.h.in: Add HAVE_ARM_PCS_VFP.
9306 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9309 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9310 checking but the checks are disabled for any reason.
9312 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9314 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9315 and ELF64_R_TYPE with ELFW(R_TYPE).
9317 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9319 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9322 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9323 (settimeofday): Likewise.
9325 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9327 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9328 a struct th_u2 inside the union, and move tu_block/tu_code into
9329 a new th_u3 union of tu_block/tu_code inside of that. Move
9330 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9331 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9332 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9333 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9334 (th_stuff): Change to th_u1.tu_stuff.
9336 (th_msg): Change to th_u1.th_u2.tu_data.
9338 2012-05-07 David S. Miller <davem@davemloft.net>
9340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9343 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9344 (SETUP_PIC_REG): Use it.
9345 (SETUP_PIC_REG_LEAF): Use it.
9347 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9353 (EXPL_FINITE): Likewise.
9355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9356 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9358 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9360 (EXPL_FINITE): Likewise.
9362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9363 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9365 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9366 test of -max_value argument for long double.
9367 * sysdeps/i386/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9370 2012-05-06 David S. Miller <davem@davemloft.net>
9372 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9373 quad soft-float symbols whose references which are compiler
9375 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9377 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9381 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9383 (EXPL_FINITE): Likewise.
9387 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9388 Adjust comments for base varying.
9389 (__expl_finite): Change alias to EXPL_FINITE.
9390 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9392 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9393 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9395 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9396 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9398 (EXPL_FINITE): Likewise.
9402 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9403 Adjust comments for base varying.
9404 (__expl_finite): Change alias to EXPL_FINITE.
9405 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9410 * math/libm-test.inc (check_float_internal): Correct ulp
9411 calculation for subnormal expected results.
9413 2012-05-06 Andreas Jaeger <aj@suse.de>
9415 * Makeconfig (+math-flags): New, set to -frounding-math.
9416 (+cflags): Add +math-flags so that all of glibc gets compiled with
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9421 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9423 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9429 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9430 (__ieee754_expl): Allow for and saturate large arguments.
9431 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9432 (u_threshold): Likewise.
9433 (__exp): Call __ieee754_exp before checking for overflow and
9435 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9436 (u_threshold): Likewise.
9437 (__expf): Call __ieee754_expf before checking for overflow and
9439 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9440 (u_threshold): Likewise.
9441 (__expl): Call __ieee754_expl before checking for overflow and
9443 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9444 (__ieee754_expl): Allow for and saturate large arguments.
9445 * math/libm-test.inc (exp_test): Add another test. Do not allow
9446 missing overflow exception on overflow.
9447 (expm1_test): Do not allow missing overflow exception on overflow.
9449 * sysdeps/i386/fpu/e_expl.c: Move to ...
9450 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9451 rather than using inline asm.
9452 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9453 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9454 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9456 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9463 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9465 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9466 sysdeps/unix/common/syscalls.list.
9469 (ftruncate): Likewise.
9470 (getrusage): Likewise.
9471 (gettimeofday): Likewise.
9472 (setpgid): Likewise.
9473 (setregid): Likewise.
9474 (setreuid): Likewise.
9475 (sigaction): Likewise.
9476 (truncate): Likewise.
9477 (vhangup): Likewise.
9478 * sysdeps/unix/common/syscalls.list: Remove file.
9479 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9480 * sysdeps/unix/sysv/linux/Implies: Likewise.
9482 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9484 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9486 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9490 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9493 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9496 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9499 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9502 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9505 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9508 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9512 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9516 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9519 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9523 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9527 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/unix/common/bits/dirent.h: Remove file.
9530 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9532 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9533 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9534 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9535 * sysdeps/unix/bsd/isatty.c: Likewise.
9536 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9537 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9538 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9540 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9543 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9544 long double comparison inaccuracies.
9545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9548 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9550 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9553 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9556 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9557 nonzero digits before rounding a hex value.
9558 * stdlib/tst-strtod.c (tests): Add another test.
9560 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9562 * sysdeps/s390/fpu/libm-test-ulps: Update.
9564 2012-05-03 Andreas Jaeger <aj@suse.de>
9566 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9567 does not get optimized out.
9568 (malloc_opt_barrier): New.
9570 2012-05-03 Andreas Jaeger <aj@suse.de>
9571 Roland McGrath <roland@hack.frob.com>
9573 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9574 intermediate file deletion.
9575 (generated): Add .symlist files.
9577 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9580 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9581 Redirect under this condition.
9582 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9583 [__USE_GNU] (__dprintf_chk): Not under this condition.
9584 [__USE_GNU] (__vdprintf_chk): Likewise.
9585 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9586 under this condition.
9587 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9588 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9589 [__USE_XOPEN2K8] (vdprintf): Likewise.
9590 [__USE_GNU] (__dprintf_chk): Not under this condition.
9591 [__USE_GNU] (__vdprintf_chk): Likewise.
9592 [__USE_GNU] (dprintf): Likewise.
9593 [__USE_GNU] (vdprintf): Likewise.
9595 2012-05-03 Roland McGrath <roland@hack.frob.com>
9597 * elf/Makefile (common-generated): Set this instead of generated for
9598 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9599 $(all-built-dso)-derived lists.
9601 2012-05-03 Andreas Jaeger <aj@suse.de>
9603 * sysdeps/i386/fpu/libm-test-ulps: Update.
9607 * scripts/gen-FAQ.pl: Likewise.
9608 * manual/install.texi (Installation): Point to online location of
9610 * Makefile (files-for-dist): Remove FAQ.
9613 2012-05-02 Allan McRae <allan@archlinux.org>
9615 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9616 (LDFLAGS-reldepmod5.so): Likewise.
9617 (LDFLAGS-reldep6mod1.so): Likewise.
9618 (LDFLAGS-reldep6mod4.so): Likewise.
9619 (LDFLAGS-reldep8mod3.so): Likewise.
9620 (LDFLAGS-unload4mod1.so): Likewise.
9621 (LDFLAGS-unload4mod2.so): Likewise.
9622 (LDFLAGS-tst-initorder): Likewise.
9623 (LDFLAGS-tst-initordera2.so): Likewise.
9624 (LDFLAGS-tst-initordera3.so): Likewise.
9625 (LDFLAGS-tst-initordera4.so): Likewise.
9626 (LDFLAGS-tst-initorderb2.so): Likewise.
9627 (LDFLAGS-noload): Likewise.
9628 (LDFLAGS-next): Likewise.
9629 (LDFLAGS-order2mod1.so): Likewise.
9630 (LDFLAGS-order2mod2.so): Likewise.
9631 (LDFLAGS-tst-initorder2): Likewise.
9632 (LDFLAGS-tst-initorder2a.so): Likewise.
9633 (LDFLAGS-tst-initorder2b.so): Likewise.
9634 (LDFLAGS-tst-initorder2c.so): Likewise.
9635 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9637 2012-05-02 David S. Miller <davem@davemloft.net>
9639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9641 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9644 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9646 2012-05-02 Andreas Jaeger <aj@suse.de>
9648 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9649 since we manipulate rounding mode.
9650 (CPPFLAGS-test-idouble.c): Likewise.
9651 (CPPFLAGS-test-ifloat.c): Likewise.
9652 (CFLAGS-test-ldouble.c): Likewise.
9653 (CFLAGS-test-double.c): Likewise.
9654 (CFLAGS-test-float.c): Likewise.
9655 (CFLAGS-test-misc.c): Likewise.
9656 (CFLAGS-test-test-fenv.c): Likewise.
9658 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9663 comparisons to determine direction to adjust input.
9665 2012-05-01 Roland McGrath <roland@hack.frob.com>
9667 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9668 output to the target.
9670 * scripts/localplt.awk: New file.
9671 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9672 (check-localplt-CFLAGS): Variable removed.
9673 ($(all-built-dso:=.jmprel)): New static pattern rule.
9674 (generated): Add those targets.
9675 (localplt-built-dso): New variable.
9676 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9678 * elf/check-localplt.c: File removed.
9680 * scripts/check-execstack.awk: New file.
9681 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9682 (check-execstack-CFLAGS): Variable removed.
9683 ($(objpfx)check-execstack.h): Target removed.
9684 ($(objpfx)execstack-default): New target.
9685 (generated): Add that instead of check-execstack.h.
9686 ($(all-built-dso:=.phdr)): New static pattern rule.
9687 (generated): Add those targets.
9688 * elf/check-execstack.c: File removed.
9690 * scripts/check-textrel.awk: New file.
9691 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9692 (check-textrel-CFLAGS): Variable removed.
9693 (all-built-dso): Use := to define.o
9694 ($(all-built-dso:=.dyn)): New static pattern rule.
9695 (generated): Add those targets.
9696 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9697 * config.make.in (READELF): New substituted variable.
9698 * elf/check-textrel.c: File removed.
9700 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9702 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9704 * conform/data/ctype.h-data [C99-based standards] (isblank):
9706 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9707 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9708 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9709 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9710 Specify type. Require positive value.
9713 [ISO || POSIX] (EILSEQ): Do not expect.
9714 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9715 Specify type. Require positive value.
9716 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9745 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9750 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9751 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9752 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9753 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9754 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9755 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9756 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9757 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9758 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9759 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9760 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9761 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9762 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9763 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9764 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9765 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9766 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9767 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9768 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9769 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9770 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9771 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9777 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9778 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9779 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9780 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9781 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9782 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9783 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9784 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9785 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9786 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9787 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9788 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9789 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9790 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9791 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9792 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9794 (FLT_ROUNDS): Expect as macro, not constant.
9795 (FLT_MANT_DIG): Use macro-int-constant.
9796 (DBL_MANT_DIG): Likewise.
9797 (LDBL_MANT_DIG): Likewise.
9798 (FLT_DIG): Likewise.
9799 (DBL_DIG): Likewise.
9800 (LDBL_DIG): Likewise.
9801 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9802 (DBL_MIN_EXP): Likewise.
9803 (LDBL_MIN_EXP): Likewise.
9804 (FLT_MAX_EXP): Use macro-int-constant.
9805 (DBL_MAX_EXP): Likewise.
9806 (LDBL_MAX_EXP): Likewise.
9807 (FLT_MAX_10_EXP): Likewise.
9808 (DBL_MAX_10_EXP): Likewise.
9809 (LDBL_MAX_10_EXP): Likewise.
9810 (FLT_MAX): Use macro-constant.
9811 (DBL_MAX): Likewise.
9812 (LDBL_MAX): Likewise.
9813 (FLT_EPSILON): Use macro-constant. Give upper bound.
9814 (DBL_EPSILON): Likewise.
9815 (LDBL_EPSILON): Likewise.
9816 (FLT_MIN): Likewise.
9817 (DBL_MIN): Likewise.
9818 (LDBL_MIN): Likewise.
9819 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9820 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9821 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9822 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9823 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9824 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9825 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9826 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9827 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9828 [ISO11] (FLT_TRUE_MIN): Likewise.
9829 [ISO11] (LDBL_TRUE_MIN): Likewise.
9830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9831 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9832 (SCHAR_MIN): Use macro-int-constant. Specify type.
9833 (SCHAR_MAX): Likewise.
9834 (UCHAR_MAX): Likewise.
9835 (CHAR_MIN): Likewise.
9836 (CHAR_MAX): Likewise.
9837 (MB_LEN_MAX): Use macro-int-constant.
9838 (SHRT_MIN): Use macro-int-constant. Specify type.
9839 (SHRT_MAX): Likewise.
9840 (USHRT_MAX): Likewise.
9841 (INT_MAX): Likewise.
9842 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9844 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9846 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9848 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9849 bound negative. Suffix upper bound with "L".
9850 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9852 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9854 [C99-based standards] (LLONG_MAX): Likewise.
9855 [C99-based standards] (ULLONG_MAX): Likewise.
9856 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9858 [ISO11] (max_align_t): Require type.
9859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9861 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9862 from $CFLAGS, without defining away __attribute__ calls.
9863 (checknamespace): Use $CFLAGS_namespace.
9865 * conform/conformtest.pl (@keywords): Only include C99 keywords
9866 for standards based on C99 or C11.
9868 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9870 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9873 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9874 usability of symbols in #if.
9876 * conform/conformtest.pl: If macro or constant types start
9877 "promoted:", expect the symbol to be of the following type
9878 promoted by the integer promotions.
9880 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9881 in one place. Also handle "macro-constant".
9883 * conform/conformtest.pl: Only accept expected macro values with
9884 "==". Parse all "macro" lines in one place.
9885 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9887 * conform/conformtest.pl: Handle braced types on "constant" lines
9888 instead of handling "typed-constant".
9889 * conform/data/signal.h-data: Use "constant" instead of
9892 * conform/conformtest.pl: Handle "optional-" at start of lines in
9893 one place rather than duplicating several cases. Handle each
9894 format of "macro" line with initial "optional-".
9896 * conform/conformtest.pl: Only accept expected constant or
9897 optional-constant values with "==". Parse all "constant" lines in
9898 one place. Parse all "optional-constant" lines in one place.
9899 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9900 * conform/data/fmtmsg.h-data: Likewise.
9901 * conform/data/netinet/in.h-data: Likewise.
9902 * conform/data/tar.h-data: Likewise.
9903 * conform/data/limits.h-data: Use "==" form on "constant" and
9904 "optional-constant" lines.
9906 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9907 Use -std=c99 for XOPEN2K.
9908 (@knownproblems): Remove.
9909 (newtoken): Don't check %isknown.
9911 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9912 Do not expect macro.
9913 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9925 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9926 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9943 [XPG3] (acosh): Likewise.
9944 [XPG3] (asinh): Likewise.
9945 [XPG3] (atanh): Likewise.
9946 [XPG3] (cbrt): Likewise.
9947 [XPG3] (expm1): Likewise.
9948 [XPG3] (ilogb): Likewise.
9949 [XPG3] (log1p): Likewise.
9950 [XPG3] (logb): Likewise.
9951 [XPG3] (nextafter): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9954 [XPG3] (remainder): Likewise.
9955 [XPG3] (rint): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9963 [UNIX98 || XOPEN2K] (scalb): Expect.
9964 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9965 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9990 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9991 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9992 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9993 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9994 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9995 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9996 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9997 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9998 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9999 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10000 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10001 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10003 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10004 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10005 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10006 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10007 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10008 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10009 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10010 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10011 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10012 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10013 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10014 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10015 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10016 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10017 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10018 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10019 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10020 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10021 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10022 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10023 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10024 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10025 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10026 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10027 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10028 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10029 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10030 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10031 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10032 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10033 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10034 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10035 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10036 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10037 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10038 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10039 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10040 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10041 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10042 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10043 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10044 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10045 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10046 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10047 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10048 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10049 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10050 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10051 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10052 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10053 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10054 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10055 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10056 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10057 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10058 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10059 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10060 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10061 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10062 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10063 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10064 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10065 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10066 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10067 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10068 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10069 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10070 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10071 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10072 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10073 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10074 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10075 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10076 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10077 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10078 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10079 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10080 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10081 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10082 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10083 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10084 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10085 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10086 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10087 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10088 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10089 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10090 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10091 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10092 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10093 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10094 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10095 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10096 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10097 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10098 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10099 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10100 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10102 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10103 _XOPEN_SOURCE_EXTENDED for XPG4.
10105 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10107 * Makeconfig (localtime): Remove variable.
10108 (inst_localtime-file): Likewise.
10110 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10131 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10135 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10136 comparisons to determine direction to adjust input.
10137 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10138 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10148 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10150 * math/libm-test.inc (nexttoward_test): Add more tests.
10152 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10155 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10156 in version GLIBC_2.1, not GLIBC_2.0.
10157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10160 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10163 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10166 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10167 * math/libm-test.inc (acos_test): Add more tests.
10168 (asin_test): Likewise.
10169 * sysdeps/i386/fpu/libm-test-ulps: Update.
10170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10175 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10176 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10177 * math/libm-test.inc (acos_test_tonearest): New function.
10178 (acos_test_towardzero): Likewise.
10179 (acos_test_downward): Likewise.
10180 (acos_test_upward): Likewise.
10181 (asin_test_tonearest): Likewise.
10182 (asin_test_towardzero): Likewise.
10183 (asin_test_downward): Likewise.
10184 (asin_test_upward): Likewise.
10185 (main): Call the new functions.
10186 * sysdeps/i386/fpu/libm-test-ulps: Update.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10191 * math/e_exp10.c: Include <float.h>.
10192 (__ieee754_exp10): Handle underflow here rather than multiplying
10193 large negative argument by M_LN10.
10194 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10196 * math/e_exp10l.c: Include <float.h>.
10197 (__ieee754_exp10l): Handle underflow here rather than multiplying
10198 large negative argument by M_LN10l.
10199 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10200 spurious overflow exception on underflow.
10202 2012-04-29 Marek Polacek <polacek@redhat.com>
10204 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10205 (__fortify_function): New macro.
10206 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10207 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10208 __extern_always_inline.
10209 * libio/bits/stdio2.h: Likewise.
10210 * libio/bits/stdio.h: Likewise.
10211 * string/string.h: Likewise.
10212 * string/bits/string3.h: Likewise.
10213 * include/stdio.h: Likewise.
10214 * stdlib/bits/stdlib.h: Likewise.
10215 * stdlib/stdlib.h: Likewise.
10216 * rt/bits/mqueue2.h: Likewise.
10217 * rt/mqueue.h: Likewise.
10218 * posix/bits/unistd.h: Likewise.
10219 * posix/unistd.h: Likewise.
10220 * io/bits/poll2.h: Likewise.
10221 * io/bits/fcntl2.h: Likewise.
10222 * io/fcntl.h: Likewise.
10223 * io/sys/poll.h: Likewise.
10224 * misc/bits/syslog.h: Likewise.
10225 * misc/bits/syslog-ldbl.h: Likewise.
10226 * misc/sys/syslog.h: Likewise.
10227 * socket/bits/socket2.h: Likewise.
10228 * socket/sys/socket.h: Likewise.
10229 * debug/tst-chk1.c: Likewise.
10230 * wcsmbs/bits/wchar2.h: Likewise.
10231 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10232 * wcsmbs/wchar.h: Likewise.
10234 2012-04-29 Andreas Jaeger <aj@suse.de>
10236 * Makerules (tests): Remove enable-check-abi protection.
10237 (check-abi-warn): Remove.
10238 (check-abi-%): Remove check-abi-warn usage.
10240 * configure.in: Remove check-abi configure option.
10241 * configure: Regenerated.
10242 * config.make.in (enable-check-abi): Remove.
10244 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10247 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10248 double functions to double *_finite functions.
10251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10252 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10254 * stdio-common/Makefile (tests): Add tst-sprintf3.
10255 * stdio-common/tst-sprintf3.c: New file.
10257 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10258 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10260 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10262 * conform/conformtest.pl: Remove duplicate typed-constant
10265 2012-04-28 David S. Miller <davem@davemloft.net>
10267 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10268 (check-abi-%): Remove AWK script prerequisite and explicit
10270 (check-abi): Rewrite to just diff the symlist with the abilist.
10271 (config-tls, config-abi-config): Delete, no longer used.
10272 (update-abi-%): Remove AWK script and explicit abilist directory.
10273 (update-abi): Rewrite to simply compare and conditionally copy the
10274 symlist and the sysdep abilist file. Remove update-abi-config
10276 * abilist/ld.abilist: Remove.
10277 * abilist/libBrokenLocale.abilist: Remove.
10278 * abilist/libanl.abilist: Remove.
10279 * abilist/libcrypt.abilist: Remove.
10280 * abilist/libdl.abilist: Remove.
10281 * abilist/librt.abilist: Remove.
10282 * abilist/libthread_db.abilist: Remove.
10283 * abilist/libutil.abilist: Remove.
10284 * scripts/extract-abilist.awk: Remove.
10285 * scripts/merge-abilist.awk: Remove.
10286 * sysdeps/generic/libcidn.abilist: New file.
10287 * sysdeps/generic/libnss_compat.abilist: New file.
10288 * sysdeps/generic/libnss_db.abilist: New file.
10289 * sysdeps/generic/libnss_dns.abilist: New file.
10290 * sysdeps/generic/libnss_files.abilist: New file.
10291 * sysdeps/generic/libnss_hesiod.abilist: New file.
10292 * sysdeps/generic/libnss_nis.abilist: New file.
10293 * sysdeps/generic/libnss_nisplus.abilist: New file.
10294 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10295 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10296 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10299 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10300 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10301 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10302 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10303 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10304 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10305 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10306 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10308 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10309 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10310 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10311 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10313 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10314 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10315 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10316 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10317 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10318 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10320 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10321 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10322 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10324 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10427 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10428 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10429 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10432 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10433 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10435 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10436 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10437 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10438 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10439 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10440 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10492 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10494 * conform/conformtest.pl: Fix typo in handling typed-constant from
10497 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10499 * README: Cut down references to pre-2.6 Linux kernels and
10500 Linuxthreads. Update lists of configurations in libc and ports
10501 and sort alphabetically. Say "or newer" with Linux kernel version
10504 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10506 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10509 * math/libm-test.inc (logb_test_downward): New test to expose
10510 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10513 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10516 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10518 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10519 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10521 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10523 * sysdeps/unix/i386/brk.S: Remove file.
10524 * sysdeps/unix/i386/dl-brk.S: Likewise.
10525 * sysdeps/unix/i386/pipe.S: Likewise.
10526 * sysdeps/unix/i386/sigreturn.S: Likewise.
10527 * sysdeps/unix/i386/syscall.S: Likewise.
10528 * sysdeps/unix/i386/vfork.S: Likewise.
10529 * sysdeps/unix/i386/wait.S: Likewise.
10531 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10532 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10534 * configure.in (arm*-none*): Do not allow without
10535 --enable-hacker-mode.
10536 (netbsd*): Remove case setting base_os.
10537 (386bsd*): Likewise.
10538 (freebsd*): Likewise.
10541 (sunos*): Likewise.
10542 (ultrix*): Likewise.
10543 (newsos*): Likewise.
10544 (dynix*): Likewise.
10550 (minix*): Likewise.
10551 (irix4*): Likewise.
10552 (irix6*): Likewise.
10553 (solaris[2-9]*): Likewise.
10555 * configure: Regenerated.
10557 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10561 overflow or cancellation in calculating denominator.
10562 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10564 down expression to avoid unexpected rounding in newer GCCs.
10565 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10567 2012-04-26 David S. Miller <davem@davemloft.net>
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10570 long-double compat symbols.
10571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10585 2012-04-25 David S. Miller <davem@davemloft.net>
10587 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10588 HWCAP_* values only after the memory barriers have been defined.
10589 (atomic_full_barrier): Define.
10590 (atomic_read_barrier): Define.
10591 (atomic_write_barrier): Define.
10593 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10595 * shlib-versions: Add libgcc_s version information.
10596 * sysdeps/generic/libgcc_s.h: Remove.
10597 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10599 * sysdeps/gnu/unwind-resume.c: Likewise.
10600 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10602 2012-04-25 David S. Miller <davem@davemloft.net>
10604 * sysdeps/unix/sparc/brk.S: Delete.
10605 * sysdeps/unix/sparc/dl-brk.S: Delete.
10606 * sysdeps/unix/sparc/pipe.S: Delete.
10607 * sysdeps/unix/sparc/sysdep.S: Delete.
10608 * sysdeps/unix/sparc/sysdep.h: Delete.
10609 * sysdeps/unix/sparc/vfork.S: Delete.
10610 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10611 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10613 ret_ERRVAL, r0, r1, MOVE): Define.
10614 (JUMPTARGET): Remove.
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10616 sysdeps/unix/sparc/sysdep.h
10617 (ENTRY, END): Remove.
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10620 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10622 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10623 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10626 * timezone/README: Update upstream location and email address for
10628 * timezone/zdump.c: Update from tzcode 2012b.
10629 * timezone/zic.c: Likewise.
10631 * configure.in (libc_cv_as_needed): Remove test.
10632 * configure: Regenerated.
10633 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10634 conditional definition.
10635 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10636 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10637 * config.make.in (have-as-needed): Remove variable.
10639 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10640 Paul Pluzhnikov <ppluzhnikov@google.com>
10642 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10645 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10647 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10648 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10649 * sysdeps/sh/strlen.S: Likewise.
10651 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10653 * sysdeps/unix/fork.S: Remove file.
10654 * sysdeps/unix/i386/fork.S: Likewise.
10655 * sysdeps/unix/sparc/fork.S: Likewise.
10657 * sysdeps/unix/system.c: Remove file.
10658 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10660 * sysdeps/unix/getegid.S: Remove file.
10661 * sysdeps/unix/geteuid.S: Likewise.
10663 2012-04-24 Roland McGrath <roland@hack.frob.com>
10665 * scripts/check-localplt.awk: New file.
10666 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10668 * scripts/data/localplt-generic.data: Add a comment.
10670 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10671 NODE when __dir_mkfile failed.
10672 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10673 Reported by Ludovic Courtès <ludo@gnu.org>.
10675 2012-04-24 Andreas Jaeger <aj@suse.de>
10677 * Makerules (common-clean): Also remove gen-as-const-headers
10680 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10682 * Makerules (native-compile): Do not change working directory for
10683 build. Use $(OUTPUT_OPTION) in command.
10684 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10686 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10689 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10690 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10691 * math/libm-test.inc (floor_test): Add more tests.
10692 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10694 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10696 * sysdeps/unix/getdents.c: Remove file.
10697 * sysdeps/unix/sysv/getdents.c: Likewise.
10698 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10700 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10701 sysdeps/unix/mman/syscalls.list.
10703 (mprotect): Likewise.
10705 (munmap): Likewise.
10706 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10707 * sysdeps/unix/mman/syscalls.list: Remove.
10708 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10710 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10711 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10712 * configure: Regenerated.
10713 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10714 $(libgcc_s_suffix).
10715 * config.make.in (libgcc_s_suffix): Remove variable.
10717 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/unix/sysv/gethostname.c: Move to ...
10720 * sysdeps/posix/gethostname.c: ... here.
10722 * sysdeps/unix/execve.S: Remove file.
10724 * sysdeps/unix/_exit.S: Remove file.
10726 2012-04-23 Andreas Jaeger <aj@suse.de>
10729 * manual/Makefile: Remove make dist support, there's no
10730 need for a stand-alone documentation tar ball.
10731 (TEXI2DVI): Define always, it's not in Makeconfig.
10734 (edition): Removed.
10735 (glibc-doc-$(edition).tar): Removed
10739 (ETAGS): Remove, it's in Makeconfig.
10740 (move-if-change): Remove, it's in Makeconfig.
10742 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10745 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10746 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10747 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10748 (strtod_l, strtof_l, strtold_l): Remove __wur.
10749 It is not necessarily an error to ignore strtol's return value.
10750 One can reliably look at the stored endptr to decide whether
10751 the number had valid syntax.
10753 2012-04-21 Andreas Jaeger <aj@suse.de>
10756 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10758 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10760 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10761 * sysdeps/unix/sysv/Versions: Remove file.
10763 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10768 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10772 version from __vm86.
10774 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10776 * sysdeps/unix/common/lxstat.c: Remove file.
10777 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10779 * sysdeps/unix/sysv/Makefile: Remove file.
10781 * sysdeps/unix/sysv/direct.h: Remove file.
10783 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10784 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10785 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10786 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10787 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10788 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10789 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10791 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10793 * sysdeps/unix/xmknod.c: Remove file.
10794 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10796 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10798 * sysdeps/unix/sysv/i386/time.S: Remove file.
10800 * sysdeps/unix/fxstat.c: Remove file.
10801 * sysdeps/unix/xstat.c: Likewise.
10802 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10804 * sysdeps/unix/sysv/sigaction.c: Remove file.
10806 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10807 (sysdep_headers): Remove variable.
10808 [termio.h not in sysdep_headers] (generated): Likewise.
10809 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10810 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10811 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10812 * sysdeps/unix/sysv/tcflow.c: Likewise.
10813 * sysdeps/unix/sysv/tcflush.c: Likewise.
10814 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10815 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10816 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10817 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10818 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10820 * sysdeps/unix/siglist.c: Remove file.
10822 * sysdeps/unix/getppid.S: Remove file.
10824 * sysdeps/unix/mkdir.c: Remove file.
10825 * sysdeps/unix/rmdir.c: Likewise.
10827 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10829 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10831 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10832 errlist-compat value.
10834 2012-04-18 David S. Miller <davem@davemloft.net>
10836 * sysdeps/generic/memcopy.h (reg_char): Delete.
10837 * debug/strcat_chk.c: Use char, not reg_char.
10838 * debug/strcpy_chk.c: Likewise.
10839 * debug/strncat_chk.c: Likewise.
10840 * debug/strncpy_chk.c: Likewise.
10841 * string/memchr.c: Likewise.
10842 * string/memrchr.c: Likewise.
10843 * string/rawmemchr.c: Likewise.
10844 * string/strcat.c: Likewise.
10845 * string/strchr.c: Likewise.
10846 * string/strchrnul.c: Likewise.
10847 * string/strcmp.c: Likewise.
10848 * string/strcpy.c: Likewise.
10849 * string/strncat.c: Likewise.
10850 * string/strncmp.c: Likewise.
10851 * string/strncpy.c: Likewise.
10853 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10855 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10856 __builtin_memcopy is called when src and dest ranges are known to not
10859 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10861 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10862 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10863 fwd_align_merge macro call.
10864 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10865 bwd_align_merge macro call.
10866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10868 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10870 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10871 bwd_align_merge macros.
10872 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10873 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10874 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10876 2012-04-18 David S. Miller <davem@davemloft.net>
10878 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10880 2012-04-18 Andreas Jaeger <aj@suse.de>
10883 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10884 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10885 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10887 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10888 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10891 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10892 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10893 Adjust for changed ldbl-128 files.
10895 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10896 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10897 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10899 2012-04-17 David S. Miller <davem@davemloft.net>
10901 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10903 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10905 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10906 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10907 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10908 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10910 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10912 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10915 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10916 * math/libm-test.inc: Add ilogb errno and exception tests.
10917 * math/w_ilogb.c: New file: ilogb wrapper.
10918 * math/w_ilogbf.c: New file: ilogbf wrapper.
10919 * math/w_ilogbl.c: New file: ilogbl wrapper.
10920 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10921 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10922 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10923 exception being thrown with 0.0 as argument.
10924 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10925 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10926 exception being thrown with 0.0 as argument.
10927 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10928 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10929 exception being thrown with 0.0 as argument.
10930 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10931 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10932 exception being thrown with 0.0 as argument.
10933 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10934 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10935 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10936 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10937 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10938 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10939 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10940 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10941 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10943 2012-04-17 Petr Baudis <pasky@ucw.cz>
10945 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10948 2012-04-16 Marek Polacek <polacek@redhat.com>
10950 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10952 2012-04-16 Marek Polacek <polacek@redhat.com>
10954 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10955 operands of fdivp instruction.
10957 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10959 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10960 * elf/tst-auditmod3b.c: Likewise.
10961 * elf/tst-auditmod4b.c: Likewise.
10962 * elf/tst-auditmod5b.c: Likewise.
10963 * elf/tst-auditmod6b.c: Likewise.
10964 * elf/tst-auditmod6c.c: Likewise.
10965 * elf/tst-auditmod7b.c: Likewise.
10966 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10967 * sysdeps/x86_64/preconfigure.in: Likewise.
10968 * sysdeps/x86_64/preconfigure: Regenerated.
10970 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10972 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10975 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10978 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10980 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10983 * locale/iso-639.def: Fix gl language name. Spotted by
10986 2012-04-12 Roland McGrath <roland@hack.frob.com>
10989 * libio/libio.h (__io_write_fn): Update comment.
10991 2012-04-12 Petr Baudis <pasky@ucw.cz>
10994 * stdio.texi (Hook Functions): The user provided writer function
10995 is not allowed to return -1.
10997 2012-04-11 David S. Miller <davem@davemloft.net>
10999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11001 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11003 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11004 Add a leading slash to rtkaio.
11006 2012-04-11 Jim Meyering <meyering@redhat.com>
11009 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11010 It is not necessarily an error to ignore fwrite's return
11011 value. One can reliably use ferror to test for errors after
11014 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11016 * bits/types.h (__snseconds_t): New type.
11017 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11019 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11021 (__SNSECONDS_T_TYPE): Likewise.
11022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11023 (__SNSECONDS_T_TYPE): Likewise.
11024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11025 (__SNSECONDS_T_TYPE): Likewise.
11027 2012-04-10 Andreas Jaeger <aj@suse.de>
11030 * manual/time.texi (Processor Time): Return type of times is
11031 elapsed real time since an arbitrary point in the past.
11032 (CPU Time): Move CLK_TCK from here...
11033 (Processor Time): ...to here. Correct description.
11034 * manual/conf.texi (Constants for Sysconf): Correct description of
11037 2012-04-10 David S. Miller <davem@davemloft.net>
11040 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11041 where the is a gap between DT_REL(A) and DT_JMPREL.
11043 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11045 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11046 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11047 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11049 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11051 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11052 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11053 (dl_main): Handle --inhibit-cache.
11054 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11056 * elf/dl-load.c (_dl_map_object): Use it.
11057 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11059 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11062 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11063 (__ieee754_powl): Saturate large exponents rather than testing for
11064 overflow of y*log2(x).
11065 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11066 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11070 * math/s_ctan.c: Include <float.h>.
11071 (__ctan): Avoid internal overflow or cancellation in calculating
11073 * math/s_ctanf.c: Likewise.
11074 * math/s_ctanl.c: Likewise.
11075 * math/s_ctanh.c: Likewise.
11076 * math/s_ctanhf.c: Likewise.
11077 * math/s_ctanhl.c: Likewise.
11078 * math/libm-test.inc (ctan_test): Add more tests.
11079 (ctanh_test): Likewise.
11080 * sysdeps/i386/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083 2012-04-09 Andreas Jaeger <aj@suse.de>
11086 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11087 is an optional BSD extension.
11090 * manual/stdio.texi (Opening Streams): Document additional fopen
11093 2012-04-09 Roland McGrath <roland@hack.frob.com>
11095 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11096 %eax without telling the compiler.
11098 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11101 * manual/install.texi: Use sourceware.org.
11103 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11106 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11107 (__ieee754_pow): Generate overflow and underflow using huge*huge
11108 and tiny*tiny rather than just returning constant infinity or zero
11109 for large exponents.
11110 * math/libm-test.inc (pow_test): Require overflow exceptions for
11111 applicable cases of large exponents.
11114 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11115 (__ieee754_pow): Use iterative multiplication algorithm only for
11116 integer exponents with absolute value below 1024. Check for odd
11117 integer exponents when using algorithm for real exponents.
11118 * math/libm-test.inc (pow_test): Add more tests.
11119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11121 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11124 * math/libm-test.inc (exp_test): Do not allow overflow exception
11127 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11130 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11131 instead of __kernel_standard_f.
11133 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11135 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11136 * sysdeps/x86_64/memset_chk.S: Likewise.
11138 2012-04-08 Andreas Jaeger <aj@suse.de>
11141 * manual/startup.texi (Environment Access): Describe return value
11142 for putenv and setenv.
11145 * manual/filesys.texi (Directory Entries): Add description for
11149 * manual/filesys.texi (Directory Entries): Clarify that it's file
11150 system not operating system in the description of DT_UNKNOWN.
11153 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11155 2012-04-08 Stephen Compall <s11@member.fsf.org>
11158 * manual/llio.texi (Opening and Closing Files): Add cross
11159 reference to explain mode argument.
11161 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11163 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11164 * sysdeps/x86_64/memset_chk.S: Likewise.
11166 2012-04-07 David S. Miller <davem@davemloft.net>
11168 * elf/elf.h (R_SPARC_WDISP10): Define.
11169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11172 R_SPARC_SIZE64 and R_SPARC_H34.
11174 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11177 conditions and remove no longer applicable assertion.
11179 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11181 * bits/byteswap.h: Include <features.h>.
11182 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11183 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11185 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11187 * bits/byteswap.h (__bswap_16): Removed.
11188 Include <bits/byteswap-16.h> to get __bswap_16.
11189 * sysdeps/i386/bits/byteswap.h: Likewise.
11190 * sysdeps/s390/bits/byteswap.h: Likewise.
11191 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11192 * bits/byteswap-16.h: New file.
11193 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11194 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11195 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11196 * string/Makefile (headers): Add bits/byteswap-16.h.
11198 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11201 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11203 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11204 * nss/tst-nss-static.c: New.
11206 2012-04-06 Robert Millan <rmh@gnu.org>
11209 * manual/llio.texi (File Position Primitive): lseek
11210 refers to WHENCE when it really means OFFSET.
11212 2012-04-06 Andreas Jaeger <aj@suse.de>
11214 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11215 strncmp declarations.
11217 * abilist/libc.abilist: Add __poll and __ppoll.
11219 2012-04-05 David S. Miller <davem@davemloft.net>
11221 * scripts/check-local-headers.sh: Accept a host triplet in the
11222 path matched by the exclude regexp.
11224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11226 * sysdeps/powerpc/powerpc32/dl-machine.h
11227 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11228 * sysdeps/s390/s390-32/dl-machine.h
11229 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11230 * sysdeps/sparc/sparc32/dl-machine.h
11231 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11232 * sysdeps/sparc/sparc64/dl-machine.h
11233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11235 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11237 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11238 undefined symbol errors.
11240 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11243 2012-04-05 Michael Matz <matz@suse.de>
11246 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11248 2012-04-05 Andreas Jaeger <aj@suse.de>
11251 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11254 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11256 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11257 which ROUND is no valid rounding mode.
11259 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11261 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11263 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11267 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11268 an exception using FPU order intentionally.
11270 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11272 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11273 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11274 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11275 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11277 2012-04-05 Simon Josefsson <simon@josefsson.org>
11280 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11281 EINVAL when BUFLEN is too smal.
11283 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11286 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11287 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11289 2012-04-03 Andreas Jaeger <aj@suse.de>
11292 * manual/setjmp.texi (System V contexts): Fix sentence.
11295 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11296 New macro for this case.
11297 [!__GNUC__] (__bswap_64): New inline function for this case.
11298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11299 * bits/byteswap.h: Likewise.
11300 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11301 ull, guard with __GLIBC_HAVE_LONG_LONG.
11303 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11304 __GLIBC_HAVE_LONG_LONG.
11306 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11307 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11309 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11312 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11313 inptr and inend, rather than using last_ch.
11315 2012-04-02 David S. Miller <davem@davemloft.net>
11317 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11318 * stdio-common/printf-parse.h (read_int): Change return type to
11319 'int', return -1 on INT_MAX overflow.
11320 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11321 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11322 overflows INT_MAX. Check for overflow of in-format-string precision
11323 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11324 SIZE_MAX not INT_MAX for integer overflow test.
11325 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11326 skip the construct in the format string but do not record anything.
11327 * stdio-common/bug22.c: Adjust to test both width/prevision
11328 INT_MAX overflow as well as total length INT_MAX overflow. Check
11329 explicitly for proper errno values.
11331 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11333 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11335 * string/test-strcmp.c [! WIDE]: Likewise.
11336 * time/tst-mktime2.c: Likewise for INT_MAX.
11337 * string/test-string.h: #include <sys/param.h> for MIN.
11339 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11340 * sysdeps/i386/init-first.c (init): Likewise.
11341 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11342 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11343 * sysdeps/sh/init-first.c (init): Likewise.
11345 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11347 * po/ru.po: Update from translation team.
11348 * po/vi.po: Likewise.
11350 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11352 * resolv/nss_dns/dns-host.c: Merge copyright years.
11354 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11357 Optimize memcpy with prefetch if
11358 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11359 src, dst pointers have unequal 16 byte alignments.
11361 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11364 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11365 from a CNAME entry and return the minimum ttl for the query.
11366 (gaih_getanswer_slice): Likewise.
11368 2012-03-30 Jeff Law <law@redhat.com>
11370 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11372 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11373 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11375 * resolv/nss_dns/dns-host.c: Update copyright year.
11377 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11379 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11380 requests to save a system call. Fix check that all bytes are sent.
11382 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11383 comments for sendmmsg.
11385 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11388 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11389 with only 1 character between 0x0041 and 0x01b0.
11390 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11391 * wcsmbs/tst-mbsnrtowcs.c: New file.
11393 2012-03-29 David S. Miller <davem@davemloft.net>
11395 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11396 small copies by hand.
11398 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11401 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11402 _nss_compat_initgroups_dyn): Fall back to malloc/free
11403 for large group memberships.
11405 2012-03-28 David S. Miller <davem@davemloft.net>
11407 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11408 that branches into memcpy.
11409 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11412 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11415 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11416 implementation too.
11417 * sysdeps/sparc/mempcpy.S: New file.
11419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11420 the IFUNC routine in the libc case.
11421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11423 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11424 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11425 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11426 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11427 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11428 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11429 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11430 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11432 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11433 loop to 256 bytes instead of 64 bytes and fix test signedness.
11435 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11436 * sysdeps/sparc/sparc32/Makefile: rather than here...
11437 * sysdeps/sparc/sparc64/Makefile: and here.
11439 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11441 * malloc/mallocbug.c: Avoid warnings about unused variables.
11443 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11446 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11447 in the right place. Discard and retry query if response is
11448 larger than input buffer size.
11450 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11455 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11456 x for large integer exponent.
11457 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11458 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11459 sign of result as needed afterwards.
11460 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11462 result for underflowing pow the same as for overflow.
11463 (__kernel_standard_l): Handle powl overflow and underflow here
11464 rather than calling __kernel_standard.
11465 * math/libm-test.inc (pow_test): Add more tests.
11480 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11481 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11482 (__kernel_standard_l): New function.
11483 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11485 * math/w_acosl.c (__acosl): Likewise.
11486 * math/w_asinl.c (__asinl): Likewise.
11487 * math/w_atan2l.c (__atan2l): Likewise.
11488 * math/w_atanhl.c (__atanhl): Likewise.
11489 * math/w_coshl.c (__coshl): Likewise.
11490 * math/w_exp10l.c (__exp10l): Likewise.
11491 * math/w_exp2l.c (__exp2l): Likewise.
11492 * math/w_fmodl.c (__fmodl): Likewise.
11493 * math/w_hypotl.c (__hypotl): Likewise.
11494 * math/w_j0l.c (__j0l, __y0l): Likewise.
11495 * math/w_j1l.c (__j1l, __y1l): Likewise.
11496 * math/w_jnl.c (__jnl, __ynl): Likewise.
11497 * math/w_lgammal.c (__lgammal): Likewise.
11498 * math/w_log10l.c (__log10l): Likewise.
11499 * math/w_log2l.c (__log2l): Likewise.
11500 * math/w_logl.c (__logl): Likewise.
11501 * math/w_powl.c (__powl): Likewise.
11502 * math/w_remainderl.c (__remainderl): Likewise.
11503 * math/w_scalbl.c (sysv_scalbl): Likewise.
11504 * math/w_sinhl.c (__sinhl): Likewise.
11505 * math/w_sqrtl.c (__sqrtl): Likewise.
11506 * math/w_tgammal.c (__tgammal): Likewise.
11507 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11508 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11509 * math/libm-test.inc (acos_test): Add more tests.
11510 (acosh_test): Likewise.
11511 (asin_test): Likewise.
11512 (atanh_test): Likewise.
11513 (exp_test): Likewise.
11514 (exp10_test): Likewise.
11515 (exp2_test): Likewise.
11516 (expm1_test): Likewise.
11517 (lgamma_test): Likewise.
11518 (log_test): Likewise.
11519 (log10_test): Likewise.
11520 (log1p_test): Likewise.
11521 (log2_test): Likewise.
11522 (pow_test): Do not allow some spurious overflow exceptions.
11523 (sqrt_test): Add more tests.
11524 (tgamma_test): Likewise.
11525 (y0_test): Likewise.
11526 (y1_test): Likewise.
11527 (yn_test): Likewise.
11529 2012-03-27 Anton Blanchard <anton@samba.org>
11531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11533 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11534 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11535 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11537 2012-03-27 David S. Miller <davem@davemloft.net>
11539 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11541 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11542 have-as-vis3 check.
11544 2012-03-27 Andreas Jaeger <aj@suse.de>
11546 * sysdeps/x86_64/elf/configure.in: Moved to ...
11547 * sysdeps/x86_64/configure.in: ... here.
11548 * sysdeps/x86_64/elf/start.S: Moved to ...
11549 * sysdeps/x86_64/start.S: ... here.
11550 * sysdeps/x86_64/elf/configure: Delete.
11552 * sysdeps/x86_64/configure.in: Merge contents from
11553 sysdeps/i386/configure.in (without i686 check).
11555 * sysdeps/i386/elf/Versions: Merge into ...
11556 * sysdeps/i386/Versions: ... this.
11557 * sysdeps/i386/elf/Versions: Delete file.
11558 * sysdeps/i386/elf/start.S: Moved to ...
11559 * sysdeps/i386/start.S: ...here.
11560 * sysdeps/i386/elf/configure.in: Merge into...
11561 * sysdeps/i386/configure.in: ...here.
11562 * sysdeps/i386/elf/configure.in: Delete file.
11563 * sysdeps/i386/elf/configure: Delete file.
11565 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11566 * debug/backtracesyms.c: ... here.
11567 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11568 * debug/backtracesymsfd.c: ... here.
11569 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11570 * sysdeps/generic/ifunc-sel.h: ... here.
11572 * sysdeps/unix/i386/start.c: Delete file.
11573 * sysdeps/unix/sparc/start.c: Delete file.
11574 * sysdeps/unix/start.c: Delete file.
11576 * sysdeps/sh/elf/configure.in: Moved to ...
11577 * sysdeps/sh/configure.in: ... here.
11578 * sysdeps/sh/elf/start.S: Moved to ...
11579 * sysdeps/sh/start.S: ... here.
11580 * sysdeps/sh/elf/configure: Delete file.
11582 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11583 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11584 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11585 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11586 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11587 * sysdeps/powerpc/powerpc64/start.S: here.
11588 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11589 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11590 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11591 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11592 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11594 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11595 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11596 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11597 * sysdeps/powerpc/powerpc32/start.S: ... here.
11598 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11599 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11600 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11602 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11603 * sysdeps/powerpc/ifunc-sel.h: ... here.
11604 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11605 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11607 * sysdeps/sparc/elf/configure.in: Moved to ...
11608 * sysdeps/sparc/configure.in: ... here.
11609 * sysdeps/sparc/elf/configure: Delete file.
11610 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11611 * sysdeps/sparc/sparc32/start.S: ... here.
11612 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11613 * sysdeps/sparc/sparc64/start.S: ... here.
11614 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11615 * sysdeps/sparc/sparc32/Makefile: ... this.
11616 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11617 * sysdeps/sparc/sparc64/Makefile: ... this.
11619 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11620 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11621 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11622 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11623 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11624 * sysdeps/s390/s390-32/setjmp.S: ... here.
11625 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11626 * sysdeps/s390/s390-32/configure.in: ... here.
11627 * sysdeps/s390/s390-32/elf/configure: Delete file.
11628 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11629 * sysdeps/s390/s390-32/start.S: ... here.
11631 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11632 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11633 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11634 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11635 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11636 * sysdeps/s390/s390-64/setjmp.S: ... here.
11637 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11638 * sysdeps/s390/s390-64/configure.in: ... here
11639 * sysdeps/s390/s390-64/elf/configure: Delete file.
11640 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11641 * sysdeps/s390/s390-64/start.S: ... here.
11642 * sysdeps/s390/s390-64/elf/configure: Delete.
11644 * configure.in: Remove support for elf directories in sysdeps.
11646 * configure: Regenerated.
11647 * sysdeps/i386/configure: Regenerated.
11648 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11649 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11650 * sysdeps/s390/s390-32/configure: Regenerated.
11651 * sysdeps/s390/s390-64/configure: Regenerated.
11652 * sysdeps/sh/configure: Regenerated.
11653 * sysdeps/sparc/configure: Regenerated.
11654 * sysdeps/x86_64/configure: Regenerated.
11656 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11661 denormal result into account.
11663 2012-03-25 Roland McGrath <roland@hack.frob.com>
11665 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11666 Reported by Allan McRae <allan@archlinux.org>.
11668 2012-03-23 Jeff Law <law@redhat.com>
11670 * nss/getnssent.c (__nss_getent): Fix typo.
11672 2012-03-23 David S. Miller <davem@davemloft.net>
11674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11676 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11678 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11679 to pad to uint64_t for each field.
11680 (dl_tls_index): Replace unsigned long with uint64_t.
11682 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11683 Paul Pluzhnikov <ppluzhnikov@google.com>
11686 * grp/Makefile (otherlibs): Don't set it.
11687 * inet/Makefile (otherlibs): Likewise.
11688 * login/Makefile (otherlibs): Likewise.
11689 * nscd/Makefile (otherlibs): Likewise.
11690 * posix/Makefile (otherlibs): Likewise.
11691 * pwd/Makefile (otherlibs): Likewise.
11692 * rt/Makefile (otherlibs): Likewise.
11693 * sunrpc/Makefile (otherlibs): Likewise.
11694 * nss/Makefile (otherlibs): Likewise.
11695 Add libnss_files to routines and static-only-routines.
11696 ($(objpfx)getent): Remove rule.
11697 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11698 static-only-routines.
11700 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11703 * math/s_cexp.c: Include <float.h>.
11704 (__cexp): Handle exp result overflowing not necessarily
11705 overflowing both real and imaginary parts of result.
11706 * math/s_cexpf.c: Likewise.
11707 * math/s_cexpl.c: Likewise.
11708 * math/libm-test.inc (cexp_test): Add more tests.
11709 * sysdeps/i386/fpu/libm-test-ulps: Update.
11710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11714 * include/link.h (ELFW): New macro.
11715 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11716 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11718 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11720 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11723 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11727 (struct La_x32_retval): Likewise.
11729 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/x86_64/preconfigure.in: New file.
11732 * sysdeps/x86_64/preconfigure: New generated file.
11734 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11737 * math/e_exp2l.c: Include <float.h>.
11738 (__ieee754_exp2l): Handle overflow and underflow cases
11739 separately. Only pass fractional part of argument to
11741 * math/libm-test.inc (exp2_test): Add more tests.
11743 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11744 negating x to take absolute value.
11745 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11747 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11750 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11751 computing low part if x was negated.
11752 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11754 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11756 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11757 la_x32_gnu_pltexit.
11758 (pltexit): Cast int_retval to ptrdiff_t.
11759 * elf/tst-auditmod3b.c: Likewise.
11760 * elf/tst-auditmod4b.c: Likewise.
11761 * elf/tst-auditmod5b.c: Likewise.
11762 * elf/tst-auditmod6b.c: Likewise.
11763 * elf/tst-auditmod6c.c: Likewise.
11764 * elf/tst-auditmod7b.c: Likewise.
11766 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11767 and x32_gnu_pltexit.
11769 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11770 __ELF_NATIVE_CLASS.
11771 (La_x32_regs): New macro.
11772 (La_x32_retval): Likewise.
11773 (la_x32_gnu_pltenter): New function prototype.
11774 (la_x32_gnu_pltexit): Likewise.
11776 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11783 * configure.in (libc_cv_cc_nofma): Check for option to disable
11784 generation of FMA instructions.
11785 * configure: Regenerate.
11786 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11787 * sysdeps/ieee754/dbl-64/Makefile: New file.
11788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11789 Remove brandred-fma4.
11790 (CFLAGS-brandred-fma4.c): Remove.
11791 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11792 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11797 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11799 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11800 LLONG_MAX != LONG_MAX.
11801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11802 (_fitoa_word): Likewise.
11803 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11804 LLONG_MAX != LONG_MAX.
11805 * stdio-common/_itowa.h: Include <_itoa.h>.
11806 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11807 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11808 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11809 only if not defined.
11810 (_ITOA_WORD_TYPE): Likewise.
11811 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11812 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11814 2012-03-21 David S. Miller <davem@davemloft.net>
11816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11818 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11820 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11821 of x86_64 when setting libc_cv_slibdir, libdir and
11823 * sysdeps/unix/sysv/linux/configure: Regenerated.
11825 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11827 * manual/lang.texi (Old Varargs): Remove section.
11828 (How Variadic): Update menu.
11829 (va_start): Do not mention varargs.h.
11831 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11832 Joseph Myers <joseph@codesourcery.com>
11834 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11836 * configure: Regenerated.
11838 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11840 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11841 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11844 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11847 * Makefile (files-for-dist): Remove NOTES.
11848 (NOTES): Remove rule.
11849 * README: Don't refer to NOTES.
11850 * manual/creature.texi: Don't include macros.texi.
11851 * manual/intro.texi (creature.texi): Remove comment referring to
11854 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11855 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11856 * configure: Regenerated.
11857 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11858 LIBC_TRY_CC_OPTION.
11859 (libc_cv_as_i686): Likewise.
11860 (libc_cv_cc_avx): Likewise.
11861 (libc_cv_cc_sse2avx): Likewise.
11862 (libc_cv_cc_fma4): Likewise.
11863 (libc_cv_cc_novzeroupper): Likewise.
11864 * sysdeps/i386/configure: Regenerated.
11867 * sysdeps/i386/fpu/s_cexp.S: Remove.
11868 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11869 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11870 * math/libm-test.inc (cexp_test): Add more tests.
11871 * sysdeps/i386/fpu/libm-test-ulps: Update.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11874 2012-03-21 Allan McRae <allan@archlinux.org>
11876 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11878 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11881 * math/w_exp2.c: Do not include <float.h>.
11882 (o_threshold, u_threshold): Remove.
11883 (__exp2): Calculate result before checking finiteness and calling
11885 * math/w_exp2f.c: Likewise.
11886 * math/w_exp2l.c: Likewise.
11887 * math/libm-test.inc (exp2_test): Require overflow exception for
11891 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11892 range of signed 64-bit integers before using fistpll. Remove
11893 checks for whether integers fit in mantissa bits.
11894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11895 the range of signed 32-bit integers before using fistpl. Remove
11896 checks for whether integers fit in mantissa bits.
11897 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11898 (__ieee754_powl): Test for y outside the range of signed 64-bit
11899 integers before using fistpll. Reduce 64-bit values to 63-bit
11901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11902 divide-by-zero is raised for zero to large negative powers.
11903 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11904 (__ieee754_powl): Test for y outside the range of signed 64-bit
11905 integers before using fistpll. Reduce 64-bit values to 63-bit
11907 * math/libm-test.inc (pow_test): Add more tests.
11909 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11911 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11912 <stdio-common/_itoa.h>.
11913 * debug/segfault.c: Likewise.
11914 * elf/dl-cache.c: Likewise.
11915 * elf/dl-minimal.c: Likewise.
11916 * elf/dl-misc.c: Likewise.
11917 * elf/dl-sysdep.c: Likewise.
11918 * elf/dl-version.c: Likewise.
11919 * elf/rtld.c: Likewise.
11920 * hurd/hurdsock.c: Likewise.
11921 * hurd/lookup-retry.c: Likewise.
11922 * malloc/malloc.c: Likewise.
11923 * malloc/mtrace.c: Likewise.
11924 * nscd/nscd_getgr_r.c: Likewise.
11925 * nscd/nscd_getpw_r.c: Likewise.
11926 * nscd/nscd_getserv_r.c: Likewise.
11927 * posix/getopt_init.c: Likewise.
11928 * posix/wordexp.c: Likewise.
11929 * stdio-common/_itoa.c: Likewise.
11930 * stdio-common/printf_fphex.c: Likewise.
11931 * stdio-common/vfprintf.c: Likewise.
11932 * string/_strerror.c: Likewise.
11933 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11934 * sysdeps/i386/i686/hp-timing.h: Likewise.
11935 * sysdeps/mach/_strerror.c: Likewise.
11936 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11937 * sysdeps/mach/hurd/sethostid.c: Likewise.
11938 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11939 * sysdeps/mach/xpg-strerror.c: Likewise.
11940 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11941 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11942 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11943 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11944 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11945 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11946 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11947 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11948 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11949 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11950 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11951 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11955 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11957 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11958 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11959 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11960 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11962 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11964 * stdio-common/_itoa.h: Moved to ...
11965 * sysdeps/generic/_itoa.h: Here.
11967 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11969 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11970 instead of "_itoa.h" and "_itowa.h".
11971 * stdio-common/vfprintf.: Likewise.
11973 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11975 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11977 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11978 (__signbit): Likwise.
11979 (llrintf): Likwise.
11982 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11984 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11987 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11989 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11990 OVERFLOW_EXCEPTION_OK.
11991 * math/libm-test.inc ("Philosophy"): Update comment about
11993 (OVERFLOW_EXCEPTION): Define.
11994 (OVERFLOW_EXCEPTION_OK): Likewise.
11995 (INVALID_EXCEPTION_OK): Renumber.
11996 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11997 (IGNORE_ZERO_INF_SIGN): Likewise.
11998 (test_exceptions): Handle FE_OVERFLOW.
11999 (exp10_test): Expect overflow exceptions.
12000 (exp2_test): Likewise.
12001 (expm1_test): Likewise.
12002 (nextafter_test): Likewise.
12003 (pow_test): Likewise.
12004 (scalbn_test): Likewise.
12005 (scalbln_test): Likewise.
12007 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12009 * sysdeps/x86_64/bits/atomic.h
12010 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12012 (atomic_exchange_acq): Likewise.
12013 (__arch_exchange_and_add_body): Likewise.
12014 (__arch_add_body): Likewise.
12015 (atomic_add_negative): Likewise.
12016 (atomic_add_zero): Likewise.
12018 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12020 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12021 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12023 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12025 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12026 Check __x86_64__ instead of __WORDSIZE.
12028 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12030 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12032 2012-03-19 David S. Miller <davem@davemloft.net>
12034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12036 * sysdeps/sparc/fpu/fenv_private.h: New file.
12037 * sysdeps/sparc/fpu/math_private.h: Use it.
12038 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12040 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12041 (libc_feholdexcept_setroundl): Remove.
12042 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12044 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12045 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12047 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12049 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12050 int64_t instead of long int.
12051 (INSERT_WORDS64): Likwise.
12053 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12055 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12056 _Unwind_GetCFA return to _Unwind_Ptr first.
12058 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12061 * math/s_clog.c: Include <float.h>.
12062 (__clog): Scale large or subnormal inputs.
12063 * math/s_clogf.c: Likewise.
12064 * math/s_clogl.c: Likewise.
12065 * math/s_clog10.c: Include <float.h>.
12066 (M_LOG10_2): Define.
12067 (__clog10): Scale large or subnormal inputs.
12068 * math/s_clog10f.c: Likewise.
12069 * math/s_clog10l.c: Likewise.
12070 * math/libm-test.inc (clog_test): Add more tests.
12071 (clog10_test): Likewise.
12072 * sysdeps/i386/fpu/libm-test-ulps: Update.
12073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12076 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12078 * math/libm-test.inc (atan2_test): Add another test.
12080 * Makerules (common-objdir-compile): Remove.
12081 * sysdeps/unix/Makefile (config-generated): Do not add
12082 $(unix-generated) to variable.
12083 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12084 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12086 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12088 [generic bits/local_lim.h] (before-compile): Do not append to
12090 [generic bits/local_lim.h] (common-generated): Likewise.
12091 [generic sys/param.h] (before-compile): Do not append to variable.
12092 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12093 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12094 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12095 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12097 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12098 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12099 [generic sys/param.h] ($(addprefix
12100 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12101 [generic sys/param.h] (common-generated): Do not append to
12103 [generic sys/param.h] (sysdep_headers): Likewise.
12104 [generic bits/errno.h] (before-compile): Do not append to
12106 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12108 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12109 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12110 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12111 [generic bits/errno.h] (common-generated): Do not append to
12113 [generic bits/ioctls.h] (before-compile): Do not append to
12115 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12117 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12118 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12119 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12121 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12122 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12123 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12124 [generic bits/ioctls.h] (common-generated): Do not append to
12126 [generic sys/syscall.h] (syscall.h): Remove variable.
12127 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12129 [generic sys/syscall.h] (before-compile): Do not append to
12131 [generic sys/syscall.h] (common-generated): Likewise.
12132 * sysdeps/unix/errnos-tmpl.c: Remove file.
12133 * sysdeps/unix/errnos.awk: Likewise.
12134 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12135 * sysdeps/unix/ioctls.awk: Likewise.
12136 * sysdeps/unix/mk-local_lim.c: Likewise.
12137 * sysdeps/unix/snarf-ioctls: Likewise.
12139 2012-03-19 Richard Henderson <rth@twiddle.net>
12141 * sysdeps/i386/fpu/fenv_private.h: New file.
12142 * sysdeps/i386/fpu/math_private.h: Use it.
12143 (math_opt_barrier, math_force_eval): Remove.
12144 (libc_feholdexcept_setround_53bit): Remove.
12145 (libc_feupdateenv_53bit): Remove.
12146 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12147 (math_opt_barrier, math_force_eval): Remove.
12148 (libc_feholdexcept): Remove.
12149 (libc_feholdexcept_setround): Remove.
12150 (libc_fetestexcept, libc_fesetenv): Remove.
12151 (libc_feupdateenv_test): Remove.
12152 (libc_feupdateenv, libc_feholdsetround): Remove.
12153 (libc_feresetround): Remove.
12155 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12156 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12158 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12159 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12160 (libc_feupdateenv_testl): New.
12161 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12162 (libc_feupdateenv_testf): New.
12163 (libc_feupdateenv): Use libc_feupdateenv_test.
12164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12167 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12168 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12169 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12170 (libc_feresetround_noex): New.
12171 (libc_feresetround_noexf): New.
12172 (libc_feresetround_noexl): New.
12173 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12174 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12175 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12176 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12181 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12182 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12183 SET_RESTORE_ROUND_NOEX.
12184 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12185 SET_RESTORE_ROUND_NOEXF.
12186 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12187 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12188 (libc_feholdsetroundf): New.
12189 (libc_feresetround, libc_feresetroundf): New.
12191 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12192 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12193 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12195 * sysdeps/generic/math_private.h: Include <fenv.h>.
12196 (default_libc_feholdexcept): New.
12197 (default_libc_feholdexcept_setround): New.
12198 (default_libc_fesetenv, default_libc_feupdateenv): New.
12199 (libc_feholdexcept): Only define if undefined.
12200 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12201 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12202 (libc_feholdexcept_setroundl): Likewise.
12203 (libc_feholdexcept_setround_53bit): Likewise.
12204 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12205 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12206 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12207 (libc_feupdateenv_53bit): Likewise.
12208 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12209 (libc_feholdexcept): Convert from macro to inline function.
12210 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12211 (libc_fesetenv, libc_feupdateenv): Likewise.
12213 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12214 not previously defined.
12215 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12216 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12217 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12218 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12219 * sysdeps/ieee754/flt-32/math_private.h: New file.
12220 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12221 math_private.h below SET_FLOAT_WORD.
12222 (__isnan, __isinf_ns, __finite): Remove.
12223 (__isnanf, __isinf_nsf, __finitef): Remove.
12225 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12229 2012-03-17 David S. Miller <davem@davemloft.net>
12232 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12235 2012-03-16 David S. Miller <davem@davemloft.net>
12237 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12241 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12243 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12244 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12245 sysdep_routines when subdir is sysvipc.
12246 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12247 __getshmlba helper.
12249 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12251 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12253 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12256 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12258 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12259 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12260 (__lround): Renamed to ...
12261 (__llround): This. Replace long int with long long int.
12262 Define lround functions as aliases of llround functions.
12263 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12265 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12267 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12268 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12269 adresses to uintptr_t. Replace "long int" and "unsigned long
12270 int" with "greg_t" on va_arg.
12272 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12274 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12275 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12277 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12278 Move e_machine check before EI_CLASS check. Handle x32
12279 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12280 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12281 SKIP_EM_IA_64 and include
12282 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12284 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12285 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12286 (add_system_dir): New macro.
12288 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12289 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12291 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12302 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12304 * math/w_j0f.c (j0f): Likewise.
12306 * math/w_j0l.c (__j0l): Likewise.
12308 * math/w_j1.c (j1): Likewise.
12310 * math/w_j1f.c (j1f): Likewise.
12312 * math/w_j1l.c (__j1l): Likewise.
12314 * math/w_jn.c (jn): Likewise.
12316 * math/w_jnf.c (jnf): Likewise.
12318 * math/w_jnl.c (__jnl): Likewise.
12320 * math/libm-test.inc (j0_test): Add more tests.
12321 (j1_test): Likewise.
12322 (jn_test): Likewise. Add trailing semicolon to existing test.
12323 (y0_test): Likewise.
12324 (y1_test): Likewise.
12325 * sysdeps/i386/fpu/libm-test-ulps: Update.
12326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12331 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12332 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12333 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12334 (__tanl): Set errno for infinite argument.
12335 * sysdeps/i386/fpu/mptan.c: Remove.
12336 * sysdeps/i386/fpu/s_tan.S: Likewise.
12337 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12338 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12339 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12340 * math/libm-test.inc (tan_test): Add more tests and enable more
12341 tests for double and long double.
12342 * sysdeps/i386/fpu/libm-test-ulps: Update.
12343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12345 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12347 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12348 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12350 2012-03-16 Roland McGrath <roland@hack.frob.com>
12352 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12353 * configure.in: Use it for both main tree and add-ons.
12354 * configure: Regenerated.
12356 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12358 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12360 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12362 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12366 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12367 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12372 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12373 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12374 != 0 for prec == 2.
12375 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12376 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12377 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12378 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12379 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12380 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12381 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12382 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12383 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12384 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12385 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12386 * math/libm-test.inc (cos_test): Add more tests and enable more
12387 tests for long double.
12388 (sin_test): Likewise.
12389 (sincos_test): Likewise.
12390 * sysdeps/i386/fpu/libm-test-ulps: Update.
12391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12393 2012-03-16 David S. Miller <davem@davemloft.net>
12395 * sysdeps/sparc/fpu/math_private.h: New file.
12397 2012-03-15 David S. Miller <davem@davemloft.net>
12399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12413 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12414 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12416 * sysdeps/sparc/sparc-ifunc.h: New file.
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12462 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12464 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12468 2012-03-15 Andreas Jaeger <aj@suse.de>
12471 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12472 ieee754/flt-32 implementation for sin, cos and sincos.
12473 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12474 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12475 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12476 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12477 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12478 ieee754/flt-32 implementation for tan.
12480 * math/libm-test.inc (cos_test): Enable some large input tests for
12482 (sin_test): Likewise.
12483 (sincos_test): Likewise.
12484 (tan_test): Add tests for large input.
12486 * sysdeps/i386/fpu/libm-test-ulps: Update.
12488 2012-03-15 Andreas Jaeger <aj@suse.de>
12491 * math/libm-test.inc (cos_test): Add more test cases.
12492 (sin_test): Likewise.
12493 (sincos_test): Likewise.
12495 2012-03-15 Andreas Jaeger <aj@suse.de>
12498 * math/libm-test.inc (cos_test): Add a test case for large input
12500 (sin_test): Likewise.
12501 (sincos_test): Likewise.
12503 2012-03-15 Andreas Jaeger <aj@suse.de>,
12504 Joseph Myers <joseph@codesourcery.com>
12507 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12508 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12509 * sysdeps/i386/fpu/branred.c: Likewise.
12510 * sysdeps/i386/fpu/dosincos.c: Likewise.
12511 * sysdeps/i386/fpu/mpa.c: Likewise.
12512 * sysdeps/i386/fpu/s_cos.S: Likewise.
12513 * sysdeps/i386/fpu/s_sin.S: Likewise.
12514 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12515 * sysdeps/i386/fpu/sincos32.c: Likewise.
12517 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12519 (libc_feupdateenv_53bit): Define.
12520 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12522 (libc_feupdateenv_53bit): Define.
12524 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12525 53 bit (without extend i386 double precision).
12527 * math/libm-test.inc (sincos_test): Add tests for large input.
12531 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12533 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12537 2012-03-15 David S. Miller <davem@davemloft.net>
12539 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12540 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12541 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12542 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12567 fmin/fmax sysdep routines.
12568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12570 2012-03-14 David S. Miller <davem@davemloft.net>
12572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12644 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12649 * sysdeps/sparc/configure.in: New file.
12650 * sysdeps/sparc/configure: Generate.
12651 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12652 * configure: Regenerate.
12653 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12654 * config.make.in (have-as-vis3): New.
12655 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12656 available use -Av9d instead of -Av9a.
12657 * sysdeps/sparc/sparc64/Makefile: Likewise.
12658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12668 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12669 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12673 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12674 fzeros/fnegs to load 0x80000000 into a float register instead of
12676 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12678 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12682 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12683 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12684 ($(inst_includedir)/bits/syscall.h): Remove rule.
12685 ($(objpfx)bits/syscall.d): Include instead of
12686 $(objpfx)syscall-list.d.
12687 (generated): Change syscall-list.h and syscall-list.d to
12688 bits/syscall.h and bits/syscall.d.
12690 2012-03-14 Roland McGrath <roland@hack.frob.com>
12693 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12695 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12698 * math/s_csqrt.c: Include <float.h>.
12699 (__csqrt): Scale large or subnormal inputs.
12700 * math/s_csqrtf.c: Likewise.
12701 * math/s_csqrtl.c: Likewise.
12702 * math/libm-test.inc (csqrt_test): Add more tests.
12703 * sysdeps/i386/fpu/libm-test-ulps: Update.
12704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12707 * math/libm-test.inc (hypot_test): Add more tests.
12709 2012-03-13 David S. Miller <davem@davemloft.net>
12712 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12713 double-precision for the calculation instead of scaling.
12715 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12717 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12718 manipulate bits before adding and subtracting TWO52[sx].
12719 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12720 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12722 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12724 2012-03-13 David S. Miller <davem@davemloft.net>
12726 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12727 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12729 rtld-global-offsets.h
12730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12732 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12735 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12737 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12738 'err' in the ifdef scope in which it is actually used.
12740 * nss/nss_db/db-init.c: Include string.h
12742 2012-03-12 David S. Miller <davem@davemloft.net>
12744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12745 masking out of the most significant byte of random value used.
12746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12747 Fix coding style in previous change.
12749 * sysdeps/unix/sysv/linux/kernel-features.h
12750 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12751 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12753 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12756 2012-03-11 David S. Miller <davem@davemloft.net>
12758 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12759 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12761 for 'resultvar' otherwise things get truncated on 64-bit.
12763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12764 Fix masking out of the most significant byte of random value used.
12766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12768 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12772 2012-03-09 David S. Miller <davem@davemloft.net>
12774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12775 variables with appropriate CPP guards.
12776 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12777 frame pointer, not the stack pointer. Correct layout comments. Fix test
12778 on resulting framesize and the management of the outregs buffer for pltexit.
12779 Preserve floating point return values across _dl_call_pltexit call.
12780 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12781 framesize and the management of the outregs buffer for pltexit.
12782 Preserve floating point return values across _dl_call_pltexit
12784 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12785 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12786 (print_exit): Fix format string for return register value.
12788 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12790 * sunrpc/Makefile (others): Add rpcgen.
12791 ($(objpfx)rpcgen): Remove special build rule and dependency on
12793 * sunrpc/rpcgen.c: New file.
12795 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12798 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12799 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12800 * sysdeps/i386/crti.S: Likewise.
12801 * sysdeps/i386/crtn.S: Likewise.
12802 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12803 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12804 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12805 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12806 * sysdeps/sh/crti.S: Likewise.
12807 * sysdeps/sh/crtn.S: Likewise.
12808 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12811 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12813 * locale/programs/locfile-kw.gperf: Likewise.
12814 * locale/programs/charmap-kw.h: Regenerated.
12815 * locale/programs/locfile-kw.h: Likewise.
12818 * intl/plural.y: Replace FSF snail mail address with URL.
12819 * intl/plural.c: Regenerated.
12821 2012-03-09 Richard Henderson <rth@twiddle.net>
12823 * include/math_private.h: Remove file.
12824 * math/math_private.h: Move file ...
12825 * sysdeps/generic/math_private.h: ... here.
12827 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12828 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12829 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12831 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12832 and <math_private.h>.
12833 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12834 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12835 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12836 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12837 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12921 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12922 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12924 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12926 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12929 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12930 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12931 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12933 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12934 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12935 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12938 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12939 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12940 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12941 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12942 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12943 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12944 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12946 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12947 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12948 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12949 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12950 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12951 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12952 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12953 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12954 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12955 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12956 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12957 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12959 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12960 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12961 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12962 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12963 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12964 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12965 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12966 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12967 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12968 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12969 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12970 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12971 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12972 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12975 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12976 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12977 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12978 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12979 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12980 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12981 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12982 * sysdeps/ieee754/k_standard.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13063 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13064 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13102 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13105 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13115 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13131 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13132 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13133 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13143 * sysdeps/ieee754/s_lib_version.c: Likewise.
13144 * sysdeps/ieee754/s_matherr.c: Likewise.
13145 * sysdeps/ieee754/s_signgam.c: Likewise.
13146 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13148 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13149 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13150 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13151 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13152 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13153 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13154 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13155 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13156 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13157 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13158 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13159 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13160 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13163 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13164 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13168 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13170 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13171 * sunrpc/rpc_main.c: Likewise.
13172 * sunrpc/rpc_svcout.c: Likewise.
13174 2012-03-09 David S. Miller <davem@davemloft.net>
13176 * include/math_private.h: New file.
13178 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13181 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13182 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13183 from <bits/socket_type.h>.
13184 (enum __socket_type): Don't define here.
13185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13187 bits/socket_type.h.
13190 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13191 checking __USE_GNU.
13193 * Makerules ($(inst_includedir)/%.h): New rule.
13194 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13195 (install-others): Remove variable setting.
13196 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13198 2012-03-08 Richard Henderson <rth@twiddle.net>
13200 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13201 from macro to inline function; merge with the
13202 !__LIBC_INTERNAL_MATH_INLINES version.
13203 (__ieee754_sqrtf): Likewise.
13205 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13206 to inline function.
13207 (__rintf, __floor, __floorf): Likewise.
13209 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13210 macro to inline function.
13211 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13213 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13214 not <math/math_private.h>.
13216 2012-03-08 David S. Miller <davem@davemloft.net>
13218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13220 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13222 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13224 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13226 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13227 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13229 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13231 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13232 be defined individually, they must be defined as a block. Define
13233 S for printing a string instead of hidint the different by using a
13234 macro for adding the 'l'.
13235 * stdio-common/tst-fphex-wide.c: Adjust.
13237 2012-03-07 Marek Polacek <polacek@redhat.com>
13239 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13241 2012-03-08 Marek Polacek <polacek@redhat.com>
13244 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13245 * stdio-common/tst-fphex.c: Define a few macros to make the
13246 test reusable. Use them.
13247 * stdio-common/tst-fphex-wide.c: New file.
13249 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13252 * manual/macros.texi (gnusystems): New macro.
13253 (nongnusystems): Likewise.
13254 (gnulinuxhurdsystems): Likewise.
13255 (gnuhurdsystems): Likewise..
13256 (gnulinuxsystems): Likewise.
13257 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13258 variants of the GNU system, not "GNU system".
13259 * manual/conf.texi: Likewise.
13260 * manual/errno.texi: Likewise. Update example of errno macro
13262 * manual/filesys.texi: Likewise.
13263 (getumask): Document as specific to GNU/Hurd.
13264 * manual/install.texi: Likewise. Reword some references to
13266 * manual/intro.texi: Likewise.
13267 * manual/io.texi: Likewise.
13268 (File Name Portability): Detail which constraints are inapplicable
13269 to all GNU systems and which are only inapplicable to GNU/Hurd.
13270 * manual/job.texi: Likewise.
13271 * manual/llio.texi: Likewise.
13272 (O_NOCTTY): Document as present on GNU/Linux.
13273 * manual/maint.texi: Likewise.
13274 * manual/memory.texi: Likewise.
13275 * manual/pattern.texi: Likewise.
13276 * manual/pipe.texi: Likewise.
13277 * manual/process.texi: Likewise.
13278 * manual/resource.texi: Likewise.
13279 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13281 * manual/setjmp.texi: Likewise.
13282 * manual/signal.texi: Likewise.
13283 * manual/startup.texi: Likewise.
13284 * manual/stdio.texi: Likewise.
13285 * manual/terminal.texi: Likewise.
13286 (ONLCR): Document as POSIX.
13287 (OXTABS): Document availability on GNU/Linux as XTABS.
13288 (ONOEOT): Document availability separately from other bits.
13289 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13290 * manual/time.texi: Likewise.
13291 * manual/users.texi: Likewise.
13292 * INSTALL: Regenerated.
13293 * sysdeps/gnu/errlist.c: Regenerated.
13295 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13296 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13297 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13299 * configure: Regenerated.
13301 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13304 default includes instead of AC_HEADER_CHECK.
13305 * sysdeps/i386/configure: Regenerated.
13308 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13309 * math/s_cacoshf.c (__cacoshf): Likewise.
13310 * math/s_cacoshl.c (__cacoshl): Likewise.
13311 * math/s_casinh.c (__casinh): Set signs of result from argument.
13312 * math/s_casinhf.c (__casinhf): Likewise.
13313 * math/s_casinhl.c (__casinhl): Likewise.
13314 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13315 (casinh_test): Add more tests.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13319 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13321 * po/zh_TW.po: Update from translation team.
13323 * login/Makefile (distribute): Remove variable.
13324 * catgets/Makefile: Likewise.
13325 * mach/Makefile: Likewise.
13326 * malloc/Makefile: Likewise.
13327 * misc/Makefile: Likewise.
13328 * iconv/Makefile: Likewise.
13329 * nscd/Makefile: Likewise.
13330 * hurd/Makefile: Likewise.
13331 * manual/Makefile: Likewise.
13332 * locale/Makefile: Likewise.
13333 * intl/Makefile: Likewise.
13334 * conform/Makefile: Likewise.
13335 * nss/Makefile: Likewise.
13336 * time/Makefile: Likewise.
13337 * soft-fp/Makefile: Likewise.
13338 * dirent/Makefile: Likewise.
13339 * gmon/Makefile: Likewise.
13340 * po/Makefile: Likewise.
13341 * rt/Makefile: Likewise.
13342 * socket/Makefile: Likewise.
13343 * math/Makefile: Likewise.
13344 * signal/Makefile: Likewise.
13345 * debug/Makefile: Likewise.
13346 * elf/Makefile: Likewise.
13347 * timezone/Makefile: Likewise.
13348 * stdlib/Makefile: Likewise.
13349 * iconvdata/Makefile: Likewise.
13350 * sunrpc/Makefile: Likewise.
13351 * io/Makefile: Likewise.
13352 * argp/Makefile: Likewise.
13353 * inet/Makefile: Likewise.
13354 * hesiod/Makefile: Likewise.
13355 * grp/Makefile: Likewise.
13356 * csu/Makefile: Likewise.
13357 * wctype/Makefile: Likewise.
13358 * crypt/Makefile: Likewise.
13359 * libio/Makefile: Likewise.
13360 * string/Makefile: Likewise.
13361 * nis/Makefile: Likewise.
13362 * resolv/Makefile: Likewise.
13363 * stdio-common/Makefile: Likewise.
13364 * wcsmbs/Makefile: Likewise.
13365 * dlfcn/Makefile: Likewise.
13366 * posix/Makefile: Likewise.
13369 * timezone/Makefile: Don't install timezone files, just the programs
13372 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13374 * nss/databases.def: Add missing gshadow entry.
13376 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13378 2012-03-06 Marek Polacek <polacek@redhat.com>
13381 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13382 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13383 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13384 * stdio-common/tst-long-dbl-fphex.c: New file.
13386 2012-03-06 David S. Miller <davem@davemloft.net>
13388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13389 (set_obp_int): New function.
13390 (get_obp_int): New function.
13391 (__get_clockfreq_via_dev_openprom): Likewise.
13392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13393 Avoid unused variable warnings on 'val' and use builtin_expect.
13394 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13396 (INLINE_CLONE_SYSCALL): Likewise.
13398 2012-03-05 David S. Miller <davem@davemloft.net>
13400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13402 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13406 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13407 only for |x| >= 40.
13408 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13410 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13413 Replace gettimeofday with __vdso_gettimeofday.
13415 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13416 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13417 __vdso_clock_gettime and __vdso_getcpu.
13419 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13420 time with __vdso_time.
13422 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13424 * manual/lang.texi (size_t): Note types to which size_t may be
13425 equivalent with the GNU C Library, but do not describe when
13426 differences between them are significant.
13428 2012-03-05 Andreas Jaeger <aj@suse.de>
13430 * sysdeps/i386/fpu/libm-test-ulps: Update.
13432 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13435 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13436 (__ieee754_pow): Save and restore rounding mode and use
13437 round-to-nearest for main computations.
13438 * math/libm-test.inc (pow_test_tonearest): New function.
13439 (pow_test_towardzero): Likewise.
13440 (pow_test_downward): Likewise.
13441 (pow_test_upward): Likewise.
13442 (main): Call the new functions.
13443 * sysdeps/i386/fpu/libm-test-ulps: Update.
13444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13447 * math/libm-test.inc (cosh_test_tonearest): New function.
13448 (cosh_test_towardzero): Likewise.
13449 (cosh_test_downward): Likewise.
13450 (cosh_test_upward): Likewise.
13451 (sinh_test_tonearest): Likewise.
13452 (sinh_test_towardzero): Likewise.
13453 (sinh_test_downward): Likewise.
13454 (sinh_test_upward): Likewise.
13455 (main): Call the new functions.
13456 * sysdeps/i386/fpu/libm-test-ulps: Update.
13457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459 2012-03-05 Tom de Vries <tom@codesourcery.com>
13461 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13462 default stack guard is set in last bytes.
13463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13465 2012-03-05 Kees Cook <keescook@chromium.org>
13467 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13470 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13471 possibly allocate from heap instead of stack.
13472 * stdio-common/bug-vfprintf-nargs.c: New file.
13473 * stdio-common/Makefile (tests): Add nargs overflow test.
13475 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13479 2012-03-03 Marek Polacek <polacek@redhat.com>
13481 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13482 * math/math_private.h: Likewise.
13483 * stdlib/tst-strtod.c: Likewise.
13484 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13485 * sysdeps/x86_64/bits/atomic.h: Likewise.
13487 2012-03-02 David S. Miller <davem@davemloft.net>
13489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13493 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13494 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13495 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13496 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13498 2012-03-02 Roland McGrath <roland@hack.frob.com>
13501 * manual/examples/README: New file, says the example source files
13502 can be used under GPL>=2.
13503 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13504 line containing just "*/".
13505 * manual/examples/add.c: Add copyright header (GPL>=2).
13506 * manual/examples/argp-ex1.c: Likewise.
13507 * manual/examples/argp-ex2.c: Likewise.
13508 * manual/examples/argp-ex3.c: Likewise.
13509 * manual/examples/argp-ex4.c: Likewise.
13510 * manual/examples/atexit.c: Likewise.
13511 * manual/examples/db.c: Likewise.
13512 * manual/examples/dir.c: Likewise.
13513 * manual/examples/dir2.c: Likewise.
13514 * manual/examples/execinfo.c: Likewise.
13515 * manual/examples/filecli.c: Likewise.
13516 * manual/examples/filesrv.c: Likewise.
13517 * manual/examples/fmtmsgexpl.c: Likewise.
13518 * manual/examples/genpass.c: Likewise.
13519 * manual/examples/inetcli.c: Likewise.
13520 * manual/examples/inetsrv.c: Likewise.
13521 * manual/examples/isockad.c: Likewise.
13522 * manual/examples/longopt.c: Likewise.
13523 * manual/examples/memopen.c: Likewise.
13524 * manual/examples/memstrm.c: Likewise.
13525 * manual/examples/mkfsock.c: Likewise.
13526 * manual/examples/mkisock.c: Likewise.
13527 * manual/examples/mygetpass.c: Likewise.
13528 * manual/examples/pipe.c: Likewise.
13529 * manual/examples/popen.c: Likewise.
13530 * manual/examples/rprintf.c: Likewise.
13531 * manual/examples/search.c: Likewise.
13532 * manual/examples/select.c: Likewise.
13533 * manual/examples/setjmp.c: Likewise.
13534 * manual/examples/sigh1.c: Likewise.
13535 * manual/examples/sigusr.c: Likewise.
13536 * manual/examples/stpcpy.c: Likewise.
13537 * manual/examples/strdupa.c: Likewise.
13538 * manual/examples/strftim.c: Likewise.
13539 * manual/examples/strncat.c: Likewise.
13540 * manual/examples/subopt.c: Likewise.
13541 * manual/examples/swapcontext.c: Likewise.
13542 * manual/examples/termios.c: Likewise.
13543 * manual/examples/testopt.c: Likewise.
13544 * manual/examples/testpass.c: Likewise.
13545 * manual/examples/timeval_subtract.c: Likewise.
13548 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13550 * manual/timeval_subtract.c.texi: ... here, new file.
13552 2012-03-02 David S. Miller <davem@davemloft.net>
13554 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13556 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13559 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13560 (__sin): Save and restore rounding mode and use round-to-nearest
13561 for all computations.
13562 (__cos): Save and restore rounding mode and use round-to-nearest
13563 for all computations.
13564 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13566 (tan): Save and restore rounding mode and use round-to-nearest for
13568 * math/libm-test.inc (cos_test_tonearest): New function.
13569 (cos_test_towardzero): Likewise.
13570 (cos_test_downward): Likewise.
13571 (cos_test_upward): Likewise.
13572 (sin_test_tonearest): Likewise.
13573 (sin_test_towardzero): Likewise.
13574 (sin_test_downward): Likewise.
13575 (sin_test_upward): Likewise.
13576 (tan_test_tonearest): Likewise.
13577 (tan_test_towardzero): Likewise.
13578 (tan_test_downward): Likewise.
13579 (tan_test_upward): Likewise.
13580 (main): Call the new functions.
13581 * sysdeps/i386/fpu/libm-test-ulps: Update.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13586 small n, then large n, before computing and testing k+n.
13587 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13592 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13593 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13594 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13595 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13600 * math/libm-test.inc (scalbn_test): Add more tests.
13601 (scalbln_test): Likewise.
13603 * manual/filesys.texi (mode_t): Describe constraints on size and
13604 signedness, not exact equivalence to a particular type.
13606 (ino64_t): Likewise.
13608 (nlink_t): Likewise.
13609 (blkcnt_t): Likewise.
13610 (blkcnt64_t): Likewise.
13611 * manual/llio.texi (off_t): Likewise.
13614 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13615 (__ieee754_exp): Save and restore rounding mode and use
13616 round-to-nearest for all computations.
13617 * math/libm-test.inc (exp_test_tonearest): New function.
13618 (exp_test_towardzero): Likewise.
13619 (exp_test_downward): Likewise.
13620 (exp_test_upward): Likewise.
13621 (main): Call the new functions.
13622 * sysdeps/i386/fpu/libm-test-ulps: Update.
13623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13625 2012-03-01 Chris Demetriou <cgd@google.com>
13627 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13628 have predictable order.
13630 2012-03-01 David S. Miller <davem@davemloft.net>
13632 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13634 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13635 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13636 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13637 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13639 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13640 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13641 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13643 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13644 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13646 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13647 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13652 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13653 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13655 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13656 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13657 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13658 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13659 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13662 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13663 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13664 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13665 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13671 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13672 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13673 * sysdeps/sparc/elf/configure: Regenerated.
13675 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13677 * configure.in (AS, LD): Require binutils 2.20 or later.
13678 * configure: Regenerated.
13679 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13680 as required minimum version.
13681 * INSTALL: Regenerated.
13685 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13686 before squaring exponent.
13687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13688 bottom long double and 27 bits of top long double before squaring
13690 * math/libm-test.inc (erfc_test): Add more tests.
13691 * sysdeps/i386/fpu/libm-test-ulps: Update.
13692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13695 2012-03-01 Kai Tietz <ktietz@redhat.com>
13697 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13698 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13699 containing bit-fields.
13700 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13701 * soft-fp/single.h (_FP_UNION_S): Likewise.
13702 * soft-fp/double.h (_FP_UNION_D): Likewise.
13704 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13707 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13708 not include ../strcmp.S.
13709 [USE_AS_STRNCASECMP_L]: Likewise.
13710 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13711 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13712 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13713 (__strncasecmp_l_ia32): Define as alias to
13714 __strncasecmp_l_nonascii.
13717 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13718 * sysdeps/i386/fpu/libm-test-ulps: Update.
13719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13721 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13724 2012-02-29 Jeff Law <law@redhat.com>
13726 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13727 out of bounds read.
13729 2012-02-29 Marek Polacek <polacek@redhat.com>
13732 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13733 * elf/Makefile: Add rules to run tst-unused-dep.out.
13735 2012-02-28 David S. Miller <davem@davemloft.net>
13737 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13738 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13741 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13742 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13744 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13746 * math/libm-test.inc (llround_test): Move one test from
13747 lround_test. Use TEST_f_L in moved test.
13748 (lround_test): Move misplaced test to llround_test. Add testcase
13751 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13753 * sysdeps/x86_64/fpu/e_expf.S: New file.
13754 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13756 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13759 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13760 of remain_len that may cause incomplete multi-byte character and
13762 * posix/bug-regex33.c: New file.
13763 * posix/Makefile (tests): Add bug-regex33.
13765 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13767 * manual/macros.texi: New file.
13768 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13769 * manual/libc.texinfo: Include macros.texi.
13770 * manual/creatute.texi: Likewise.
13771 * manual/install.texi: Likewise.
13772 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13773 @glibcadj{} in references to the GNU C Library.
13774 * manual/charset.texi: Likewise.
13775 * manual/conf.texi: Likewise.
13776 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13777 when not using those macros.
13778 * manual/creature.texi: Likewise.
13779 * manual/crypt.texi: Likewise.
13780 * manual/errno.texi: Likewise.
13781 * manual/filesys.texi: Likewise.
13782 * manual/header.texi: Likewise.
13783 * manual/install.texi: Likewise.
13784 * manual/intro.texi: Likewise.
13785 * manual/io.texi: Likewise.
13786 * manual/job.texi: Likewise.
13787 * manual/lang.texi: Likewise.
13788 * manual/libc.texiinfo: Likewise.
13789 * manual/llio.texi: Likewise.
13790 * manual/locale.texi: Likewise.
13791 * manual/maint.texi: Likewise.
13792 * manual/math.texi: Likewise.
13793 * manual/memory.texi: Likewise.
13794 * manual/message.texi: Likewise.
13795 * manual/nss.texi: Likewise.
13796 * manual/pattern.texi: Likewise.
13797 * manual/process.texi: Likewise.
13798 * manual/resource.texi: Likewise.
13799 * manual/search.texi: Likewise.
13800 * manual/setjmp.texi: Likewise.
13801 * manual/signal.texi: Likewise.
13802 * manual/socket.texi: Likewise.
13803 * manual/startup.texi: Likewise.
13804 * manual/stdio.texi: Likewise.
13805 * manual/string.texi: Likewise.
13806 * manual/sysinfo.texi: Likewise.
13807 * manual/syslog.texi: Likewise.
13808 * manual/terminal.texi: Likewise.
13809 * manual/time.texi: Likewise.
13810 * manual/users.texi: Likewise.
13811 * INSTALL: Regenerated.
13812 * NOTES: Regenerated.
13813 * sysdeps/gnu/errlist.c: Regenerated.
13815 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13817 * include/dirent.h: Include <dirstream.h> before
13820 2012-02-28 David S. Miller <davem@davemloft.net>
13822 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13823 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13824 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13825 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13827 2012-02-27 David S. Miller <davem@davemloft.net>
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13831 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13832 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13835 frame pointer instead of stack pointer relative arg slot.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13840 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13843 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13845 2012-02-27 David S. Miller <davem@davemloft.net>
13847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13851 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13852 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13853 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13854 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13856 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13858 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13859 later. Allow versions 5-9.
13860 * configure: Regenerated.
13861 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13862 required minimum version and 4.6 as recommended version. Do not
13863 mention bugs in GCC 2.7 and 2.8.
13864 * INSTALL: Regenerated.
13866 2012-02-27 David S. Miller <davem@davemloft.net>
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13872 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13873 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13874 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13878 manipulate bits before adding and subtracting TWO112[sx].
13879 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13881 2012-02-27 Roland McGrath <roland@hack.frob.com>
13884 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13885 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13886 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13887 being in POSIX, because they are in 1003.1-2008.
13889 * rt/tst-aio.c: Include <fcntl.h>.
13890 * rt/tst-aio7.c: Likewise.
13891 * rt/tst-aio64.c: Likewise.
13893 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13895 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13897 * manual/install.texi (--with-headers): Describe headers as
13898 interface headers, not private headers.
13899 (Specific advice for GNU/Linux systems): Describe use of headers
13900 from "make headers_install", not private headers from older
13902 * INSTALL: Regenerated.
13903 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13905 * sysdeps/unix/sysv/linux/configure: Regenerated.
13907 * manual/llio.texi (fclean): Remove documentation.
13909 * manual/Makefile (libc-texi-generated): New variable. Include
13911 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13912 $(libc-texi-generated), not duplicated list of files.
13913 (version.texi, stamp-version): New rules.
13914 (realclean): Remove $(libc-texi-generated), not individual files
13915 from that list. Do not remove dir-add.texinfo.
13916 * manual/libc.texinfo: Comment out uses of edition numbers and
13917 references to printed manual. Remove last-updated dates.
13918 (EDITION): Comment out.
13920 (VERSION, UPDATED): Remove.
13921 (version.texi): Include.
13923 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13925 * sysdeps/posix/spawni.c: Include <signal.h>.
13926 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13927 * sysdeps/pthread/aio_fsync.c: Likewise.
13929 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13931 * conform/Makefile (tests): Run only when not cross-compiling and
13932 when fast-check is not defined.
13934 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13935 * conform/data/limits.h-data: Fixes for POSIX2008.
13936 * conform/run-conformtest.sh: Run all tests.
13937 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13939 * include/bits/dlfcn.h: Likewise.
13940 * include/langinfo.h: Likewise.
13941 * include/monetary.h: Likewise.
13942 * include/sys/poll.h: Likewise.
13944 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13946 * posix/spawn.h: Define __need_sigset_t.
13947 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13948 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13949 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13950 to get sigevent_t only.
13951 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13952 only for __USE_GNU.
13953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13954 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13955 process_vm_writev only for __USE_GNU.
13956 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13958 * conform/Makefile: For now ignore errors from run-conformtest.
13959 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13960 POSIX to avoid namespace pollution. Don't prepend headers.
13961 * conform/data/aio.h-data: Fixes for POSIX testing.
13962 * conform/data/fcntl.h-data: Likewise.
13963 * conform/data/glob.h-data: Likewise.
13964 * conform/data/grp.h-data: Likewise.
13965 * conform/data/pthread.h-data: Likewise.
13966 * conform/data/pwd.h-data: Likewise.
13967 * conform/data/signal.h-data: Likewise.
13968 * conform/data/spawn.h-data: Likewise.
13969 * conform/data/stdio.h-data: Likewise.
13970 * conform/data/stdlib.h-data: Likewise.
13971 * conform/data/stropts.h-data: Likewise.
13972 * conform/data/sys/mman.h-data: Likewise.
13973 * conform/data/sys/stat.h-data: Likewise.
13974 * conform/data/sys/types.h-data: Likewise.
13975 * conform/data/sys/wait.h-data: Likewise.
13976 * conform/data/time.h-data: Likewise.
13977 * conform/data/unistd.h-data: Likewise.
13978 * conform/data/utime.h-data: Likewise.
13980 * io/sys/stat.h: fchmod was always in POSIX.
13981 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13982 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13983 * rt/aio.h: Define __need_timespec before including <time.h>.
13984 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13985 struct. Add forward declaration of pthread_attr_t and use it in
13987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13989 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13990 always remove CLK_TCK definition.
13992 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13994 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13996 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13998 * conform/run-conformtest.sh: New file.
13999 * conform/Makefile: Run run-conformtest for tests.
14000 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14003 * conform/data/uchar.h-data: New file.
14004 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14005 * conform/data/arpa/inet.h-data: Likewise.
14006 * conform/data/assert.h-data: Likewise.
14007 * conform/data/complex.h-data: Likewise.
14008 * conform/data/cpio.h-data: Likewise.
14009 * conform/data/ctype.h-data: Likewise.
14010 * conform/data/dirent.h-data: Likewise.
14011 * conform/data/dlfcn.h-data: Likewise.
14012 * conform/data/errno.h-data: Likewise.
14013 * conform/data/fcntl.h-data: Likewise.
14014 * conform/data/float.h-data: Likewise.
14015 * conform/data/fmtmsg.h-data: Likewise.
14016 * conform/data/fnmatch.h-data: Likewise.
14017 * conform/data/ftw.h-data: Likewise.
14018 * conform/data/glob.h-data: Likewise.
14019 * conform/data/grp.h-data: Likewise.
14020 * conform/data/iconv.h-data: Likewise.
14021 * conform/data/inttypes.h-data: Likewise.
14022 * conform/data/langinfo.h-data: Likewise.
14023 * conform/data/libgen.h-data: Likewise.
14024 * conform/data/limits.h-data: Likewise.
14025 * conform/data/locale.h-data: Likewise.
14026 * conform/data/math.h-data: Likewise.
14027 * conform/data/monetary.h-data: Likewise.
14028 * conform/data/mqueue.h-data: Likewise.
14029 * conform/data/ndbm.h-data: Likewise.
14030 * conform/data/net/if.h-data: Likewise.
14031 * conform/data/netdb.h-data: Likewise.
14032 * conform/data/netinet/in.h-data: Likewise.
14033 * conform/data/nl_types.h-data: Likewise.
14034 * conform/data/poll.h-data: Likewise.
14035 * conform/data/pthread.h-data: Likewise.
14036 * conform/data/pwd.h-data: Likewise.
14037 * conform/data/regex.h-data: Likewise.
14038 * conform/data/sched.h-data: Likewise.
14039 * conform/data/search.h-data: Likewise.
14040 * conform/data/semaphore.h-data: Likewise.
14041 * conform/data/setjmp.h-data: Likewise.
14042 * conform/data/signal.h-data: Likewise.
14043 * conform/data/spawn.h-data: Likewise.
14044 * conform/data/stdarg.h-data: Likewise.
14045 * conform/data/stdio.h-data: Likewise.
14046 * conform/data/stdlib.h-data: Likewise.
14047 * conform/data/string.h-data: Likewise.
14048 * conform/data/strings.h-data: Likewise.
14049 * conform/data/stropts.h-data: Likewise.
14050 * conform/data/sys/ipc.h-data: Likewise.
14051 * conform/data/sys/mman.h-data: Likewise.
14052 * conform/data/sys/msg.h-data: Likewise.
14053 * conform/data/sys/resource.h-data: Likewise.
14054 * conform/data/sys/select.h-data: Likewise.
14055 * conform/data/sys/sem.h-data: Likewise.
14056 * conform/data/sys/shm.h-data: Likewise.
14057 * conform/data/sys/socket.h-data: Likewise.
14058 * conform/data/sys/stat.h-data: Likewise.
14059 * conform/data/sys/statvfs.h-data: Likewise.
14060 * conform/data/sys/time.h-data: Likewise.
14061 * conform/data/sys/timeb.h-data: Likewise.
14062 * conform/data/sys/times.h-data: Likewise.
14063 * conform/data/sys/types.h-data: Likewise.
14064 * conform/data/sys/uio.h-data: Likewise.
14065 * conform/data/sys/un.h-data: Likewise.
14066 * conform/data/sys/utsname.h-data: Likewise.
14067 * conform/data/sys/wait.h-data: Likewise.
14068 * conform/data/syslog.h-data: Likewise.
14069 * conform/data/tar.h-data: Likewise.
14070 * conform/data/termios.h-data: Likewise.
14071 * conform/data/utime.h-data: Likewise.
14072 * conform/data/utmpx.h-data: Likewise.
14073 * conform/data/varargs.h-data: Likewise.
14074 * conform/data/wchar.h-data: Likewise.
14075 * conform/data/wctype.h-data: Likewise.
14076 * conform/data/wordexp.h-data: Likewise.
14078 * include/stropts.h: New file.
14079 * include/uchar.h: New file.
14080 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14081 * include/assert.h: Likewise.
14082 * include/ctype.h: Likewise.
14083 * include/dirent.h: Likewise.
14084 * include/dlfcn.h: Likewise.
14085 * include/fcntl.h: Likewise.
14086 * include/fnmatch.h: Likewise.
14087 * include/glob.h: Likewise.
14088 * include/grp.h: Likewise.
14089 * include/libio.h: Likewise.
14090 * include/locale.h: Likewise.
14091 * include/math.h: Likewise.
14092 * include/net/if.h: Likewise.
14093 * include/netdb.h: Likewise.
14094 * include/netinet/in.h: Likewise.
14095 * include/pthread.h: Likewise.
14096 * include/pwd.h: Likewise.
14097 * include/regex.h: Likewise.
14098 * include/sched.h: Likewise.
14099 * include/search.h: Likewise.
14100 * include/setjmp.h: Likewise.
14101 * include/signal.h: Likewise.
14102 * include/stdio.h: Likewise.
14103 * include/stdlib.h: Likewise.
14104 * include/string.h: Likewise.
14105 * include/sys/cdefs.h: Likewise.
14106 * include/sys/mman.h: Likewise.
14107 * include/sys/msg.h: Likewise.
14108 * include/sys/resource.h: Likewise.
14109 * include/sys/select.h: Likewise.
14110 * include/sys/socket.h: Likewise.
14111 * include/sys/stat.h: Likewise.
14112 * include/sys/statvfs.h: Likewise.
14113 * include/sys/time.h: Likewise.
14114 * include/sys/times.h: Likewise.
14115 * include/sys/uio.h: Likewise.
14116 * include/sys/utsname.h: Likewise.
14117 * include/sys/wait.h: Likewise.
14118 * include/termios.h: Likewise.
14119 * include/time.h: Likewise.
14120 * include/ulimit.h: Likewise.
14121 * include/unistd.h: Likewise.
14122 * include/utime.h: Likewise.
14123 * include/wchar.h: Likewise.
14124 * include/wctype.h: Likewise.
14125 * include/wordexp.h: Likewise.
14127 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14129 * time/time.h: TIME_UTC must be a macro.
14130 Make timespec_get available for ISO C11 only as well.
14132 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14134 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14135 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14137 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14139 * configure.in: Use -o not -a in test for unsupported multi-arch.
14141 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14143 * manual/texinfo.tex: Update to version 2012-01-19.16.
14145 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14147 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14149 2012-02-24 Roland McGrath <roland@hack.frob.com>
14152 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14153 * manual/fdl-1.3.texi: New file.
14154 * manual/fdl-1.1.texi: File removed.
14157 * manual/libc.texinfo (FDL_VERSION): New @set.
14158 Use it for mention of FDL in cover text.
14159 (Documentation License): Use it in @include file name.
14161 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14162 Roland McGrath <roland@hack.frob.com>
14165 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14166 not LONG_LONG_MAX and LONG_LONG_MIN.
14167 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14168 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14170 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14172 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14176 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14177 manipulate bits before adding and subtracting TWO23[sx].
14178 * math/libm-test.inc (nearbyint_test): Add more tests.
14180 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14183 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14184 bits before adding and subtracting TWO23[sx].
14185 * math/libm-test.inc (rint_test): Add more tests.
14186 (rint_test_tonearest): Likewise.
14187 (rint_test_towardzero): Likewise.
14188 (rint_test_downward): Likewise.
14189 (rint_test_upward: Likewise.
14191 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14194 * include/stdc-predef.h: New file. Extracted from features.h.
14195 * include/features.h: Include stdc-predef.h.
14196 * Makefile (headers): Add stdc-predef.h.
14197 * CONFORMANCE (Compiler limitations): Update.
14199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14201 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14203 2012-02-21 David S. Miller <davem@davemloft.net>
14205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14208 2012-02-20 David S. Miller <davem@davemloft.net>
14210 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14211 using a normal save/restore sequence, rather than allocating a
14212 dummy stack frame just to store a frame pointer and restore.
14213 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14215 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14217 * manual/install.texi: Fix stray word in line-wrapped comment.
14219 2012-02-20 David S. Miller <davem@davemloft.net>
14221 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14222 both binutils and gcc support GOTDATA.
14224 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14225 "rd %pc" in the PIC register setup sequences.
14227 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14228 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14229 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14230 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14231 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14236 (SYSCALL_ERROR_HANDLER): Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14240 (SYSCALL_ERROR_HANDLER): Likewise.
14242 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14243 (HAVE_GCC_GOTDATA): New.
14244 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14245 relocation support in both binutils and gcc.
14246 * sysdeps/sparc/elf/configure: Regenerate.
14248 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14249 * sysdeps/sparc/sparc32/elf/configure: Delete.
14250 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14251 * sysdeps/sparc/sparc64/elf/configure: Delete.
14252 * sysdeps/sparc/elf/configure.in: New file.
14253 * sysdeps/sparc/elf/configure: Generate.
14255 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14256 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14257 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14258 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14259 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14261 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14263 * manual/install.texi: Do not mention specific glibc version
14265 * manual/libc.texinfo (VERSION, UPDATED): Update.
14266 (@copying): Use @copyright{} and range of years.
14268 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14271 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14272 [crti.S not in sysdirs] (generated): Do not append.
14273 [crti.S not in sysdirs] (omit-deps): Likewise.
14274 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14275 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14276 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14277 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14278 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14280 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14281 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14282 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14283 * csu/defs.awk: Remove file.
14284 * sysdeps/generic/initfini.c: Likewise.
14285 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14287 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14290 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14292 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14293 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14294 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14295 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14297 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14299 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14300 (__EPOLL_PACKED): Define to empty if not defined by
14302 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14306 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14308 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14309 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14310 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14311 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14313 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14317 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14319 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14322 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14326 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14329 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14331 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14333 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14334 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14336 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14338 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14341 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14343 * math/w_acos.c: Use non-signaling floating-point comparisons.
14344 * math/w_acosf.c: Likewise.
14345 * math/w_acosh.c: Likewise.
14346 * math/w_acoshf.c: Likewise.
14347 * math/w_acoshl.c: Likewise.
14348 * math/w_acosl.c: Likewise.
14349 * math/w_asin.c: Likewise.
14350 * math/w_asinf.c: Likewise.
14351 * math/w_asinl.c: Likewise.
14352 * math/w_atanh.c: Likewise.
14353 * math/w_atanhf.c: Likewise.
14354 * math/w_atanhl.c: Likewise.
14355 * math/w_exp2.c: Likewise.
14356 * math/w_exp2f.c: Likewise.
14357 * math/w_exp2l.c: Likewise.
14358 * math/w_j0.c: Likewise.
14359 * math/w_j0f.c: Likewise.
14360 * math/w_j0l.c: Likewise.
14361 * math/w_j1.c: Likewise.
14362 * math/w_j1f.c: Likewise.
14363 * math/w_j1l.c: Likewise.
14364 * math/w_jn.c: Likewise.
14365 * math/w_jnf.c: Likewise.
14366 * math/w_log.c: Likewise.
14367 * math/w_log10.c: Likewise.
14368 * math/w_log10f.c: Likewise.
14369 * math/w_log10l.c: Likewise.
14370 * math/w_log2.c: Likewise.
14371 * math/w_log2f.c: Likewise.
14372 * math/w_log2l.c: Likewise.
14373 * math/w_logf.c: Likewise.
14374 * math/w_logl.c: Likewise.
14375 * math/w_sqrt.c: Likewise.
14376 * math/w_sqrtf.c: Likewise.
14377 * math/w_sqrtl.c: Likewise.
14378 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14379 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14380 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14381 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14384 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14387 * manual/string.texi (strnlen): Use correct parameter name in
14388 equivalent expression.
14390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14393 * manual/users.texi (seteuid): Consistently use neweuid for
14396 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14399 * manual/nss.texi (Services in the NSS configuration): Correct
14400 list of services in example configuration file.
14402 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14405 * manual/arith.texi: Remove statements about negative zero
14406 behaving identically to zero.
14408 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14411 * manual/install.texi: Do not document upgrading from libc5.
14413 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14416 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14418 2012-02-18 David S. Miller <davem@davemloft.net>
14420 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14421 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14422 %o7 across the call.
14423 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14426 SETUP_PIC_REG_LEAF.
14427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14428 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14429 * sysdeps/sparc/crtn.S: Likewise.
14431 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14433 * aout/Makefile: Remove.
14435 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14438 * manual/examples/argp-ex1.c (main): Format definition in GNU
14440 * manual/examples/argp-ex2.c (main): Likewise.
14441 * manual/examples/argp-ex3.c (main): Likewise.
14442 * manual/examples/argp-ex4.c (main): Likewise.
14443 * manual/examples/longopt.c (main): Use new-style prototype
14445 * manual/examples/strncat.c (main): Specify return type and use
14446 (void) for arguments.
14447 * manual/examples/subopt.c (main): Use char **argv argument.
14449 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14452 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14455 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14458 * manual/string.texi (strchr): Change when strchrnul is
14461 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14464 * manual/locale.texi (setlocale): Document LOCPATH.
14466 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14469 * manual/process.texi (execle): Move @dots{} before last argument.
14471 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14474 * manual/charset.texi (Generic Charset Conversion): Fix typo
14475 (LC_TYPE -> LC_CTYPE).
14477 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14480 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14481 (scalbnf): Likewise.
14482 (scalbnl): Likewise.
14483 (scalbln): Likewise.
14484 (scalblnf): Likewise.
14485 (scalblnl): Likewise.
14486 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14487 (vwarnx): Likewise.
14490 * manual/filesys.texi (telldir): Use braces around return type.
14491 * manual/llio.texi (mmap): Add space after comma.
14492 (mmap64): Likewise.
14493 * manual/math.texi (jn): Use @var{} on parameter names.
14499 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14501 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14503 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14504 (sched_get_priority_max): Likewise.
14505 * manual/signal.texi (sigvec): Add space after comma.
14506 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14508 (if_indextoname): Likewise.
14509 (if_freenameindex): Likewise.
14510 (sendto): Use ',' instead of '.' in prototype.
14511 * manual/startup.texi (syscall): Use @dots{} instead of literal
14513 * manual/stdio.texi (__fpending): Separate initial words of
14514 paragraph from @deftypefun line.
14515 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14517 (vsyslog): Use @var{} on parameter names.
14518 * manual/terminal.texi (stty): Use @var{} on parameter names.
14519 * manual/users.texi (getutmp): Use @var{} on parameter names.
14520 (getutmpx): Likewise.
14522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14525 * manual/stdio.texi (fopen): Fix typos in description of
14528 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14531 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14532 get clock_id definition.
14534 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14537 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14538 (madvise): Cast every argument to void on its own.
14540 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14543 * manual/startup.texi (Exit Status): Fix typo.
14545 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14548 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14549 * manual/examples/argp-ex2.c: Likewise.
14550 * manual/examples/argp-ex3.c: Likewise.
14552 2012-02-16 Richard Henderson <rth@redhat.com>
14554 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14555 * sysdeps/s390/s390-32/initfini.c: Remove.
14556 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14557 * sysdeps/s390/s390-64/initfini.c: Remove.
14559 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14561 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14562 compiler output for sysdeps/generic/initfini.c.
14563 * sysdeps/sh/elf/initfini.c: Remove file.
14565 2012-02-16 David S. Miller <davem@davemloft.net>
14568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14570 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14571 * sysdeps/sparc/crti.S: New file.
14572 * sysdeps/sparc/crtn.S: New file.
14573 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14574 * sysdeps/sparc/sparc64/Makefile: Likewise.
14576 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14579 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14581 2012-02-15 Roland McGrath <roland@hack.frob.com>
14584 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14586 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14587 (write, read, close): Likewise.
14588 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14590 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14593 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14595 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14597 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14601 2012-02-14 Marek Polacek <polacek@redhat.com>
14603 * sysdeps/x86_64/crti.S: New file.
14604 * sysdeps/x86_64/crtn.S: New file.
14605 * sysdeps/x86_64/elf/initfini.c: Remove file.
14607 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14609 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14610 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14611 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14612 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14614 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14618 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14620 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14621 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14623 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14625 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14629 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14631 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14632 __feraiseexcept instead of feraiseexcept.
14634 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14635 nanosleep invocations.
14636 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14637 strings, and add error checking for a nanosleep invocations.
14639 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14641 Replace FSF snail mail address with URLs, as per GNU coding standards.
14642 Most of the snail mail addresses were wrong anyway, and omitting
14643 them makes the source code easier to maintain. Almost all of the
14644 changes are to license notices and to locale LC_IDENTIFICATION
14645 addresses, except for this one:
14646 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14647 not its snail mail address.
14649 2012-02-09 Richard Henderson <rth@twiddle.net>
14651 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14652 of kernel-features.h.
14654 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14656 2012-02-08 Marek Polacek <polacek@redhat.com>
14658 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14659 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14660 * sysdeps/gnu/_G_config.h: Likewise.
14661 * sysdeps/generic/_G_config.h: Likewise.
14663 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14665 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14669 * sysdeps/powerpc/powerpc32/crti.S: New file.
14670 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14671 * sysdeps/powerpc/powerpc64/crti.S: New file.
14672 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14674 * Makeconfig (have-initfini): Don't set.
14675 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14676 * configure.in (nopic_initfini): Don't substitute.
14677 * config.h.in (HAVE_INITFINI): Don't #undef.
14678 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14679 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14681 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14683 Support crti.S and crtn.S provided directly by architectures.
14684 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14685 [crti.S in sysdirs] (omit-deps): Likewise.
14686 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14687 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14688 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14689 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14690 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14691 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14692 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14693 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14694 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14695 compiler output for sysdeps/generic/initfini.c.
14696 * sysdeps/i386/elf/Makefile: Remove file.
14697 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14699 2012-02-07 Marek Polacek <polacek@redhat.com>
14701 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14702 * sysdeps/gnu/_G_config.h: Likewise.
14703 * sysdeps/mach/hurd/_G_config.h: Likewise.
14705 2012-02-07 Marek Polacek <polacek@redhat.com>
14707 * math/Makefile (tests): Add tst-CMPLX2.
14708 * math/tst-CMPLX2.c: New file.
14710 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14712 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14714 * math/libm-test.inc (jn_test): Add missing L suffix.
14716 2012-02-06 Marek Polacek <polacek@redhat.com>
14718 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14719 * sysdeps/i386/fpu/e_powf.S: Likewise.
14720 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14721 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14722 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14723 * sysdeps/i386/fpu/e_pow.S: Likewise.
14724 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14726 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14727 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14728 * sysdeps/i386/fpu/e_log2.S: Likewise.
14729 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14730 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14731 * sysdeps/i386/fpu/e_powl.S: Likewise.
14732 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14733 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14734 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14735 * sysdeps/i386/fpu/e_logl.S: Likewise.
14736 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14737 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14738 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14739 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14740 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14741 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14742 * sysdeps/i386/fpu/e_log.S: Likewise.
14743 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14744 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14745 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14746 * sysdeps/i386/fpu/e_logf.S: Likewise.
14747 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14748 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14749 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14750 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14751 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14752 * sysdeps/i386/fpu/e_log10.S: Likewise.
14753 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14755 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14756 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14757 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14758 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14759 * sysdeps/i386/asm-syntax.h: Likewise.
14760 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14761 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14762 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14763 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14764 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14765 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14766 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14767 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14768 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14769 * sysdeps/powerpc/sysdep.h: Likewise.
14770 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14773 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14776 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14778 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14780 * sysdeps/i386/sysdep.h: Include <features.h>.
14781 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14784 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14786 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14788 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14791 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14793 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14794 (SETUP_PIC_REG): Use GET_PC_THUNK.
14795 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14798 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14800 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14801 for non-PIC compilation.
14802 (SETUP_PIC_REG): Add .p2align directive.
14803 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14804 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14805 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14806 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14807 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14808 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14811 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14812 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14813 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14814 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14815 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14816 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14817 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14818 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14819 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14820 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14821 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14822 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14831 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14832 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14833 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14835 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14836 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14837 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14838 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14842 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14845 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14847 * math/tst-CMPLX.c: Include <stdio.h>.
14849 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14851 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14853 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14854 * sysdeps/sparc/bits/mathdef.h: Likewise.
14856 2012-01-31 Marek Polacek <polacek@redhat.com>
14858 * libio/libio.h: Don't define _PARAMS.
14859 * locale/programs/config.h: Don't define PARAMS.
14860 * stdlib/strtol_l.c: Likewise.
14861 (__strtol_l): Remove PARAMS from the prototype.
14863 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14865 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14866 names. Just use the correct names. Remove unnecessary wrapper
14868 * malloc/arena.c: Likewise.
14869 * malloc/hooks.c: Likewise.
14871 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14872 ARENA_TEST says not to. Simplify test for creation of a new arena.
14873 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14875 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14877 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14879 (update_get_addr): New function.
14880 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14881 GET_ADDR_MODULE parameter.
14883 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14885 * crypt/cert.c: Remove __STDC__ conditionals.
14886 * crypt/crypt-entry.c: Likewise.
14887 * crypt/crypt_util.c: Likewise.
14888 * libio/filedoalloc.c: Likewise.
14889 * libio/fileops.c: Likewise.
14890 * libio/genops.c: Likewise.
14891 * libio/iofclose.c: Likewise.
14892 * libio/iofdopen.c: Likewise.
14893 * libio/iofopen.c: Likewise.
14894 * libio/iofopen64.c: Likewise.
14895 * libio/iogetdelim.c: Likewise.
14896 * libio/iopopen.c: Likewise.
14897 * libio/obprintf.c: Likewise.
14898 * libio/oldfileops.c: Likewise.
14899 * libio/oldiofclose.c: Likewise.
14900 * libio/oldiofdopen.c: Likewise.
14901 * libio/oldiofopen.c: Likewise.
14902 * libio/oldiopopen.c: Likewise.
14903 * libio/wfiledoalloc.c: Likewise.
14904 * libio/wgenops.c: Likewise.
14905 * locale/programs/xmalloc.c: Likewise.
14906 * misc/syslog.c: Likewise.
14907 * stdio-common/xbug.c: Likewise.
14908 * string/memchr.c: Likewise.
14909 * string/memcmp.c: Likewise.
14910 * string/memrchr.c: Likewise.
14911 * string/rawmemchr.c: Likewise.
14912 * sysdeps/posix/getcwd.c: Likewise.
14913 * time/strftime_l.c: Likewise.
14915 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14917 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14918 * config.make.in (config-cflags-sse2avx): Define.
14919 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14922 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14924 * scripts/config.guess: Update from upstream config git repository.
14925 * scripts/config.sub: Likewise.
14927 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14929 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14931 (R_TILEPRO_*, R_TILEGX_*): New macros.
14933 * scripts/firstversions.awk: Fix bug in version range handling.
14935 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14937 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14939 * include/sys/epoll.h: New file.
14940 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14943 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14945 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14946 Avoid unnecessary __WORDSIZE == 64 test.
14947 (fmaxf): Use VEX format if possible.
14952 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14953 * math/math_private.h: Remove libc_fegetround* and
14955 * sysdeps/i386/configure.in: Check for -msse2avx.
14956 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14957 also if SSE2AVX is defined.
14958 Remove libc_fegetround* and libc_fesetround*.
14959 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14960 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14961 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14963 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14964 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14965 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14966 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14969 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14971 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14973 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14975 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14977 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14980 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14982 * Makeconfig (libm): Define.
14983 * elf/Makefile: Add rules to build and run tst-relsort1.
14984 * elf/tst-relsort1.c: New file.
14985 * elf/tst-relsort1mod1.c: New file.
14986 * elf/tst-relsort1mod2.c: New file.
14988 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14990 * math/s_ldexp.c: Remove __STDC__ conditionals.
14991 * math/s_ldexpf.c: Likewise.
14992 * math/s_ldexpl.c: Likewise.
14993 * math/s_nextafter.c: Likewise.
14994 * math/s_nexttowardf.c: Likewise.
14995 * math/s_significand.c: Likewise.
14996 * math/s_significandf.c: Likewise.
14997 * math/s_significandl.c: Likewise.
14998 * math/w_jnl.c: Likewise.
14999 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15000 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15001 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15002 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15003 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15018 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15019 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15020 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15021 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15023 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15024 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15025 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15026 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15027 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15028 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15029 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15030 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15031 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15032 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15033 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15034 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15035 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15036 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15037 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15038 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15039 * sysdeps/ieee754/k_standard.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15088 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15089 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15119 * sysdeps/ieee754/s_matherr.c: Likewise.
15120 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15121 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15122 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15125 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15127 * crypt/md5.h: Remove __STDC__ conditionals.
15128 * libio/libioP.h: Likewise.
15129 * locale/programs/config.h: Likewise.
15130 * sysdeps/generic/sysdep.h: Likewise.
15131 * sysdeps/i386/asm-syntax.h: Likewise.
15132 * sysdeps/s390/asm-syntax.h: Likewise.
15133 * sysdeps/unix/sysdep.h: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15137 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15139 * libio/libio.h: Remove __STDC__ conditionals.
15140 * malloc/obstack.h: Likewise.
15141 * math/complex.h: Likewise.
15142 * math/math.h: Likewise.
15143 * sysdeps/generic/_G_config.h: Likewise.
15144 * sysdeps/gnu/_G_config.h: Likewise.
15145 * sysdeps/mach/hurd/_G_config.h: Likewise.
15146 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15147 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15148 * sysdeps/sparc/bits/mathdef.h: Likewise.
15150 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15153 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15154 Clean up HAS_* macros.
15155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15156 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15166 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15168 * elf/tst-unique3.cc (gets): Remove declaration.
15169 * elf/tst-unique3lib.cc (gets): Likewise.
15170 * elf/tst-unique3lib2.cc (gets): Likewise.
15171 * elf/tst-unique4.cc (gets): Likewise.
15173 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15175 * include/stdio.h: Add C++ protection. Add gets declarations and
15177 * debug/tst-chk1.c: Don't declare gets here.
15178 * stdio-common/tst-gets.c: Likewise.
15180 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15182 * posix/glob: Remove directory.
15184 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15186 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15188 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15190 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15191 of the non-standard EPFNOSUPPORT.
15193 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15195 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15196 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15197 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15199 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15201 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15203 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15205 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15207 * nscd/grpcache.c (cache_addgr): Likewise.
15208 * nscd/hstcache.c (cache_addhst): Likewise.
15209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15210 * nscd/pwdcache.c (cache_addpw): Likewise.
15211 * nscd/servicescache.c (cache_addserv): Likewise.
15213 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15215 * malloc/malloc.c: Various cleanups.
15216 * malloc/hooks.c: Likewise.
15218 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15219 * stdlib/bug-fmtmsg1.c: New file.
15221 * stdlib/fmtmsg.c (init): Add missing unlock.
15222 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15224 2012-01-12 Marek Polacek <polacek@redhat.com>
15226 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15229 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15231 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15232 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15233 macro to ensure uniqueness of label name.
15234 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15235 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15237 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15239 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15241 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15242 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15246 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15248 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15250 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15251 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15252 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15254 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15256 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15258 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15261 * math/bits/math-finite.h: Add ldexp support.
15263 2012-01-10 Marek Polacek <polacek@redhat.com>
15265 * locale/programs/localedef.h (show_archive_content): Add noreturn
15268 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15270 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15272 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15274 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15276 * io/Makefile (headers): Add bits/poll2.h.
15278 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15281 typo #include statement.
15283 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15285 * include/sys/cdefs.h: Define __attribute_alloc_size.
15286 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15287 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15288 * elf/pldd.c: Likewise.
15289 * iconv/iconv_charmap.c: Likewise.
15290 * iconv/iconvconfig.c: Likewise.
15291 * iconv/strtab.c: Likewise.
15292 * locale/programs/locale.c: Likewise.
15293 * locale/programs/localedef.h: Likewise.
15294 * locale/programs/simple-hash.c: Likewise.
15295 * nscd/nscd.h: Likewise.
15296 * nss/makedb.c: Likewise.
15297 * sysdeps/generic/ldconfig.h: Likewise.
15298 * locale/programs/localedef.c: Remove xmalloc prototype.
15299 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15301 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15303 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15306 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15308 * math/Makefile (tests): Add tst-CMPLX.
15309 * math/tst-CMPLX.c: New file.
15311 * math/complex.h (CMPLXL): Fix typo.
15313 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15314 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15316 * debug/tst-chk1.c: Add poll and ppoll tests.
15317 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15318 * include/sys/poll.h: Add hidden proto for ppoll.
15319 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15320 * sysdeps/mach/hurd/ppoll.c: Likewise.
15321 * io/ppoll.c: Likewise.
15322 * debug/poll_chk.c: New file.
15323 * debug/ppoll_chk.c: New file.
15324 * include/bits/poll2.h: New file.
15325 * io/bits/poll2.h: New file.
15328 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15330 * configure.in: static is always set to yes. Remove.
15331 * config.make.in: Don't set build-static.
15332 * Makeconfig: Remove use of build-static.
15333 * dlfcn/Makefile: Likewise.
15334 * elf/Makefile: Likewise.
15335 * math/Makefile: Likewise.
15336 * misc/Makefile: Likewise.
15337 * nptl/Makefile: Likewise.
15338 * sysdeps/mach/hurd/Makefile: Likewise.
15340 * configure.in: PWD_P is not used anymore.
15341 * config.make.in: Remove PWD_P entry.
15343 * configure.in: Remove last remnants of RANLIB.
15344 No need to check for signed size_t anymore.
15345 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15347 Remove __builtin_expect test because we require at least gcc 3.4.
15348 * aclocal.m4: Likewise.
15350 * wcsmbs/mbrtoc16.c: Implement using towc function.
15351 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15352 * wcsmbs/wcsmbsload.c: Likewise.
15353 * iconv/gconv_simple.c: Likewise.
15354 * iconv/gconv_int.h: Likewise.
15355 * iconv/gconv_builtin.h: Likewise.
15356 * iconv/iconv_prog.c: Remove CHAR16 handling.
15358 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15360 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15362 * configure.in: Remove --with-elf and --enable-bounded options.
15363 Dont set base_machine for ia64. More non-ELF conditions removed.
15364 Remove testing and setting of leading underscore information.
15365 * config.make.in (build-bounded): Set to no.
15366 * config.h.in: Remove NO_UNDERSCORES entry.
15367 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15369 * csu/start.c: Remove !NO_UNDERSCORE code.
15370 * locale/localeinfo.h: Likewise.
15371 * sysdeps/generic/machine-gmon.h: Likewise.
15372 * sysdeps/generic/sysdep.h: Likewise.
15373 * sysdeps/i386/sysdep.h: Likewise.
15374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15375 * sysdeps/mach/sysdep.h: Likewise.
15376 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15378 * sysdeps/sh/sysdep.h: Likewise.
15379 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15380 * sysdeps/unix/i386/sysdep.S: Likewise.
15381 * sysdeps/unix/sparc/start.c: Likewise.
15382 * sysdeps/unix/sparc/sysdep.S: Likewise.
15383 * sysdeps/unix/sparc/sysdep.h: Likewise.
15384 * sysdeps/unix/start.c: Likewise.
15385 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15386 * sysdeps/x86_64/sysdep.h: Likewise.
15388 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15391 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15393 * argp/argp-fmtstream.h: Use const instead __const.
15394 * argp/argp.h: Likewise.
15395 * assert/assert.h: Likewise.
15396 * bits/fenv.h: Likewise.
15397 * bits/sched.h: Likewise.
15398 * bits/sigset.h: Likewise.
15399 * bits/sigthread.h: Likewise.
15400 * catgets/nl_types.h: Likewise.
15401 * conform/data/pthread.h-data: Likewise.
15402 * crypt/crypt-private.h: Likewise.
15403 * crypt/crypt.h: Likewise.
15404 * crypt/crypt_util.c: Likewise.
15405 * ctype/ctype.h: Likewise.
15406 * debug/execinfo.h: Likewise.
15407 * debug/mbsnrtowcs_chk.c: Likewise.
15408 * debug/mbsrtowcs_chk.c: Likewise.
15409 * debug/wcsnrtombs_chk.c: Likewise.
15410 * debug/wcsrtombs_chk.c: Likewise.
15411 * debug/wcstombs_chk.c: Likewise.
15412 * dirent/dirent.h: Likewise.
15413 * dlfcn/dlfcn.h: Likewise.
15414 * elf/neededtest4.c: Likewise.
15415 * grp/grp.h: Likewise.
15416 * gshadow/gshadow.h: Likewise.
15417 * iconv/gconv.h: Likewise.
15418 * iconv/gconv_int.h: Likewise.
15419 * iconv/gconv_simple.c: Likewise.
15420 * iconv/iconv.h: Likewise.
15421 * iconv/loop.c: Likewise.
15422 * iconv/skeleton.c: Likewise.
15423 * include/aio.h: Likewise.
15424 * include/aliases.h: Likewise.
15425 * include/argz.h: Likewise.
15426 * include/arpa/inet.h: Likewise.
15427 * include/assert.h: Likewise.
15428 * include/dirent.h: Likewise.
15429 * include/dlfcn.h: Likewise.
15430 * include/execinfo.h: Likewise.
15431 * include/fcntl.h: Likewise.
15432 * include/fenv.h: Likewise.
15433 * include/glob.h: Likewise.
15434 * include/grp.h: Likewise.
15435 * include/libintl.h: Likewise.
15436 * include/mntent.h: Likewise.
15437 * include/netdb.h: Likewise.
15438 * include/pwd.h: Likewise.
15439 * include/rpc/netdb.h: Likewise.
15440 * include/sched.h: Likewise.
15441 * include/search.h: Likewise.
15442 * include/shadow.h: Likewise.
15443 * include/signal.h: Likewise.
15444 * include/stdio.h: Likewise.
15445 * include/stdlib.h: Likewise.
15446 * include/string.h: Likewise.
15447 * include/sys/socket.h: Likewise.
15448 * include/sys/stat.h: Likewise.
15449 * include/sys/statfs.h: Likewise.
15450 * include/sys/statvfs.h: Likewise.
15451 * include/sys/syslog.h: Likewise.
15452 * include/sys/time.h: Likewise.
15453 * include/sys/uio.h: Likewise.
15454 * include/time.h: Likewise.
15455 * include/unistd.h: Likewise.
15456 * include/utmp.h: Likewise.
15457 * include/wchar.h: Likewise.
15458 * include/wctype.h: Likewise.
15459 * inet/aliases.h: Likewise.
15460 * inet/arpa/inet.h: Likewise.
15461 * inet/netinet/ether.h: Likewise.
15462 * inet/netinet/in.h: Likewise.
15463 * intl/libintl.h: Likewise.
15464 * io/bits/fcntl2.h: Likewise.
15465 * io/fcntl.h: Likewise.
15466 * io/ftw.h: Likewise.
15467 * io/sys/poll.h: Likewise.
15468 * io/sys/stat.h: Likewise.
15469 * io/sys/statfs.h: Likewise.
15470 * io/sys/statvfs.h: Likewise.
15471 * io/utime.h: Likewise.
15472 * libio/bits/stdio.h: Likewise.
15473 * libio/bits/stdio2.h: Likewise.
15474 * libio/libio.h: Likewise.
15475 * libio/libioP.h: Likewise.
15476 * libio/stdio.h: Likewise.
15477 * locale/lc-ctype.c: Likewise.
15478 * locale/locale.h: Likewise.
15479 * login/utmp.h: Likewise.
15480 * malloc/arena.c: Likewise.
15481 * malloc/malloc.c: Likewise.
15482 * malloc/malloc.h: Likewise.
15483 * malloc/mcheck.c: Likewise.
15484 * malloc/mtrace.c: Likewise.
15485 * math/bits/mathcalls.h: Likewise.
15486 * math/fenv.h: Likewise.
15487 * math/math_private.h: Likewise.
15488 * misc/bits/error.h: Likewise.
15489 * misc/bits/syslog.h: Likewise.
15490 * misc/err.h: Likewise.
15491 * misc/error.h: Likewise.
15492 * misc/fstab.h: Likewise.
15493 * misc/mntent.h: Likewise.
15494 * misc/regexp.h: Likewise.
15495 * misc/search.h: Likewise.
15496 * misc/sgtty.h: Likewise.
15497 * misc/sys/mman.h: Likewise.
15498 * misc/sys/syslog.h: Likewise.
15499 * misc/sys/uio.h: Likewise.
15500 * misc/sys/xattr.h: Likewise.
15501 * misc/ttyent.h: Likewise.
15502 * nis/rpcsvc/ypclnt.h: Likewise.
15503 * nss/nss.h: Likewise.
15504 * posix/bits/unistd.h: Likewise.
15505 * posix/fnmatch.h: Likewise.
15506 * posix/glob.h: Likewise.
15507 * posix/sched.h: Likewise.
15508 * posix/spawn.h: Likewise.
15509 * posix/sys/wait.h: Likewise.
15510 * posix/unistd.h: Likewise.
15511 * posix/wordexp.h: Likewise.
15512 * pwd/pwd.h: Likewise.
15513 * resolv/netdb.h: Likewise.
15514 * resource/sys/resource.h: Likewise.
15515 * rt/aio.h: Likewise.
15516 * rt/bits/mqueue2.h: Likewise.
15517 * rt/mqueue.h: Likewise.
15518 * shadow/shadow.h: Likewise.
15519 * signal/signal.h: Likewise.
15520 * socket/send.c: Likewise.
15521 * socket/sendto.c: Likewise.
15522 * socket/sys/socket.h: Likewise.
15523 * stdio-common/printf.h: Likewise.
15524 * stdlib/bits/stdlib.h: Likewise.
15525 * stdlib/fmtmsg.h: Likewise.
15526 * stdlib/monetary.h: Likewise.
15527 * stdlib/stdlib.h: Likewise.
15528 * stdlib/ucontext.h: Likewise.
15529 * streams/stropts.h: Likewise.
15530 * string/argz.h: Likewise.
15531 * string/bits/string2.h: Likewise.
15532 * string/string.h: Likewise.
15533 * string/strings.h: Likewise.
15534 * sunrpc/rpc/auth.h: Likewise.
15535 * sunrpc/rpc/auth_des.h: Likewise.
15536 * sunrpc/rpc/clnt.h: Likewise.
15537 * sunrpc/rpc/netdb.h: Likewise.
15538 * sunrpc/rpc/pmap_clnt.h: Likewise.
15539 * sunrpc/rpc/xdr.h: Likewise.
15540 * sysdeps/generic/inttypes.h: Likewise.
15541 * sysdeps/generic/net/if.h: Likewise.
15542 * sysdeps/generic/sys/swap.h: Likewise.
15543 * sysdeps/gnu/net/if.h: Likewise.
15544 * sysdeps/gnu/utmpx.h: Likewise.
15545 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15546 * sysdeps/i386/i486/bits/string.h: Likewise.
15547 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15548 * sysdeps/s390/bits/string.h: Likewise.
15549 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15550 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15551 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15552 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15553 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15554 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15555 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15556 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15557 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15558 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15559 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15560 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15561 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15562 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15563 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15568 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15571 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15572 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15573 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15574 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15575 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15577 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15578 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15579 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15580 * sysvipc/sys/ipc.h: Likewise.
15581 * sysvipc/sys/msg.h: Likewise.
15582 * sysvipc/sys/sem.h: Likewise.
15583 * sysvipc/sys/shm.h: Likewise.
15584 * termios/termios.h: Likewise.
15585 * time/sys/time.h: Likewise.
15586 * time/time.h: Likewise.
15587 * wcsmbs/bits/wchar2.h: Likewise.
15588 * wcsmbs/uchar.h: Likewise.
15589 * wcsmbs/wchar.h: Likewise.
15590 * wctype/wctype.h: Likewise.
15593 * Makeconfig: Remove all but ELF support including AIX support.
15594 * Makerules: Likewise.
15595 * config.h.in: Likewise.
15596 * config.make.in: Likewise.
15597 * configure: Likewise.
15598 * configure.in: Likewise.
15599 * csu/Makefile: Likewise.
15600 * csu/version.c: Likewise.
15601 * debug/Makefile: Likewise.
15602 * dlfcn/Makefile: Likewise.
15603 * elf/Makefile: Likewise.
15604 * extra-lib.mk: Likewise.
15605 * iconv/Makefile: Likewise.
15606 * include/libc-symbols.h: Likewise.
15607 * include/shlib-compat.h: Likewise.
15608 * resolv/Makefile: Likewise.
15609 * resolv/res_libc.c: Likewise.
15610 * rt/Makefile: Likewise.
15611 * sysdeps/i386/asm-syntax.h: Likewise.
15612 * sysdeps/i386/sysdep.h: Likewise.
15613 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15614 * sysdeps/mach/sysdep.h: Likewise.
15615 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15616 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15617 * sysdeps/s390/asm-syntax.h: Likewise.
15618 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15619 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15620 * sysdeps/sh/sysdep.h: Likewise.
15621 * sysdeps/unix/sparc/sysdep.h: Likewise.
15622 * sysdeps/wordsize-32/divdi3.c: Likewise.
15623 * sysdeps/x86_64/sysdep.h: Likewise.
15625 * argp/Versions: Remove _argp_unlock_xxx.
15628 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15629 * abilist/libBrokenLocale.abilist: Likewise.
15630 * abilist/libanl.abilist: Likewise.
15631 * abilist/libc.abilist: Likewise.
15632 * abilist/libcrypt.abilist: Likewise.
15633 * abilist/libdl.abilist: Likewise.
15634 * abilist/libm.abilist: Likewise.
15635 * abilist/libnsl.abilist: Likewise.
15636 * abilist/libpthread.abilist: Likewise.
15637 * abilist/libresolv.abilist: Likewise.
15638 * abilist/librt.abilist: Likewise.
15639 * abilist/libthread_db.abilist: Likewise.
15640 * abilist/libutil.abilist: Likewise.
15641 * abilist/libnss_db.abilist: New file.
15643 * scripts/abilist.awk: Add support for indirect functions.
15645 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15647 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15649 * shlib-versions: Remove entries for ports architectures.
15651 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15653 * elf/stackguard-macros.h: Remove support for IA-64.
15654 * elf/tst-auditmod1.c: Likewise.
15655 * sysdeps/generic/ldsodefs.h: Likewise.
15657 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15658 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15662 * configure.in: Remove --enable-omitfp support.
15664 * config.make.in: Likewise.
15665 * Makeconfig: Likewise.
15666 * manual/install.texi: Likewise.
15668 In case anyone cares, the IA-64 architecture could move to ports.
15669 * sysdeps/ia64/*: Removed.
15670 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15671 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15674 * configure.in: Remove entries for unsupported architectures.
15677 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15678 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15680 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15681 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15682 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15683 fall back to using wcrtomb.
15684 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15685 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15687 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15688 * wcsmbs/tst-c16c32-1.c: New file.
15690 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15693 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15695 * elf/tst-unique3.cc: Add explicit declaration of gets.
15696 * elf/tst-unique3lib.cc: Likewise.
15697 * elf/tst-unique3lib2.cc: Likewise.
15698 * elf/tst-unique4.cc: Likewise.
15700 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15702 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15705 * assert/assert.h (static_assert): Don't define for C++.
15706 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15707 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15709 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15711 * iconv/loop.c (single loop): Fix assertion in storing of
15714 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15716 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15718 * posix/getconf.c: Update copyright year.
15719 * nss/getent.c: Likewise.
15720 * nss/makedb.c: Likewise.
15721 * iconv/iconvconfig.c: Likewise.
15722 * iconv/iconv_prog.c: Likewise.
15723 * elf/ldconfig.c: Likewise.
15724 * elf/pldd.c: Likewise.
15725 * elf/sotruss.ksh: Likewise.
15726 * catgets/gencat.c: Likewise.
15727 * csu/version.c: Likewise.
15728 * elf/ldd.bash.in: Likewise.
15729 * elf/sprof.c (print_version): Likewise.
15730 * locale/programs/locale.c: Likewise.
15731 * locale/programs/localedef.c: Likewise.
15732 * login/programs/pt_chown.c: Likewise.
15733 * nscd/nscd.c (print_version): Likewise.
15734 * debug/xtrace.sh: Likewise.
15735 * malloc/memusage.sh: Likewise.
15736 * malloc/mtrace.pl: Likewise.
15737 * debug/catchsegv.sh: Likewise.
15739 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15741 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15744 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15747 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15748 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15750 * iconv/gconv_int.h: Likewise.
15751 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15752 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15753 from libc for GLIBC_2.16.
15754 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15755 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15756 * wcsmbs/uchar.h: Really define mbstate_t.
15757 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15758 * wcsmbs/c16rtomb.c: New file.
15759 * wcsmbs/mbrtoc16.c: New file.
15760 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15761 for C/POSIX locale.
15762 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15763 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15765 * wcsmbs/wchar.h: Add missing __restrict.
15767 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15770 * time/Makefile (routines): Add timespec_get.
15771 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15772 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15773 timespec for ISO C11.
15774 * time/timespec_get.c: New file.
15775 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15776 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15779 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15780 * stdlib/stdlib.h: Declare aligned_alloc.
15781 * Versions.def: Add GLIBC_2.16 for libc.
15782 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15785 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15788 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15792 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15795 * assert/assert.h (static_assert): Define.
15797 * version.h: Update for 2.16 development version.
15800 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15803 * version.h (RELEASE): Bump for 2.15 release.
15804 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15806 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15807 Patch by Marek Polacek <mpolacek@redhat.com>.
15809 * bits/byteswap.h: Protect long long constants with __extension__.
15810 * sysdeps/i386/bits/byteswap.h: Likewise.
15811 * sysdeps/ia64/bits/byteswap.h: Likewise.
15812 * sysdeps/s390/bits/byteswap.h: Likewise.
15813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15815 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15819 destination buffer.
15820 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15822 2011-12-23 Marek Polacek <polacek@redhat.com>
15824 * elf/dl-addr.c (determine_info): Add inline keyword.
15825 * elf/tst-auditmod4b.c (check_avx): Likewise.
15826 * elf/tst-auditmod6b.c (check_avx): Likewise.
15827 * elf/tst-auditmod6c.c (check_avx): Likewise.
15828 * elf/tst-auditmod7b.c (check_avx): Likewise.
15830 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15832 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15835 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15838 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15839 processing for last bytes.
15841 2011-08-06 Bruno Haible <bruno@clisp.org>
15844 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15845 U+0385, not to U+1FEE.
15848 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15849 entry for U+00A5 U+0301.
15851 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15854 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15855 buffer for the output is too small.
15857 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15861 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15862 SSE flags if possible.
15864 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15868 processing for last bytes.
15870 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15872 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15873 (syscall-list-default-options, syscall-list-default-condition)
15874 (syscall-list-includes): Define.
15875 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15876 list of ABIs and options and #if conditions for each ABI. Do not
15877 handle common syscalls between ABIs specially.
15878 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15880 (syscall-list-variants, syscall-list-32bit-options)
15881 (syscall-list-32bit-condition, syscall-list-64bit-options)
15882 (syscall-list-64bit-condition): Define.
15883 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15884 (syscall-list-variants, syscall-list-32bit-options)
15885 (syscall-list-32bit-condition, syscall-list-64bit-options)
15886 (syscall-list-64bit-condition): Define.
15887 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15889 (syscall-list-variants, syscall-list-32bit-options)
15890 (syscall-list-32bit-condition, syscall-list-64bit-options)
15891 (syscall-list-64bit-condition): Define.
15892 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15894 (syscall-list-variants, syscall-list-32bit-options)
15895 (syscall-list-32bit-condition, syscall-list-64bit-options)
15896 (syscall-list-64bit-condition): Define.
15898 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15900 * locale/iso-639.def: Add brx entry.
15903 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15904 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15906 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15907 __feraiseexcept_renamed.
15909 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15912 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15913 EPOLLET with unsigned values.
15914 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15915 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15917 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15918 to large cancellation.
15919 * math/s_cacoshf.c: Likewise.
15920 * math/s_cacoshl.c: Likewise.
15922 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15926 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15927 * math/s_cacoshf.c: Likewise.
15928 * math/s_cacoshl.c: Likewise.
15930 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15933 * iconv/gconv.h: Define __GCONV_SWAP.
15934 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15935 * iconvdata/utf-16.c: Likewise.
15936 * iconvdata/utf-32.c: Likewise.
15938 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15941 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15942 numerator after shifting it by one limb.
15944 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15946 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15947 under [__USE_EXTERN_INLINES].
15949 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15952 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15954 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15956 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15957 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15959 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15961 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15962 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15963 for strncasecmp/strncasecmp_l compilation.
15964 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15965 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15967 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15970 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15973 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15976 * time/tzfile.c (__tzfile_read): Check values from file header.
15978 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15980 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15981 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15982 * powerpc/powerpc32/dl-start.S: Likewise.
15983 * powerpc/powerpc32/elf/start.S: Likewise.
15984 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15985 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15986 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15987 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15988 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15989 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15990 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15991 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15992 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15993 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15994 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15995 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15996 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15997 * powerpc/powerpc32/memset.S: Likewise.
15998 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15999 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16000 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16001 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16002 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16003 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16004 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16005 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16006 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16007 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16008 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16009 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16010 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16012 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16014 * math/libm-test.inc: Added more nearbyint tests.
16015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16020 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16022 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16025 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16027 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16028 Add wcscpy-ssse3 wcscpy-c.
16029 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16030 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16031 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16032 * sysdeps/x86_64/wcschr.S: New file.
16033 * sysdeps/x86_64/wcsrchr.S: New file.
16034 * string/test-strcmp.c: Remove checking of wcscmp function for
16036 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16037 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16038 wcsrchr-sse2 wcsrchr-c.
16039 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16040 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16041 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16042 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16043 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16044 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16045 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16046 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16047 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16048 * wcsmbc/wcschr.c (WCSCHR): New macro.
16050 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16052 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16053 * wcsmbs/test-wcsrchr.c: New file.
16054 * string/test-strrchr.c: Add wcsrchr support.
16056 * wcsmbs/test-wcscpy.c: New file.
16057 * string/test-strcpy.c: Add wcscpy support.
16060 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16062 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16065 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16068 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16070 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16072 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16073 Minor optimizations.
16075 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16076 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16077 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16079 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16081 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16082 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16083 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16084 for gcc to avoid warnings.
16085 * inet/Makefile (tests): Add tst-checks.
16086 * inet/tst-checks.c: New file.
16088 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16091 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16094 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16095 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16097 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16099 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16101 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16104 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16106 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16108 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16109 conditional on GCC version.
16110 (__arch_compare_and_exchange_val_8_acq)
16111 (__arch_compare_and_exchange_val_16_acq)
16112 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16113 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16114 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16116 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16118 * sysdeps/sh/backtrace.c: New file.
16120 2011-12-02 Andreas Schwab <schwab@redhat.com>
16122 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16125 2011-12-01 Andreas Schwab <schwab@redhat.com>
16127 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16128 falling back to utime.
16130 2011-11-30 Andreas Schwab <schwab@redhat.com>
16132 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16133 expectations for float.
16135 2011-11-29 Andreas Schwab <schwab@redhat.com>
16137 * locale/weight.h (findidx): Add parameter len.
16138 * locale/weightwc.h (findidx): Likewise.
16139 * posix/fnmatch_loop.c (FCT): Adjust caller.
16140 * posix/regcomp.c (build_equiv_class): Likewise.
16141 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16142 * posix/regexec.c (check_node_accept_bytes): Likewise.
16143 * string/strcoll_l.c (STRCOLL): Likewise.
16144 * string/strxfrm_l.c (STRXFRM): Likewise.
16146 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16148 * Makefile.in: Remove CVSOPT handling.
16149 * configure.in: Remove use of AC_REVISION.
16150 * iconvdata/Makefile (distribute): No need to filter out CVS.
16151 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16154 2011-11-16 Andreas Schwab <schwab@redhat.com>
16156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16157 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16158 [USE_AS_STRNCASECMP_L]: Likewise.
16159 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16160 NO_TLS_DIRECT_SEG_REFS.
16161 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16162 Fix argument offsets for non-PIC.
16163 [USE_AS_STRNCASECMP_L]: Likewise.
16164 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16165 NO_TLS_DIRECT_SEG_REFS.
16167 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16169 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16171 * locale/loadlocale.c (_nl_load_locale): Likewise.
16173 2011-11-15 Andreas Schwab <schwab@redhat.com>
16175 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16176 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16178 (SYSCALL_GETTIME): Set errno on error.
16180 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16181 count references to noai6ai_cached.
16183 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16185 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16187 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16188 FD_CLOEXEC for /proc/self/maps.
16190 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16191 FD_CLOEXEC for /proc/meminfo.
16193 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16196 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16197 FD_CLOEXEC for given file.
16199 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16201 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16202 FD_CLOEXEC for /etc/hosts.
16203 (_gethtent): Likewise.
16205 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16207 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16208 cancellation and set FD_CLOEXEC for /etc/netgroup.
16210 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16211 reading /etc/publickey.
16213 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16214 allow cancellation when reading /etc/group.
16216 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16218 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16220 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16221 when using data file.
16223 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16225 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16226 (write_nis_obj): Use "c" and "e" in fopen.
16228 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16230 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16232 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16234 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16236 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16239 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16241 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16243 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16245 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16246 file parsing and set FD_CLOEXEC.
16248 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16250 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16252 2011-11-14 Andreas Schwab <schwab@redhat.com>
16254 * malloc/arena.c (arena_get2): Don't call reused_arena when
16255 _int_new_arena failed.
16257 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16259 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16260 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16261 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16262 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16263 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16265 to compile strcasecmp and strncasecmp.
16266 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16267 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16271 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16273 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16274 locale-defines.sym to gen-as-const-headers.
16275 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16276 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16278 to compile strcasecmp and strncasecmp.
16279 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16280 strcasecmp_l and strncasecmp_l.
16281 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16282 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16283 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16284 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16285 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16286 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16287 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16288 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16289 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16290 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16291 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16293 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16295 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16296 result of SYSDEP_GETTIME_CPU to retval.
16297 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16298 parameter list to macro. Remove trailing semicolon. Adjust users.
16300 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16303 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16305 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16307 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16308 from unused variable.
16310 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16312 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16315 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16318 * sunrpc/rpc_prot.c (rejected): Fix case value.
16320 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16321 unsigned long long int to avoid warnings in shift.
16323 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16325 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16328 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16329 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16330 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16332 * nis/nis_table.c (nis_list): Use variable of correct type for
16333 result of __follow_path call.
16335 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16337 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16338 of math functions ceil, trunc, floor, round, and sqrt, when
16339 avaliable on the platform.
16340 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16342 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16343 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16344 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16346 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16348 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16349 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16351 2011-11-11 Roland McGrath <roland@hack.frob.com>
16353 * include/unistd.h: Fix __readlink return type.
16354 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16356 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16358 * stdlib/ucontext.h: Undo last change for makecontext.
16360 2011-11-11 Andreas Schwab <schwab@redhat.com>
16362 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16364 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16365 * setjmp/setjmp.h: Mark functions as non-leaf.
16366 * setjmp/bits/setjmp2.h: Likewise.
16367 * stdlib/ucontext.h: Likewise.
16369 2011-11-10 Andreas Schwab <schwab@redhat.com>
16371 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16372 (reused_arena): Don't check arena limit.
16373 (arena_get2): Atomically check arena limit.
16375 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16377 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16378 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16383 2011-11-07 Andreas Schwab <schwab@redhat.com>
16385 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16386 handler when locking.
16388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16389 Fix size of allocated buffer.
16391 2011-11-04 Andreas Schwab <schwab@redhat.com>
16394 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16395 declarations for long double functions.
16396 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16398 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16400 2011-11-03 Andreas Schwab <schwab@redhat.com>
16402 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16405 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16408 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16410 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16412 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16414 * include/alloca.h (stackinfo_alloca_round): Define.
16415 (extend_alloca): Use it.
16416 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16417 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16420 * scripts/check-local-headers.sh: Ignore libaudit.h.
16422 * nscd/Makefile (extra-objs): Make recursively expanded.
16424 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16426 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16429 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16430 * posix/tst-rfc3484-2.c: Likewise.
16431 * posix/tst-rfc3484-3.c: Likewise.
16433 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16435 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16437 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16438 process_vm_writev from libc using GLIBC_2.15 version.
16440 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16442 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16444 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16447 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16450 * nss/getent.c (initgroups_keys): Show error message in case no group
16453 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16454 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16455 __bump_nl_timestamp.
16456 * nscd/connections (nscd_init): When host database is served open
16457 netlink socket and request notification about configuration changes.
16458 (main_loop_poll): Track netlink file descriptor and bump timestamp
16459 in case data becomes available.
16460 (main_loop_epoll): Likewise.
16461 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16462 (database_pers_head): Add extra_data fileds.
16463 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16464 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16465 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16468 in6ai data, call __free_in6ai.
16469 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16470 Add -DHAVE_NETLINK.
16471 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16472 interface information. Reuse previous data if netlink timestamp
16474 (__bump_nl_timestamp): New function.
16475 (__free_in6ai): New function.
16477 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16479 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16480 close_not_cancel_no_status here.
16481 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16483 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16486 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16489 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16490 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16491 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16493 2011-07-03 Andreas Jaeger <aj@suse.de>
16496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16497 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16498 * math/libm-test.inc (sin_test): Add test case.
16500 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16503 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16504 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16506 * elf/chroot_canon.c (chroot_canon): Cleanups.
16508 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16511 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16512 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16514 * string/test-strchr.c: Make usable for strchrnul testing.
16515 * string/test-strchrnul.c: New file.
16516 * string/Makefile (strop-tests): Add strchrnul.
16518 * po/it.po: Update from translation team.
16519 * po/es.po: Likewise.
16521 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16523 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16524 the three constants needed as parameters. Drop the others.
16525 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16526 __m128i_strloadu_tolower.
16527 Create and initialize variable zero and use it in all the places
16528 where _mm_setzero_si128 was used.
16530 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16531 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16532 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16533 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16535 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16536 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16537 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16538 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16539 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16540 __mpranred, __mptan.
16541 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16542 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16543 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16544 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16545 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16546 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16547 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16548 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16549 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16551 2011-10-28 Andreas Schwab <schwab@redhat.com>
16553 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16554 redefine if SHARED.
16555 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16558 wide char related routines to wcsmbs subdir.
16560 2011-10-27 Andreas Schwab <schwab@redhat.com>
16563 * misc/sys/cdefs.h (__THROWNL): Define.
16564 * posix/unistd.h: Use __THREADNL instead of __THREAD
16565 for memory synchronization functions.
16567 2011-10-26 Roland McGrath <roland@hack.frob.com>
16570 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16572 * manual/stdio.texi (Obstack Streams): Node removed.
16574 2011-10-26 Andreas Schwab <schwab@redhat.com>
16576 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16577 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16578 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16580 * math/math_private.h (math_force_eval): Allow non-addressable
16582 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16584 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16587 file is not needed.
16589 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16590 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16591 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16592 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16593 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16594 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16595 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16596 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16598 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16599 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16600 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16601 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16602 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16603 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16604 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16605 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16606 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16607 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16608 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16609 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16610 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16611 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16612 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16613 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16614 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16615 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16616 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16618 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16619 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16622 place. Use VEX encoding when compiling for AVX.
16624 2011-10-25 Andreas Schwab <schwab@redhat.com>
16626 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16627 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16629 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16631 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16633 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16634 useless if() expression.
16635 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16644 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16645 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16646 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16648 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16651 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16653 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16655 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16657 2011-10-25 Andreas Schwab <schwab@redhat.com>
16659 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16661 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16663 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16665 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16666 .text section. Avoid duplicate constants.
16667 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16676 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16677 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16679 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16681 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16682 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16684 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16691 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16692 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16693 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16694 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16695 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16696 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16697 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16698 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16699 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16700 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16701 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16702 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16703 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16704 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16705 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16706 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16707 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16708 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16709 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16710 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16711 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16713 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16715 * sysdeps/x86_64/dla.h: Move to ...
16716 * sysdeps/x86_64/fpu/dla.h: ...here.
16717 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16718 situations. Use __builtin_fma only for gcc 4.6 and up.
16720 * config.make.in: Add have-mfma4 entry.
16721 * configure.in: Substitute libc_cv_cc_fma4.
16722 * math/Makefile (dbl-only-routines): Add sincostab.
16723 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16724 Use __sincostab not sincos.
16725 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16732 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16733 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16734 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16735 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16737 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16738 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16740 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16741 define aliases when function name is a macro.
16742 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16743 sysdeps/ieee754/dbl-64/sincos.tbl.
16744 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16745 fma4-enabled routines.
16746 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16747 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16748 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16749 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16750 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16751 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16753 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16755 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16756 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16757 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16758 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16759 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16760 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16761 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16762 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16763 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16764 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16766 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16767 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16769 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16770 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16771 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16773 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16774 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16775 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16777 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16788 2011-10-24 Andreas Schwab <schwab@redhat.com>
16790 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16792 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16794 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16796 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16798 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16800 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16801 Remove unused variable magic_bits.
16802 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16804 * string/strnlen.c: Define and use STRNLEN macro.
16805 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16806 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16808 * wcsmbs/wcslen.c: Define and use WCSLEN.
16809 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16810 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16811 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16812 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16813 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16814 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16815 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16817 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16820 strnlen-sse2-no-bsf.
16821 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16822 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16823 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16824 Add strnlen support.
16825 (USE_AS_STRNLEN): New macro.
16826 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16827 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16828 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16829 * sysdeps/x86_64/wcslen.S: New file.
16831 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16834 XMM-moves are used for copying on small sizes.
16836 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16838 * wcsmbs/Makefile (strop-tests): Add wcschr.
16839 * wcsmbs/test-wcschr.c: New file.
16840 * string/test-strchr.c: Update.
16841 Add wcschr support.
16844 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16846 * wcsmbs/Makefile (strop-tests): Add wcslen.
16847 * wcsmbs/test-wcslen.c: New file.
16848 * string/test-strlen.c: Update.
16849 Add wcslen support.
16852 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16854 * po/it.po: Update from translation team.
16856 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16858 * sysdeps/x86_64/wcscmp.S: Update.
16859 Fix wrong comparison semantics.
16860 wcscmp shall use signed comparison not unsigned.
16861 Don't use substraction to avoid overflow bug.
16862 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16863 * wcsmbc/wcscmp.c: Likewise.
16864 * string/test-strcmp.c: Likewise.
16865 Add new tests to check cases with negative values.
16867 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16869 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16870 * sysdeps/x86_64/dla.h: ...here. New file.
16871 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16881 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16884 __ynl_finite aliases.
16886 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16890 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16892 [DLA_FMA] (EMULV): Use DLA_FMA.
16893 [DLA_FMA] (MUL12): Use EMULV.
16894 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16895 that are not needed.
16896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16904 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16906 * math/s_nan.c: Undef __nan.
16907 * math/s_nanf.c: Undef __nanf.
16908 * math/s_nanl.c: Undef __nanl.
16909 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16912 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16914 * math/s_catan.c: Add branch predictions.
16915 * math/s_catanf.c: Likewise.
16916 * math/s_catanh.c: Likewise.
16917 * math/s_catanhf.c: Likewise.
16918 * math/s_catanhl.c: Likewise.
16919 * math/s_catanl.c: Likewise.
16920 * math/s_cexp.c: Likewise.
16921 * math/s_cexpf.c: Likewise.
16922 * math/s_cexpl.c: Likewise.
16923 * math/s_clog.c: Likewise.
16924 * math/s_clog10.c: Likewise.
16925 * math/s_clog10f.c: Likewise.
16926 * math/s_clog10l.c: Likewise.
16927 * math/s_clogf.c: Likewise.
16928 * math/s_clogl.c: Likewise.
16929 * math/s_csqrt.c: Likewise.
16930 * math/s_csqrtf.c: Likewise.
16931 * math/s_csqrtl.c: Likewise.
16932 * math/s_ctanf.c: Likewise.
16933 * math/s_ctanh.c: Likewise.
16934 * math/s_ctanhf.c: Likewise.
16935 * math/s_ctanhl.c: Likewise.
16936 * math/s_ctanl.c: Likewise.
16938 * math/math_private.h: Define __nan, __nanf, __nanl.
16939 * math/s_cacosh.c: Include <math_private.h>.
16940 * math/s_cacoshl.c: Likewise.
16941 * math/s_casinh.c: Likewise.
16942 * math/s_casinhf.c: Likewise.
16943 * math/s_casinhl.c: Likewise.
16944 * math/s_ccos.c: Rely entire on ccosh.
16945 * math/s_ccosf.c: Rely entire on ccoshf.
16946 * math/s_ccosl.c: Rely entirely on ccoshl.
16947 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16948 Remove tests for FE_INVALID.
16949 * math/s_ccoshf.c: Likewise.
16950 * math/s_ccoshl.c: Likewise.
16951 * math/s_csin.c: Likewise.
16952 * math/s_csinf.c: Likewise.
16953 * math/s_csinh.c Likewise.
16954 * math/s_csinhf.c: Likewise.
16955 * math/s_csinhl.c: Likewise.
16956 * math/s_csinl.c: Likewise.
16957 * math/s_ctan.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16959 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16960 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16962 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16965 compilation problems.
16967 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16970 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16972 * sysdeps/i386/configure.in: Test for -mfma4 option.
16973 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16974 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16975 COMMON_CPUID_INDEX_80000001.
16976 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16977 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16978 use it if FMA3 is not supported.
16979 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16981 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16982 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16984 2011-10-20 Andreas Schwab <schwab@redhat.com>
16987 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16988 it would create a cycle with a link time dependency.
16990 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16992 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16994 * string/Makefile (strop-tests): Add rawmemchr.
16995 * string/test-rawmemchr.c: New file.
16997 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16999 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17000 when compiling str{,n}casecmp and when AVX is available. Hook up
17001 new optimized code in initializers.
17003 2011-10-19 Andreas Schwab <schwab@redhat.com>
17005 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17006 __feraiseexcept instead of feraiseexcept.
17008 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17010 * math/math_private.h: Define defaults for libc_fetestexcept and
17012 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17013 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17014 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17016 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17017 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17018 libc_fetestexcept and libc_feupdateenv.
17020 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17021 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17022 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17023 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17024 libc_feholdexcept_setround.
17026 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17027 Add s_nearbyint-c and s_nearbyintf-c.
17028 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17029 nearbyintf inlines.
17030 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17032 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17033 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17035 * math/math_private.h: Define defaults for libc_fegetround,
17036 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17037 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17038 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17040 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17041 standard functions.
17042 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17043 Remove comments and hacks for old compiler versions.
17044 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17045 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17046 libc_feholdexceptl.
17048 2011-10-18 Andreas Schwab <schwab@redhat.com>
17050 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17051 (__feraiseexcept_renamed): Add __NTH.
17052 (feraiseexcept): Add __NTH. Rename local variables to fix
17053 namespace violations.
17055 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17057 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17059 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17061 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17062 recently added interfaces.
17063 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17065 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17066 about macro parameter expansion.
17068 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17069 __NO_MATH_INLINES is defined. Cleanups.
17071 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17072 and __floorf is target has SSE4.1.
17073 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17074 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17075 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17076 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17078 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17080 (floorf): Likewise.
17082 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17084 2011-10-17 Andreas Schwab <schwab@redhat.com>
17086 * misc/sys/cdefs.h: Fix last change.
17088 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17091 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17093 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17095 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17096 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17101 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17102 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17103 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17104 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17105 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17106 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17107 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17108 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17109 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17110 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17111 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17112 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17113 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17114 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17115 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17116 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17118 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17119 ceil, ceilf, floor, floorf.
17121 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17122 Perform IRELATIVE relocations last.
17124 * elf/do-rel.h: Add another parameter nrelative, replacing the
17125 local variable with the same name. Change name of the function
17126 to end in Rel or Rela (uppercase).
17127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17128 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17129 elf_dynamic_do_##reloc function.
17131 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17133 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17134 is sufficient, at least on modern CPUs.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17138 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17141 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17143 * math/bits/math-finite.h: Add entries for exp.
17144 * math/e_expl.c: Add __*_finite alias.
17145 * sysdeps/i386/fpu/e_exp.S: Likewise.
17146 * sysdeps/i386/fpu/e_expf.S: Likewise.
17147 * sysdeps/i386/fpu/e_expl.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17149 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17150 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17153 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17156 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17157 is sufficient, at least on modern CPUs.
17159 * ctype/ctype-info.c (__ctype_init): Define.
17160 * include/ctype.h (__ctype_init): Declare.
17161 (__ctype_b_loc): The variable is always initialized.
17162 (__ctype_toupper_loc): Likewise.
17163 (__ctype_tolower_loc): Likewise.
17164 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17165 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17167 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17169 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17171 * configure.in: Also look in $cxxmachine/include for C++ system
17174 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17176 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17177 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17178 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17179 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17181 (USE_AS_WMEMCMP): New macro.
17183 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17184 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17185 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17186 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17188 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17189 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17190 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17191 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17192 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17193 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17194 (USE_AS_WMEMCMP): New macro.
17195 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17196 * sysdeps/string/test-memcmp.c: Update.
17197 Fix simple_wmemcmp.
17199 * wcsmbs/wmemcmp.c: Update.
17200 (WMEMCMP): New macro.
17203 2011-10-12 Andreas Jaeger <aj@suse.de>
17206 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17208 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17210 * libio/iofwide.c (do_length): Avoid warning.
17212 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17214 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17216 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17218 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17219 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17220 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17221 * sysdeps/i386/i686/fpu/e_log.S: New file.
17222 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17223 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17225 * ctype/ctype.h: Add support for inlined isXXX functions when
17226 compiling C++ code.
17228 2011-10-14 Andreas Schwab <schwab@redhat.com>
17230 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17232 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17234 2011-10-13 Roland McGrath <roland@hack.frob.com>
17237 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17239 2011-10-13 Andreas Schwab <schwab@redhat.com>
17241 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17242 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17245 * sysdeps/x86_64/memrchr.S: Check for zero size.
17247 * string/stratcliff.c: Add memrchr tests.
17249 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17252 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17253 rawmemchr-sse2 rawmemchr-sse2-bsf.
17254 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17255 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17256 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17257 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17258 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17259 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17260 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17261 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17262 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17263 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17264 * string/memrchr.c (MEMRCHR): New macro.
17266 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17268 Add integration with gcc's -ffinite-math-only and optimize wrapper
17270 * Versions.def: Define GLIBC_2.15 version for libm.
17271 * math/Makefile (headers): Add bits/math-finite.h.
17272 * math/bits/math-finite.h: New file.
17273 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17274 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17275 * math/e_acoshl.c: Add __*_finite alias.
17276 * math/e_acosl.c: Likewise.
17277 * math/e_asinl.c: Likewise.
17278 * math/e_atan2l.c: Likewise.
17279 * math/e_atanhl.c: Likewise.
17280 * math/e_coshl.c: Likewise.
17281 * math/e_exp10.c: Likewise.
17282 * math/e_exp10f.c: Likewise.
17283 * math/e_exp10l.c: Likewise.
17284 * math/e_exp2l.c: Likewise.
17285 * math/e_fmodl.c: Likewise.
17286 * math/e_gammal_r.c: Likewise.
17287 * math/e_hypotl.c: Likewise.
17288 * math/e_j0l.c: Likewise.
17289 * math/e_j1l.c: Likewise.
17290 * math/e_jnl.c: Likewise.
17291 * math/e_lgammal_r.c: Likewise.
17292 * math/e_log10l.c: Likewise.
17293 * math/e_log2l.c: Likewise.
17294 * math/e_logl.c: Likewise.
17295 * math/e_powl.c: Likewise.
17296 * math/e_sinhl.c: Likewise.
17297 * math/e_sqrtl.c: Likewise.
17298 * math/e_scalb.c: Completely rewritten and optimized.
17299 * math/e_scalbf.c: Likewise.
17300 * math/e_scalbl.c: Likewise.
17301 * math/w_acos.c: Likewise.
17302 * math/w_acosf.c: Likewise.
17303 * math/w_acosl.c: Likewise.
17304 * math/w_acosh.c: Likewise.
17305 * math/w_acoshf.c: Likewise.
17306 * math/w_acoshl.c: Likewise.
17307 * math/w_asin.c: Likewise.
17308 * math/w_asinf.c: Likewise.
17309 * math/w_asinl.c: Likewise.
17310 * math/w_atan2.c: Likewise.
17311 * math/w_atan2f.c: Likewise.
17312 * math/w_atan2l.c: Likewise.
17313 * math/w_atanh.c: Likewise.
17314 * math/w_atanhf.c: Likewise.
17315 * math/w_atanhl.c: Likewise.
17316 * math/w_exp10.c: Likewise.
17317 * math/w_exp10f.c: Likewise.
17318 * math/w_exp10l.c: Likewise.
17319 * math/w_fmod.c: Likewise.
17320 * math/w_fmodf.c: Likewise.
17321 * math/w_fmodl.c: Likewise.
17322 * math/w_j0.c: Likewise.
17323 * math/w_j0f.c: Likewise.
17324 * math/w_j0l.c: Likewise.
17325 * math/w_j1.c: Likewise.
17326 * math/w_j1f.c: Likewise.
17327 * math/w_j1l.c: Likewise.
17328 * math/w_jn.c: Likewise.
17329 * math/w_jnf.c: Likewise.
17330 * math/w_log.c: Likewise.
17331 * math/w_logf.c: Likewise.
17332 * math/w_logl.c: Likewise.
17333 * math/w_log10.c: Likewise.
17334 * math/w_log10f.c: Likewise.
17335 * math/w_log10l.c: Likewise.
17336 * math/w_log2.c: Likewise.
17337 * math/w_log2f.c: Likewise.
17338 * math/w_log2l.c: Likewise.
17339 * math/w_pow.c: Likewise.
17340 * math/w_powf.c: Likewise.
17341 * math/w_powl.c: Likewise.
17342 * math/w_remainder.c: Likewise.
17343 * math/w_remainderf.c: Likewise.
17344 * math/w_remainderl.c: Likewise.
17345 * math/w_scalb.c: Likewise.
17346 * math/w_scalbf.c: Likewise.
17347 * math/w_scalbl.c: Likewise.
17348 * math/w_sqrt.c: Likewise.
17349 * math/w_sqrtf.c: Likewise.
17350 * math/w_sqrtl.c: Likewise.
17351 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17352 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17354 * math/math_private.h: Declare __kernel_standard_f.
17355 * math/w_cosh.c: Remove cruft and optimize a bit.
17356 * math/w_coshf.c: Likewise.
17357 * math/w_coshl.c: Likewise.
17358 * math/w_exp2.c: Likewise.
17359 * math/w_exp2f.c: Likewise.
17360 * math/w_exp2l.c: Likewise.
17361 * math/w_hypot.c: Likewise.
17362 * math/w_hypotf.c: Likewise.
17363 * math/w_hypotl.c: Likewise.
17364 * math/w_lgamma.c: Likewise.
17365 * math/w_lgamma_r.c: Likewise.
17366 * math/w_lgammaf.c: Likewise.
17367 * math/w_lgammaf_r.c: Likewise.
17368 * math/w_lgammal.c: Likewise.
17369 * math/w_lgammal_r.c: Likewise.
17370 * math/w_sinh.c: Likewise.
17371 * math/w_sinhf.c: Likewise.
17372 * math/w_sinhl.c: Likewise.
17373 * math/w_tgamma.c: Likewise.
17374 * math/w_tgammaf.c: Likewise.
17375 * math/w_tgammal.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17377 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17378 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17379 Minor optimizations. Pretty printing. Remove cruft.
17380 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17381 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17382 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17383 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17384 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17385 * sysdeps/i386/fpu/e_asin.S: Likewise.
17386 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17387 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17388 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17389 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17392 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17393 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17394 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17395 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17396 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17397 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17398 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17399 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17400 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17401 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17402 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17403 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17404 * sysdeps/i386/fpu/e_log.S: Likewise.
17405 * sysdeps/i386/fpu/e_log10.S: Likewise.
17406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17407 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17408 * sysdeps/i386/fpu/e_log2.S: Likewise.
17409 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17410 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17411 * sysdeps/i386/fpu/e_logf.S: Likewise.
17412 * sysdeps/i386/fpu/e_logl.S: Likewise.
17413 * sysdeps/i386/fpu/e_pow.S: Likewise.
17414 * sysdeps/i386/fpu/e_powf.S: Likewise.
17415 * sysdeps/i386/fpu/e_powl.S: Likewise.
17416 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17417 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17418 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17420 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17422 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17423 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17424 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17446 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17448 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17450 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17452 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17454 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17456 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17457 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17459 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17460 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17461 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17462 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17463 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17464 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17465 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17466 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17503 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17504 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17505 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17506 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17510 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17511 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17513 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17516 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17517 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17518 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17519 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17520 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17521 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17522 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17523 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17524 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17525 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17526 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17527 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17528 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17529 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17530 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17531 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17532 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17533 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17534 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17535 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17536 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17537 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17538 (__isnanf): Likewise.
17539 (__isinf_ns): Likewise.
17540 (__isinf_nsf): Likewise.
17541 (__finite): Likewise.
17542 (__finitef): Likewise.
17543 (__ieee754_sqrt): Define as macro.
17544 (__ieee754_sqrtf): Define as macro.
17545 (__ieee754_sqrtl): Define as macro.
17546 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17548 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17549 __FINITE_MATH_ONLY__ consistent.
17550 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17552 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17554 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17557 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17559 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17561 * po/ja.po: Update from translation team.
17563 2011-10-08 Roland McGrath <roland@hack.frob.com>
17565 * locale/programs/locarchive.c (prepare_address_space): New function.
17566 (create_archive, enlarge_archive, open_archive): Use it.
17568 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17569 inside [SHARED], where it is used.
17571 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17573 * nss/getent.c (netgroup_keys): Remove unused variable.
17574 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17576 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17578 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17579 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17581 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17582 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17583 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17584 * math/Makefile (libm-calls): Add s_isinf_ns.
17585 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17586 * math/multc3.c: Likewise.
17587 * math/s_casin.c: Likewise.
17588 * math/s_casinf.c: Likewise.
17589 * math/s_casinl.c: Likewise.
17590 * math/s_ccos.c: Likewise.
17591 * math/s_ccosf.c: Likewise.
17592 * math/s_ccosl.c: Likewise.
17593 * math/s_ctan.c: Likewise.
17594 * math/s_ctanf.c: Likewise.
17595 * math/s_ctanh.c: Likewise.
17596 * math/s_ctanhf.c: Likewise.
17597 * math/s_ctanhl.c: Likewise.
17598 * math/s_ctanl.c: Likewise.
17599 * math/w_fmod.c: Likewise.
17600 * math/w_fmodf.c: Likewise.
17601 * math/w_fmodl.c: Likewise.
17602 * math/w_remainder.c: Likewise.
17603 * math/w_remainderf.c: Likewise.
17604 * math/w_remainderl.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17606 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17609 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17610 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17611 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17612 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17614 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17616 * stdio-common/printf_fphex.c: Likewise.
17617 * stdio-common/printf_size.c: Likewise.
17619 * math/e_exp10.c: Include math_private.h using <...> not "...".
17620 * math/e_exp10f.c: Likewise.
17621 * math/e_exp10l.c: Likewise.
17622 * math/e_exp2l.c: Likewise.
17623 * math/e_j0l.c: Likewise.
17624 * math/e_j1l.c: Likewise.
17625 * math/e_jnl.c: Likewise.
17626 * math/e_lgammal_r.c: Likewise.
17627 * math/e_rem_pio2l.c: Likewise.
17628 * math/e_scalb.c: Likewise.
17629 * math/e_scalbf.c: Likewise.
17630 * math/e_scalbl.c: Likewise.
17631 * math/k_cosl.c: Likewise.
17632 * math/k_sinl.c: Likewise.
17633 * math/k_tanl.c: Likewise.
17634 * math/s_cacoshf.c: Likewise.
17635 * math/s_catan.c: Likewise.
17636 * math/s_catanf.c: Likewise.
17637 * math/s_catanh.c: Likewise.
17638 * math/s_catanhf.c: Likewise.
17639 * math/s_catanhl.c: Likewise.
17640 * math/s_catanl.c: Likewise.
17641 * math/s_ccosh.c: Likewise.
17642 * math/s_ccoshf.c: Likewise.
17643 * math/s_ccoshl.c: Likewise.
17644 * math/s_cexp.c: Likewise.
17645 * math/s_cexpf.c: Likewise.
17646 * math/s_cexpl.c: Likewise.
17647 * math/s_clog.c: Likewise.
17648 * math/s_clog10.c: Likewise.
17649 * math/s_clog10f.c: Likewise.
17650 * math/s_clog10l.c: Likewise.
17651 * math/s_clogf.c: Likewise.
17652 * math/s_clogl.c: Likewise.
17653 * math/s_csin.c: Likewise.
17654 * math/s_csinf.c: Likewise.
17655 * math/s_csinh.c: Likewise.
17656 * math/s_csinhf.c: Likewise.
17657 * math/s_csinhl.c: Likewise.
17658 * math/s_csinl.c: Likewise.
17659 * math/s_csqrt.c: Likewise.
17660 * math/s_csqrtf.c: Likewise.
17661 * math/s_csqrtl.c: Likewise.
17662 * math/s_ctan.c: Likewise.
17663 * math/s_ctanf.c: Likewise.
17664 * math/s_ctanh.c: Likewise.
17665 * math/s_ctanhf.c: Likewise.
17666 * math/s_ctanhl.c: Likewise.
17667 * math/s_ctanl.c: Likewise.
17668 * math/s_ldexp.c: Likewise.
17669 * math/s_ldexpf.c: Likewise.
17670 * math/s_ldexpl.c: Likewise.
17671 * math/s_significand.c: Likewise.
17672 * math/s_significandf.c: Likewise.
17673 * math/s_significandl.c: Likewise.
17674 * math/w_acos.c: Likewise.
17675 * math/w_acosf.c: Likewise.
17676 * math/w_acosh.c: Likewise.
17677 * math/w_acoshf.c: Likewise.
17678 * math/w_acoshl.c: Likewise.
17679 * math/w_acosl.c: Likewise.
17680 * math/w_asin.c: Likewise.
17681 * math/w_asinf.c: Likewise.
17682 * math/w_asinl.c: Likewise.
17683 * math/w_atan2.c: Likewise.
17684 * math/w_atan2f.c: Likewise.
17685 * math/w_atan2l.c: Likewise.
17686 * math/w_atanh.c: Likewise.
17687 * math/w_atanhf.c: Likewise.
17688 * math/w_atanhl.c: Likewise.
17689 * math/w_cosh.c: Likewise.
17690 * math/w_coshf.c: Likewise.
17691 * math/w_coshl.c: Likewise.
17692 * math/w_dremf.c: Likewise.
17693 * math/w_exp10.c: Likewise.
17694 * math/w_exp10f.c: Likewise.
17695 * math/w_exp10l.c: Likewise.
17696 * math/w_exp2.c: Likewise.
17697 * math/w_exp2f.c: Likewise.
17698 * math/w_fmod.c: Likewise.
17699 * math/w_fmodf.c: Likewise.
17700 * math/w_fmodl.c: Likewise.
17701 * math/w_hypot.c: Likewise.
17702 * math/w_hypotf.c: Likewise.
17703 * math/w_hypotl.c: Likewise.
17704 * math/w_j0.c: Likewise.
17705 * math/w_j0f.c: Likewise.
17706 * math/w_j0l.c: Likewise.
17707 * math/w_j1.c: Likewise.
17708 * math/w_j1f.c: Likewise.
17709 * math/w_j1l.c: Likewise.
17710 * math/w_jn.c: Likewise.
17711 * math/w_jnf.c: Likewise.
17712 * math/w_jnl.c: Likewise.
17713 * math/w_lgamma.c: Likewise.
17714 * math/w_lgamma_r.c: Likewise.
17715 * math/w_lgammaf.c: Likewise.
17716 * math/w_lgammaf_r.c: Likewise.
17717 * math/w_lgammal.c: Likewise.
17718 * math/w_lgammal_r.c: Likewise.
17719 * math/w_log.c: Likewise.
17720 * math/w_log10.c: Likewise.
17721 * math/w_log10f.c: Likewise.
17722 * math/w_log10l.c: Likewise.
17723 * math/w_log2.c: Likewise.
17724 * math/w_log2f.c: Likewise.
17725 * math/w_log2l.c: Likewise.
17726 * math/w_logf.c: Likewise.
17727 * math/w_logl.c: Likewise.
17728 * math/w_pow.c: Likewise.
17729 * math/w_powf.c: Likewise.
17730 * math/w_powl.c: Likewise.
17731 * math/w_remainder.c: Likewise.
17732 * math/w_remainderf.c: Likewise.
17733 * math/w_remainderl.c: Likewise.
17734 * math/w_scalb.c: Likewise.
17735 * math/w_scalbf.c: Likewise.
17736 * math/w_scalbl.c: Likewise.
17737 * math/w_sinh.c: Likewise.
17738 * math/w_sinhf.c: Likewise.
17739 * math/w_sinhl.c: Likewise.
17740 * math/w_sqrt.c: Likewise.
17741 * math/w_sqrtf.c: Likewise.
17742 * math/w_sqrtl.c: Likewise.
17743 * math/w_tgamma.c: Likewise.
17744 * math/w_tgammaf.c: Likewise.
17745 * math/w_tgammal.c: Likewise.
17747 * po/ja.po: Update from translation team.
17749 2011-09-29 Andreas Jaeger <aj@suse.de>
17752 * sunrpc/netname.c (netname2host): Fix logic.
17756 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17758 * math/w_remainder.c (__remainder): Likewise.
17759 * math/w_remainderf.c (__remainderf): Likewise.
17760 * math/libm-test.inc (remainder_test): Add test cases.
17762 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17764 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17767 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17769 * string/test-memcmp.c: Avoid unncessary #defines.
17770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17772 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17774 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17775 Use new sse2 version for core i3 - i7 as it's faster
17776 than sse42 version.
17777 (bit_Prefer_PMINUB_for_stringop): New.
17778 * sysdeps/x86_64/rawmemchr.S: Update.
17779 Replace with faster SSE2 version.
17780 * sysdeps/x86_64/memrchr.S: New file.
17781 * sysdeps/x86_64/memchr.S: Update.
17782 Replace with faster SSE2 version.
17784 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17786 * elf/dl-load.c (lose): Add cast to avoid warning.
17788 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17790 * po/ca.po: Update from translation team.
17792 * inet/getnetgrent_r.c: Hook up nscd.
17793 * nscd/Makefile (routines): Add nscd_netgroup.
17794 (nscd-modules): Add netgroupcache.
17795 (CFLAGS-netgroupcache.c): Define.
17796 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17797 (cache_search): Add const to second parameter.
17798 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17800 (dbs): Add netgrdb entry.
17801 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17802 (verify_persistent_db): Handle netgrdb.
17803 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17804 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17806 (netgroup_response_header): Define.
17807 (innetgroup_response_header): Define.
17808 (datahead): Add netgroup_response_header and innetgroup_response_header
17810 * nscd/nscd.conf: Add entries for netgroup cache.
17811 * nscd/nscd.h (dbtype): Add netgrdb.
17812 (_PATH_NSCD_NETGROUP_DB): Define.
17813 (netgroup_iov_disabled): Declare.
17814 (xmalloc, xcalloc, xrealloc): Move declarations here.
17815 (cache_search): Adjust prototype.
17816 Add netgroup-related prototypes.
17817 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17818 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17819 (__nscd_innetgr): Declare.
17820 * nscd/selinux.c (perms): Use access_vector_t as element type and
17821 add netgroup-related initializers.
17822 * nscd/netgroupcache.c: New file.
17823 * nscd/nscd_netgroup.c: New file.
17824 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17825 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17826 For four parameters use innetgr.
17827 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17828 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17829 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17830 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17832 * nscd/connections.c (register_traced_file): Don't register file
17833 for disabled databases.
17835 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17837 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17839 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17840 from tree and freeing node.
17842 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17844 * nss/nsswitch.c (__nss_database_lookup): Handle
17845 nss_parse_service_list out of memory case.
17847 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17849 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17850 out of memory case.
17852 2011-10-04 Andreas Schwab <schwab@redhat.com>
17854 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17855 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17857 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17858 elf_machine_rela, elf_machine_lazy_rel.
17859 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17860 (ELF_DYNAMIC_DO_REL): Likewise.
17861 (ELF_DYNAMIC_DO_RELA): Likewise.
17862 (ELF_DYNAMIC_RELOCATE): Likewise.
17863 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17864 to ELF_DYNAMIC_DO_REL.
17865 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17866 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17867 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17870 skip_ifunc, don't call ifunc function if non-zero.
17871 (elf_machine_rela): Likewise.
17872 (elf_machine_lazy_rel): Likewise.
17873 (elf_machine_lazy_rela): Likewise.
17874 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17875 (elf_machine_lazy_rel): Likewise.
17876 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17878 (elf_machine_lazy_rel): Likewise.
17879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17881 (elf_machine_lazy_rel): Likewise.
17882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17883 (elf_machine_lazy_rel): Likewise.
17884 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17885 (elf_machine_lazy_rel): Likewise.
17886 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17887 (elf_machine_lazy_rel): Likewise.
17888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17889 (elf_machine_lazy_rel): Likewise.
17890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17891 (elf_machine_lazy_rel): Likewise.
17892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17893 (elf_machine_lazy_rel): Likewise.
17895 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17897 * nss/nss_files/files-init.c (_nss_files_init): Use static
17898 initialization for all the *_traced_file variables.
17900 2011-09-28 Andreas Schwab <schwab@redhat.com>
17902 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17904 2011-09-27 Roland McGrath <roland@hack.frob.com>
17907 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17909 2011-09-27 Andreas Schwab <schwab@redhat.com>
17911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17912 Reread the line before reparsing it.
17914 2011-09-26 Andreas Schwab <schwab@redhat.com>
17916 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17918 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17919 Maxim Kuvyrkov <maxim@codesourcery.com>
17920 Joseph Myers <joseph@codesourcery.com>
17922 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17923 if needed for __stack_chk_guard.
17925 2011-09-19 Roland McGrath <roland@hack.frob.com>
17927 * sysdeps/posix/spawni.c (script_execute): Always define it.
17928 It will be optimized away if unused.
17929 (maybe_script_execute): New function.
17930 (__spawni): Call it.
17932 * Makerules: Don't include tls.make.
17933 (config-tls): Always set to thread.
17934 * tls.make.c: File removed.
17936 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17938 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17939 * config.make.in (CPPFLAGS-config): New substituted variable.
17941 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17946 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17947 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17949 2011-09-15 Roland McGrath <roland@hack.frob.com>
17951 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17952 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17954 (CALL_FAIL): Likewise.
17955 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17956 (CALL_FAIL): Macro removed.
17957 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17959 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17961 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17962 for __FINITE_MATH_ONLY__ == 1.
17964 2011-09-15 Andreas Schwab <schwab@redhat.com>
17966 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17967 __ieee754_sqrt instead of sqrt.
17968 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17969 __ieee754_sqrtf instead of sqrtf.
17970 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17971 __floorf instead of floorf.
17972 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17973 __floorf, __truncf instead of floorf, truncf.
17975 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17977 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17979 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17980 __extern_always_inline.
17981 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17984 2011-09-14 Andreas Schwab <schwab@redhat.com>
17986 * elf/rtld.c (dl_main): Also relocate in dependency order when
17987 doing symbol dependency testing.
17989 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17992 Always define `refsym'.
17994 2011-09-13 Andreas Schwab <schwab@redhat.com>
17996 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17997 (__FD_ELT): Renamed from __FDELT.
17998 * misc/bits/select2.h (__FD_ELT): Likewise.
17999 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18000 __FD_MASK instead of __FDELT, __FDMASK.
18001 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18003 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18006 * elf/Makefile (gen-ldd): Fix pattern.
18008 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18009 (init_tls): Likewise.
18011 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18015 2011-09-12 Andreas Schwab <schwab@redhat.com>
18017 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18018 `struct cmsghdr *' instead of `void *'.
18019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18022 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18024 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18026 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18027 ldd_rewrite_script.
18029 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18031 * configure.in: Remove --with-tls option.
18032 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18033 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18034 out in case it is missing.
18035 * sysdeps/ia64/elf/configure.in: Likewise.
18036 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18037 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18038 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18039 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18040 * sysdeps/sh/elf/configure.in: Likewise.
18041 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18042 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18043 * sysdeps/x86_64/elf/configure.in: Likewise.
18044 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18045 * sysdeps/mach/hurd/tls.h: Likewise.
18048 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18051 * configure.in: Fix use of AC_INIT.
18053 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18055 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18057 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18059 * malloc/hooks.c: Likewise.
18062 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18063 variables statically.
18064 (narenas): Initialize.
18065 (list_lock): Initialize.
18066 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18067 initializtion of main_arena and list_lock. Small cleanups.
18068 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18069 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18070 Add initializers to main_arena and mp_.
18071 (malloc_state): Remove pagesize member. Change all users to use
18074 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18075 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18076 is always initialized.
18078 * malloc/malloc.c: Removed unused configurations and dead code.
18079 * malloc/arena.c: Likewise.
18080 * malloc/hooks.c: Likewise.
18081 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18083 * include/tls.h: Removed. USE___THREAD must always be defined.
18084 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18085 * elf/dl-libc.c: Likewise.
18086 * elf/dl-tsd.c: Likewise.
18087 * include/errno.h: Likewise.
18088 * include/netdb.h: Likewise.
18089 * include/resolv.h: Likewise.
18090 * inet/herrno-loc.c: Likewise.
18091 * inet/herrno.c: Likewise.
18092 * malloc/arena.c: Likewise.
18093 * malloc/hooks.c: Likewise.
18094 * malloc/malloc.c: Likewise.
18095 * resolv/res-state.c: Likewise.
18096 * resolv/res_libc.c: Likewise.
18097 * sysdeps/i386/dl-machine.h: Likewise.
18098 * sysdeps/ia64/dl-machine.h: Likewise.
18099 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18100 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18101 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18102 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18103 * sysdeps/sh/dl-machine.h: Likewise.
18104 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18105 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18106 * sysdeps/unix/i386/sysdep.S: Likewise.
18107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18108 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18113 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18118 * sysdeps/x86_64/dl-machine.h: Likewise.
18119 * tls.make.c: Likewise.
18121 * configure.in: Remove --with-__thread option. Make tests for
18122 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18123 tls_model attribute fail if no support is available. Remove
18125 * Makeconfig: Adjust for dropped configure option. All features are
18127 * Makerules: Likewise.
18128 * Versions.def: Likewise.
18129 * argp/argp-fmtstream.c: Likewise.
18130 * argp/argp-fmtstream.h: Likewise.
18131 * argp/argp-help.c: Likewise.
18132 * assert/assert.c: Likewise.
18133 * config.h.in: Likewise.
18134 * config.make.in: Likewise.
18135 * configure: Likewise.
18136 * configure.in: Likewise.
18137 * csu/Versions: Likewise.
18138 * csu/init.c: Likewise.
18139 * elf/tst-audit2.c: Likewise.
18140 * elf/tst-tls10.c: Likewise.
18141 * elf/tst-tls10.h: Likewise.
18142 * elf/tst-tls11.c: Likewise.
18143 * elf/tst-tls12.c: Likewise.
18144 * elf/tst-tls14.c: Likewise.
18145 * elf/tst-tlsmod11.c: Likewise.
18146 * elf/tst-tlsmod12.c: Likewise.
18147 * elf/tst-tlsmod13.c: Likewise.
18148 * elf/tst-tlsmod13a.c: Likewise.
18149 * elf/tst-tlsmod14a.c: Likewise.
18150 * elf/tst-tlsmod15b.c: Likewise.
18151 * elf/tst-tlsmod16a.c: Likewise.
18152 * elf/tst-tlsmod16b.c: Likewise.
18153 * elf/tst-tlsmod7.c: Likewise.
18154 * elf/tst-tlsmod8.c: Likewise.
18155 * elf/tst-tlsmod9.c: Likewise.
18156 * gmon/gmon.c: Likewise.
18157 * grp/fgetgrent_r.c: Likewise.
18158 * grp/putgrent.c: Likewise.
18159 * hurd/fopenport.c: Likewise.
18160 * include/libc-symbols.h: Likewise.
18161 * include/tls.h: Likewise.
18162 * intl/gettextP.h: Likewise.
18163 * intl/loadinfo.h: Likewise.
18164 * locale/global-locale.c: Likewise.
18165 * locale/localeinfo.h: Likewise.
18166 * mach/devstream.c: Likewise.
18167 * malloc/arena.c: Likewise.
18168 * malloc/set-freeres.c: Likewise.
18169 * misc/err.c: Likewise.
18170 * misc/getttyent.c: Likewise.
18171 * misc/mntent_r.c: Likewise.
18172 * posix/getopt.c: Likewise.
18173 * posix/wordexp.c: Likewise.
18174 * pwd/fgetpwent_r.c: Likewise.
18175 * resolv/Versions: Likewise.
18176 * resolv/res_hconf.c: Likewise.
18177 * shadow/fgetspent_r.c: Likewise.
18178 * shadow/putspent.c: Likewise.
18179 * stdio-common/printf_fphex.c: Likewise.
18180 * stdio-common/tmpfile.c: Likewise.
18181 * stdlib/abort.c: Likewise.
18182 * stdlib/fmtmsg.c: Likewise.
18183 * sunrpc/auth_unix.c: Likewise.
18184 * sunrpc/clnt_perr.c: Likewise.
18185 * sunrpc/clnt_tcp.c: Likewise.
18186 * sunrpc/clnt_udp.c: Likewise.
18187 * sunrpc/clnt_unix.c: Likewise.
18188 * sunrpc/openchild.c: Likewise.
18189 * sunrpc/svc_simple.c: Likewise.
18190 * sunrpc/svc_tcp.c: Likewise.
18191 * sunrpc/svc_udp.c: Likewise.
18192 * sunrpc/svc_unix.c: Likewise.
18193 * sunrpc/xdr.c: Likewise.
18194 * sunrpc/xdr_array.c: Likewise.
18195 * sunrpc/xdr_rec.c: Likewise.
18196 * sunrpc/xdr_ref.c: Likewise.
18197 * sunrpc/xdr_stdio.c: Likewise.
18199 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18201 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18203 2011-07-03 Andreas Jaeger <aj@suse.de>
18205 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18206 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18207 regenerate with gen-libm-tests.pl.
18209 2010-05-12 Petr Baudis <pasky@suse.cz>
18212 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18213 around j0() zero points by switching to j1().
18214 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18219 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18221 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18223 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18226 Patch in part by Pavel Roskin <proski@gnu.org>.
18229 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18231 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18232 Free memory block if necessary.
18235 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18236 be NULL. Don't lock in this case.
18238 2011-09-09 Roland McGrath <roland@hack.frob.com>
18240 * elf/elf.h (ELFOSABI_GNU): New macro.
18241 (ELFOSABI_LINUX): Define to that.
18243 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18245 * string/strncat.c (strncat): Undef the symbol in case it has been
18246 defined in bits/string.h.
18248 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18250 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18252 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18255 2011-08-17 Andreas Jaeger <aj@suse.de>
18257 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18259 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18260 Ian Lance Taylor <iant@google.com>
18262 * math/libm-test.inc (lround_test): New testcase.
18263 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18265 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18267 * Makefile: Remove support for automatic cvs check-ins.
18268 * Makerules: Likewise.
18269 * config.make.in: Likewise.
18270 * configure.in: Likewise.
18271 * intl/Makefile: Likewise.
18272 * locale/Makefile: Likewise.
18273 * po/Makefile: Likewise.
18274 * posix/Makefile: Likewise.
18275 * sysdeps/gnu/Makefile: Likewise.
18276 * sysdeps/mach/hurd/Makefile: Likewise.
18277 * sysdeps/sparc/sparc32/Makefile: Likewise.
18280 * posix/Makefile (bug-regex32-ENV): Define.
18281 Patch by John Stanley <jpsinthemix@verizon.net>.
18283 * misc/Makefile (headers): Add bits/select2.h.
18284 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18285 * misc/bits/select2.h: New file.
18286 * include/bits/select2.h: New file.
18287 * debug/Makefile (routines): Add fdelt_chk.
18288 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18289 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18291 * debug/fdelt_chk.c: New file.
18293 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18294 * wcsmbs/test-wmemcmp.c: Likewise.
18295 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18296 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18298 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18300 * string/Makefile (strop-tests): Add memcmp.
18301 * string/test-wmemcmp.c: New file.
18302 * string/test-memcmp.c: Add wmemcmp support.
18304 2011-09-08 Roland McGrath <roland@hack.frob.com>
18307 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18310 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18311 garbage value in a __mach_port_mod_refs call in the cases of the
18312 task-self and thread-self ports.
18314 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18316 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18318 2011-09-08 Andreas Schwab <schwab@redhat.com>
18320 * elf/dl-load.c (lose): Check for non-null L.
18322 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18324 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18326 * elf/dl-libc.c (dlerror_run): Pass back error code from
18330 * elf/dl-load.c (lose): Free l_origin if it is valid.
18332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18334 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18337 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18338 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18339 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18341 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18343 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18344 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18345 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18346 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18347 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18348 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18349 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18350 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18351 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18352 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18354 2011-08-15 Alan Modra <amodra@gmail.com>
18357 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18358 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18359 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18360 ppc_mcount to static-only-routines.
18361 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18363 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18364 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18366 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18369 for finite and infinity parameters.
18371 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18373 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18374 and add nop instructions for throughput optimization.
18375 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18377 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18379 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18380 aligned copy for power7 with vector-scalar instructions.
18381 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18383 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18388 2011-09-07 Andreas Schwab <schwab@redhat.com>
18391 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18394 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18396 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18397 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18398 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18399 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18402 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18404 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18405 Forgot to demangle the pointer.
18407 * sysdeps/i386/sysdep.h: Define atom_text_section.
18408 * sysdeps/x86_64/sysdep.h: Likewise.
18409 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18410 section with atom_text_section.
18411 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18412 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18413 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18417 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18418 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18419 already be defined. Change to take two parameters and don't assign
18420 result to variable. Adjust all users.
18421 Define INTERNAL_GETTIME if not already defined.
18422 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18425 HAVE_CLOCK_GETTIME_VSYSCALL.
18426 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18429 gettimeofday vsyscall, just use time.
18431 2011-09-06 Andreas Schwab <schwab@redhat.com>
18433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18436 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18438 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18440 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18442 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18443 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18444 syscall if possible.
18446 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18448 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18449 e_ident. Don't pass to find_mapsXX.
18450 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18452 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18455 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18456 * sysdeps/x86_64/multiarch/strchr.S: Update.
18457 Check bit_slow_BSF bit.
18458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18459 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18460 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18462 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18465 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18467 (tryshell): Define.
18468 (__spawni): Change last parameter to be flag. Test
18469 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18470 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18471 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18472 * posix/spawni.c: Likewise.
18473 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18474 * posix/spawnp.c: Likewise. Change normal version to use
18475 SPAWN_XFLAGS_USE_PATH.
18476 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18477 SPAWN_XFLAGS_TRY_SHELL.
18480 * posix/glob.h: Remove gcc 1.x support.
18483 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18485 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18488 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18490 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18491 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18492 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18494 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18497 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18499 * sysdeps/x86_64/wcscmp.S: New file.
18501 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18502 wcscmp-c wcscmp-sse2
18503 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18504 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18505 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18506 * wcsmbs/wcscmp.c: Allow renaming.
18508 2011-09-05 David S. Miller <davem@davemloft.net>
18510 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18511 stack slot, rather than the struct return pointer slot.
18512 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18513 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18515 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18517 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18519 * po/ja.po: Update from translation team.
18522 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18523 kernel in 64-bit binaries.
18525 2011-09-01 David S. Miller <davem@davemloft.net>
18527 * elf/elf.h (HWCAP_SPARC_*): Move to..
18528 * sysdeps/sparc/sysdep.h: this new file and add new values.
18529 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18530 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18531 _DL_HWCAP_COUNT to 24.
18532 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18534 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18535 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18536 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18538 instead of magic constants.
18539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18541 2011-08-31 David S. Miller <davem@davemloft.net>
18543 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18545 Reimplement to do errno handling inline.
18546 (SYSCALL_ERROR_HANDLER): New macro.
18547 (__SYSCALL_STRING): Do not do errno handling in asm.
18548 (__CLONE_SYSCALL_STRING): Delete.
18549 (__INTERNAL_SYSCALL_STRING): Delete.
18550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18551 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18552 (PSEUDO): Reimplement to do errno handling inline.
18553 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18554 (SYSCALL_ERROR_HANDLER): New macro.
18555 (__SYSCALL_STRING): Do not do errno handling in asm.
18556 (__CLONE_SYSCALL_STRING): Delete.
18557 (__INTERNAL_SYSCALL_STRING): Delete.
18558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18559 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18561 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18562 (inline_syscall*): Add 'err' argument.
18563 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18564 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18565 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18566 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18568 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18569 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18571 2011-08-30 Andreas Schwab <schwab@redhat.com>
18573 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18575 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18577 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18580 2011-08-24 David S. Miller <davem@davemloft.net>
18582 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18584 2011-08-24 Andreas Schwab <schwab@redhat.com>
18586 * elf/Makefile: Add rules to build and run unload8 test.
18587 * elf/unload8.c: New file.
18588 * elf/unload8mod1.c: New file.
18589 * elf/unload8mod1x.c: New file.
18590 * elf/unload8mod2.c: New file.
18591 * elf/unload8mod3.c: New file.
18593 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18596 2011-08-23 David S. Miller <davem@davemloft.net>
18598 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18599 subtract stack bias.
18600 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18601 %sp not %fp in calculations.
18602 (_JMPBUF_UNWINDS_ADJ): Likewise.
18604 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18605 (aio_suspend): Call it to force an exception region around the
18606 AIO_MISC_WAIT() invocation.
18608 2011-08-23 Andreas Schwab <schwab@redhat.com>
18610 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18613 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18615 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18617 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18618 and <dl-machine.h>.
18619 (Elf64_FuncDesc): Remove.
18621 2011-08-22 David S. Miller <davem@davemloft.net>
18623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18624 sigaltstack check, add missing cfi directives.
18625 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18626 missing cfi directives, and sigaltstack handling.
18628 2011-08-16 Andreas Schwab <schwab@redhat.com>
18631 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18632 object is seen twice.
18633 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18635 * elf/Makefile (distribute): Add tst-initorder2.c.
18636 (tests): Add tst-initorder2.
18637 (modules-names): Add tst-initorder2a tst-initorder2b
18638 tst-initorder2c tst-initorder2d. Add rules to build them.
18639 ($(objpfx)tst-initorder2.out): New rule.
18640 * elf/tst-initorder2.c: New file.
18641 * elf/tst-initorder2.exp: New file.
18643 2011-08-22 Andreas Schwab <schwab@redhat.com>
18645 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18647 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18648 dependencies back to end of function.
18650 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18651 $(elfobjdir)/ld.so.
18653 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18656 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18658 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18659 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18660 of __vdso_gettimeofday.
18661 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18662 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18664 (_libc_vdso_platform_setup): Remove initialization of
18665 __vdso_gettimeofday and __vdso_time.
18667 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18669 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18670 and fgetc_unlocked.
18671 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18674 * elf/dl-open.c (add_to_global): Report additions to the global scope
18675 for LD_DEBUG=scopes.
18676 (dl_open_worker): Also print scope of newly loaded dependencies.
18677 (_dl_show_scope): Indicate if there is no scope.
18680 * stdio-common/Makefile (tests): Add bug24.
18681 * stdio-common/bug24.c: New file.
18683 2011-08-19 Andreas Jaeger <aj@suse.de>
18686 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18687 non-existant file when using close-on-exec mode.
18689 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18692 the very first instruction.
18694 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18695 the CFI state in the end.
18696 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18697 inclusion of dl-trampoline.h.
18698 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18700 2011-08-19 Andreas Schwab <schwab@redhat.com>
18702 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18703 expectations for long double.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18706 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18708 2011-08-14 David S. Miller <davem@davemloft.net>
18710 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18711 artificual limit depends upon the system page size.
18713 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18715 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18716 * resolv/Makefile: Define CFLAGS-libresolv.
18718 2011-08-17 Andreas Schwab <schwab@redhat.com>
18720 * nss/makedb.c (compute_tables): Make variables used in nested
18723 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18725 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18726 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18727 if buffer was too small.
18729 * elf/pldd.c (main): Attach to all threads in the process.
18730 Rewrite /proc handling to use *at functions.
18732 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18734 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18735 specifies first scope to show.
18736 (dl_open_worker): Update callers. Move printing scope of new
18737 object to before the relocation.
18738 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18739 * sysdeps/generic/ldsodefs.h: Update declaration.
18741 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18742 string for the scope number.
18744 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18746 * nscd/servicescache.c (cache_addserv): Make sure written is always
18749 2011-08-14 Roland McGrath <roland@hack.frob.com>
18751 * sysdeps/i386/i486/bits/atomic.h
18752 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18753 statement expression, so as to suppress "set but not used" warning.
18754 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18756 * string/strncat.c (STRNCAT): Use prototype definition.
18758 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18759 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18761 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18762 (localedef-modules): Add localedef.
18763 (locale-modules): Add locale.
18765 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18766 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18767 to avoid a warning.
18769 2011-08-14 David S. Miller <davem@davemloft.net>
18771 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18772 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18774 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18776 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18777 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18778 * elf/rtld.c (dl_main): Set l_name of vDSO.
18779 Call _dl_show_scope when DL_DEBUG_SCOPES.
18780 (process_dl_debug): Recognize scopes flag and also set it for all.
18781 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18782 Declare _dl_show_scope.
18784 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18785 (do_dlopen): Pass caller_dlopen to dl_open.
18786 (__libc_dlopen_mode): Initialize caller_dlopen.
18788 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18789 of libc. Make tolower call locale-independent. Optimize a bit by
18790 using isdigit instead of isalnum.
18791 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18793 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18795 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18796 was a dependency or dynamically loaded.
18798 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18800 * intl/l10nflist.c: Allow architecture-specific pop function.
18801 * sysdeps/x86_64/l10nflist.c: New file.
18803 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18806 2011-08-10 Andreas Schwab <schwab@redhat.com>
18808 * include/dirent.h: Add libc_hidden_proto for scandirat and
18809 scandirat64. Don't declare __scandirat64.
18810 * dirent/scandirat.c: Add libc_hidden_def.
18811 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18812 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18814 2011-08-10 David S. Miller <davem@davemloft.net>
18816 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18820 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18822 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18824 * Versions.def [libc]: Add GLIBC_2.15.
18825 * dirent/Makefile (routines): Add scandirat and scandirat64.
18826 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18828 * dirent/dirent.h: Declare scandirat and scandirat64.
18829 * dirent/scandirat.c: New file.
18830 * dirent/scandirat64.c: New file.
18831 * sysdeps/wordsize-64/scandirat.c: New file.
18832 * sysdeps/wordsize-64/scandirat64.c: New file.
18833 * dirent/opendir.c: Define opendirat.
18834 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18836 * dirent/scandir64.c: Adjust for scandir.c change.
18837 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18838 __scandirat64, and __scandir_cancel_handler.
18839 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18840 additional parameter and use openat instead of open (outside of ld.so).
18841 Add new __opendir as wrapper around __opendirat.
18842 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18843 here without requiring old scandirat implementation.
18845 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18847 * dirent/scandir.c (cancel_handler): Renamed to
18848 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18849 defined. Adjust users.
18850 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18851 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18853 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18855 * string/test-string.h (IMPL): Use __STRING to expand name and then
18858 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18861 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18863 * string/Makefile: Update.
18864 (strop-tests): Append strncat.
18865 * string/test-wcscmp.c: New file.
18866 New comprehensive test for wcscmp.
18867 * string/test-strcmp.c: Update.
18868 (WIDE): New define.
18870 2011-07-22 Andreas Schwab <schwab@redhat.com>
18872 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18875 2011-07-26 Andreas Schwab <schwab@redhat.com>
18877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18878 encoding to ACE if AI_IDN.
18880 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18883 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18885 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18888 Fix overflow bug in strncat.
18889 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18891 * string/test-strncat.c: Update.
18892 Add new tests for checking overflow bugs.
18894 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18897 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18898 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18899 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18900 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18901 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18902 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18903 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18904 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18907 (USE_AS_STRCAT): Define.
18908 Add strcat and strncat support.
18909 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18911 2011-07-25 Andreas Schwab <schwab@redhat.com>
18913 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18914 __n bigger than INT_MAX+1.
18915 (__strncmp_g): Likewise.
18917 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18919 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18920 * libio/stido.h: Likewise.
18922 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18927 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18931 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18934 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18939 (_dl_x86_64_save_sse): Likewise.
18941 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18945 (_dl_x86_64_save_sse): Likewise.
18947 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18949 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18951 2011-07-21 Andreas Schwab <schwab@redhat.com>
18953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18955 (_dl_x86_64_save_sse): Use correct AVX check.
18957 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18959 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18960 bug in strncpy/strncat.
18961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18963 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18965 * string/tester.c (test_strcat): Add tests for different alignments
18966 of source and destination.
18967 (test_strncat): Likewise.
18969 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18972 * posix/glob.c (glob): Check passed in values before using them in
18973 expressions to avoid some overflows.
18974 (glob_in_dir): Likewise.
18977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18978 check for AVX enablement so that we don't crash with old kernels and
18980 * elf/tst-audit4.c: Add same checks here.
18981 * elf/tst-audit6.c: Likewise.
18983 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18985 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18987 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18989 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18991 * po/cs.po: Update from translation team.
18992 * po/bg.po: Likewise.
18994 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18996 * misc/sys/cdefs.h: Add support for const attribute.
18997 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18998 to gnu_dev_{major,minor,makedev} functions.
19000 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19002 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19004 2011-07-20 Andreas Schwab <schwab@redhat.com>
19006 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19009 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19012 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19013 register in order to avoid conflicts with the soft frame pointer
19014 being held in r11 when necessary.
19015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19016 (INTERNAL_VSYSCALL_NCS): Likewise.
19018 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19020 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19021 * elf/dl-fini.c (_dl_fini): Adjust caller.
19022 * elf/dl-close.c (_dl_close_worker): Likewise.
19023 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19025 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19027 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19028 "aux_cache->nlibs < 0".
19030 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19031 in the reload-count case.
19033 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19036 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19037 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19038 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19039 * sysdeps/x86_64/multiarch/strcat.S: New file.
19040 * sysdeps/x86_64/multiarch/strncat.S: New file.
19041 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19042 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19043 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19044 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19045 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19046 (USE_AS_STRCAT): Define.
19047 Add strcat and strncat support.
19048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19050 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19051 * string/strncat.c: Update.
19052 (USE_AS_STRNCAT): Define.
19053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19054 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19056 * sysdeps/x86_64/multiarch/init-arch.h
19057 (bit_Prefer_PMINUB_for_stringop): New.
19058 (index_Prefer_PMINUB_for_stringop): Likewise.
19059 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19060 bit_Prefer_PMINUB_for_stringop.
19062 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19064 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19066 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19067 of casting of buffer.
19068 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19069 buffer32 and buffer64.
19070 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19071 writes instead of casting of buffer.
19072 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19074 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19077 2011-07-19 Andreas Schwab <schwab@redhat.com>
19079 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19081 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19083 * nscd/nscd.c (termination_handler): Don't do anything for a database
19084 if it has not yet been initialized.
19086 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19088 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19090 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19092 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19094 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19096 * po/nl.po: Update from translation team.
19097 * po/sv.po: Likewise.
19099 2011-07-16 Roland McGrath <roland@hack.frob.com>
19101 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19102 now disallowed by GCC.
19104 * configure.in (use-default-link): Default to yes if a test -shared
19105 link meets our qualifications.
19106 * configure: Regenerated.
19108 * config.make.in (output-format): New variable.
19109 * configure.in: Check for ld --print-output-format support.
19110 * configure: Regenerated.
19111 * Makerules ($(common-objpfx)format.lds)
19112 [$(output-format) != unknown]: Just use $(output-format),
19113 instead of the linker-script munging.
19115 2011-07-14 Roland McGrath <roland@hack.frob.com>
19117 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19118 of $(common-objpfx)shlib.lds.
19119 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19121 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19122 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19124 * configure.in (-z relro check): Adjust test code to add a large
19125 writable data section after it.
19126 * configure: Regenerated.
19128 2011-07-11 Roland McGrath <roland@hack.frob.com>
19130 * configure.in (-z relro check): Fix test code to make the variable
19132 * configure: Regenerated.
19134 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19136 * nscd/nscd.h (struct traced_file): Define.
19137 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19138 elements. Add traced_files.
19139 (inotify_fd): Declare.
19140 (register_traced_file): Declare.
19141 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19142 (inotify_fd): Export.
19143 (resolv_conf_descr): Remove.
19144 (nscd_init): Move inotify descriptor creation to main.
19145 Don't register files for notification here.
19146 (register_traced_file): New function.
19147 (invalidate_cache): Don't use reset_res to determine whether to call
19148 res_init, go through the list of registered files.
19149 (main_loop_poll): The inotify descriptors are now stored in the
19150 structures for the traced files.
19151 (main_loop_epoll): Likewise
19152 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19153 to __nss_disable_nscd.
19154 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19155 for a database anymore. Check the records for all the registered
19157 * nss/Makefile (libnss_files-routines): Add files-init.
19158 (libnss_db-routines): Add db-init.
19159 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19160 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19161 * nss/nss_db/db-init.c: New file.
19162 * nss/nss_files/files-init.c: New file.
19163 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19164 __nss_lookup_function.
19165 (__nss_lookup_function): Call nss_load_library.
19166 (nss_load_all_libraries): New function.
19167 (__nss_disable_nscd): Take parameter with callback function for files
19168 to register. Set is_nscd. Load all the DSOs for the NSS modules
19169 used for the cached services.
19170 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19171 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19172 options for features to all the files in nscd.
19174 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19176 2011-07-10 Roland McGrath <roland@hack.frob.com>
19178 * csu/elf-init.c (__libc_csu_init): Comment typo.
19180 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19182 * po/pl.po: Update from translation team.
19183 * po/ja.po: Likewise.
19184 * po/ru.po: Likewise.
19185 * po/ko.po: Likewise.
19186 * po/fr.po: Likewise.
19188 2011-07-09 Roland McGrath <roland@hack.frob.com>
19190 * configure.in (.ctors/.dtors header and trailer check):
19191 Use an empirical test on a built program.
19192 * configure: Regenerated.
19194 * configure.in (-z relro check): Use an empirical test on a built DSO.
19195 Detect, but do not require, on ia64.
19196 * configure: Regenerated.
19198 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19199 Update tests that use readelf to use $READELF instead.
19200 * configure: Regenerated.
19202 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19204 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19205 if the result is not used.
19207 2011-07-05 Andreas Jaeger <aj@suse.de>
19210 * stdlib/tst-strtod.c: Add testcase.
19212 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19214 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19215 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19216 The latter has a higher limit. Take additional parameter to pass to
19218 (__pathconf): Pass file to __statfs_link_max.
19219 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19221 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19225 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19226 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19228 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19229 (__statfs_filesize_max): Likewise.
19230 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19232 2011-07-05 Andreas Jaeger <aj@suse.de>
19234 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19236 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19238 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19240 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19243 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19245 * Makefile (strop-tests): Add strncat.
19246 * string/test-strncat.c: New file.
19248 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19250 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19252 2011-06-21 Andreas Jaeger <aj@suse.de>
19254 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19255 Copy rule from iconvdata/Makefile.
19257 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19260 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19261 but no long options are defined, just return 'W'.
19263 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19266 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19268 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19270 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19272 (innetgr): Likewise.
19274 2011-07-05 Roland McGrath <roland@hack.frob.com>
19276 * config.make.in (install_root): Default to $(DESTDIR).
19278 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19280 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19282 2011-07-02 Roland McGrath <roland@hack.frob.com>
19284 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19286 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19287 containing directory rather than embedding absolute directory names.
19289 * scripts/check-local-headers.sh: Rewritten using awk.
19290 Match by word, not by line. Print error messages for matches.
19291 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19293 * Makerules [shlib-lds-flags empty]:
19294 ($(common-objpfx)libc_pic.opts): New target.
19295 ($(common-objpfx)libc_pic.os.clean): New target.
19296 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19298 * config.make.in (OBJCOPY): New variable.
19299 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19300 * configure: Regenerated.
19302 * config.make.in (use-default-link): New variable.
19303 * configure.in (use_default_link): Grok --with-default-link to set it.
19304 * configure: Regenerated.
19305 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19306 (shlib-lds, shlib-lds-flags): Define to empty.
19308 * Makerules (shlib-lds): New variable.
19309 (shlib-lds-flags): New variable.
19310 (build-shlib, build-moduile, build-module-asneeded): Use it.
19311 ($(common-objpfx)libc.so): Use $(shlib-lds).
19312 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19313 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19315 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19316 DT_FLAGS/DT_FLAGS_1 with zero flags.
19318 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19319 linker script munging.
19321 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19323 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19325 * crypt/sha512.c (sha512_process_block): Perform total addition using
19326 128-bit if possible.
19327 (__sha512_finish_ctx): Likewise.
19328 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19330 * crypt/sha256.c (SWAP64): Define.
19331 (sha256_process_block): Perform total addition using 64-bit if
19333 (__sha256_finish_ctx): Likewise.
19335 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19337 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19339 * nscd/hstcache.c (cache_addhst): Likewise.
19340 * nscd/grpcache.c (cache_addgr): Likewise.
19341 * nscd/aicache.c (addhstaiX): Likewise
19342 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19344 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19346 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19348 * nscd/hstcache.c (cache_addhst): Likewise.
19349 * nscd/grpcache.c (cache_addgr): Likewise.
19350 * nscd/aicache.c (addhstaiX): Likewise
19352 2011-07-01 Andreas Schwab <schwab@redhat.com>
19354 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19355 domain only when needed.
19357 2011-06-30 Andreas Schwab <schwab@redhat.com>
19359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19360 is always restored.
19362 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19364 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19365 are re-adding the entry.
19366 * nscd/servicescache.c (cache_addserv): Likewise.
19368 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19370 * sysdeps/generic/dl-irel.h: fix protection against multiple
19372 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19374 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19377 * malloc/memusage.sh: Fix quoting in message.
19378 * debug/xtrace.sh: Likewise.
19380 * configure.in: Remove support for --experimental-malloc option, make
19382 * config.make.in: Likewise.
19383 * malloc/Makefile: Likewise.
19385 2011-06-27 Andreas Schwab <schwab@redhat.com>
19387 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19388 two-byte characters.
19390 2011-06-27 Roland McGrath <roland@hack.frob.com>
19392 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19393 AC_CACHE_CHECK invocation.
19394 * configure: Regenerated.
19396 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19398 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19401 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19402 bit from old_res_options.
19404 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19406 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19407 value type for setfct.
19409 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19411 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19412 __gettimeofday instead of gettimeofday.
19414 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19416 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19418 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19422 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19425 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19428 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19429 strcpy-sse2-unaligned strncpy-sse2-unaligned
19430 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19431 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19432 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19433 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19434 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19435 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19437 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19438 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19439 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19440 (STRCPY): Support SSE2 and SSSE3 versions.
19442 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19445 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19446 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19447 kernels which artificially limit size of requests.
19449 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19452 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19453 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19454 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19455 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19456 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19457 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19458 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19461 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19462 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19463 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19464 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19465 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19467 Enable unaligned load optimization for Intel Core i3, i5 and i7
19469 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19471 (index_Fast_Unaligned_Load): Define.
19472 (HAS_FAST_UNALIGNED_LOAD): Define.
19474 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19476 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19478 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19482 until it is clear that the information is realy needed.
19483 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19485 2011-06-22 Andreas Schwab <schwab@redhat.com>
19487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19489 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19491 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19492 /sys/devices/system/cpu/online if it is usable.
19494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19495 reading the information from the /proc filesystem to once a second.
19497 2011-06-21 Andreas Jaeger <aj@suse.de>
19499 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19500 NULL after inclusion of kernel headers.
19502 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19504 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19505 calls to internal_setent.
19508 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19509 addresses using gethostbyname4_r ignore IPv4 addresses.
19511 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19512 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19514 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19516 2011-06-20 David S. Miller <davem@davemloft.net>
19518 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19520 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19522 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19523 (elf_irel): Use it.
19524 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19525 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19526 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19527 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19528 * sysdeps/x86_64/dl-irel.h: Likewise.
19530 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19531 * elf/dl-sym.c: Likewise.
19533 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19535 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19536 need to dereference resplen2.
19538 2011-06-14 Andreas Schwab <schwab@redhat.com>
19540 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19542 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19544 * Makeconfig: Define vardbdir and inst_vardbdir.
19545 * nss/Makefile: Add rules to install db-Makefile.
19547 * nss/nss_db/db-XXX.c: Cleanup.
19549 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19550 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19552 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19553 * nss/makedb.c: Implement -g option to specify that value strings
19554 are generated and should not be added to table iterated over for
19556 * nss/nss_db/db-initgroups.c: New file.
19558 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19561 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19562 (internal_getgrouplist): Adjust to name change.
19563 Update use_initgroups_entry if this is not the first call.
19564 * nss/databases.def: Add initgroups entry.
19566 * nss/makedb.c (compute_tables): Check result of multiple hash table
19567 sizes to minimize maximum chain length.
19569 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19571 * Versions.def: Add entry for libnss_db.
19572 * shlib-versions: Likewise.
19573 * nss/Makefile: Add rules to build libnss_db.
19574 * nss/Versions: Add libnss_db information. Organize libnss_files
19576 * nss/db-Makefile: Add gshadow support. Change rules for the new
19577 makedb progra. Some minor improvements to generate smaller files.
19578 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19580 * nss/makedb.c: ...here.
19581 Improve database format to be smaller and require less memory at
19583 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19585 * nss/nss_db/db-netgrp.c: Likewise.
19586 * nss/nss_db/db-open.c: Likewise.
19587 * nss/nss_files/flies-XXX.x: Adjust comments.
19588 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19589 * nss/nss_files/files-grp.c: Likewise.
19590 * nss/nss_files/files-hosts.c: Likewise.
19591 * nss/nss_files/files-network.c: Likewise.
19592 * nss/nss_files/files-proto.c: Likewise.
19593 * nss/nss_files/files-pwd.c: Likewise.
19594 * nss/nss_files/files-rpc.c: Likewise.
19595 * nss/nss_files/files-service.c: Likewise.
19596 * nss/nss_files/files-sgrp.c: Likewise.
19597 * nss/nss_files/files-spwd.c: Likewise.
19598 * nss/nss_db/db-alias.c: Removed.
19599 * nss/nss_db/dummy-db.h: Removed.
19601 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19603 * nss/makedb.c: Rewritten to not use database library.
19604 * nss/Makefile: Update to build new makedb program.
19606 2011-06-14 Andreas Jaeger <aj@suse.de>
19608 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19609 memset declaration.
19611 2011-06-10 Andreas Schwab <schwab@redhat.com>
19613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19616 2011-06-10 Roland McGrath <roland@hack.frob.com>
19618 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19619 * elf/Makefile ($(objpfx)ld.so): Likewise.
19621 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19622 Don't list ld.so twice in dependencies.
19624 * posix/bug-regex31.c: Include <stdlib.h>.
19626 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19628 * nis/nss_compat/compat-spwd.c
19629 (getspent_next_nss_netgr): Remove unused variable.
19630 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19632 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19633 nonmembers" output to use the right array.
19635 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19637 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19639 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19640 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19641 * catgets/gencat.c (read_input_file): Likewise.
19642 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19644 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19645 variable definition inside #if's controlling its use.
19647 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19649 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19651 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19653 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19656 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19658 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19659 * configure: Regenerated.
19661 * Makerules: Revert last change.
19662 * elf/Makefile: Likewise.
19664 2011-06-09 Roland McGrath <roland@hack.frob.com>
19666 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19667 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19668 (reloc-link): Likewise.
19670 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19672 * elf/Makefile: Add rules to build pldd.
19673 * elf/pldd.c: New file.
19674 * elf/pldd-xx.c: New file.
19676 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19678 * version.h: Update for 2.15 development version.
19680 2011-06-07 David S. Miller <davem@davemloft.net>
19682 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19685 elf_machine_lazy_rel): Likewise.
19686 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19688 elf_machine_lazy_rel): Likewise.
19689 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19690 dl_hwcap via passed in argument.
19691 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19694 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19696 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19698 2011-06-06 Roland McGrath <roland@hack.frob.com>
19701 * manual/fdl-1.1.texi: New file, verbatim from:
19702 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19703 * manual/lgpl-2.1.texi: New file, verbatim from:
19704 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19705 * manual/Makefile (licenses): New variable, list those new file names.
19707 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19709 * manual/fdl.texi: File removed.
19710 * manual/lesser.texi: File removed.
19711 * manual/libc.texinfo (Copying, Documentation License):
19712 Use new @include file names, put @appendix directive before @include.
19714 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19717 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19718 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19719 (mq_open): Add __NTH.
19721 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19724 Assume Intel Core i3/i5/i7 processor if AVX is available.
19726 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19731 2011-05-31 Andreas Schwab <schwab@redhat.com>
19733 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19734 memory. Use alloca_account. Fix memory leak when retrying.
19736 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19738 * version.h (RELEASE): Bump for 2.14 release.
19739 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19741 * config.make.in (RANLIB): Remove entry.
19743 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19745 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19746 (libc.pot): Work around missing support for .ksh extension in xgettext.
19749 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19750 if both request failed.
19751 (send_dg): In case of server errors clear resplen or *resplen2.
19754 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19755 when there are multiple maps.
19756 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19757 (_dl_fini): Remove test here.
19759 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19761 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19764 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19765 bit from old_res_options.
19766 (gaih_inet): Likewise.
19769 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19772 * resolv/res_init.c (res_setoptions): Make the code more compact.
19775 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19779 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19781 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19784 * malloc/malloc.h: Declare malloc hook variables as volatile.
19786 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19790 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19791 raise in the comment.
19792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19794 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19796 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19799 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19800 grow the buffers more if it already has to be sufficient.
19801 (build_wcs_upper_buffer): Likewise.
19802 * posix/regexec.c (check_matching): Likewise.
19803 (clean_state_log_if_needed): Likewise.
19804 (extend_buffers): Don't enlarge buffers beyond size of the input
19806 Patches mostly by Emil Wojak <emil@wojak.eu>.
19807 * posix/bug-regex32.c: New file.
19808 * posix/Makefile (tests): Add bug-regex32.
19810 * locale/findlocale.c (_nl_find_locale): Return right away if
19811 _nl_explode_name failed.
19812 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19814 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19816 * debug/xtrace.sh: Unify messages.
19817 * malloc/memusage.sh: Likewise.
19820 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19821 time symbol from vDSO. Substitute with vsyscall if not available.
19822 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19825 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19826 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19827 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19828 Add sendmmsg and internal_sendmmsg.
19829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19830 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19833 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19834 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19837 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19840 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19841 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19847 * iconvdata/Makefile (tests): Add bug-iconv9.
19848 * iconvdata/bug-iconv9.c: New file.
19850 2011-05-27 Andreas Schwab <schwab@redhat.com>
19853 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19855 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19858 (struct user_regs_struct): Change intcs field back to cs.
19860 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19862 * po/ja.po: Update from translation team.
19864 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19867 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19868 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19870 2011-05-20 Andreas Schwab <schwab@redhat.com>
19872 * stdlib/longlong.h: Update from GCC.
19874 2011-05-23 Andreas Schwab <schwab@redhat.com>
19876 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19878 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19879 Add parameter name.
19880 (__sysconf): Pass it down.
19882 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19885 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19888 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19889 add in in __libc_use_alloca calls. Adjust callers.
19890 (glob): Use malloc in some situations.
19892 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19893 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19896 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19898 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19899 and CLOCK_BOOTTIME_ALARM.
19902 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19905 * string/_strerror.c (__strerror_r): Print negative errors as signed
19909 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19910 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19911 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19913 * configure.in: Fix typo in redirection and correct removal of test
19914 files in two cases.
19917 * locale/setlocale.c (new_composite_name): Fix test to check for
19918 identical name of all categories.
19921 * libio/filedoalloc.c (local_isatty): New function.
19922 (_IO_file_doallocate): Use local_isatty.
19923 * stdio-common/perror.c (perror): In case a new stream is used
19924 forward the stream error.
19925 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19928 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19933 * include/alloca.h (extend_alloca_account): Define.
19936 * posix/regex.h: Fix comments with documentation of user-accessible
19937 fields after compilation and describe correct free'ing of pattern
19938 after re_compile_pattern.
19939 Patch by Reuben Thomas <rrt@sc3d.org>.
19941 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19943 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19944 and -mno-altivec to prevent the compiler from using Altivec and/or
19945 VSX instructions when the corresponding registers are not available.
19947 2011-05-19 Andreas Schwab <schwab@redhat.com>
19949 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19951 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19953 * libio/freopen.c (freopen): Use __dup2, not dup2.
19954 * libio/freopen64.c (freopen64): Likewise.
19956 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19959 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19960 * math/Makefile (tests): Add test-powl.
19961 (CFLAGS-test-powl.c): Define.
19962 * math/test-powl.c: New file.
19964 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19966 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19968 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19971 * iconvdata/gb18030.c: Update to GB18020-2005.
19973 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19975 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19976 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19977 Patch by Aharon Robbins <arnold@skeeve.com>.
19980 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19984 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19985 through underflows.
19988 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19989 point to strings before performing equality test for error_one_per_line
19993 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19997 (struct user_fpregs_struct): Avoid __uint*_t types.
20000 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20001 symbol info. Use it instead of calling _dl_addr locally.
20002 (lock_and_info): New function.
20003 (tr_freehook): Call lock_and_info and pass symbol info as additional
20004 parameter to tr_where.
20005 (tr_mallochook): Likewise.
20006 (tr_reallochook): Likewise.
20007 (tr_memalignhook): Likewise.
20009 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20010 used and couldn't be at all thread-safe.
20012 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20014 * libio/freopen.c (freopen): Don't close old file descriptor
20015 before the new one is opened. Instead dup the new file descriptor
20016 to the old one after the new stream is created.
20017 * libio/freopen64.c (freopen64): Likewise.
20018 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20019 * libio/fileops.c (_IO_new_file_close_it): Handle new
20020 _IO_FLAGS2_NOCLOSE flag.
20021 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20022 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20023 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20024 _IO_FLAGS2_NOCLOSE flag.
20025 * include/unistd.h: Add hidden_proto for dup3.
20026 Define __have_dup3.
20027 * io/dup3.c: Define hidden symbol.
20028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20031 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20032 when an incomplete long option is used.
20033 * posix/tst-getopt_long1.c: New file.
20034 * posix/Makefile (tests): Add tst-getopt_long1.
20037 * scripts/config.guess: Update from autoconf-2.68.
20038 * scripts/config.sub: Likewise.
20041 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20043 (has_cpuclock): ...this. New function.
20044 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20045 macro here based on has_cpuclock code.
20048 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20049 First byte (not low byte) is now always NUL.
20050 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20053 Use non-cancelable interfaces.
20056 * locale/iso-639.def: Add entry for Sorani.
20059 * include/stdlib.h: Move include protection to the right place.
20060 Define abort_msg_s. Declare __abort_msg with it.
20061 * stdlib/abort.c (__abort_msg): Adjust type.
20062 * assert/assert.c (__assert_fail_base): New function. Majority
20063 of code from __assert_fail. Allocate memory for __abort_msg with
20065 (__assert_fail): Now call __assert_fail_base.
20066 * assert/assert-perr.c: Remove bulk of implementation. Use
20067 __assert_fail_base.
20068 * include/assert.hL Declare __assert_fail_base.
20069 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20071 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20073 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20077 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20078 until all modules are registered in the DTV.
20079 * elf/Makefile: Add rules to build and run tst-tls19.
20080 * elf/tst-tls19.c: New file.
20081 * elf/tst-tls19mod1.c: New file.
20082 * elf/tst-tls19mod2.c: New file.
20083 * elf/tst-tls19mod3.c: New file.
20084 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20087 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20091 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20092 two-byte sequence errors.
20093 * iconvdata/Makefile (tests): Add bug-iconv8.
20094 * iconvdata/bug-iconv8.c: New file.
20097 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20100 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20103 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20104 (dummy_getcfa): New function.
20105 (init): Get _Unwind_GetCFA address, use dummy if not found.
20106 (backtrace_helper): In recursion check, also check whether CFA changes.
20107 (__backtrace): Completely initialize arg.
20109 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20110 storing incomplete byte sequence in state object. Avoid testing for
20111 guaranteed too small input if we know there is enough data available.
20113 2011-05-11 Andreas Schwab <schwab@redhat.com>
20115 * Makeconfig (+link-pie): Indent.
20116 * Rules (binaries-pie): Define if $(have-fpie) and
20118 (binaries-shared): Also filter out $(binaries-pie).
20119 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20120 * nscd/Makefile (others-pie): Add nscd.
20121 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20122 ($(objpfx)nscd): Remove command override.
20123 * login/Makefile (others-pie): Add pt_chown.
20124 ($(objpfx)pt_chown): Remove command override.
20125 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20126 remove command overrides.
20128 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20130 * libio/tst_putwc.c: Fix error messages.
20133 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20134 currently writing and seek to current position when not.
20135 * libio/Makefile (tests): Add bug-fclose1.
20136 * libio/bug-fclose1.c: New file.
20138 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20141 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20142 don't set DF_1_NODELETE here.
20143 (do_lookup_x): When entering new entry test for copy relocation
20144 and if necessary set DF_1_NODELETE flag.
20145 * elf/tst-unique4.cc: New file.
20146 * elf/tst-unique4.h: New file.
20147 * elf/tst-unique4lib.cc: New file.
20148 * elf/Makefile: Add rules to build and run tst-unique4.
20149 Patch by Piotr Bury <pbury@goahead.com>.
20151 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20154 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20157 * misc/mntent_r.c (addmntent): Flush the stream after the output
20160 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20161 (is_trusted_path_normalize): Skip initial colon. Append slash
20162 to empty buffer. Duplicate is_trusted_path code but allow
20163 constructed patch to be prefix.
20164 (is_dst): Allow $ORIGIN followed by /.
20165 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20166 Correct testing of result of is_trusted_path_normalize
20167 (decompose_rpath): Fix warning.
20169 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20172 * grp/initgroups.c (internal_getgrouplist): When we found the service
20173 list through the initgroups entry in nsswitch.conf do not always
20174 continue on a successful lookup. Don't always use the
20175 __nss_group_database value if it is set.
20176 * nss/nsswitch.conf (initgroups): Change action for successful db
20177 lookup to continue for compatibility.
20179 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20182 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20184 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20186 * iconvdata/tst-tables.sh: Likewise.
20187 * iconvdata/cp770.c: New file.
20188 * iconvdata/cp771.c: New file.
20189 * iconvdata/cp772.c: New file.
20190 * iconvdata/cp773.c: New file.
20191 * iconvdata/cp774.c: New file.
20192 * iconvdata/testdata/CP770: New file.
20193 * iconvdata/testdata/CP770..UTF8: New file.
20194 * iconvdata/testdata/CP771: New file.
20195 * iconvdata/testdata/CP771..UTF8: New file.
20196 * iconvdata/testdata/CP772: New file.
20197 * iconvdata/testdata/CP772..UTF8: New file.
20198 * iconvdata/testdata/CP773: New file.
20199 * iconvdata/testdata/CP773..UTF8: New file.
20200 * iconvdata/testdata/CP774: New file.
20201 * iconvdata/testdata/CP774..UTF8: New file.
20203 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20205 * iconvdata/gen-8bit-gap.sh: Likewise.
20206 * iconvdata/gen-8bit.sh: Likewise.
20208 * locale/iso-639.def: Add ary entry.
20211 * locale/C-translit.h.in: Add U20A1 transliteration.
20214 * locale/iso-639.def: Add wae entry.
20215 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20218 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20222 * locale/C-translit.h.in: Add entry for U20B9.
20223 Patch by pravin.d.s@gmail.com.
20225 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20228 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20229 ENAMETOOLONG use generic getcwd.
20230 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20231 in rtld. Use *stat64.
20232 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20233 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20234 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20235 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20236 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20237 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20238 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20239 __fstatat64 macros.
20240 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20241 * dirent/rewinddir.c: Add libc_hidden_def.
20242 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20243 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20245 * include/dirent.h (__alloc_dir): Add flags parameter.
20246 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20247 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20249 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20250 from fdopendir if O_CLOEXEC is already set.
20252 2011-03-15 Alan Modra <amodra@gmail.com>
20254 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20255 l_tls_firstbyte_offset non-zero. Save padding offset in
20256 l_tls_firstbyte_offset for later use.
20257 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20258 freeing static tls block.
20260 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20262 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20263 where #ifdef was intended. The intent is to prevent ARG_MAX from
20264 being defined by the kernel headers.
20266 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20269 * resolv/resolv.h: Define RES_NOTLDQUERY.
20270 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20271 no-tld-query and set RES_NOTLDQUERY.
20272 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20273 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20274 modern BIND to search name as TLD unless forbidden.
20276 2011-05-07 Petr Baudis <pasky@suse.cz>
20277 Ulrich Drepper <drepper@gmail.com>
20280 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20281 (is_trusted_path): ...to here.
20282 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20283 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20284 using is_trusted_path_normalize() in setuid scripts.
20286 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20288 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20289 __BEGIN/__END_DECLS.
20291 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20294 NSS_STATUS_NOTFOUND if no record was found.
20296 2011-05-05 Andreas Schwab <schwab@redhat.com>
20298 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20299 (headers-not-in-tirpc): Remove rpc/netdb.h
20300 * resolv/netdb.h: Revert last change.
20302 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20304 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20305 circular dependency between libgcc.a and libc.a.
20307 2011-05-05 Andreas Schwab <schwab@redhat.com>
20309 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20310 * nis/Makefile: Don't install rpcsvc/*.
20311 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20312 instead of <rpc/types.h>.
20313 (MAXHOSTNAMELEN): Define.
20315 2011-05-03 Andreas Schwab <schwab@redhat.com>
20317 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20319 2011-04-28 Maciej Babinski <mbabinski@google.com>
20322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20323 gethostbyname4_r when IPv6 results are possible.
20325 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20328 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20329 _PC_PIPE_BUF handling.
20331 2011-04-30 Bruno Haible <bruno@clisp.org>
20334 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20335 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20337 * inet/getnameinfo.c (getnameinfo): Likewise.
20339 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20341 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20342 to groups setting in database lookup.
20343 * nss/nsswitch.conf: Add initgroups entry.
20345 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20348 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20350 Patch by Eric Blake <eblake@redhat.com>.
20352 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20354 * sunrpc/Makefile (need-export-routines): Add svc_run.
20355 (routines): Remove svc_run.
20356 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20357 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20358 * sunrpc/svc_run.c (svc_run): Likewise.
20359 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20361 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20364 problem in reallocation in last patch.
20366 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20368 * sunrpc/Makefile: Move inclusion of Rules.
20370 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20372 * nss/nss_files/files-initgroups.c: New file.
20373 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20374 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20375 _nss_files_initgroups_dyn.
20377 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20379 * elf/elf.h (R_ARM_IRELATIVE): Define.
20381 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20383 * po/ru.po: Update from translation team.
20385 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20387 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20390 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20393 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20394 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20397 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20399 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20401 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20403 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20407 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20410 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20412 * stdlib/bug-getcontext.c: New file.
20413 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20415 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20417 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20418 instructions into .machine "z9-109".
20419 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20420 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20422 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20424 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20425 between environment variables and auxiliary vector.
20427 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20429 * Makefile: Add rules to build linkobj/libc.so.
20430 * include/libc-symbols.h: Define libc_hidden_nolink.
20431 * include/rpc/auth.h: Mark functions which are to be hidden.
20432 * include/rpc/auth_des.h: Likewise.
20433 * include/rpc/auth_unix.h: Likewise.
20434 * include/rpc/clnt.h: Likewise.
20435 * include/rpc/des_crypt.h: Likewise.
20436 * include/rpc/key_prot.h: Likewise.
20437 * include/rpc/pmap_clnt.h: Likewise.
20438 * include/rpc/pmap_prot.h: Likewise.
20439 * include/rpc/pmap_rmt.h: Likewise.
20440 * include/rpc/rpc_msg.h: Likewise.
20441 * include/rpc/svc.h: Likewise.
20442 * include/rpc/svc_auth.h: Likewise.
20443 * include/rpc/xdr.h: Likewise.
20444 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20445 * nss/Makefile: Likewise.
20446 * sunrpc/Makefile: Don't install headers. Build library with normal
20447 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20448 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20449 for the compat linking library. Remove use of INTDEF/INTUSE.
20450 * sunrpc/auth_none.c: Likewise.
20451 * sunrpc/auth_unix.c: Likewise.
20452 * sunrpc/authdes_prot.c: Likewise.
20453 * sunrpc/authuxprot.c: Likewise.
20454 * sunrpc/clnt_gen.c: Likewise.
20455 * sunrpc/clnt_perr.c: Likewise.
20456 * sunrpc/clnt_raw.c: Likewise.
20457 * sunrpc/clnt_simp.c: Likewise.
20458 * sunrpc/clnt_tcp.c: Likewise.
20459 * sunrpc/clnt_udp.c: Likewise.
20460 * sunrpc/clnt_unix.c: Likewise.
20461 * sunrpc/des_crypt.c: Likewise.
20462 * sunrpc/des_soft.c: Likewise.
20463 * sunrpc/get_myaddr.c: Likewise.
20464 * sunrpc/key_call.c: Likewise.
20465 * sunrpc/key_prot.c: Likewise.
20466 * sunrpc/netname.c: Likewise.
20467 * sunrpc/pm_getmaps.c: Likewise.
20468 * sunrpc/pm_getport.c: Likewise.
20469 * sunrpc/pmap_clnt.c: Likewise.
20470 * sunrpc/pmap_prot.c: Likewise.
20471 * sunrpc/pmap_prot2.c: Likewise.
20472 * sunrpc/pmap_rmt.c: Likewise.
20473 * sunrpc/publickey.c: Likewise.
20474 * sunrpc/rpc_cmsg.c: Likewise.
20475 * sunrpc/rpc_common.c: Likewise.
20476 * sunrpc/rpc_dtable.c: Likewise.
20477 * sunrpc/rpc_prot.c: Likewise.
20478 * sunrpc/rpc_thread.c: Likewise.
20479 * sunrpc/rtime.c: Likewise.
20480 * sunrpc/svc.c: Likewise.
20481 * sunrpc/svc_auth.c: Likewise.
20482 * sunrpc/svc_authux.c: Likewise.
20483 * sunrpc/svc_raw.c: Likewise.
20484 * sunrpc/svc_run.c: Likewise.
20485 * sunrpc/svc_simple.c: Likewise.
20486 * sunrpc/svc_tcp.c: Likewise.
20487 * sunrpc/svc_udp.c: Likewise.
20488 * sunrpc/svc_unix.c: Likewise.
20489 * sunrpc/svcauth_des.c: Likewise.
20490 * sunrpc/xcrypt.c: Likewise.
20491 * sunrpc/xdr.c: Likewise.
20492 * sunrpc/xdr_array.c: Likewise.
20493 * sunrpc/xdr_float.c: Likewise.
20494 * sunrpc/xdr_intXX_t.c: Likewise.
20495 * sunrpc/xdr_mem.c: Likewise.
20496 * sunrpc/xdr_rec.c: Likewise.
20497 * sunrpc/xdr_ref.c: Likewise.
20498 * sunrpc/xdr_sizeof.c: Likewise.
20499 * sunrpc/xdr_stdio.c: Likewise.
20501 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20504 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20505 * sysdeps/ia64/dl-tls.h: Likewise.
20506 * sysdeps/powerpc/dl-tls.h: Likewise.
20507 * sysdeps/s390/dl-tls.h: Likewise.
20508 * sysdeps/sh/dl-tls.h: Likewise.
20509 * sysdeps/sparc/dl-tls.h: Likewise.
20510 * sysdeps/x86_64/dl-tls.h: Likewise.
20511 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20513 2011-03-14 Andreas Schwab <schwab@redhat.com>
20515 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20516 rpath element also skip the following colon.
20517 (expand_dynamic_string_token): Add is_path parameter and pass
20518 down to DL_DST_REQUIRED and _dl_dst_substitute.
20519 (decompose_rpath): Call expand_dynamic_string_token with
20520 non-zero is_path. Ignore empty rpaths.
20521 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20524 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20529 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20532 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20533 Patch by Filipe David Manana <fdmanana@apache.org>.
20535 2011-04-07 Andreas Schwab <schwab@redhat.com>
20537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20538 Maintain aligned stack.
20539 (CHECK_RSP): Remove unused macro.
20541 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20543 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20544 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20546 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20548 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20550 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20552 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20555 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20556 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20557 * sysdeps/x86_64/memmove.c: New file.
20558 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20559 (memcpy): Renamed to ...
20560 (__new_memcpy): This.
20561 (memcpy): Provide GLIBC_2_14 memcpy.
20562 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20563 (memcpy): Provide GLIBC_2_2_5 memcpy.
20565 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20568 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20570 2011-03-30 Andreas Schwab <schwab@redhat.com>
20572 * misc/syncfs.c: New file.
20573 * misc/Makefile (routines): Add syncfs.
20574 * posix/unistd.h: Declare syncfs.
20575 * sysdeps/unix/syscalls.list: Add syncfs.
20577 2011-04-01 Andreas Schwab <schwab@redhat.com>
20579 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20586 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20589 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20591 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20592 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20593 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20599 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20600 sync_file_range.c with -fexceptions.
20601 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20602 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20603 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20604 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20605 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20606 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20608 sync_file_range as cancellation point
20609 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20610 now a wrapper around __call_sync_file_range with cancellation handling.
20611 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20612 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20613 function name to __call_sync_file_range.
20614 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20615 Add call_sync_file_range.
20617 2011-04-01 Andreas Schwab <schwab@redhat.com>
20619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20622 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20624 * iconv/iconv.h: Fix typo in comment.
20625 * io/fcntl.h: Likewise.
20626 * libio/stdio.h: Likewise.
20627 * posix/spawn.h: Likewise.
20628 * posix/unistd.h: Likewise.
20629 * stdlib/stdlib.h: Likewise.
20630 * time/time.h: Likewise.
20631 * wcsmbs/wchar.h: Likewise.
20633 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20634 open_by_handle): Add.
20635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20636 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20637 Augment a few comments.
20638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20643 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20646 * io/fcntl.h (AT_EMPTY_PATH): Define.
20648 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20650 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20651 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20652 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20654 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20655 * Versions.def: Add GLIBC_2.14.
20656 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20659 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20661 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20663 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20665 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20668 * string/test-strncmp.c (do_page_test): New function.
20669 (check2): Likewise.
20670 (test_main): Call check2.
20671 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20673 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20677 Handle cache information in CPU leaf 4.
20678 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20680 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20683 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20684 character representation.
20685 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20687 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20689 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20690 END(__isnan) to END(__isnanf) to match function entry point/label
20691 EALIGN(__isnanf,...).
20693 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20695 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20697 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20700 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20701 copy from the symbol referenced in the relocation to initialize the
20703 Patch by Piotr Bury <pbury@goahead.com>.
20704 * elf/Makefile: Add rules to build and tst-unique3.
20705 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20706 * elf/tst-unique3.cc: New file.
20707 * elf/tst-unique3.h: New file.
20708 * elf/tst-unique3lib.cc: New file.
20709 * elf/tst-unique3lib2.cc: New file.
20711 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20713 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20715 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20716 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20719 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20721 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20722 to-be-loaded object along a path to loader is ld.so.
20724 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20725 Ulrich Drepper <drepper@gmail.com>
20727 * sysdeps/x86_64/memset.S: After aligning destination, code
20728 branches to different locations depending on the value of
20729 misalignment, when multiarch is enabled. Fix this.
20731 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20733 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20734 Set _x86_64_preferred_memory_instruction for AMD processsors.
20735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20736 Set bit_Prefer_SSE_for_memop for AMD processors.
20738 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20740 * libio/fmemopen.c (fmemopen): Optimize a bit.
20742 2011-03-03 Andreas Schwab <schwab@redhat.com>
20744 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20746 2011-03-03 Roland McGrath <roland@redhat.com>
20748 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20750 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20752 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20753 __bzero_ultra1 instead of __memset_ultra1.
20755 2011-02-23 Andreas Schwab <schwab@redhat.com>
20756 Ulrich Drepper <drepper@gmail.com>
20759 * include/link.h (struct link_map): Add l_orig_initfini.
20760 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20761 returning unsuccessfully.
20762 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20763 close of a file loaded at startup, restore the original l_initfini
20765 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20766 list, store the pointer.
20767 * elf/Makefile ($(objpfx)noload-mem): New rule.
20768 (noload-ENV): Define.
20769 (tests): Add $(objpfx)noload-mem.
20770 * elf/noload.c: Include <memcheck.h>.
20771 (main): Call mtrace. Close all opened handles.
20773 2011-02-17 Andreas Schwab <schwab@redhat.com>
20776 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20777 dependencies are missing.
20779 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20781 Fix __if_freereq crash: Unlike the generic version which uses free,
20783 * sysdeps/mach/hurd/ifreq.h: New file.
20785 2011-01-27 Petr Baudis <pasky@suse.cz>
20786 Ulrich Drepper <drepper@gmail.com>
20789 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20790 to extend_alloca().
20791 * stdio-common/bug23.c: New file.
20792 * stdio-common/Makefile (tests): Add bug23.
20794 2010-09-28 Andreas Schwab <schwab@redhat.com>
20795 Ulrich Drepper <drepper@gmail.com>
20798 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20799 before performing relro protection. At old place add assertion
20800 to make sure nothing changed.
20802 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20803 Glauber de Oliveira Costa <glommer@gmail.com>
20805 * elf/elf.h: Add new ARM TLS relocs.
20807 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20810 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20812 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20814 * sysdeps/wordsize-64/tst-writev.c: New file.
20816 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20818 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20819 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20820 insns in _dl_start to prevent a TOC reference before relocs are
20823 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20826 * Makeconfig: Remove RANLIB definition.
20827 * Makerules: Don't use RANLIB.
20828 * aclocal.m4: Remove ranlib test.
20829 * configure.in: No need to check for ranlib.
20830 * elf/rtld-Rules: Don't use RANLIB.
20832 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20834 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20836 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20837 inclusion protection macro.
20839 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20840 SIGRTMIN and SIGRTMAX and print information in that case only when
20841 SIGRTMIN is defined.
20843 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20845 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20846 arginfo fn returning -1.
20848 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20849 and thousands string is zero terminated.
20851 2011-02-03 Andreas Schwab <schwab@redhat.com>
20853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20854 sysdeps/unix/sysv/linux/bits/socket.h.
20856 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20858 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20859 (__CPU_COUNT): Remove old macros.
20860 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20861 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20862 (__CPU_ALLOC, __CPU_FREE): Add macros.
20863 (__sched_cpualloc, __sched_cpufree): Add declarations.
20865 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20867 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20868 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20869 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20870 (readdhstai): Return value of addhstaiX call.
20871 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20872 (addgrbyX): Return value returned by cache_addgr.
20873 (readdgrbyname): Return value returned by addgrbyX.
20874 (readdgrbygid): Likewise.
20875 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20876 (addpwbyX): Return value returned by cache_addpw.
20877 (readdpwbyname): Return value returned by addhstbyX.
20878 (readdpwbyuid): Likewise.
20879 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20880 (addservbyX): Return value returned by cache_addserv.
20881 (readdservbyname): Return value returned by addservbyX:
20882 (readdservbyport): Likewise.
20883 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20884 (addhstbyX): Return value returned by cache_addhst.
20885 (readdhstbyname): Return value returned by addhstbyX.
20886 (readdhstbyaddr): Likewise.
20887 (readdhstbynamev6): Likewise.
20888 (readdhstbyaddrv6): Likewise.
20889 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20890 (readdinitgroups): Return value returned by addinitgroupsX.
20891 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20892 (prune_cache): Keep track of timeout value of re-added entries.
20893 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20894 * nscd/nscd.h: Adjust prototypes of readd* functions.
20896 2011-02-04 Roland McGrath <roland@redhat.com>
20898 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20899 (nis_stats): Likewise.
20900 * nis/nis_modify.c (nis_modify): Likewise.
20901 * nis/nis_remove.c (nis_remove): Likewise.
20902 * nis/nis_add.c (nis_add): Likewise.
20904 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20906 * posix/fnmatch_loop.c: Add some consts.
20908 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20910 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20913 * config.make.in (config-cflags-novzeroupper): Define.
20914 * configure.in: Substitute libc_cv_cc_novzeroupper.
20915 * elf/Makefile (AVX-CFLAGS): Define.
20916 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20917 (CFLAGS-tst-auditmod4a.c): Likewise.
20918 (CFLAGS-tst-auditmod4b.c): Likewise.
20919 (CFLAGS-tst-auditmod6b.c): Likewise.
20920 (CFLAGS-tst-auditmod6c.c): Likewise.
20921 (CFLAGS-tst-auditmod7b.c): Likewise.
20922 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20924 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20926 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20927 function to the callback.
20928 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20930 2011-02-02 Andreas Schwab <schwab@redhat.com>
20932 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20935 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20938 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20940 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20942 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20945 * elf/Makefile: Add rules to build and run new test.
20946 * elf/tst-initorder.c: New file.
20947 * elf/tst-initorder.exp: New file.
20948 * elf/tst-initordera1.c: New file.
20949 * elf/tst-initordera2.c: New file.
20950 * elf/tst-initordera3.c: New file.
20951 * elf/tst-initordera4.c: New file.
20952 * elf/tst-initorderb1.c: New file.
20953 * elf/tst-initorderb2.c: New file.
20954 * elf/tst-order-a1.c: New file.
20955 * elf/tst-order-a2.c: New file.
20956 * elf/tst-order-a3.c: New file.
20957 * elf/tst-order-a4.c: New file.
20958 * elf/tst-order-b1.c: New file.
20959 * elf/tst-order-b2.c: New file.
20960 * elf/tst-order-main.c: New file.
20961 New test case by George Gensure <werkt0@gmail.com>.
20963 2010-10-01 Andreas Schwab <schwab@redhat.com>
20965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20966 decoding ACE if AI_CANONIDN.
20968 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20970 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20972 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20974 * version.h (RELEASE): Bump for 2.13 release.
20975 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20977 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20979 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20981 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20982 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20983 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20984 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20988 * posix/getconf.c: Update copyright year.
20989 * catgets/gencat.c: Likewise.
20990 * csu/version.c: Likewise.
20991 * debug/catchsegv.sh: Likewise.
20992 * debug/xtrace.sh: Likewise.
20993 * elf/ldconfig.c: Likewise.
20994 * elf/ldd.bash.in: Likewise.
20995 * elf/sprof.c (print_version): Likewise.
20996 * iconv/iconv_prog.c: Likewise.
20997 * iconv/iconvconfig.c: Likewise.
20998 * locale/programs/locale.c: Likewise.
20999 * locale/programs/localedef.c: Likewise.
21000 * malloc/memusage.sh: Likewise.
21001 * malloc/mtrace.pl: Likewise.
21002 * nscd/nscd.c (print_version): Likewise.
21003 * nss/getent.c: Likewise.
21005 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21006 PF_CAIF, and PF_ALG.
21007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21009 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21011 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21012 (modules-names): Use them.
21013 (ifunc-test-modules, ifunc-pie-tests): Define.
21014 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21015 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21016 (test-extras): Likewise.
21017 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21018 $(compile-command.c).
21019 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21020 (all-built-dso): Define.
21021 (check-textrel.out, check-execstack.out): Depend on it.
21023 * configure.in: Don't override --enable-multi-arch.
21025 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21028 * nscd/hstcache.c (tryagain): Define.
21029 (cache_addhst): Return tryagain not notfound for temporary errors.
21030 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21033 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21036 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21037 to make the syscall.
21038 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21041 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21042 and fall back to matching as normal character if the string ends before
21043 the matching ']' is found. This is what POSIX requires.
21044 * posix/testfnm.c: Adjust test result.
21045 * posix/globtest.sh: Adjust test result. Add new test.
21046 * posix/tst-fnmatch.input: Likewise.
21047 * posix/tst-fnmatch2.c: Add new test.
21049 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21051 * elf/Makefile (check-execstack): Revert last change. Depend on
21053 (check-execstack.h): New target.
21054 (generated): Add check-execstack.h.
21055 * elf/check-execstack.c: Include "check-execstack.h".
21056 (main): Revert last change.
21057 (handle_file): Return zero if GNU_STACK is absent and
21058 DEFAULT_STACK_PERMS doesn't include PF_X.
21060 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21062 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21063 in child fails because the descriptor is already closed.
21064 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21065 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21066 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21069 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21073 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21074 temporary buffer used to handle multi lookups locally.
21075 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21077 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21079 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21082 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21084 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21085 alignment for SSE2.
21087 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21090 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21091 characters. When rounding increased number of integer digits recompute
21093 * stdio-common/tst-grouping.c: New file.
21094 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21096 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21098 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21099 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21101 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21103 * bits/select.h: Likewise.
21105 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21107 * po/ja.po: Update from translation team.
21109 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21112 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21113 implementation just like for lxstat, fxstatat, et al.
21115 2010-12-27 Jim Meyering <meyering@redhat.com>
21118 * posix/regexec.c (build_trtable): Return failure indication upon
21119 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21121 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21124 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21125 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21126 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21127 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21130 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21133 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21134 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21136 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21138 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21139 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21140 script has SORT_BY_INIT_PRIORITY.
21141 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21142 NO_CTORS_DTORS_SECTIONS is defined.
21143 * elf/soinit.c: Likewise.
21144 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21145 NO_CTORS_DTORS_SECTIONS is defined.
21146 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21147 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21148 * sysdeps/sh/init-first.c: Likewise.
21149 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21151 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21153 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21154 always use the slow path.
21156 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21158 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21159 similar rule which adds the sysdep directories to the header search in
21160 order to pick up the correct platform stackinfo.h.
21161 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21162 perform test if it is, otherwise return successfully without testing.
21163 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21164 DEFAULT_STACK_PERMS define in stackinfo.h.
21165 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21166 defined in stackinfo.h.
21167 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21168 DEFAULT_STACK_PERMS defined in stackinfo.h.
21169 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21170 * sysdeps/ia64/stackinfo.h: Likewise.
21171 * sysdeps/s390/stackinfo.h: Likewise.
21172 * sysdeps/sh/stackinfo.h: Likewise.
21173 * sysdeps/sparc/stackinfo.h: Likewise.
21174 * sysdeps/x86_64/stackinfo.h: Likewise.
21175 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21176 PF_X for powerpc64. Retain PF_X for powerpc32.
21178 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21180 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21182 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21183 GETDENTS_64BIT_ALIGNED.
21185 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21187 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21189 2010-12-10 Andreas Schwab <schwab@redhat.com>
21191 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21194 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21195 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21197 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21198 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21200 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21203 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21206 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21208 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21210 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21212 * po/it.po: Update from translation team.
21214 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21219 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21221 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21223 2010-11-24 Andreas Schwab <schwab@redhat.com>
21225 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21227 (gaih_getanswer_slice): Likewise.
21229 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21233 2010-05-31 Petr Baudis <pasky@suse.cz>
21236 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21237 silently even in the chroot mode.
21239 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21242 last patch a bit. Pretty printing
21244 2010-05-31 Petr Baudis <pasky@suse.cz>
21247 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21248 initialization of skip_initgroups_dyn.
21250 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21252 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21253 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21255 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21257 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21259 2010-11-11 Andreas Schwab <schwab@redhat.com>
21261 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21262 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21263 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21264 ($(objpfx)tst-fnmatch-mem): New rule.
21265 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21266 * posix/tst-fnmatch.c (main): Call mtrace.
21268 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21271 Support Intel processor model 6 and model 0x2c.
21273 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21275 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21278 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21281 * string/test-strncasecmp.c (check_result): New function.
21282 (do_one_test): Use it.
21283 (check1): New function.
21284 (test_main): Use it.
21285 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21286 Support strcasecmp and strncasecmp.
21288 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21291 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21294 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21296 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21300 * sysdeps/x86_64/multiarch/bzero.S: New file.
21301 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21302 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21303 * sysdeps/x86_64/multiarch/memset.S: New file.
21304 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21306 Set bit_Prefer_SSE_for_memop for Intel processors.
21307 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21309 (index_Prefer_SSE_for_memop): Define.
21310 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21312 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21314 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21315 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21317 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21320 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21321 (__x86_64_raw_data_cache_size_half): Likewise.
21322 (__x86_64_raw_shared_cache_size): Likewise.
21323 (__x86_64_raw_shared_cache_size_half): Likewise.
21325 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21326 (__x86_64_raw_data_cache_size_half): Likewise.
21327 (__x86_64_raw_shared_cache_size): Likewise.
21328 (__x86_64_raw_shared_cache_size_half): Likewise.
21329 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21330 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21331 and __x86_64_raw_shared_cache_size_half. Round
21332 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21333 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21334 to multiple of 256 bytes.
21336 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21339 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21340 of inacessible symlinks. Verify result of symlink before returning it.
21341 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21342 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21344 2010-10-28 Erich Ritz <erichritz@gmail.com>
21346 * math/math.h (isinf): Fix typo in comment.
21348 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21350 * po/da.po: Update from translation team.
21352 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21354 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21355 is added to the list.
21357 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21358 Ulrich Drepper <drepper@gmail.com>
21360 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21361 the global list here. Move code to...
21362 (_dl_add_to_namespace_list): ...here. New function.
21363 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21364 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21365 * elf/dl-load.c (lose): Don't remove the element from the list.
21366 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21367 (_dl_map_object): Likewise.
21369 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21372 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21373 into all bytes of SSE register.
21374 Patch by Richard Li <richardpku@gmail.com>.
21376 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21379 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21382 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21384 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21385 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21386 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21392 2010-10-22 Andreas Schwab <schwab@redhat.com>
21394 * include/dlfcn.h (__RTLD_SECURE): Define.
21395 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21396 mode & __RTLD_SECURE instead.
21397 (open_path): Rename preloaded parameter to secure.
21398 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21399 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21400 * elf/dl-deps.c (openaux): Likewise.
21401 * elf/rtld.c (struct map_args): Remove is_preloaded.
21402 (map_doit): Don't use it.
21403 (dl_main): Likewise.
21404 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21405 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21407 2010-09-09 Andreas Schwab <schwab@redhat.com>
21409 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21410 (sysd-rules-targets): Remove duplicates.
21411 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21412 rtld-%.$o dependency.
21414 2010-10-18 Andreas Schwab <schwab@redhat.com>
21416 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21417 _dl_map_object do it.
21419 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21421 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21422 fast fma builtins, define the macros in the C99 standard.
21423 (FP_FAST_FMAF): Likewise.
21424 (FP_FAST_FMAL): Likewise.
21425 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21427 * bits/mathdef.h: Update copyright year.
21428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21430 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21432 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21433 builtins, define the macros in the C99 standard.
21434 (FP_FAST_FMAF): Likewise.
21435 (FP_FAST_FMAL): Likewise.
21436 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21438 (FP_FAST_FMAF): Likewise.
21440 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21443 * math/libm-test.inc (fma_test): Some new testcases.
21444 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21446 y and infinite z. Do multiplication by C already in long double.
21447 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21449 y and infinite z. Do bitwise or of inexact bit into u.d.
21450 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21451 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21452 * sysdeps/i386/fpu/s_fma.S: Removed.
21453 * sysdeps/i386/fpu/s_fmal.S: Removed.
21455 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21458 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21460 computation is not scheduled after fetestexcept. Fix value
21461 of minimum denormal long double.
21463 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21466 * math/libm-test.inc (fma_test): Add some more tests.
21467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21470 2010-10-15 Andreas Schwab <schwab@redhat.com>
21472 * scripts/data/localplt-s390-linux-gnu.data: New file.
21473 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21475 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21478 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21479 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21481 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21483 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21485 if one of x and y is very large and the other is subnormal.
21486 * sysdeps/s390/fpu/s_fmaf.c: New file.
21487 * sysdeps/s390/fpu/s_fma.c: New file.
21488 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21489 * sysdeps/powerpc/fpu/s_fma.S: New file.
21490 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21491 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21492 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21494 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21497 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21499 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21500 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21501 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21502 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21503 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21504 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21507 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21510 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21511 * posix/bug-regex31.input: Add test case.
21513 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21515 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21516 * posix/bug-regex31.input: New file.
21519 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21520 (parse_sub_exp): Fix last change, use postorder.
21522 * posix/bug-regex31.c: New file.
21523 * posix/Makefile: Add rules to build and run bug-regex31.
21525 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21528 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21531 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21532 to have entries in sys_siglist.
21535 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21538 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21541 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21542 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21543 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21544 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21545 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21546 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21547 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21548 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21549 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21550 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21551 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21552 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21553 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21554 * math/ftestexcept.c (fetestexcept): Likewise.
21555 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21556 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21557 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21558 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21559 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21560 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21561 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21563 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21566 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21569 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21571 * string/bug-strstr1.c: New file.
21572 * string/Makefile: Add rules to build and run bug-strstr1.
21574 2010-10-05 Eric Blake <eblake@redhat.com>
21577 * string/str-two-way.h (two_way_long_needle): Always clear memory
21578 when skipping input due to the shift table.
21580 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21583 * malloc/mcheck.c: Handle large requests.
21586 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21587 for strncmp and strncasecmp.
21588 * string/stratcliff.c: Add tests for strcmp and strncmp.
21589 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21591 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21593 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21596 2010-09-30 Andreas Jaeger <aj@suse.de>
21598 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21599 (CGROUP_SUPER_MAGIC): Define.
21600 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21601 Handle btrfs and cgroup file systems.
21602 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21605 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21607 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21608 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21610 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21613 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21614 trying to locate the ELF header.
21616 2010-09-27 Andreas Schwab <schwab@redhat.com>
21619 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21620 Mask out sign-bit copies when constructing f_fsid.
21622 2010-09-24 Petr Baudis <pasky@suse.cz>
21624 * debug/stack_chk_fail_local.c: Add missing licence exception.
21625 * debug/warning-nop.c: Likewise.
21627 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21629 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21630 implementing getdents64 using getdents syscall, set d_type if
21631 __ASSUME_GETDENTS32_D_TYPE.
21633 2010-09-16 Andreas Schwab <schwab@redhat.com>
21635 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21636 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21638 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21641 * posix/unistd.h: Undo change of feature selection for ftruncate from
21644 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21646 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21649 2010-09-20 Andreas Schwab <schwab@redhat.com>
21651 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21653 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21655 2010-09-14 Andreas Schwab <schwab@redhat.com>
21657 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21658 variables after CHECK_SP call.
21659 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21661 2010-09-13 Andreas Schwab <schwab@redhat.com>
21662 Ulrich Drepper <drepper@redhat.com>
21664 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21665 re-relocationg ld.so.
21666 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21667 _dl_init_paths call.
21668 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21671 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21673 * resolv/res_init.c (__res_vinit): Count the default server we added.
21675 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21676 Ulrich Drepper <drepper@redhat.com>
21679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21680 (____longjmp_chk): Use %ebx for saving value across system call.
21683 2010-09-06 Andreas Schwab <schwab@redhat.com>
21685 * manual/Makefile: Don't mix pattern rules with normal rules.
21687 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21689 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21691 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21692 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21693 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21694 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21698 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21701 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21702 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21704 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21706 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21707 * sysdeps/x86_64/addmul_1.S: Likewise.
21708 * sysdeps/x86_64/lshift.S: Likewise.
21709 * sysdeps/x86_64/mul_1.S: Likewise.
21710 * sysdeps/x86_64/rshift.S: Likewise.
21711 * sysdeps/x86_64/sub_n.S: Likewise.
21712 * sysdeps/x86_64/submul_1.S: Likewise.
21714 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21716 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21717 Define __sched_param instead of SCHED_* and sched_param when
21718 <bits/sched.h> is included with __need_schedparam defined.
21719 * bits/sched.h [__need_schedparam]
21720 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21721 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21722 (__defined_schedparam): Define to 1.
21723 (__sched_param): New structure, identical to sched_param.
21724 (__need_schedparam): Undefine.
21726 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21728 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21729 (epoll_create1): Declare.
21731 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21733 2010-08-31 Andreas Schwab <schwab@redhat.com>
21736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21737 shifting retval into place.
21739 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21741 * nis/rpcsvc/nis.h: Update copyright notice.
21742 * nis/rpcsvc/nis.x: Likewise.
21743 * nis/rpcsvc/nis_callback.h: Likewise.
21744 * nis/rpcsvc/nis_callback.x: Likewise.
21745 * nis/rpcsvc/nis_object.x: Likewise.
21746 * nis/rpcsvc/nis_tags.h: Likewise.
21747 * nis/rpcsvc/yp.h: Likewise.
21748 * nis/rpcsvc/yp.x: Likewise.
21749 * nis/rpcsvc/ypupd.h: Likewise.
21750 * nis/yp_xdr.c: Likewise.
21751 * nis/ypupdate_xdr.c: Likewise.
21753 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21754 mainly the body of pmap_getport. Add parameters to specify timeouts.
21755 (pmap_getport): Use __libc_rpc_getport.
21756 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21757 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21758 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21760 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21765 2010-08-27 Roland McGrath <roland@redhat.com>
21767 * sysdeps/i386/i686/multiarch/Makefile
21768 (CFLAGS-varshift.c): New variable.
21770 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21772 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21773 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21775 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21777 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21779 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21781 * sysdeps/x86_64/strlen.S: Unroll the loop.
21782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21783 strlen-sse2 strlen-sse2-bsf.
21784 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21785 __strlen_no_bsf if bit_Slow_BSF is set.
21786 (__strlen_sse42): Removed.
21787 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21788 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21790 2010-08-25 Roland McGrath <roland@redhat.com>
21792 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21793 * sysdeps/x86_64/multiarch/varshift.c: New file.
21794 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21795 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21796 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21797 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21799 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21802 strlen-sse2 strlen-sse2-bsf.
21803 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21804 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21805 (__strlen_sse2): Removed.
21806 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21809 bit_Slow_BSF for Atom.
21810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21811 (index_Slow_BSF): Define.
21812 (HAS_SLOW_BSF): Define.
21814 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21817 * resolv/res_init.c (__res_vinit): When no server address at all
21818 is given default to loopback.
21820 2010-08-24 Roland McGrath <roland@redhat.com>
21822 * configure.in: Remove config-name.h generation.
21823 * configure: Regenerated.
21824 * config-name.in: File removed.
21825 * scripts/config-uname.sh: New file.
21826 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21827 ($(objdir)config-name.h): New target.
21829 * sunrpc/rpc_parse.h: Avoid nested comment.
21831 2010-08-24 Richard Henderson <rth@redhat.com>
21832 Ulrich Drepper <drepper@redhat.com>
21833 H.J. Lu <hongjiu.lu@intel.com>
21835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21837 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21838 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21839 _mm_alignr_epi8 with _mm_loadu_si128.
21840 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21841 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21842 (__m128i_shift_right): Removed.
21843 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21844 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21845 * sysdeps/x86_64/multiarch/varshift.h: New file.
21846 * sysdeps/x86_64/multiarch/varshift.S: New file.
21848 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21850 * configure.in: Move assembler checks to before sysdep dir checking.
21852 2010-08-20 Petr Baudis <pasky@suse.cz>
21854 * LICENSES: Sync the sunrpc license.
21856 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21858 * sunrpc/auth_des.c: Update copyright notice once again.
21859 * sunrpc/auth_none.c: Likewise.
21860 * sunrpc/auth_unix.c: Likewise.
21861 * sunrpc/authdes_prot.c: Likewise.
21862 * sunrpc/authuxprot.c: Likewise.
21863 * sunrpc/bindrsvprt.c: Likewise.
21864 * sunrpc/clnt_gen.c: Likewise.
21865 * sunrpc/clnt_perr.c: Likewise.
21866 * sunrpc/clnt_raw.c: Likewise.
21867 * sunrpc/clnt_simp.c: Likewise.
21868 * sunrpc/clnt_tcp.c: Likewise.
21869 * sunrpc/clnt_udp.c: Likewise.
21870 * sunrpc/clnt_unix.c: Likewise.
21871 * sunrpc/des_crypt.c: Likewise.
21872 * sunrpc/des_soft.c: Likewise.
21873 * sunrpc/get_myaddr.c: Likewise.
21874 * sunrpc/getrpcport.c: Likewise.
21875 * sunrpc/key_call.c: Likewise.
21876 * sunrpc/key_prot.c: Likewise.
21877 * sunrpc/openchild.c: Likewise.
21878 * sunrpc/pm_getmaps.c: Likewise.
21879 * sunrpc/pm_getport.c: Likewise.
21880 * sunrpc/pmap_clnt.c: Likewise.
21881 * sunrpc/pmap_prot.c: Likewise.
21882 * sunrpc/pmap_prot2.c: Likewise.
21883 * sunrpc/pmap_rmt.c: Likewise.
21884 * sunrpc/rpc/auth.h: Likewise.
21885 * sunrpc/rpc/auth_unix.h: Likewise.
21886 * sunrpc/rpc/clnt.h: Likewise.
21887 * sunrpc/rpc/des_crypt.h: Likewise.
21888 * sunrpc/rpc/key_prot.h: Likewise.
21889 * sunrpc/rpc/netdb.h: Likewise.
21890 * sunrpc/rpc/pmap_clnt.h: Likewise.
21891 * sunrpc/rpc/pmap_prot.h: Likewise.
21892 * sunrpc/rpc/pmap_rmt.h: Likewise.
21893 * sunrpc/rpc/rpc.h: Likewise.
21894 * sunrpc/rpc/rpc_des.h: Likewise.
21895 * sunrpc/rpc/rpc_msg.h: Likewise.
21896 * sunrpc/rpc/svc.h: Likewise.
21897 * sunrpc/rpc/svc_auth.h: Likewise.
21898 * sunrpc/rpc/types.h: Likewise.
21899 * sunrpc/rpc/xdr.h: Likewise.
21900 * sunrpc/rpc_clntout.c: Likewise.
21901 * sunrpc/rpc_cmsg.c: Likewise.
21902 * sunrpc/rpc_common.c: Likewise.
21903 * sunrpc/rpc_cout.c: Likewise.
21904 * sunrpc/rpc_dtable.c: Likewise.
21905 * sunrpc/rpc_hout.c: Likewise.
21906 * sunrpc/rpc_main.c: Likewise.
21907 * sunrpc/rpc_parse.c: Likewise.
21908 * sunrpc/rpc_parse.h: Likewise.
21909 * sunrpc/rpc_prot.c: Likewise.
21910 * sunrpc/rpc_sample.c: Likewise.
21911 * sunrpc/rpc_scan.c: Likewise.
21912 * sunrpc/rpc_scan.h: Likewise.
21913 * sunrpc/rpc_svcout.c: Likewise.
21914 * sunrpc/rpc_tblout.c: Likewise.
21915 * sunrpc/rpc_util.c: Likewise.
21916 * sunrpc/rpc_util.h: Likewise.
21917 * sunrpc/rpcinfo.c: Likewise.
21918 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21919 * sunrpc/rpcsvc/key_prot.x: Likewise.
21920 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21921 * sunrpc/rpcsvc/mount.x: Likewise.
21922 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21923 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21924 * sunrpc/rpcsvc/rex.x: Likewise.
21925 * sunrpc/rpcsvc/rstat.x: Likewise.
21926 * sunrpc/rpcsvc/rusers.x: Likewise.
21927 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21928 * sunrpc/rpcsvc/spray.x: Likewise.
21929 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21930 * sunrpc/rtime.c: Likewise.
21931 * sunrpc/svc.c: Likewise.
21932 * sunrpc/svc_auth.c: Likewise.
21933 * sunrpc/svc_authux.c: Likewise.
21934 * sunrpc/svc_raw.c: Likewise.
21935 * sunrpc/svc_run.c: Likewise.
21936 * sunrpc/svc_simple.c: Likewise.
21937 * sunrpc/svc_tcp.c: Likewise.
21938 * sunrpc/svc_udp.c: Likewise.
21939 * sunrpc/svc_unix.c: Likewise.
21940 * sunrpc/svcauth_des.c: Likewise.
21941 * sunrpc/xcrypt.c: Likewise.
21942 * sunrpc/xdr.c: Likewise.
21943 * sunrpc/xdr_array.c: Likewise.
21944 * sunrpc/xdr_float.c: Likewise.
21945 * sunrpc/xdr_mem.c: Likewise.
21946 * sunrpc/xdr_rec.c: Likewise.
21947 * sunrpc/xdr_ref.c: Likewise.
21948 * sunrpc/xdr_sizeof.c: Likewise.
21949 * sunrpc/xdr_stdio.c: Likewise.
21951 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21954 2010-08-19 Andreas Schwab <schwab@redhat.com>
21956 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21958 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21960 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21961 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21962 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21963 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21964 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21965 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21966 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21967 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21969 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21970 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21971 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21972 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21973 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21975 2010-07-26 Anton Blanchard <anton@samba.org>
21977 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21978 * malloc/arena.c (heap_trim): Likewise.
21980 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21982 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21985 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21987 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21989 * sysdeps/i386/elf/Makefile: New file.
21991 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21993 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21994 from fanotify_init.
21995 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21996 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21998 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22000 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22002 * sysdeps/multiarch/strcmp.S: Likewise.
22004 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22007 strncase_l-nonascii.
22008 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22009 Add strncase_l-ssse3.
22010 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22011 * sysdeps/x86_64/strcmp.S: Likewise.
22012 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22013 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22014 * sysdeps/x86_64/strncase.S: New file.
22015 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22016 * sysdeps/x86_64/strncase_l.S: New file.
22017 * string/Makefile (strop-tests): Add strncasecmp.
22018 * string/test-strncasecmp.c: New file.
22020 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22023 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22024 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22026 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22028 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22030 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22032 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22033 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22034 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22036 2010-05-01 Alan Modra <amodra@gmail.com>
22038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22039 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22040 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22041 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22042 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22043 tidying. Don't tail-call __sigjmp_save for static lib.
22044 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22046 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22047 (CALL_MCOUNT): Add eh info, and nop after bl.
22048 (TAIL_CALL_SYSCALL_ERROR): New macro.
22049 (PSEUDO_RET): Use it.
22050 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22051 Correct save location of integer regs and cr.
22052 (_dl_profile_resolve): Correct cr save location. Delete nops
22053 after bl when SHARED. Reduce cfi size a little by better
22054 placement of cfi directives.
22055 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22056 make a stack frame. Instead use parm save area as a temp.
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22058 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22060 Don't make a stack frame for parent, use parm save area.
22061 Increase child stack frame to 112 bytes. Don't save unused reg,
22062 and adjust reg usage. Set up cfi on error recovery and
22063 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22065 (__makecontext): Add dummy nop after jump to exit.
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22067 Use correct parm save area and cr save, reduce stack frame.
22068 Correct cfi for possible PSEUDO_RET frame setup.
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22070 Branch to local label emitted by PSEUDO_RET rather than
22073 2010-08-12 Andreas Schwab <schwab@redhat.com>
22076 * locale/programs/locale.c (print_assignment): New function.
22077 (show_locale_vars): Use it.
22079 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22081 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22083 (struct statfs64): Likewise.
22084 (_STATFS_F_FLAGS): Define.
22085 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22087 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22088 (ST_VALID): Define locally.
22089 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22090 __statvfs_getflags, use the provided value.
22091 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22092 __ASSUME_STATFS_F_FLAGS.
22094 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22096 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22097 Add sys/fanotify.h.
22098 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22099 fanotify_mask for GLIBC_2.13.
22100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22101 fanotify_init and fanotify_mark.
22102 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22103 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22105 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22107 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22108 prlimit64 for GLIBC_2.13.
22109 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22114 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22115 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22116 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22119 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22122 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22123 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22125 * nss/Makefile: Add rules to build and run tst-nss-test1.
22126 * shlib-versions: Add entry for libnss_test1.
22127 * nss/nss_test1.c: New file.
22128 * nss/tst-nss-test1.c: New file.
22130 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22131 (__nss_configure_lookup): Set appropriate entry in
22132 __nss_configure_lookup to true.
22133 * nss/nsswitch.h: Define enum with indeces of databases in
22134 databases and __nss_database_custom arrays. Declare
22135 __nss_database_custom.
22136 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22137 to avoid using nscd when custom rules are installed.
22138 * nss/getXXbyYY_r.c: Likewise.
22139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22141 * nss/nss_files/files-parse.c: Whitespace fixes.
22143 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22146 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22147 * posix/fnmatch_loop.c: Likewise.
22149 2010-07-17 Andi Kleen <ak@linux.intel.com>
22151 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22152 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22153 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22154 * Versions.def [GLIBC_2.13]: Add.
22156 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22158 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22159 Also fail if tpwd after pwuid call is NULL.
22161 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22163 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22164 when converting to ms.
22166 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22168 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22169 EOPNOTSUPP errors with ENOTTY.
22170 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22171 EOPNOTSUPP errors with ENOTTY.
22173 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22175 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22176 Add strcasecmp_l-ssse3.
22177 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22179 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22180 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22181 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22183 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22185 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22187 * string/Makefile (strop-tests): Add strcasecmp.
22188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22189 strcasecmp_l-nonascii.
22190 (gen-as-const-headers): Add locale-defines.sym.
22191 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22192 * sysdeps/x86_64/strcasecmp.S: New file.
22193 * sysdeps/x86_64/strcasecmp_l.S: New file.
22194 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22195 * sysdeps/x86_64/locale-defines.sym: New file.
22196 * string/test-strcasecmp.c: New file.
22198 * string/test-strcasestr.c: Test both ends of the range of characters.
22199 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22201 2010-07-29 Roland McGrath <roland@redhat.com>
22204 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22206 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22208 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22211 2010-07-27 Andreas Schwab <schwab@redhat.com>
22213 * manual/memory.texi (Malloc Tunable Parameters): Document
22216 2010-07-26 Roland McGrath <roland@redhat.com>
22219 * configure.in (-fgnu89-inline check): Set and substitute
22220 gnu89_inline, not libc_cv_gnu89_inline.
22221 * configure: Regenerated.
22222 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22224 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22226 * string/test-strnlen.c: New file.
22227 * string/Makefile (strop-tests): Add strnlen.
22228 * string/tester.c (test_strnlen): Add a few more test cases.
22229 * string/tst-strlen.c: Better error reporting.
22231 * sysdeps/x86_64/strnlen.S: New file.
22233 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22235 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22236 lower-latency instructions.
22238 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22240 * string/test-strcasestr.c: New file.
22241 * string/test-strstr.c: New file.
22242 * string/Makefile (strop-tests): Add strstr and strcasestr.
22243 * string/str-two-way.h: Don't undefine MAX.
22244 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22246 2010-07-21 Andreas Schwab <schwab@redhat.com>
22248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22249 strcasestr-nonascii.
22250 (CFLAGS-strcasestr-nonascii.c): Define.
22251 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22252 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22253 Remove unused attribute.
22255 2010-07-20 Roland McGrath <roland@redhat.com>
22257 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22258 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22259 ld.so.cache was broken. With it, there is no way to disable dsocaps
22260 like LD_HWCAP_MASK can disable hwcaps.
22262 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22264 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22266 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22268 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22269 call in strcasestr.
22270 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22271 __strcasestr_sse42_nonascii.
22272 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22273 strcasestr-nonascii.c.
22274 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22276 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22278 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22279 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22280 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22281 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22283 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22288 2010-07-06 Andreas Schwab <schwab@redhat.com>
22291 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22294 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22296 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22297 _PC_PIPE_BUF using F_GETPIPE_SZ.
22299 2010-07-05 Roland McGrath <roland@redhat.com>
22301 * manual/arith.texi (Rounding Functions): Fix rint description
22302 implicit in round description.
22304 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22306 * elf/Makefile: Fix linking for a few tests to make recent linker
22309 2010-06-30 Andreas Schwab <schwab@redhat.com>
22311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22312 $(common-objpfx)libc_nonshared.a.
22314 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22316 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22317 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22318 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22319 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22320 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22321 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22322 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22323 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22338 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22339 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22340 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22341 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22342 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22343 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22344 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22345 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22346 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22347 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22348 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22349 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22365 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22367 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22368 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22369 * string/memmove.c (memmove): Renamed to ...
22370 (MEMMOVE): ...this. Default to memmove.
22371 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22372 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22375 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22376 mempcpy-ssse3-back memmove-ssse3-back.
22377 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22380 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22381 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22382 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22383 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22384 * sysdeps/x86_64/multiarch/memmove.c: New file.
22385 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22386 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22387 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22388 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22389 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22392 (index_Fast_Copy_Backward): Define.
22393 (HAS_ARCH_FEATURE): Define.
22394 (HAS_FAST_REP_STRING): Define.
22395 (HAS_FAST_COPY_BACKWARD): Define.
22397 2010-06-21 Andreas Schwab <schwab@redhat.com>
22399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22400 Restore proper fallback handling.
22402 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22405 * posix/group_member.c (__group_member): Correct checking loop.
22407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22408 OOM in getpwuid_r correctly. Return error number when the caller
22409 should return, otherwise -1.
22410 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22411 call returning > 0 value.
22412 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22414 2010-06-07 Andreas Schwab <schwab@redhat.com>
22416 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22417 libc_nonshared.a from targets in modules-names.
22419 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22421 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22424 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22426 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22427 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22431 2010-06-02 Andreas Schwab <schwab@redhat.com>
22433 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22435 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22446 2010-06-14 Roland McGrath <roland@redhat.com>
22448 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22450 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22452 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22453 __REDIRECT followed by __THROW.
22454 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22455 * posix/getopt.h (getopt): Likewise.
22457 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22459 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22460 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22461 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22463 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22464 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22466 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22470 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22474 Properly check family and model.
22476 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22478 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22480 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22482 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22484 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22486 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22489 2010-05-19 Andreas Schwab <schwab@redhat.com>
22491 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22494 2010-05-21 Andreas Schwab <schwab@redhat.com>
22496 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22497 and internal_recvmmsg.
22498 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22499 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22500 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22501 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22503 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22504 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22505 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22507 2010-05-20 Andreas Schwab <schwab@redhat.com>
22509 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22511 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22513 POWER7 optimizations.
22514 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22515 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22517 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22519 * version.h: Update for 2.13 development version.
22521 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22523 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22524 exceptions. Return 0.
22526 2010-05-07 Roland McGrath <roland@redhat.com>
22528 * elf/ldconfig.c (main): Add a const.
22530 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22532 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22533 (args_options): Add no-idn option.
22534 (ahosts_keys_int): Add idn_flags to ai_flags.
22535 (parse_option): Handle 'i' option to clear idn_flags.
22537 * malloc/malloc.c (_int_free): Possible race in the most recently
22538 added check. Only act on the data if no current modification
22541 See ChangeLog.17 for earlier changes.