1 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3 * elf/tst-array1.c (init): Set constructor priority to 1000.
4 (fini): Set destructor priority to 1000.
5 * elf/tst-array2dep.c: Likewise.
7 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11 (_IO_new_file_xsputn): Also return EOF if none of the input
12 data was written when overflow failed.
13 * libio/iopadn.c (_IO_padn): Likewise.
14 * libio/iowpadn.c (_IO_wpadn): Likewise.
15 * stdio-common/tst-put-error.c: Add copyright notice.
16 (do_test): Add case for printing padded string.
17 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18 _IO_padn returned error.
19 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25 * libio/libioP.h: Add comment note that the references to C++
26 bits are now obsolete.
28 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30 * math/libm-test.inc (check_complex): Use asprintf.
32 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34 * debug/pcprofiledump.c (print_version): Update copyright year.
35 * malloc/memusagestat.c (print_version): Likewise.
37 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40 * elf/Makefile (tests): Add tst-audit8.
41 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42 ($(objpfx)tst-audit8.out): New target.
43 (tst-audit8-ENV): New variable.
44 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
45 audit if l_reloc_result is NULL.
46 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48 * elf/tst-audit8.c: New file.
50 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53 * misc/Makefile (CFLAGS-select.c): Define.
54 * posix/Makefile (CFLAGS-pause.c): Define.
56 2012-11-13 David S. Miller <davem@davemloft.net>
58 * crypt/Makefile: Move test targets after toplevel Rules
59 inclusion. Grab any necessary sysdep routines when linking.
60 * crypt/md5.c (md5_process_block): Remove define, we will always
61 name it __md5_process_block.
62 (md5_finish_ctx): Update md5_process_block call.
63 (md5_stream): Likewise.
64 (md5_process_bytes): Likewise.
65 (md5_process_block): Rename to __md5_process_block and move to ...
66 * crypt/md5-block.c: ... here.
67 * crypt/sha256.c (sha256_process_block): Move to ...
68 * crypt/sha256-block.c: ... here.
69 * crypt/sha512.c (sha512_process_block): Move to ...
70 * crypt/sha512-block.c: ... here.
71 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74 * sysdeps/sparc/sparc64/multiarch/Makefile
75 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
77 (localedef-aux): Add md5 crypto assembler when in locale subdir.
78 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
80 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
81 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
82 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
83 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
84 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
85 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
86 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
87 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
88 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
90 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
91 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
93 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
95 2012-11-13 Joseph Myers <joseph@codesourcery.com>
97 * timezone/tzselect.ksh: Update from tzcode git revision
98 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
99 * timezone/zdump.c: Likewise.
100 * timezone/zic.c: Likewise.
101 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
102 in TZVERSION setting, not $(PKGVERSION).
103 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
104 REPORT_BUGS_TO settings.
107 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
110 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
112 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
113 detection to immediately after _FP_ROUND().
114 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
117 2012-11-11 David S. Miller <davem@davemloft.net>
119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
121 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
122 __close rather than their public counterparts.
124 2012-11-10 Joseph Myers <joseph@codesourcery.com>
126 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
128 [UNIX98] (sem_timedwait): Do not expect.
129 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
130 [XPG4 || UNIX98] (sockatmark): Do not expect.
131 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
132 (clock_getcpuclockid): Do not expect.
133 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
134 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
136 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
137 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
138 [UNIX98] (vwscanf): Likewise.
139 [UNIX98] (vswscanf): Likewise.
141 2012-11-09 Joseph Myers <joseph@codesourcery.com>
143 * timezone/version.h: Remove file.
144 * timezone/README: Do not refer to version.h.
145 * timezone/Makefile ($(objpfx)zic.o): New dependency on
147 ($(objpfx)zdump.o): Likewise.
148 ($(objpfx)version.h): New target.
150 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
152 * timezone/README: Don't mention modification to tzselect.ksh.
153 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
154 work on unmodified tzselect.ksh. Substitute version numbers in
157 * Makefile (format-me): Remove.
158 (INSTALL): Adjust indentation. Use commands directly instead of
161 * aclocal.m4 (ACX_PKGVERSION): New macro.
162 (ACX_BUGURL): Likewise.
163 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
164 (PKGVERSION): New AC_DEFINE_UNQUOTED.
165 (REPORT_BUGS_TO): Likewise.
166 * configure: Regenerated.
167 * config.h.in (PKGVERSION): New macro.
168 (REPORT_BUGS_TO): Likewise.
169 * config.make.in (PKGVERSION): New variable.
170 (PKGVERSION_TEXI): Likewise.
171 (REPORT_BUGS_TO): Likewise.
172 (REPORT_BUGS_TEXI): Likewise.
173 * Makefile (format-me): Use -I$(common-objpfx)manual.
174 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
175 ($(common-objpfx)manual/%): New target.
176 (manual/%): Remove target.
177 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
178 (print_version): Use PKGVERSION.
179 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
180 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
182 ($(objpfx)xtrace): Likewise.
183 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
184 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
185 (print_version): Use PKGVERSION.
186 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
187 (do_version): Use PKGVERSION.
188 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
190 (common-ldd-rewrite): Likewise.
191 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
192 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
193 (print_version): Use PKGVERSION.
194 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
195 * elf/pldd.c (argp_program_bug_address): Remove variable.
196 (more_help): New function.
197 (argp): Use more_help.
198 (print_version): Use PKGVERSION.
199 * elf/sln.c (main): Use PKGVERSION.
200 (usage): Use REPORT_BUGS_TO.
201 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
202 (top level): Use PKGVERSION.
203 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
204 (print_version): Use PKGVERSION.
205 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
206 (print_version): Use PKGVERSION.
207 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
208 (print_version): Use PKGVERSION.
209 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
210 (print_version): Use PKGVERSION.
211 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
212 (print_version): Use PKGVERSION.
213 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
214 (print_version): Use PKGVERSION.
215 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
217 ($(objpfx)memusage): Likewise.
218 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
219 (do_version): Use PKGVERSION.
220 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
221 (print_version): Use PKGVERSION.
222 * malloc/mtrace.pl ($PACKAGE): Remove variable.
223 ($PKGVERSION): New variable.
224 ($REPORT_BUGS_TO): Likewise.
225 (usage): Use $REPORT_BUGS_TO.
226 (top level): Use $PKGVERSION.
227 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
228 ($(objpfx)pkgvers.texi): New rule.
229 ($(objpfx)stamp-pkgvers): Likewise.
230 * manual/install.texi: Include pkgvers.texi.
231 (--with-pkgversion): Document new configure option.
232 (--with-bugurl): Likewise.
233 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
234 than necessarily for this particular distribution. Use
235 REPORT_BUGS_TO for where to report bugs.
236 * INSTALL: Regenerated.
237 * manual/libc.texinfo: Include pkgvers.texi.
238 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
239 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
240 (print_version): Use PKGVERSION.
241 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
242 (print_version): Use PKGVERSION.
243 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
244 (print_version): Use PKGVERSION.
245 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
246 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
248 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
249 (print_version): Use PKGVERSION.
250 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
251 (print_version): Use PKGVERSION.
252 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
255 * timezone/checktab.awk: Update from tzcode 2012i.
256 * timezone/ialloc.c: Likewise.
257 * timezone/private.h: Likewise.
258 * timezone/scheck.c: Likewise.
259 * timezone/tzfile.h: Likewise.
260 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
261 (TZVERSION): Hardcode tzcode version number.
262 * timezone/zdump.c: Update from tzcode 2012i.
263 * timezone/zic.c: Likewise.
264 * timezone/version.h: New file.
265 * timezone/README: Describe version.h. Update upstream location.
268 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
269 (mktemp): Enable declaration.
270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
287 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
288 offset in buffer as u_int32_t not u_long. Consistently use memcpy
289 for copies of such integer values.
290 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
291 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
293 2012-11-09 Andreas Jaeger <aj@suse.de>
295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
296 definitions and declarations that are provided by
297 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
299 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
301 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
302 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
303 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
306 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
308 * elf/elf.h: Update comment before AArch64 relocations.
310 2012-11-07 David S. Miller <davem@davemloft.net>
312 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
313 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
314 (__start_context): Declare.
315 (__makecontext_ret): Delete.
316 (__makecontext): Hook up __start_context instead of
318 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
319 (sysdep_routines): Add __start_context when in stdlib.
321 2012-11-07 Joseph Myers <joseph@codesourcery.com>
323 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
324 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
325 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
327 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
328 (READELF): New variable. Use it instead of hardcoded "readelf".
330 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
332 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
333 * sysdeps/x86/Makefile: Here.
334 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
335 * sysdeps/x86/tst-xmmymm.sh: This.
337 2012-11-07 Joseph Myers <joseph@codesourcery.com>
339 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
341 [UNIX98] (pthread_barrier_t): Do not expect.
342 [UNIX98] (pthread_barrierattr_t): Likewise.
343 [UNIX98] (pthread_spinlock_t): Likewise.
344 [UNIX98] (pthread_barrier_destroy): Likewise.
345 [UNIX98] (pthread_barrier_init): Likewise.
346 [UNIX98] (pthread_barrier_wait): Likewise.
347 [UNIX98] (pthread_barrierattr_destroy): Likewise.
348 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
349 [UNIX98] (pthread_barrierattr_init): Likewise.
350 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
351 [UNIX98] (pthread_getcpuclockid): Likewise.
352 [UNIX98] (pthread_mutex_timedlock): Likewise.
353 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
354 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
355 [UNIX98] (pthread_sigmask): Likewise.
356 [UNIX98] (pthread_spin_destroy): Likewise.
357 [UNIX98] (pthread_spin_init): Likewise.
358 [UNIX98] (pthread_spin_lock): Likewise.
359 [UNIX98] (pthread_spin_trylock): Likewise.
360 [UNIX98] (pthread_spin_unlock): Likewise.
361 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
363 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
364 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
365 [XPG3 || XPG4] (pthread_cond_t): Likewise.
366 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
367 [XPG3 || XPG4] (pthread_key_t): Likewise.
368 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
369 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
370 [XPG3 || XPG4] (pthread_once_t): Likewise.
371 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
372 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
373 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
374 [XPG3 || XPG4] (pthread_t): Likewise.
376 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
378 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
380 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
381 Change function return type to int.
383 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
384 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
385 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
386 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
387 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
388 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
389 [!POSIX] (posix_madvise): Likewise.
390 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
392 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
393 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
395 (posix_mem_offset): Likewise.
396 (posix_typed_mem_get_info): Likewise.
397 (posix_typed_mem_open): Likewise.
399 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
400 Change condition to [XOPEN2K8].
402 * conform/conformtest.pl: Preprocess allow-header data with -x c
403 instead of from stdin.
404 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
405 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
406 [C99-based standards] (cerfc): Likewise.
407 [C99-based standards] (cexp2): Likewise.
408 [C99-based standards] (cexpm1): Likewise.
409 [C99-based standards] (clog10): Likewise.
410 [C99-based standards] (clog1p): Likewise.
411 [C99-based standards] (clog2): Likewise.
412 [C99-based standards] (clgamma): Likewise.
413 [C99-based standards] (ctgamma): Likewise.
414 [C99-based standards] (cerff): Likewise.
415 [C99-based standards] (cerfcf): Likewise.
416 [C99-based standards] (cexp2f): Likewise.
417 [C99-based standards] (cexpm1f): Likewise.
418 [C99-based standards] (clog10f): Likewise.
419 [C99-based standards] (clog1pf): Likewise.
420 [C99-based standards] (clog2f): Likewise.
421 [C99-based standards] (clgammaf): Likewise.
422 [C99-based standards] (ctgammaf): Likewise.
423 [C99-based standards] (cerfl): Likewise.
424 [C99-based standards] (cerfcl): Likewise.
425 [C99-based standards] (cexp2l): Likewise.
426 [C99-based standards] (cexpm1l): Likewise.
427 [C99-based standards] (clog10l): Likewise.
428 [C99-based standards] (clog1pl): Likewise.
429 [C99-based standards] (clog2l): Likewise.
430 [C99-based standards] (clgammal): Likewise.
431 [C99-based standards] (ctgammal): Likewise.
432 * conform/data/inttypes.h-data [C99-based standards]: Include
433 stdint.h-data. Remove all expectations for stdint.h contents.
434 [C99-based standards] (PRI*): Do not allow.
435 [C99-based standards] (SCN*): Likewise.
436 [C99-based standards] (*_t): Likewise.
437 [C99-based-standards] (PRId8): Expect macro.
438 [C99-based-standards] (PRIi8): Likewise.
439 [C99-based-standards] (PRIo8): Likewise.
440 [C99-based-standards] (PRIu8): Likewise.
441 [C99-based-standards] (PRIx8): Likewise.
442 [C99-based-standards] (PRIX8): Likewise.
443 [C99-based-standards] (SCNd8): Likewise.
444 [C99-based-standards] (SCNi8): Likewise.
445 [C99-based-standards] (SCNo8): Likewise.
446 [C99-based-standards] (SCNu8): Likewise.
447 [C99-based-standards] (SCNx8): Likewise.
448 [C99-based-standards] (PRIdLEAST8): Likewise.
449 [C99-based-standards] (PRIiLEAST8): Likewise.
450 [C99-based-standards] (PRIoLEAST8): Likewise.
451 [C99-based-standards] (PRIuLEAST8): Likewise.
452 [C99-based-standards] (PRIxLEAST8): Likewise.
453 [C99-based-standards] (PRIXLEAST8): Likewise.
454 [C99-based-standards] (SCNdLEAST8): Likewise.
455 [C99-based-standards] (SCNiLEAST8): Likewise.
456 [C99-based-standards] (SCNoLEAST8): Likewise.
457 [C99-based-standards] (SCNuLEAST8): Likewise.
458 [C99-based-standards] (SCNxLEAST8): Likewise.
459 [C99-based-standards] (PRIdFAST8): Likewise.
460 [C99-based-standards] (PRIiFAST8): Likewise.
461 [C99-based-standards] (PRIoFAST8): Likewise.
462 [C99-based-standards] (PRIuFAST8): Likewise.
463 [C99-based-standards] (PRIxFAST8): Likewise.
464 [C99-based-standards] (PRIXFAST8): Likewise.
465 [C99-based-standards] (SCNdFAST8): Likewise.
466 [C99-based-standards] (SCNiFAST8): Likewise.
467 [C99-based-standards] (SCNoFAST8): Likewise.
468 [C99-based-standards] (SCNuFAST8): Likewise.
469 [C99-based-standards] (SCNxFAST8): Likewise.
470 [C99-based-standards] (PRId16): Likewise.
471 [C99-based-standards] (PRIi16): Likewise.
472 [C99-based-standards] (PRIo16): Likewise.
473 [C99-based-standards] (PRIu16): Likewise.
474 [C99-based-standards] (PRIx16): Likewise.
475 [C99-based-standards] (PRIX16): Likewise.
476 [C99-based-standards] (SCNd16): Likewise.
477 [C99-based-standards] (SCNi16): Likewise.
478 [C99-based-standards] (SCNo16): Likewise.
479 [C99-based-standards] (SCNu16): Likewise.
480 [C99-based-standards] (SCNx16): Likewise.
481 [C99-based-standards] (PRIdLEAST16): Likewise.
482 [C99-based-standards] (PRIiLEAST16): Likewise.
483 [C99-based-standards] (PRIoLEAST16): Likewise.
484 [C99-based-standards] (PRIuLEAST16): Likewise.
485 [C99-based-standards] (PRIxLEAST16): Likewise.
486 [C99-based-standards] (PRIXLEAST16): Likewise.
487 [C99-based-standards] (SCNdLEAST16): Likewise.
488 [C99-based-standards] (SCNiLEAST16): Likewise.
489 [C99-based-standards] (SCNoLEAST16): Likewise.
490 [C99-based-standards] (SCNuLEAST16): Likewise.
491 [C99-based-standards] (SCNxLEAST16): Likewise.
492 [C99-based-standards] (PRIdFAST16): Likewise.
493 [C99-based-standards] (PRIiFAST16): Likewise.
494 [C99-based-standards] (PRIoFAST16): Likewise.
495 [C99-based-standards] (PRIuFAST16): Likewise.
496 [C99-based-standards] (PRIxFAST16): Likewise.
497 [C99-based-standards] (PRIXFAST16): Likewise.
498 [C99-based-standards] (SCNdFAST16): Likewise.
499 [C99-based-standards] (SCNiFAST16): Likewise.
500 [C99-based-standards] (SCNoFAST16): Likewise.
501 [C99-based-standards] (SCNuFAST16): Likewise.
502 [C99-based-standards] (SCNxFAST16): Likewise.
503 [C99-based-standards] (PRId32): Likewise.
504 [C99-based-standards] (PRIi32): Likewise.
505 [C99-based-standards] (PRIo32): Likewise.
506 [C99-based-standards] (PRIu32): Likewise.
507 [C99-based-standards] (PRIx32): Likewise.
508 [C99-based-standards] (PRIX32): Likewise.
509 [C99-based-standards] (SCNd32): Likewise.
510 [C99-based-standards] (SCNi32): Likewise.
511 [C99-based-standards] (SCNo32): Likewise.
512 [C99-based-standards] (SCNu32): Likewise.
513 [C99-based-standards] (SCNx32): Likewise.
514 [C99-based-standards] (PRIdLEAST32): Likewise.
515 [C99-based-standards] (PRIiLEAST32): Likewise.
516 [C99-based-standards] (PRIoLEAST32): Likewise.
517 [C99-based-standards] (PRIuLEAST32): Likewise.
518 [C99-based-standards] (PRIxLEAST32): Likewise.
519 [C99-based-standards] (PRIXLEAST32): Likewise.
520 [C99-based-standards] (SCNdLEAST32): Likewise.
521 [C99-based-standards] (SCNiLEAST32): Likewise.
522 [C99-based-standards] (SCNoLEAST32): Likewise.
523 [C99-based-standards] (SCNuLEAST32): Likewise.
524 [C99-based-standards] (SCNxLEAST32): Likewise.
525 [C99-based-standards] (PRIdFAST32): Likewise.
526 [C99-based-standards] (PRIiFAST32): Likewise.
527 [C99-based-standards] (PRIoFAST32): Likewise.
528 [C99-based-standards] (PRIuFAST32): Likewise.
529 [C99-based-standards] (PRIxFAST32): Likewise.
530 [C99-based-standards] (PRIXFAST32): Likewise.
531 [C99-based-standards] (SCNdFAST32): Likewise.
532 [C99-based-standards] (SCNiFAST32): Likewise.
533 [C99-based-standards] (SCNoFAST32): Likewise.
534 [C99-based-standards] (SCNuFAST32): Likewise.
535 [C99-based-standards] (SCNxFAST32): Likewise.
536 [C99-based-standards] (PRId64): Likewise.
537 [C99-based-standards] (PRIi64): Likewise.
538 [C99-based-standards] (PRIo64): Likewise.
539 [C99-based-standards] (PRIu64): Likewise.
540 [C99-based-standards] (PRIx64): Likewise.
541 [C99-based-standards] (PRIX64): Likewise.
542 [C99-based-standards] (SCNd64): Likewise.
543 [C99-based-standards] (SCNi64): Likewise.
544 [C99-based-standards] (SCNo64): Likewise.
545 [C99-based-standards] (SCNu64): Likewise.
546 [C99-based-standards] (SCNx64): Likewise.
547 [C99-based-standards] (PRIdLEAST64): Likewise.
548 [C99-based-standards] (PRIiLEAST64): Likewise.
549 [C99-based-standards] (PRIoLEAST64): Likewise.
550 [C99-based-standards] (PRIuLEAST64): Likewise.
551 [C99-based-standards] (PRIxLEAST64): Likewise.
552 [C99-based-standards] (PRIXLEAST64): Likewise.
553 [C99-based-standards] (SCNdLEAST64): Likewise.
554 [C99-based-standards] (SCNiLEAST64): Likewise.
555 [C99-based-standards] (SCNoLEAST64): Likewise.
556 [C99-based-standards] (SCNuLEAST64): Likewise.
557 [C99-based-standards] (SCNxLEAST64): Likewise.
558 [C99-based-standards] (PRIdFAST64): Likewise.
559 [C99-based-standards] (PRIiFAST64): Likewise.
560 [C99-based-standards] (PRIoFAST64): Likewise.
561 [C99-based-standards] (PRIuFAST64): Likewise.
562 [C99-based-standards] (PRIxFAST64): Likewise.
563 [C99-based-standards] (PRIXFAST64): Likewise.
564 [C99-based-standards] (SCNdFAST64): Likewise.
565 [C99-based-standards] (SCNiFAST64): Likewise.
566 [C99-based-standards] (SCNoFAST64): Likewise.
567 [C99-based-standards] (SCNuFAST64): Likewise.
568 [C99-based-standards] (SCNxFAST64): Likewise.
569 [C99-based-standards] (PRIdMAX): Likewise.
570 [C99-based-standards] (PRIiMAX): Likewise.
571 [C99-based-standards] (PRIoMAX): Likewise.
572 [C99-based-standards] (PRIuMAX): Likewise.
573 [C99-based-standards] (PRIxMAX): Likewise.
574 [C99-based-standards] (PRIXMAX): Likewise.
575 [C99-based-standards] (SCNdMAX): Likewise.
576 [C99-based-standards] (SCNiMAX): Likewise.
577 [C99-based-standards] (SCNoMAX): Likewise.
578 [C99-based-standards] (SCNuMAX): Likewise.
579 [C99-based-standards] (SCNxMAX): Likewise.
580 [C99-based-standards] (PRIdPTR): Likewise.
581 [C99-based-standards] (PRIiPTR): Likewise.
582 [C99-based-standards] (PRIoPTR): Likewise.
583 [C99-based-standards] (PRIuPTR): Likewise.
584 [C99-based-standards] (PRIxPTR): Likewise.
585 [C99-based-standards] (PRIXPTR): Likewise.
586 [C99-based-standards] (SCNdPTR): Likewise.
587 [C99-based-standards] (SCNiPTR): Likewise.
588 [C99-based-standards] (SCNoPTR): Likewise.
589 [C99-based-standards] (SCNuPTR): Likewise.
590 [C99-based-standards] (SCNxPTR): Likewise.
591 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
593 * conform/data/stdint.h-data: Update comments to clarify
595 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
597 [C99-based standards] (INT8_MAX): Likewise.
598 [C99-based standards] (INT16_MIN): Likewise.
599 [C99-based standards] (INT16_MAX): Likewise.
600 [C99-based standards] (INT32_MIN): Likewise.
601 [C99-based standards] (INT32_MAX): Likewise.
602 [C99-based standards] (INT64_MIN): Likewise.
603 [C99-based standards] (INT64_MAX): Likewise.
604 [C99-based standards] (UINT8_MAX): Likewise.
605 [C99-based standards] (UINT16_MAX): Likewise.
606 [C99-based standards] (UINT32_MAX): Likewise.
607 [C99-based standards] (UINT64_MAX): Likewise.
608 [C99-based standards] (INT_LEAST8_MIN): Likewise.
609 [C99-based standards] (INT_LEAST8_MAX): Likewise.
610 [C99-based standards] (INT_LEAST16_MIN): Likewise.
611 [C99-based standards] (INT_LEAST16_MAX): Likewise.
612 [C99-based standards] (INT_LEAST32_MIN): Likewise.
613 [C99-based standards] (INT_LEAST32_MAX): Likewise.
614 [C99-based standards] (INT_LEAST64_MIN): Likewise.
615 [C99-based standards] (INT_LEAST64_MAX): Likewise.
616 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
617 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
618 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
619 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
620 [C99-based standards] (INT_FAST8_MIN): Likewise.
621 [C99-based standards] (INT_FAST8_MAX): Likewise.
622 [C99-based standards] (INT_FAST16_MIN): Likewise.
623 [C99-based standards] (INT_FAST16_MAX): Likewise.
624 [C99-based standards] (INT_FAST32_MIN): Likewise.
625 [C99-based standards] (INT_FAST32_MAX): Likewise.
626 [C99-based standards] (INT_FAST64_MIN): Likewise.
627 [C99-based standards] (INT_FAST64_MAX): Likewise.
628 [C99-based standards] (UINT_FAST8_MAX): Likewise.
629 [C99-based standards] (UINT_FAST16_MAX): Likewise.
630 [C99-based standards] (UINT_FAST32_MAX): Likewise.
631 [C99-based standards] (UINT_FAST64_MAX): Likewise.
632 [C99-based standards] (INTPTR_MIN): Likewise.
633 [C99-based standards] (INTPTR_MAX): Likewise.
634 [C99-based standards] (UINTPTR_MAX): Likewise.
635 [C99-based standards] (INTMAX_MIN): Likewise.
636 [C99-based standards] (INTMAX_MAX): Likewise.
637 [C99-based standards] (UINTMAX_MAX): Likewise.
638 [C99-based standards] (PTRDIFF_MIN): Likewise.
639 [C99-based standards] (PTRDIFF_MAX): Likewise.
640 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
641 [C99-based standards] (SIZE_MAX): Likewise.
642 [C99-based standards] (WCHAR_MAX): Likewise.
643 [C99-based standards] (WINT_MAX): Likewise.
644 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
646 [C99-based standards] (WCHAR_MIN): Likewise.
647 [C99-based standards] (WINT_MIN): Likewise.
648 [C99-based standards] (*_t): Allow.
649 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
650 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
651 Include math.h-data and complex.h-data. Remove all expectations
652 of math.h and complex.h contents.
653 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
655 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
656 (struct tm): Expect tag.
657 [C99-based-standards] (wcstof): Expect function.
658 [C99-based-standards] (wcstold): Likewise.
659 [C99-based-standards] (wcstoll): Likewise.
660 [C99-based-standards] (wcstoull): Likewise.
661 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
662 macro-int-constant. Specify type.
663 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
665 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
667 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
669 [ISO C standards]: Do not allow headers.
670 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
671 wcs[abcdefghijklmnopqrstuvwxyz]*.
672 [ISO C standards] (*_t): Do not allow.
673 * conform/data/wctype.h-data [C99-based standards] (iswblank):
675 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
676 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
678 [ISO C standards]: Do not allow headers.
679 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
680 is[abcdefghijklmnopqrstuvwxyz]*.
681 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
682 to[abcdefghijklmnopqrstuvwxyz]*.
683 [ISO C standards] (*_t): Do not allow.
684 * conform/data/stdalign.h-data: New file.
685 * conform/data/stdbool.h-data: Likewise.
686 * conform/data/stdnoreturn.h-data: Likewise.
688 2012-11-07 Andreas Jaeger <aj@suse.de>
691 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
692 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
693 guards are changed. Only define if not yet defined, #undef back
694 after including linux/sysctl.h if defined here.
696 2012-11-07 Roland McGrath <roland@hack.frob.com>
699 * manual/filesys.texi (Directory Entries): Typo fix.
700 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
702 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
704 * elf/elf.h (EM_AARCH64): New macro.
705 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
706 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
707 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
708 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
709 (R_AARCH64_TLSDESC): Likewise.
710 (NT_ARM_TLS): Likewise.
711 (NT_ARM_HW_BREAK): Likewise.
712 (NT_ARM_HW_WATCH): Likewise.
714 2012-11-07 Joseph Myers <joseph@codesourcery.com>
717 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
718 (__ieee754_powl): Saturate nonzero exponents with absolute value
719 below 0x1p-79 to +/- 0x1p-79.
720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
721 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
722 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
723 nonzero exponents with absolute value below 0x1p-32 to +/-
725 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
726 (__ieee754_powl): Saturate nonzero exponents with absolute value
727 below 0x1p-79 to +/- 0x1p-79.
728 * math/libm-test.inc (pow_test): Add more tests.
730 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
732 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
733 _dl_s390_cap_flags with kernel. Increase string length.
734 (_dl_s390_platforms): Add z196 and zEC12.
736 2012-11-07 Joseph Myers <joseph@codesourcery.com>
738 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
739 Change XOPEN21K to XOPEN2K.
741 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
743 * string/memmove.c: Use memcpy when possible.
745 2012-11-06 Andreas Jaeger <aj@suse.de>
747 * po/eo.po: Update from translation team.
749 2012-11-06 Joseph Myers <joseph@codesourcery.com>
752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
753 exponent and small x and y exponents, scale x or y up. Increase
754 by 2 the exponent used in scaling up.
755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
757 * math/libm-test.inc (fma_test): Add more tests.
758 (fma_test_towardzero): Likewise.
759 (fma_test_downward): Likewise.
760 (fma_test_upward): Likewise.
762 2012-11-05 Joseph Myers <joseph@codesourcery.com>
765 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
769 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
770 namespace for names of struct fields.
771 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
773 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
774 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
776 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
779 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
781 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
783 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
787 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
790 2012-11-04 Joseph Myers <joseph@codesourcery.com>
793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
794 definitely overflow as x * y not x * y + z.
795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
796 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
797 * math/libm-test.inc (fma_test): Add more tests.
798 (fma_test_towardzero): Likewise.
799 (fma_test_downward): Likewise.
800 (fma_test_upward): Likewise.
802 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
806 * include/stub-tag.h: Remove file.
807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
809 * manual/maint.texi (Porting): Don't reference it.
810 * Makerules ($(objpfx)stubs): Likewise.
811 * dirent/closedir.c: Don't include <stub-tag.h>.
812 * dirent/dirfd.c: Likewise.
813 * dirent/fdopendir.c: Likewise.
814 * dirent/getdents.c: Likewise.
815 * dirent/getdents64.c: Likewise.
816 * dirent/opendir.c: Likewise.
817 * dirent/readdir.c: Likewise.
818 * dirent/readdir64.c: Likewise.
819 * dirent/readdir64_r.c: Likewise.
820 * dirent/readdir_r.c: Likewise.
821 * dirent/rewinddir.c: Likewise.
822 * dirent/seekdir.c: Likewise.
823 * dirent/telldir.c: Likewise.
824 * gmon/profil.c: Likewise.
825 * grp/setgroups.c: Likewise.
826 * inet/if_index.c: Likewise.
827 * io/access.c: Likewise.
828 * io/chdir.c: Likewise.
829 * io/chmod.c: Likewise.
830 * io/chown.c: Likewise.
831 * io/close.c: Likewise.
832 * io/dup.c: Likewise.
833 * io/dup2.c: Likewise.
834 * io/dup3.c: Likewise.
835 * io/euidaccess.c: Likewise.
836 * io/faccessat.c: Likewise.
837 * io/fchdir.c: Likewise.
838 * io/fchmod.c: Likewise.
839 * io/fchmodat.c: Likewise.
840 * io/fchown.c: Likewise.
841 * io/fchownat.c: Likewise.
842 * io/fcntl.c: Likewise.
843 * io/flock.c: Likewise.
844 * io/fstatfs.c: Likewise.
845 * io/fstatfs64.c: Likewise.
846 * io/fstatvfs.c: Likewise.
847 * io/fstatvfs64.c: Likewise.
848 * io/futimens.c: Likewise.
849 * io/fxstat.c: Likewise.
850 * io/fxstat64.c: Likewise.
851 * io/fxstatat.c: Likewise.
852 * io/fxstatat64.c: Likewise.
853 * io/getcwd.c: Likewise.
854 * io/isatty.c: Likewise.
855 * io/lchmod.c: Likewise.
856 * io/lchown.c: Likewise.
857 * io/link.c: Likewise.
858 * io/linkat.c: Likewise.
859 * io/lseek.c: Likewise.
860 * io/lseek64.c: Likewise.
861 * io/lxstat64.c: Likewise.
862 * io/mkdir.c: Likewise.
863 * io/mkdirat.c: Likewise.
864 * io/mkfifo.c: Likewise.
865 * io/mkfifoat.c: Likewise.
866 * io/open.c: Likewise.
867 * io/open64.c: Likewise.
868 * io/openat.c: Likewise.
869 * io/openat64.c: Likewise.
870 * io/pipe.c: Likewise.
871 * io/pipe2.c: Likewise.
872 * io/poll.c: Likewise.
873 * io/posix_fadvise.c: Likewise.
874 * io/posix_fadvise64.c: Likewise.
875 * io/posix_fallocate.c: Likewise.
876 * io/posix_fallocate64.c: Likewise.
877 * io/read.c: Likewise.
878 * io/readlink.c: Likewise.
879 * io/readlinkat.c: Likewise.
880 * io/rmdir.c: Likewise.
881 * io/sendfile.c: Likewise.
882 * io/sendfile64.c: Likewise.
883 * io/statfs.c: Likewise.
884 * io/statfs64.c: Likewise.
885 * io/statvfs.c: Likewise.
886 * io/statvfs64.c: Likewise.
887 * io/symlink.c: Likewise.
888 * io/symlinkat.c: Likewise.
889 * io/ttyname.c: Likewise.
890 * io/ttyname_r.c: Likewise.
891 * io/umask.c: Likewise.
892 * io/unlink.c: Likewise.
893 * io/unlinkat.c: Likewise.
894 * io/utime.c: Likewise.
895 * io/utimensat.c: Likewise.
896 * io/write.c: Likewise.
897 * io/xmknod.c: Likewise.
898 * io/xmknodat.c: Likewise.
899 * io/xstat.c: Likewise.
900 * io/xstat64.c: Likewise.
901 * login/getpt.c: Likewise.
902 * login/grantpt.c: Likewise.
903 * login/unlockpt.c: Likewise.
904 * math/e_acoshl.c: Likewise.
905 * math/e_acosl.c: Likewise.
906 * math/e_asinl.c: Likewise.
907 * math/e_atan2l.c: Likewise.
908 * math/e_atanhl.c: Likewise.
909 * math/e_coshl.c: Likewise.
910 * math/e_expl.c: Likewise.
911 * math/e_fmodl.c: Likewise.
912 * math/e_gammal_r.c: Likewise.
913 * math/e_hypotl.c: Likewise.
914 * math/e_j0l.c: Likewise.
915 * math/e_j1l.c: Likewise.
916 * math/e_jnl.c: Likewise.
917 * math/e_lgammal_r.c: Likewise.
918 * math/e_log10l.c: Likewise.
919 * math/e_log2l.c: Likewise.
920 * math/e_logl.c: Likewise.
921 * math/e_powl.c: Likewise.
922 * math/e_rem_pio2l.c: Likewise.
923 * math/e_sinhl.c: Likewise.
924 * math/e_sqrtl.c: Likewise.
925 * math/fclrexcpt.c: Likewise.
926 * math/fedisblxcpt.c: Likewise.
927 * math/feenablxcpt.c: Likewise.
928 * math/fegetenv.c: Likewise.
929 * math/fegetexcept.c: Likewise.
930 * math/fegetround.c: Likewise.
931 * math/feholdexcpt.c: Likewise.
932 * math/fesetenv.c: Likewise.
933 * math/fesetround.c: Likewise.
934 * math/feupdateenv.c: Likewise.
935 * math/fgetexcptflg.c: Likewise.
936 * math/fraiseexcpt.c: Likewise.
937 * math/fsetexcptflg.c: Likewise.
938 * math/ftestexcept.c: Likewise.
939 * math/k_cosl.c: Likewise.
940 * math/k_rem_pio2l.c: Likewise.
941 * math/k_sinl.c: Likewise.
942 * math/k_tanl.c: Likewise.
943 * math/s_asinhl.c: Likewise.
944 * math/s_atanl.c: Likewise.
945 * math/s_cbrtl.c: Likewise.
946 * math/s_erfl.c: Likewise.
947 * math/s_expm1l.c: Likewise.
948 * math/s_log1pl.c: Likewise.
949 * math/s_tanhl.c: Likewise.
950 * misc/acct.c: Likewise.
951 * misc/brk.c: Likewise.
952 * misc/chflags.c: Likewise.
953 * misc/chroot.c: Likewise.
954 * misc/fchflags.c: Likewise.
955 * misc/fgetxattr.c: Likewise.
956 * misc/flistxattr.c: Likewise.
957 * misc/fremovexattr.c: Likewise.
958 * misc/fsetxattr.c: Likewise.
959 * misc/fsync.c: Likewise.
960 * misc/ftruncate.c: Likewise.
961 * misc/futimes.c: Likewise.
962 * misc/futimesat.c: Likewise.
963 * misc/getdomain.c: Likewise.
964 * misc/getdtsz.c: Likewise.
965 * misc/gethostid.c: Likewise.
966 * misc/gethostname.c: Likewise.
967 * misc/getloadavg.c: Likewise.
968 * misc/getpagesize.c: Likewise.
969 * misc/getsysstats.c: Likewise.
970 * misc/getxattr.c: Likewise.
971 * misc/gtty.c: Likewise.
972 * misc/ioctl.c: Likewise.
973 * misc/lgetxattr.c: Likewise.
974 * misc/listxattr.c: Likewise.
975 * misc/llistxattr.c: Likewise.
976 * misc/lremovexattr.c: Likewise.
977 * misc/lsetxattr.c: Likewise.
978 * misc/lutimes.c: Likewise.
979 * misc/madvise.c: Likewise.
980 * misc/mincore.c: Likewise.
981 * misc/mlock.c: Likewise.
982 * misc/mlockall.c: Likewise.
983 * misc/mmap.c: Likewise.
984 * misc/mprotect.c: Likewise.
985 * misc/msync.c: Likewise.
986 * misc/munlock.c: Likewise.
987 * misc/munlockall.c: Likewise.
988 * misc/munmap.c: Likewise.
989 * misc/preadv.c: Likewise.
990 * misc/preadv64.c: Likewise.
991 * misc/ptrace.c: Likewise.
992 * misc/pwritev.c: Likewise.
993 * misc/pwritev64.c: Likewise.
994 * misc/readv.c: Likewise.
995 * misc/reboot.c: Likewise.
996 * misc/remap_file_pages.c: Likewise.
997 * misc/removexattr.c: Likewise.
998 * misc/revoke.c: Likewise.
999 * misc/select.c: Likewise.
1000 * misc/setdomain.c: Likewise.
1001 * misc/setegid.c: Likewise.
1002 * misc/seteuid.c: Likewise.
1003 * misc/sethostid.c: Likewise.
1004 * misc/sethostname.c: Likewise.
1005 * misc/setregid.c: Likewise.
1006 * misc/setreuid.c: Likewise.
1007 * misc/setxattr.c: Likewise.
1008 * misc/sstk.c: Likewise.
1009 * misc/stty.c: Likewise.
1010 * misc/swapoff.c: Likewise.
1011 * misc/swapon.c: Likewise.
1012 * misc/sync.c: Likewise.
1013 * misc/syncfs.c: Likewise.
1014 * misc/syscall.c: Likewise.
1015 * misc/truncate.c: Likewise.
1016 * misc/ualarm.c: Likewise.
1017 * misc/usleep.c: Likewise.
1018 * misc/ustat.c: Likewise.
1019 * misc/utimes.c: Likewise.
1020 * misc/vhangup.c: Likewise.
1021 * misc/writev.c: Likewise.
1022 * posix/_exit.c: Likewise.
1023 * posix/alarm.c: Likewise.
1024 * posix/execve.c: Likewise.
1025 * posix/fexecve.c: Likewise.
1026 * posix/fork.c: Likewise.
1027 * posix/fpathconf.c: Likewise.
1028 * posix/getaddrinfo.c: Likewise.
1029 * posix/getegid.c: Likewise.
1030 * posix/geteuid.c: Likewise.
1031 * posix/getgid.c: Likewise.
1032 * posix/getgroups.c: Likewise.
1033 * posix/getlogin.c: Likewise.
1034 * posix/getlogin_r.c: Likewise.
1035 * posix/getpgid.c: Likewise.
1036 * posix/getpid.c: Likewise.
1037 * posix/getppid.c: Likewise.
1038 * posix/getresgid.c: Likewise.
1039 * posix/getresuid.c: Likewise.
1040 * posix/getsid.c: Likewise.
1041 * posix/getuid.c: Likewise.
1042 * posix/glob64.c: Likewise.
1043 * posix/nanosleep.c: Likewise.
1044 * posix/pathconf.c: Likewise.
1045 * posix/pause.c: Likewise.
1046 * posix/posix_madvise.c: Likewise.
1047 * posix/pread.c: Likewise.
1048 * posix/pread64.c: Likewise.
1049 * posix/pwrite.c: Likewise.
1050 * posix/pwrite64.c: Likewise.
1051 * posix/sched_getaffinity.c: Likewise.
1052 * posix/sched_getp.c: Likewise.
1053 * posix/sched_gets.c: Likewise.
1054 * posix/sched_primax.c: Likewise.
1055 * posix/sched_primin.c: Likewise.
1056 * posix/sched_rr_gi.c: Likewise.
1057 * posix/sched_setaffinity.c: Likewise.
1058 * posix/sched_setp.c: Likewise.
1059 * posix/sched_sets.c: Likewise.
1060 * posix/sched_yield.c: Likewise.
1061 * posix/setgid.c: Likewise.
1062 * posix/setlogin.c: Likewise.
1063 * posix/setpgid.c: Likewise.
1064 * posix/setresgid.c: Likewise.
1065 * posix/setresuid.c: Likewise.
1066 * posix/setsid.c: Likewise.
1067 * posix/setuid.c: Likewise.
1068 * posix/sleep.c: Likewise.
1069 * posix/spawni.c: Likewise.
1070 * posix/sysconf.c: Likewise.
1071 * posix/times.c: Likewise.
1072 * posix/wait.c: Likewise.
1073 * posix/wait3.c: Likewise.
1074 * posix/wait4.c: Likewise.
1075 * posix/waitpid.c: Likewise.
1076 * resolv/gai_sigqueue.c: Likewise.
1077 * resource/getpriority.c: Likewise.
1078 * resource/getrlimit.c: Likewise.
1079 * resource/getrusage.c: Likewise.
1080 * resource/nice.c: Likewise.
1081 * resource/setpriority.c: Likewise.
1082 * resource/setrlimit.c: Likewise.
1083 * resource/ulimit.c: Likewise.
1084 * rt/aio_cancel.c: Likewise.
1085 * rt/aio_fsync.c: Likewise.
1086 * rt/aio_read.c: Likewise.
1087 * rt/aio_sigqueue.c: Likewise.
1088 * rt/aio_suspend.c: Likewise.
1089 * rt/aio_write.c: Likewise.
1090 * rt/clock_getres.c: Likewise.
1091 * rt/clock_gettime.c: Likewise.
1092 * rt/clock_nanosleep.c: Likewise.
1093 * rt/clock_settime.c: Likewise.
1094 * rt/lio_listio.c: Likewise.
1095 * rt/mq_close.c: Likewise.
1096 * rt/mq_getattr.c: Likewise.
1097 * rt/mq_notify.c: Likewise.
1098 * rt/mq_open.c: Likewise.
1099 * rt/mq_receive.c: Likewise.
1100 * rt/mq_send.c: Likewise.
1101 * rt/mq_setattr.c: Likewise.
1102 * rt/mq_timedreceive.c: Likewise.
1103 * rt/mq_timedsend.c: Likewise.
1104 * rt/mq_unlink.c: Likewise.
1105 * rt/shm_open.c: Likewise.
1106 * rt/shm_unlink.c: Likewise.
1107 * rt/timer_create.c: Likewise.
1108 * rt/timer_delete.c: Likewise.
1109 * rt/timer_getoverr.c: Likewise.
1110 * rt/timer_gettime.c: Likewise.
1111 * rt/timer_settime.c: Likewise.
1112 * setjmp/__longjmp.c: Likewise.
1113 * setjmp/setjmp.c: Likewise.
1114 * signal/kill.c: Likewise.
1115 * signal/killpg.c: Likewise.
1116 * signal/raise.c: Likewise.
1117 * signal/sigaction.c: Likewise.
1118 * signal/sigaltstack.c: Likewise.
1119 * signal/sigblock.c: Likewise.
1120 * signal/sigignore.c: Likewise.
1121 * signal/sigintr.c: Likewise.
1122 * signal/signal.c: Likewise.
1123 * signal/sigpause.c: Likewise.
1124 * signal/sigpending.c: Likewise.
1125 * signal/sigqueue.c: Likewise.
1126 * signal/sigreturn.c: Likewise.
1127 * signal/sigset.c: Likewise.
1128 * signal/sigsetmask.c: Likewise.
1129 * signal/sigstack.c: Likewise.
1130 * signal/sigsuspend.c: Likewise.
1131 * signal/sigtimedwait.c: Likewise.
1132 * signal/sigvec.c: Likewise.
1133 * signal/sigwait.c: Likewise.
1134 * signal/sigwaitinfo.c: Likewise.
1135 * signal/sysv_signal.c: Likewise.
1136 * socket/accept.c: Likewise.
1137 * socket/accept4.c: Likewise.
1138 * socket/bind.c: Likewise.
1139 * socket/connect.c: Likewise.
1140 * socket/getpeername.c: Likewise.
1141 * socket/getsockname.c: Likewise.
1142 * socket/getsockopt.c: Likewise.
1143 * socket/isfdtype.c: Likewise.
1144 * socket/listen.c: Likewise.
1145 * socket/recv.c: Likewise.
1146 * socket/recvfrom.c: Likewise.
1147 * socket/recvmsg.c: Likewise.
1148 * socket/send.c: Likewise.
1149 * socket/sendmsg.c: Likewise.
1150 * socket/sendto.c: Likewise.
1151 * socket/setsockopt.c: Likewise.
1152 * socket/shutdown.c: Likewise.
1153 * socket/sockatmark.c: Likewise.
1154 * socket/socket.c: Likewise.
1155 * socket/socketpair.c: Likewise.
1156 * stdio-common/ctermid.c: Likewise.
1157 * stdio-common/cuserid.c: Likewise.
1158 * stdio-common/remove.c: Likewise.
1159 * stdio-common/rename.c: Likewise.
1160 * stdio-common/renameat.c: Likewise.
1161 * stdio-common/tempname.c: Likewise.
1162 * stdlib/getcontext.c: Likewise.
1163 * stdlib/makecontext.c: Likewise.
1164 * stdlib/setcontext.c: Likewise.
1165 * stdlib/swapcontext.c: Likewise.
1166 * stdlib/system.c: Likewise.
1167 * streams/fattach.c: Likewise.
1168 * streams/fdetach.c: Likewise.
1169 * streams/getmsg.c: Likewise.
1170 * streams/getpmsg.c: Likewise.
1171 * streams/putmsg.c: Likewise.
1172 * streams/putpmsg.c: Likewise.
1173 * sysdeps/unix/bsd/getpt.c: Likewise.
1174 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1175 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1176 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1179 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1180 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1181 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1182 * sysvipc/msgctl.c: Likewise.
1183 * sysvipc/msgget.c: Likewise.
1184 * sysvipc/msgrcv.c: Likewise.
1185 * sysvipc/msgsnd.c: Likewise.
1186 * sysvipc/semctl.c: Likewise.
1187 * sysvipc/semget.c: Likewise.
1188 * sysvipc/semop.c: Likewise.
1189 * sysvipc/semtimedop.c: Likewise.
1190 * sysvipc/shmat.c: Likewise.
1191 * sysvipc/shmctl.c: Likewise.
1192 * sysvipc/shmdt.c: Likewise.
1193 * sysvipc/shmget.c: Likewise.
1194 * termios/tcdrain.c: Likewise.
1195 * termios/tcflow.c: Likewise.
1196 * termios/tcflush.c: Likewise.
1197 * termios/tcgetattr.c: Likewise.
1198 * termios/tcgetpgrp.c: Likewise.
1199 * termios/tcsendbrk.c: Likewise.
1200 * termios/tcsetattr.c: Likewise.
1201 * termios/tcsetpgrp.c: Likewise.
1202 * time/adjtime.c: Likewise.
1203 * time/clock.c: Likewise.
1204 * time/getitimer.c: Likewise.
1205 * time/gettimeofday.c: Likewise.
1206 * time/setitimer.c: Likewise.
1207 * time/settimeofday.c: Likewise.
1208 * time/stime.c: Likewise.
1209 * time/time.c: Likewise.
1211 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1213 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1216 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1218 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1220 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1224 FE_TONEAREST before applying Dekker multiplication and Knuth
1225 addition. Clear inexact exceptions and check for exact zero
1227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1228 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1229 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1230 * math/libm-test.inc (fma_test): Add more tests.
1231 (fma_test_towardzero): Likewise.
1232 (fma_test_downward): Likewise.
1233 (fma_test_upward): Likewise.
1234 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1236 (libc_fesetround): New macro.
1237 (libc_fesetroundf): Likewise.
1238 (libc_fesetroundl): Likewise.
1239 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1241 (libc_fesetround_387): Likewise.
1242 (libc_fesetroundf): New macro.
1243 (libc_fesetround): Likewise.
1244 (libc_fesetroundl): Likewise.
1245 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1247 (libc_fesetroundf): New macro.
1248 (libc_fesetround): Likewise.
1249 (libc_fesetroundl): Likewise.
1250 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1251 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1252 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1254 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1255 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1257 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1258 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1260 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1264 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1265 integer constant usable in #if and use that to give value to enum
1267 (FE_DIVBYZERO): Likewise.
1268 (FE_UNDERFLOW): Likewise.
1269 (FE_OVERFLOW): Likewise.
1270 (FE_INVALID): Likewise.
1271 (FE_INVALID_SNAN): Likewise.
1272 (FE_INVALID_ISI): Likewise.
1273 (FE_INVALID_IDI): Likewise.
1274 (FE_INVALID_ZDZ): Likewise.
1275 (FE_INVALID_IMZ): Likewise.
1276 (FE_INVALID_COMPARE): Likewise.
1277 (FE_INVALID_SOFTWARE): Likewise.
1278 (FE_INVALID_SQRT): Likewise.
1279 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1280 (FE_TONEAREST): Likewise.
1281 (FE_TOWARDZERO): Likewise.
1282 (FE_UPWARD): Likewise.
1283 (FE_DOWNWARD): Likewise.
1284 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1285 (FE_DIVBYZERO): Likewise.
1286 (FE_OVERFLOW): Likewise.
1287 (FE_UNDERFLOW): Likewise.
1288 (FE_INEXACT): Likewise.
1289 (FE_TONEAREST): Likewise.
1290 (FE_DOWNWARD): Likewise.
1291 (FE_UPWARD): Likewise.
1292 (FE_TOWARDZERO): Likewise.
1293 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1294 (FE_UNDERFLOW): Likewise.
1295 (FE_OVERFLOW): Likewise.
1296 (FE_DIVBYZERO): Likewise.
1297 (FE_INVALID): Likewise.
1298 (FE_TONEAREST): Likewise.
1299 (FE_TOWARDZERO): Likewise.
1300 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1301 (FE_OVERFLOW): Likewise.
1302 (FE_UNDERFLOW): Likewise.
1303 (FE_DIVBYZERO): Likewise.
1304 (FE_INEXACT): Likewise.
1305 (FE_TONEAREST): Likewise.
1306 (FE_TOWARDZERO): Likewise.
1307 (FE_UPWARD): Likewise.
1308 (FE_DOWNWARD): Likewise.
1309 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1310 (FE_DIVBYZERO): Likewise.
1311 (FE_OVERFLOW): Likewise.
1312 (FE_UNDERFLOW): Likewise.
1313 (FE_INEXACT): Likewise.
1314 (FE_TONEAREST): Likewise.
1315 (FE_DOWNWARD): Likewise.
1316 (FE_UPWARD): Likewise.
1317 (FE_TOWARDZERO): Likewise.
1319 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1321 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1323 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1325 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1326 commands. Quote $PWD.
1327 (blacklist_exports): Don't use remove_newlines. Replace "declare
1329 (remove_newlines): Remove.
1331 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1333 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1334 * stdlib/stdlib.h (atof): Moved to ...
1335 * include/bits/stdlib-float.h: Here. New file.
1336 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1337 * stdlib/bits/stdlib-float.h: New file.
1338 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1343 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1345 * conform/conformtest.pl (@headers): Add fenv.h.
1346 * conform/data/fenv.h-data: New file.
1347 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1348 include of <math/fenv.h>.
1350 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1351 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1352 && !UNIX98]. Enables tests for XOPEN2K8.
1353 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1354 POSIX2008]: Likewise.
1356 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1357 (struct rusage): Do not expect type or its members.
1360 * math/math.h (FP_NAN): Define macro to integer constant usable in
1361 #if and use that to give value to enum constant.
1362 (FP_INFINITE): Likewise.
1363 (FP_ZERO): Likewise.
1364 (FP_SUBNORMAL): Likewise.
1365 (FP_NORMAL): Likewise.
1367 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1369 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1370 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1373 2012-11-02 Roland McGrath <roland@hack.frob.com>
1375 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1376 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1377 autoconf-time if not.
1378 * configure.in: Remove AC_PREREQ.
1380 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1382 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1383 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1384 of the internal implementation.
1386 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1388 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1389 except include of <misc/sys/syslog.h>.
1391 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1394 function returns with a NULL context exit with zero.
1396 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1398 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1400 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1402 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1403 (run_program_cmd): This.
1404 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1405 (tst_langinfo): New variable. Use it.
1407 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1409 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1410 floating point opcodes.
1412 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1414 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1417 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1419 * sysdeps/mach/hurd/powerpc: Remove directory.
1420 * sysdeps/mach/powerpc: Likewise.
1422 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1424 * scripts/check-local-headers.sh: Ignore c++ headers.
1426 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1428 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1429 __libc_cleanup_region_start argument.
1431 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1436 x * y using scaling, not as x * y + z.
1437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1439 * math/libm-test.inc (fma_test): Add more tests.
1440 (fma_test_towardzero): Likewise.
1441 (fma_test_downward): Likewise.
1442 (fma_test_upward): Likewise.
1444 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1446 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1448 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1450 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1453 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1455 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1457 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1464 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1467 Fix the order of the list for glibc 2.17.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1471 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1475 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1479 for low part of x being zero before using __atanl (y).
1480 * math/libm-test.inc (atan2_test): Add another test.
1482 * manual/install.texi (Configuring and compiling): Document
1483 general use of test-wrapper and test-wrapper-env.
1484 * INSTALL: Regenerated.
1486 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1487 (__fma): Do not extract and scale down low bits on after-rounding
1488 systems when result rounded to normal precision would have normal
1490 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1491 (__fmal): Do not extract and scale down low bits on after-rounding
1492 systems when result rounded to normal precision would have normal
1494 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1495 (__fmal): Do not extract and scale down low bits on after-rounding
1496 systems when result rounded to normal precision would have normal
1498 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1500 (fma_test): Add more tests.
1501 (fma_test_towardzero): Likewise.
1502 (fma_test_downward): Likewise.
1503 (fma_test_upward): Likewise.
1505 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1507 * sysdeps/i386/tininess.h: Renamed to ...
1508 * sysdeps/x86/tininess.h: This.
1509 * sysdeps/x86_64/tininess.h: Removed.
1511 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1513 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1514 input. Use $(build-program-cmd).
1515 ($(objpfx)tst-array1-static.out): Likewise.
1516 ($(objpfx)tst-array2.out): Likewise.
1517 ($(objpfx)tst-array3.out): Likewise.
1518 ($(objpfx)tst-array4.out): Likewise.
1519 ($(objpfx)tst-array5.out): Likewise.
1520 ($(objpfx)tst-array5-static.out): Likewise.
1522 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1524 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1527 * nss/nsswitch.h (nss_interface_function): Provide new
1528 macro for use with NSS functions.
1529 * grp/initgroups.c: Use new macro.
1530 * nss/getXXbyYY.c: Likewise.
1531 * nss/getXXbyYY_r.c: Likewise.
1532 * nss/getXXent.c: Likewise.
1533 * nss/getXXent_r.c: Likewise.
1534 * sysdeps/posix/getaddrinfo.c: Likewise.
1536 2012-10-30 Andreas Jaeger <aj@suse.de>
1538 * po/ru.po: Update Russion translation from translation project.
1540 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1545 result and shift together with sticky bit instead of replicating
1546 round-to-nearest rounding.
1547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1549 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1550 missing underflow exceptions.
1551 (fma_test_towardzero): Add more tests.
1552 (fma_test_downward): Likewise.
1553 (fma_test_upward): Likewise.
1556 * sysdeps/generic/tininess.h: New file.
1557 * sysdeps/i386/tininess.h: Likewise.
1558 * sysdeps/sh/tininess.h: Likewise.
1559 * sysdeps/x86_64/tininess.h: Likewise.
1560 * stdlib/tst-strtod-underflow.c: Likewise.
1561 * stdlib/tst-tininess.c: Likewise.
1562 * stdlib/strtod_l.c: Include <tininess.h>.
1563 (round_and_return): Do not set errno for exact underflow cases.
1564 Force an underflow exception when setting errno for underflow.
1565 Determine underflow based on rounding to normal precision if
1566 TININESS_AFTER_ROUNDING.
1567 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1568 ERANGE for exact underflow cases.
1569 * stdlib/Makefile (tests): Add tst-tininess and
1570 tst-strtod-underflow.
1571 ($(objpfx)tst-tininess): Use $(link-libm).
1572 ($(objpfx)tst-strtod-underflow): Likewise.
1574 2012-10-30 Andreas Jaeger <aj@suse.de>
1577 * elf/Makefile (tests): Remove conditional for have-initfini-array
1578 since this is now always required and the variable does not exist
1580 (tests-static): Likewise.
1581 (modules-names): Likewise.
1583 * po/eo.po: Add Esperanto translation from translation project.
1585 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1586 merged with constructor/destructor.
1587 (init_array): Likewise.
1588 * elf/tst-array2dep.c (fini_array): Likewise.
1589 (init_array): Likewise.
1591 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1593 * manual/message.texi: Delete @cartouche tags.
1595 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1597 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1599 * sysdeps/mach/hurd/fsync.c: Likewise.
1601 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1602 [_POSIX_REALTIME_SIGNALS]: Change condition to
1603 [_POSIX_REALTIME_SIGNALS > 0].
1605 2012-10-27 Andreas Jaeger <aj@suse.de>
1607 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1608 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1610 [__WORDSIZE != 64]: Likewise.
1612 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1614 * iconvdata/tst-table.sh: Remove ${SHELL}.
1615 * iconvdata/tst-tables.sh: Likewise.
1617 2012-10-25 David S. Miller <davem@davemloft.net>
1619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1620 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1625 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1626 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1627 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1630 2012-10-25 Roland McGrath <roland@hack.frob.com>
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1633 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1636 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1637 Jim Blandy <jimb@codesourcery.com>
1639 * scripts/cross-test-ssh.sh: New file.
1640 * manual/install.texi (Configuring and compiling): Document use of
1642 * INSTALL: Regenerated.
1644 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1646 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1649 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1651 * Makeconfig (run-program-prefix): Fix comment.
1653 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1654 Jim Blandy <jimb@codesourcery.com>
1656 * Makeconfig (test-wrapper): New variable,
1657 (test-wrapper-env): Likewise.
1658 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1659 (run-built-tests): Define to yes.
1660 (run-program-prefix): Use $(test-wrapper).
1661 (built-program-cmd): Likewise.
1662 * Rules (make-test-out): Use $(test-wrapper-env) and
1663 $(host-built-program-cmd).
1664 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1665 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1667 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1668 $(test-wrapper-env) to tst-rtld-load-self.sh.
1669 ($(objpfx)order2.out): Use $(test-wrapper).
1670 ($(objpfx)tst-initorder.out): Likewise.
1671 ($(objpfx)tst-initorder2.out): Likewise.
1672 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1673 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1674 (test_wrapper_env): New variable. Use it to run ld.so.
1675 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1676 Use it to run ld.so.
1677 (test_wrapper_env): Likewise.
1678 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1679 $(test-wrapper) to run-iconv-test.sh.
1680 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1681 (ICONV): Use $test_wrapper.
1682 * posix/Makefile ($(objpfx)globtest.out): Pass
1683 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1684 globtest.sh, not $(run-program-prefix).
1685 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1686 (test_wrapper): Likewise.
1687 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1688 set together with run_via_rtld_prefix.
1689 (run_program_prefix): Define in terms of test_wrapper and
1690 run_via_rtld_prefix.
1692 2012-10-24 Roland McGrath <roland@hack.frob.com>
1694 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1695 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1699 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1700 Declare __clock_getres, __clock_gettime, __clock_settime,
1701 __clock_nanosleep, and __clock_getcpuclockid.
1702 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1703 Remove librt_hidden_def (clock_gettime).
1704 * sysdeps/unix/clock_gettime.c: Likewise.
1705 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1706 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1707 * rt/clock_getres.c: Define __clock_getres as an alias.
1708 * sysdeps/posix/clock_getres.c: Likewise.
1709 * rt/clock_settime.c: Define __clock_settime as an alias.
1710 * sysdeps/unix/clock_settime.c: Likewise.
1711 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1712 * sysdeps/unix/clock_nanosleep.c: Likewise.
1713 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1714 * rt/clock-compat.c: New file.
1715 * rt/Makefile (librt-routines): Add clock-compat and move
1716 $(clock-routines) to ...
1717 (routines): ... here, new variable.
1718 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1719 Don't add get_clockfreq here.
1720 * rt/Versions (libc: GLIBC_2.17): New version set.
1721 Add clock_* symbols here.
1722 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1723 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1724 (GLIBC_2.17): Add clock_* symbols.
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1736 * NEWS: Mention the move.
1738 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1739 Use __open, __read, __close rather than their public counterparts.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1741 (__get_clockfreq_via_cpuinfo): Likewise.
1742 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1743 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1745 * config.h.in (HAVE_IFUNC): New #undef.
1746 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1748 * configure: Regenerated.
1750 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1752 * configure.in: Move READELF check to start of file.
1753 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1754 libc_cv_asm_gnu_indirect_function in the process.
1755 * configure: Regenerated.
1757 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1759 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1760 send the output to /dev/null.
1761 (libc_cv_cc_with_libunwind): Likewise.
1762 (libc_cv_as_noexecstack): Likewise.
1763 * configure: Regenerate.
1765 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1767 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1769 * posix/globtest.sh (TMPDIR): Do not set.
1770 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1771 (testout): Likewise.
1773 2012-10-24 Andreas Jaeger <aj@suse.de>
1775 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1776 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1777 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1778 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1779 posix_fadvise64, posix_fallocate64.
1781 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1782 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1783 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1785 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1787 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1790 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1791 <bits/fcntl-linux.h>.
1792 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1795 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1796 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1797 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1798 [__WORDSIZE != 64]: Likewise.
1800 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1802 * Makeconfig (run-built-tests): New variable.
1803 * Rules [$(cross-compiling) = yes]: Change condition to
1804 [$(run-built-tests) = no].
1805 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1806 to [$(run-built-tests) = yes].
1807 * elf/Makefile [$(cross-compiling) = no]: Likewise
1808 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1809 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1810 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1811 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1812 * io/Makefile [$(cross-compiling) = no]: Likewise.
1813 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1814 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1815 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1816 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1817 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1818 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1819 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1820 * string/Makefile [$(cross-compiling) = no]: Likewise.
1822 * posix/Makefile ($(objpfx)globtest.out): Pass
1823 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1824 $(rtld-installed-name).
1825 * posix/globtest.sh (elf_objpfx): Remove variable.
1826 (rtld_installed_name): Likewise.
1827 (library_path): Likewise.
1828 (run_program_prefix): New variable. Use for running globtest
1831 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1832 Joseph Myers <joseph@codesourcery.com>
1834 * Makeconfig (host-built-program-cmd): New variable.
1835 * elf/Makefile (tst-stackguard1-ARGS): Use
1836 $(host-built-program-cmd).
1837 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1838 (tst-spawn-ARGS): Likewise.
1839 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1841 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1842 Jim Blandy <jimb@codesourcery.com>
1844 * Makeconfig (run-via-rtld-prefix): New variable.
1845 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1846 (built-program-cmd): Likewise.
1848 2012-10-22 Andreas Jaeger <aj@suse.de>
1850 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1851 __O_RSYNC if it exists, otherwise to O_SYNC.
1853 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1854 Joseph Myers <joseph@codesourcery.com>
1856 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1858 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1860 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1863 2012-10-22 Andreas Jaeger <aj@suse.de>
1865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1873 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1880 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1881 Joseph Myers <joseph@codesourcery.com>
1883 * config.make.in (NM): New variable.
1885 2012-10-21 Andreas Jaeger <aj@suse.de>
1887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1888 definitions and declarations that are provided by
1889 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1891 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1894 * elf/Makefile (tests-static): Add tst-leaks1-static.
1895 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1896 ($(objpfx)tst-leaks1-static): New rule.
1897 ($(objpfx)tst-leaks1-static-mem): Likewise.
1898 (tst-leaks1-static-ENV): New macro.
1899 * elf/dl-open.c (dl_open_worker): Check the main application
1900 only if SHARED is defined.
1901 * elf/tst-leaks1-static.c: New file.
1903 2012-10-20 Andreas Jaeger <aj@suse.de>
1905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1906 generic values for Linux.
1907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1908 and declarations that are provided by <bits/fcntl-linux.h> and
1909 include <bits/fcntl-linux.h>.
1910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1913 2012-10-20 Roland McGrath <roland@hack.frob.com>
1915 * io/fcntl.h: Move include of <bits/types.h> to the top and
1916 include it unconditionally.
1918 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1920 * wcsmbs/Makefile (tests-ifunc): New variable.
1921 (tests): Add $(tests-ifunc).
1922 * wcsmbs/test-wcschr-ifunc.c: New file.
1923 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1924 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1925 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1926 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1927 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1929 * string/Makefile (tests-ifunc): New variable.
1930 (tests): Add $(tests-ifunc).
1931 * string/test-memccpy.c (TEST_NAME): New macro.
1932 * string/test-memchr.c (TEST_NAME): Likewise.
1933 * string/test-memcmp.c (TEST_NAME): Likewise.
1934 * string/test-memcpy.c (TEST_NAME): Likewise.
1935 * string/test-memmem.c (TEST_NAME): Likewise.
1936 * string/test-memmove.c (TEST_NAME): Likewise.
1937 * string/test-memset.c (TEST_NAME): Likewise.
1938 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1939 * string/test-stpcpy.c (TEST_NAME): Likewise.
1940 * string/test-stpncpy.c (TEST_NAME): Likewise.
1941 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1942 * string/test-strcasestr.c (TEST_NAME): Likewise.
1943 * string/test-strcat.c (TEST_NAME): Likewise.
1944 * string/test-strchr.c (TEST_NAME): Likewise.
1945 * string/test-strcmp.c(TEST_NAME): Likewise.
1946 * string/test-strcpy.c (TEST_NAME): Likewise.
1947 * string/test-strcspn.c (TEST_NAME): Likewise.
1948 * string/test-strlen.c (TEST_NAME): Likewise.
1949 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1950 * string/test-strncmp.c (TEST_NAME): Likewise.
1951 * string/test-strncpy.c (TEST_NAME): Likewise.
1952 * string/test-strnlen.c (TEST_NAME): Likewise.
1953 * string/test-strpbrk.c (TEST_NAME): Likewise.
1954 * string/test-strrchr.c (TEST_NAME): Likewise.
1955 * string/test-strspn.c (TEST_NAME): Likewise.
1956 * string/test-strstr.c (TEST_NAME): Likewise.
1957 * string/test-bcopy-ifunc.c: New file.
1958 * string/test-bzero-ifunc.c: Likewise.
1959 * string/test-memccpy-ifunc.c: Likewise.
1960 * string/test-memchr-ifunc.c: Likewise.
1961 * string/test-memcmp-ifunc.c: Likewise.
1962 * string/test-memcpy-ifunc.c: Likewise.
1963 * string/test-memmem-ifunc.c: Likewise.
1964 * string/test-memmove-ifunc.c: Likewise.
1965 * string/test-mempcpy-ifunc.c: Likewise.
1966 * string/test-memset-ifunc.c: Likewise.
1967 * string/test-rawmemchr-ifunc.c: Likewise.
1968 * string/test-stpcpy-ifunc.c: Likewise.
1969 * string/test-stpncpy-ifunc.c: Likewise.
1970 * string/test-strcasecmp-ifunc.c: Likewise.
1971 * string/test-strcasestr-ifunc.c: Likewise.
1972 * string/test-strcat-ifunc.c: Likewise.
1973 * string/test-strchr-ifunc.c: Likewise.
1974 * string/test-strchrnul-ifunc.c: Likewise.
1975 * string/test-strcmp-ifunc.c: Likewise.
1976 * string/test-strcpy-ifunc.c: Likewise.
1977 * string/test-strcspn-ifunc.c: Likewise.
1978 * string/test-strlen-ifunc.c: Likewise.
1979 * string/test-strncasecmp-ifunc.c: Likewise.
1980 * string/test-strncat-ifunc.c: Likewise.
1981 * string/test-strncmp-ifunc.c: Likewise.
1982 * string/test-strncpy-ifunc.c: Likewise.
1983 * string/test-strnlen-ifunc.c: Likewise.
1984 * string/test-strpbrk-ifunc.c: Likewise.
1985 * string/test-strrchr-ifunc.c: Likewise.
1986 * string/test-strspn-ifunc.c: Likewise.
1987 * string/test-strstr-ifunc.c: Likewise.
1989 * debug/Makefile (tests-ifunc): New variable.
1990 (tests): Add $(tests-ifunc).
1991 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1992 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1993 * debug/test-stpcpy_chk-ifunc.c: New file.
1994 * debug/test-strcpy_chk-ifunc.c: Likewise.
1996 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2000 header is not read in.
2002 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2004 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2005 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2006 directly. Pass built executable to script as
2007 $(built-program-cmd).
2008 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2009 $testprogram without using LD_LIBRARY_PATH and $ldso.
2011 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2012 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2013 $(rtld-installed-name).
2014 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2015 (rtld_installed_name): Likewise.
2016 (library_path): Likewise.
2017 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2018 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2019 $(run-program-prefix) to tst-tables.sh.
2020 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2021 it to run tst-table-from and tst-table-to.
2022 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2023 Pass it to tst-table.sh.
2024 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2025 $(run-program-prefix) to tst-gettext.sh.
2026 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2028 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2030 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2032 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2033 to run tst-gettext2.
2034 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2035 to run tst-translit.
2036 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2037 $(run-program-prefix) to tst-mtrace.sh.
2038 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2040 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2041 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2042 $(rtld-installed-name).
2043 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2044 (rtld_installed_name): Likewise.
2045 (run_program_prefix): New variable. Use it to run wordexp-test.
2047 * Makeconfig (ARCH): Remove all definitions.
2048 (machine): Likewise.
2049 [ARCH]: Remove conditional code.
2050 [!objdir]: Give error.
2051 [!objdir] (objpfx): Remove.
2052 [!objdir] (common-objpfx): Likewise.
2053 [!objdir] (common-objdir): Likewise.
2054 * configure.in (config_makefile): Remove. Hardcode Makefile in
2055 AC_CONFIG_FILES call.
2056 * configure: Regenerated.
2059 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2061 (testout): Likewise.
2063 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2064 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2065 $(rtld-installed-name).
2066 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2067 (rtld_installed_name): Likwise.
2068 (runit): Remove function.
2069 (run_getconf): New variable, Use it for running getconf binary.
2071 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2074 * string/test-memmem.c (check_result): New function.
2075 (do_one_test): Use it.
2076 (check1): New function.
2077 (test_main): Use it.
2079 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2081 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2083 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2086 (_G_LSEEK64): Likewise.
2087 (_G_MMAP64): Likewise.
2088 (_G_FSTAT64): Likewise.
2089 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2090 (_G_LSEEK64): Likewise.
2091 (_G_MMAP64): Likewise.
2092 (_G_FSTAT64): Likewise.
2093 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2094 unconditional. Call __mmap64 directly.
2095 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2096 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2098 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2099 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2101 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2102 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2104 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2105 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2107 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2108 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2110 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2111 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2112 __fxstat64 directly.
2113 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2114 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2116 (freopen64) [!_G_OPEN64]: Remove conditional code.
2117 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2119 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2120 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2122 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2123 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2125 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2126 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2128 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2129 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2131 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2132 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2134 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2135 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2137 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2139 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2142 * manual/memory.texi (Malloc Tunable Parameters): Add note
2143 about free list pointers overwriting some perturb bytes.
2144 Wording suggested by Roland McGrath.
2146 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2148 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2149 (lgamma_test): Likewise.
2150 (tgamma_test): Likewise.
2152 2012-10-16 Florian Weimer <fweimer@redhat.com>
2155 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2156 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2158 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2160 * NEWS: Mention BZ #14716.
2161 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2162 when removing AVAILABLE1_USES_J macro.
2164 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2166 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2167 (__bswap_64): __uint64_t for unsigned 64-bit int.
2169 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2171 * include/string.h (memmem): Declare libc hidden alias.
2172 * string/memmem.c (memmem): Define libc hidden alias.
2173 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2174 __read, __close instead of open, read, close.
2176 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2179 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2181 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2182 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2183 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2185 (__rawmemchr_sse2): Likewise.
2186 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2187 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2188 (__strchr_sse2): Likewise.
2189 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2190 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2191 (__strcasecmp_sse2): Likewise.
2192 (__strncasecmp_sse2): Likewise.
2193 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2194 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2195 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2196 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2197 (__strrchr_sse2): Likewise.
2198 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2200 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2201 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2202 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2203 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2204 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2205 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2206 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2207 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2208 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2209 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2210 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2211 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2212 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2213 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2214 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2215 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2216 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2217 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2218 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2219 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2220 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2221 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2222 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2223 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2224 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2225 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2226 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2227 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2228 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2229 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2233 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2234 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2235 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2236 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2238 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2240 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2241 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2242 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2243 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2245 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2263 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2279 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2287 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2288 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2289 * include/ifunc-impl-list.h: New file.
2290 * misc/ifunc-impl-list.c: Likewise.
2291 * misc/Makefile (routines): Add ifunc-impl-list.
2292 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2293 * string/test-string.h: Include <ifunc-impl-list.h>.
2294 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2295 impl_array): New variables.
2296 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2298 (test_init): Call __libc_ifunc_impl_list to initialize
2299 func_list if TEST_IFUNC and TEST_NAME are defined.
2301 * string/Makefile (strop-tests): Add bcopy and bzero.
2302 * string/test-bcopy.c: New file.
2303 * string/test-bzero.c: Likewise.
2304 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2306 * string/test-memset.c: Support bzero test if TEST_BZERO is
2308 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2310 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2312 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2315 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2317 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2318 * configure: Regenerated.
2320 * Makeconfig (+link-static-before-libc): Don't include
2321 $(link-static-libc).
2323 * libio/libio.h (_IO_pos_t): Remove.
2325 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2327 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2330 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2332 * crypt/crypt-entry.c: Include fips-private.h.
2333 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2334 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2335 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2336 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2338 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2340 * crypt/crypt-private.h: Include stdbool.h.
2341 (_ufc_setup_salt_r): Return bool.
2342 * crypt/crypt-entry.c: Include errno.h.
2343 (__crypt_r): Return NULL with EINVAL for bad salt.
2344 * crypt/crypt_util.c (bad_for_salt): New.
2345 (_ufc_setup_salt_r): Check that salt is long enough and within
2346 the specified alphabet.
2347 * crypt/badsalttest.c: New file.
2348 * crypt/Makefile (tests): Add it.
2349 ($(objpfx)badsalttest): New.
2351 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2353 * NEWS: Add entry for BZ #14602.
2355 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2357 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2359 * math/libm-test.inc: Update comment listing what functions and
2361 (isgreater_test): New function.
2362 (isgreaterequal_test): Likewise.
2363 (isless_test): Likewise.
2364 (islessequal_test): Likewise.
2365 (islessgreater_test): Likewise.
2366 (isunordered_test): Likewise.
2367 (main): Call the new functions.
2369 2012-10-09 Roland McGrath <roland@hack.frob.com>
2371 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2372 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2373 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2374 * sysdeps/i386/configure: Regenerated.
2375 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2376 * sysdeps/mach/configure: Regenerated.
2377 * sysdeps/mach/hurd/configure: Regenerated.
2378 * sysdeps/powerpc/configure: Regenerated.
2379 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2380 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2381 * sysdeps/s390/s390-32/configure: Regenerated.
2382 * sysdeps/s390/s390-64/configure: Regenerated.
2383 * sysdeps/sh/configure: Regenerated.
2384 * sysdeps/sparc/configure: Regenerated.
2385 * sysdeps/unix/sysv/linux/configure: Regenerated.
2386 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2387 * sysdeps/x86_64/configure: Regenerated.
2389 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2390 defined. Don't check if MAP is NULL.
2392 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2394 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2395 (_G_stat64): Likewise.
2396 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2397 (_G_stat64): Likewise.
2398 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2399 instead of struct _G_stat64.
2400 * libio/fileops.c (mmap_remap_check): Likewise.
2401 (decide_maybe_mmap): Likewise.
2402 (_IO_new_file_seekoff): Likewise.
2403 (_IO_file_stat): Likewise.
2404 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2406 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2407 instead of struct _G_stat64.
2408 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2410 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2413 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2415 (CHECK_EOL): New macro.
2416 (two_way_short_needle): Check beginning of haystack for EOL. Use
2418 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2419 Replace with CHECK_EOL.
2420 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2421 Replace with CHECK_EOL.
2423 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2425 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2427 * math/libm-test.inc: Update comment listing what functions and
2429 (finite_test): New function.
2430 (isinf_test): Likewise.
2431 (isnan_test): Likewise.
2432 (fpclassify_test): Test subnormal input.
2433 (isfinite_test): Likewise.
2434 (isnormal_test): Likewise.
2435 (main): Call the new functions.
2437 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2440 * Makerules (%.dynsym): Force C locale when running
2441 $(OBJDUMP) --dynamic-syms.
2443 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2445 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2448 2012-10-06 David S. Miller <davem@davemloft.net>
2450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2451 upper 32-bits of the length value in %o2 since we use branch-on-register
2452 tests which consider the entire 64-bit register.
2454 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2456 * string/test-strstr.c (check2): Add a test for page boundary.
2458 2012-10-05 David S. Miller <davem@davemloft.net>
2460 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2461 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2463 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2465 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2466 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2467 and bzero when HWCAP_SPARC_CRYPTO is present.
2469 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2472 * string/test-strstr.c (check2): New function.
2473 (test_main): Call check2.
2475 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2477 * string/bug-strcasestr1.c (do_test): Moved to ...
2478 * string/test-strcasestr.c (check1): Here. New function.
2479 (do_one_test): Break out result checking code into ...
2480 (check_result): This. New function.
2481 (do_one_test): Call check_result.
2482 (test_main): Call check1.
2483 * string/bug-strchr1.c (do_test): Moved to ...
2484 * string/test-strchr.c (check1): Here. New function.
2485 (do_one_test): Break out result checking code into ...
2486 (check_result): This. New function.
2487 (do_one_test): Call check_result.
2488 (test_main): Call check1.
2489 * string/bug-strstr1.c (main): Moved to ...
2490 * string/test-strchr.c (check1): Here. New function.
2491 (do_one_test): Break out result checking code into ...
2492 (check_result): This. New function.
2493 (do_one_test): Call check_result.
2494 (test_main): Call check1.
2495 * string/bug-strcasestr1.c: Removed.
2496 * string/bug-strchr1.c: Likewise.
2497 * string/bug-strstr1.c: Likewise.
2499 * elf/Makefile (dl-routines): Add hwcaps.
2500 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2501 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2502 (_dl_important_hwcaps): Moved to ...
2503 * elf/dl-hwcaps.c: Here. New file.
2504 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2507 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2508 if IS_IN_rtld isn't defined.
2510 * elf/dl-support.c (_dl_sysinfo_map): New.
2511 Include "get-dynamic-info.h" and "setup-vdso.h".
2512 (_dl_non_dynamic_init): Call setup_vdso.
2513 * elf/dynamic-link.h: Don't include <assert.h>.
2514 (elf_get_dynamic_info): Moved to ...
2515 * elf/get-dynamic-info.h: Here. New file.
2516 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2517 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2518 * elf/setup-vdso.h: Here. New file.
2519 * elf/rtld.c: Include "setup-vdso.h".
2520 (dl_main): Call setup_vdso.
2522 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2524 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2525 creal in comment listing functions tested. List finite, isinf,
2526 isnan, isless, islessequal, isgreater, isgreaterequal,
2527 islessgreater, isunordered, lgamma_r and pow10 as functions and
2528 macros not tested. Mention which functions not tested are aliases
2529 for other functions. Fix typo. Note that signs of NaNs are not
2532 * scripts/config.guess: Update from config.git.
2533 * scripts/config.sub: Likewise.
2535 2012-10-04 Roland McGrath <roland@hack.frob.com>
2537 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2538 * misc/madvise.c (madvise): Renamed to __madvise.
2539 Make madvise a weak alias.
2540 * include/sys/mman.h: Declare __madvise.
2541 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2542 * sysdeps/unix/syscalls.list
2543 (madvise): Make __madvise the strong name, and madvise a weak alias.
2544 * sysdeps/unix/sysv/linux/syscalls.list
2545 (madvise, mmap): Remove redundant entries.
2546 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2547 * malloc/malloc.c (mtrim): Likewise.
2548 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2550 2012-10-03 Roland McGrath <roland@hack.frob.com>
2552 * sysdeps/mach/hurd/dl-cache.c: File removed.
2553 * config.h.in (USE_LDCONFIG): New #undef.
2554 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2555 * configure: Regenerated.
2556 * elf/Makefile (dl-routines): Add dl-cache only under
2557 [$(use-ldconfig) = yes].
2558 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2559 cache on [USE_LDCONFIG].
2560 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2562 * elf/rtld.c (dl_main): Likewise.
2564 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2566 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2567 _SC_LEVEL4_CACHE_LINESIZE.
2569 2012-10-03 Roland McGrath <roland@hack.frob.com>
2571 * sysdeps/unix/bsd/confstr.h: File removed.
2573 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2575 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2578 2012-10-02 Roland McGrath <roland@hack.frob.com>
2580 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2581 Make 'mapoff' field ElfW(Off) rather than off_t.
2583 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2585 * nscd/Makefile: Remove nscd-cflags and all its users.
2586 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2587 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2590 * malloc.c (malloc_printerr): Clarify error message.
2592 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2596 Set bit_FMA_Usable if FMA is supported.
2597 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2599 (bit_FMA4_Usable): Updated.
2600 (index_FMA_Usable): New macro.
2601 (CPUID_FMA): Likewise
2602 (HAS_FMA): Defined with bit_FMA_Usable.
2604 2012-10-01 Roland McGrath <roland@hack.frob.com>
2606 * bits/types.h (__swblk_t): Type removed.
2607 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2608 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2610 (__SWBLK_T_TYPE): Likewise.
2611 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2612 (__SWBLK_T_TYPE): Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2614 (__SWBLK_T_TYPE): Likewise.
2615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2616 (__SWBLK_T_TYPE): Likewise.
2618 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2619 Honza Horak <hhorak@redhat.com>
2621 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2622 (xdr_mapname): Use YPMAXMAP as maxsize.
2623 (xdr_peername): Use YPMAXPEER as maxsize.
2624 (xdr_keydat): Use YPAXRECORD as maxsize.
2625 (xdr_valdat): Use YPMAXRECORD as maxsize.
2627 2012-10-01 Roland McGrath <roland@hack.frob.com>
2629 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2631 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2632 * csu/init-first.c: ... here.
2633 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2634 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2635 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2637 * sysdeps/i386/init-first.c: File removed.
2638 * sysdeps/sh/init-first.c: File removed.
2640 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2644 if x * y might underflow to zero and z is zero.
2645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2647 * math/libm-test.inc (min_subnorm_value): New variable.
2648 (fma_test): Add more tests.
2649 (fma_test_towardzero): Likewise.
2650 (fma_test_downward): Likewise
2651 (fma_test_upward): Likewise.
2652 (initialize): Set min_subnorm_value.
2654 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2659 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2660 mode for addition resulting in exact zero.
2661 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2664 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2665 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2666 * math/libm-test.inc (fma_test): Add more tests.
2667 (fma_test_towardzero): New function.
2668 (fma_test_downward): Likewise.
2669 (fma_test_upward): Likewise.
2670 (main): Call the new functions.
2672 2012-09-28 David S. Miller <davem@davemloft.net>
2674 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2676 2012-09-28 Roland McGrath <roland@hack.frob.com>
2678 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2681 * sysdeps/gnu/_G_config.h: Moved to ...
2682 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2683 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2684 * sysdeps/generic/_G_config.h: ... here.
2686 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2688 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2690 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2691 Conditionalize target on [libnss_test1.so-version].
2693 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2695 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2696 (elfobjdir): Move out of conditionals.
2698 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2699 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2700 (__nss_lookup_function): Conditionalize label remove_from_tree on
2701 [!DO_STATIC_NSS || SHARED], matching its only use.
2703 2012-09-28 David S. Miller <davem@davemloft.net>
2705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2706 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2708 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2710 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2712 when HWCAP_SPARC_CRYPTO is present.
2714 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2716 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2718 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2721 * stdio-common/vfprintf.c (process_string_arg): Revert
2724 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2726 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2728 * stdio-common/tst-sprintf.c: Include <locale.h>
2729 (main): Test sprintf's handling of incomplete multibyte
2732 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2734 * elf/dl-runtime.c (VERSYMIDX): Removed.
2735 * elf/dl-version.c (VERSYMIDX): Likewise.
2736 * elf/do-rel.h (VERSYMIDX): Likewise.
2738 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2739 * elf/rtld.c (VALIDX): Likewise.
2740 (ADDRIDX): Likewise.
2741 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2742 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2743 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2744 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2746 (ADDRIDX): Likewise.
2748 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2750 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2752 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2755 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2757 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2758 addresses are in the same scope as 192.0.2/24.
2759 * posix/gai.conf: Document new scope table defaults.
2761 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2764 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2765 for ftell. Compute offsets from write pointers instead.
2766 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2768 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2771 * libio/Makefile (tests): New test case tst-fseek.
2772 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2773 combination works in wide mode.
2774 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2775 state when the external buffer state changes.
2777 2012-09-27 David S. Miller <davem@davemloft.net>
2780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2781 pass reloc->r_addend in as the 'high' argument to
2782 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2786 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2788 * rt/tst-aio2.c: Include <pthread.h>.
2789 * rt/tst-aio3.c: Likewise.
2791 2012-09-27 Steve Ellcey <sellcey@mips.com>
2793 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2795 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2797 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2798 contents on [SHARED].
2800 2012-09-26 Marek Polacek <polacek@redhat.com>
2804 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2805 for C++ and GCC <4.3 as well as for non GCC compilers.
2807 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2811 2012-09-25 Roland McGrath <roland@hack.frob.com>
2813 * Makefile.in (all, install): Declare with .PHONY.
2814 Reported by Michael Hope <michael.hope@linaro.org>.
2816 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2818 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2819 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2821 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2823 (sydep_routines): Add the new and the internal functions.
2824 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2825 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2827 (GLIBC_2.17): Add the new function.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2829 (GLIBC_2.17): Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2831 (GLIBC_2.17): Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2833 (GLIBC_2.17): Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2836 2012-09-25 Alan Modra <amodra@gmail.com>
2838 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2839 Add release barrier before setting once_control to say
2840 initialisation is done. Add hints on lwarx. Use macro in
2842 (clear_once_control): Add release barrier.
2844 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2847 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2849 * math/s_clog10.c (__clog10): Likewise.
2850 * math/s_clog10f.c (__clog10f): Likewise.
2851 * math/s_clog10l.c (__clog10l): Likewise.
2852 * math/s_clogf.c (__clogf): Likewise.
2853 * math/s_clogl.c (__clogl): Likewise.
2854 * math/Makefile (libm-calls): Add x2y2m1.
2855 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2856 (__x2y2m1): Likewise.
2857 (__x2y2m1l): Likewise.
2858 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2859 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2862 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2863 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2864 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2865 * sysdeps/i386/fpu/libm-test-ulps: Update.
2866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2869 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2870 int as type of variable DEPTH.
2871 (glob): Use size_t instead of int as type of variables NEWCOUNT
2874 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2876 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2878 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2879 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2880 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2881 macros for using routine as __sincosf_ia32.
2882 Use macro for function declaration and weak_alias.
2883 * sysdeps/i386/fpu/libm-test-ulps: Update.
2885 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2888 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2890 * math/s_cexpf.c (__cexpf): Likewise.
2891 * math/s_csinf.c (__csinf): Likewise.
2892 * math/s_csinhf.c (__csinhf): Likewise.
2893 * math/s_ctanf.c (__ctanf): Likewise.
2894 * math/s_ctanhf.c (__ctanhf): Likewise.
2895 * math/s_ccosh.c (__ccoshf): Likewise.
2896 * math/s_cexp.c (__cexpl): Likewise.
2897 * math/s_csin.c (__csin): Likewise.
2898 * math/s_csinh.c (__csinh): Likewise.
2899 * math/s_ctan.c (__ctan): Likewise.
2900 * math/s_ctanh.c (ctanh): Likewise.
2901 * math/s_ccoshl.c (__ccoshl): Likewise.
2902 * math/s_cexpl.c (__cexpl): Likewise.
2903 * math/s_csinl.c (__csinl): Likewise.
2904 * math/s_csinhl.c (__csinhl): Likewise.
2905 * math/s_ctanl.c (__ctanl): Likewise.
2906 * math/s_ctanhl.c (__ctanhl): Likewise.
2908 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2910 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2911 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2912 (_IO_off_t): Define to __off_t, not _G_off_t.
2913 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2914 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2915 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2916 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2917 type of __dummy and __dummy2 fields.
2918 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2919 (_G_ssize_t): Likewise.
2920 (_G_off_t): Likewise.
2921 (_G_pid_t): Likewise.
2922 (_G_uid_t): Likewise.
2923 (_G_wchar_t): Likewise.
2924 (_G_wint_t): Likewise.
2925 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2926 (_G_ssize_t): Likewise.
2927 (_G_off_t): Likewise.
2928 (_G_pid_t): Likewise.
2929 (_G_uid_t): Likewise.
2930 (_G_wchar_t): Likewise.
2931 (_G_wint_t): Likewise.
2932 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2933 (_G_ssize_t): Likewise.
2934 (_G_off_t): Likewise.
2935 (_G_pid_t): Likewise.
2936 (_G_uid_t): Likewise.
2937 (_G_wchar_t): Likewise.
2938 (_G_wint_t): Likewise.
2940 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2942 * malloc/arena.c: Include malloc-sysdep.h.
2943 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2944 is sufficient to shrink the heap or an unmap is needed.
2945 * sysdeps/generic/malloc-sysdep.h: New file. Define
2946 new function check_may_shrink_heap.
2947 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2948 new function check_may_shrink_heap.
2950 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2955 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2957 * catgets/test-gencat.sh: Add "set -e".
2958 * elf/tst-pathopt.sh: Likewise.
2959 * grp/tst_fgetgrent.sh: Likewise.
2960 * iconvdata/run-iconv-test.sh: Likewise.
2961 * intl/tst-gettext.sh: Likewise.
2962 * intl/tst-gettext2.sh: Likewise.
2963 * intl/tst-gettext4.sh: Likewise.
2964 * intl/tst-gettext6.sh: Likewise.
2965 * intl/tst-translit.sh: Likewise.
2966 * io/ftwtest-sh: Likewise.
2967 * libio/test-freopen.sh: Likewise.
2968 * malloc/tst-mtrace.sh: Likewise.
2969 * posix/globtest.sh: Likewise.
2970 * posix/tst-getconf.sh: Likewise.
2971 * posix/wordexp-tst.sh: Likewise.
2972 * stdio-common/tst-printf.sh: Likewise.
2973 * stdio-common/tst-unbputc.sh: Likewise.
2974 * stdlib/tst-fmtmsg.sh: Likewise.
2975 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2976 * catgets/Makefile: Do not specify -e option when running
2977 testsuite shell scripts.
2978 * elf/Makefile: Likewise.
2979 * grp/Makefile: Likewise.
2980 * iconvdata/Makefile: Likewise.
2981 * intl/Makefile: Likewise.
2982 * io/Makefile: Likewise.
2983 * libio/Makefile: Likewise.
2984 * malloc/Makefile: Likewise.
2985 * posix/Makefile: Likewise.
2986 * stdio-common/Makefile: Likewise.
2987 * stdlib/Makefile: Likewise.
2988 * sysdeps/x86_64/Makefile: Likewise.
2990 * io/ftwtest-sh: Add copyright header.
2991 * posix/globtest.sh: Likewise.
2992 * posix/tst-getconf.sh: Likewise.
2993 * posix/wordexp-tst.sh: Likewise.
2994 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2996 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2999 * Makeconfig (+link): Defined as $(+link-static) if
3000 $(build-shared) isn't yes.
3001 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3003 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3005 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3008 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3009 new chunk size with MALLOC_ALIGN_MASK.
3011 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3014 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3016 (__printf_fphex): Determine rounding using get_rounding_mode and
3018 * stdio-common/tst-printf-round.c (struct hex_test): New
3020 (hex_tests): New variable.
3021 (test_hex_in_one_mode): New function.
3022 (do_test): Also run tests for hex float output.
3024 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3026 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3027 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3028 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3029 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3030 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3031 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3032 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3033 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3035 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3037 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3038 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3039 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3040 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3042 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3045 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3047 * elf/tst-rtld-load-self.sh: New test.
3048 * elf/Makefile: Run it.
3050 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3053 (tst-writev-ENV): Remove.
3054 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3056 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3058 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3060 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3062 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3064 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3066 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3067 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3071 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3074 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3075 * config.make.in (have-cpp-asm-debuginfo): Removed.
3076 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3077 * configure: Regenerated.
3079 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3082 * stdio-common/printf_fp.c: Include <stdbool.h> and
3084 (___printf_fp): Determine rounding using get_rounding_mode and
3086 * stdio-common/tst-printf-round.c: New file.
3087 * stdio-common/Makefile (tests): Add tst-printf-round.
3088 (link-libm): New variable.
3089 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3091 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3094 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3095 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3097 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3100 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3102 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3103 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3104 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3105 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3107 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3110 * include/rounding-mode.h: New file.
3111 * sysdeps/generic/get-rounding-mode.h: Likewise.
3112 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3113 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3114 (MAX_VALUE): New macro.
3115 (MIN_VALUE): Likewise.
3116 (overflow_value): New function.
3117 (underflow_value): Likewise.
3118 (round_and_return): Use overflow_value and underflow_value to
3119 determine return values in overflow and underflow cases. Use
3120 round_away to determine rounding depending on rounding mode.
3121 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3122 determine return values in overflow and underflow cases.
3123 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3124 (struct test_results): New structure.
3125 (struct test): Use struct test_results to store expected results
3126 for all rounding modes.
3127 (TEST): Include expected results for all rounding modes.
3128 (test_in_one_mode): New function.
3129 (do_test): Use test_in_one_mode to compute and check results.
3130 Check results for all rounding modes.
3131 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3134 2012-12-09 Allan McRae <allan@archlinux.org>
3136 * sysdeps/i386/fpu/libm-test-ulps: Update
3138 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3141 (_G_int32_t): Likewise.
3142 (_G_uint16_t): Likewise.
3143 (_G_uint32_t): Likewise.
3144 (_G_HAVE_BOOL): Likewise.
3145 (_G_HAVE_ATEXIT): Likewise.
3146 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3147 (_G_HAVE_IO_FILE_OPEN): Likewise.
3148 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3149 (_G_int32_t): Likewise.
3150 (_G_uint16_t): Likewise.
3151 (_G_uint32_t): Likewise.
3152 (_G_HAVE_BOOL): Likewise.
3153 (_G_HAVE_ATEXIT): Likewise.
3154 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3155 (_G_HAVE_IO_FILE_OPEN): Likewise.
3156 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3157 (_G_int32_t): Likewise.
3158 (_G_uint16_t): Likewise.
3159 (_G_uint32_t): Likewise.
3160 (_G_HAVE_BOOL): Likewise.
3161 (_G_HAVE_ATEXIT): Likewise.
3162 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3163 (_G_HAVE_IO_FILE_OPEN): Likewise.
3165 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3167 * csu/libc-tls.c: Update copyright years.
3169 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3171 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3172 [!_G_USING_THUNKS]: Remove conditional code.
3173 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3174 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3176 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3177 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3178 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3179 (_G_VTABLE_LABEL_PREFIX): Likewise.
3180 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3181 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3182 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3183 (_G_VTABLE_LABEL_PREFIX): Likewise.
3184 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3185 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3186 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3187 (_G_VTABLE_LABEL_PREFIX): Likewise.
3188 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3190 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3192 * libio/Makefile: Include ../Makeconfig before tests.
3193 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3194 only if $(build-shared) is yes.
3196 * iconv/gconv_db.c: Update copyright years.
3198 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3200 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3201 unwind info if defined PIC. Fix special cases description.
3202 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3204 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3206 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3208 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3210 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3212 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3215 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3216 (LDLIBS-tst-chk4): This.
3217 (LDFLAGS-tst-chk5): Renamed to ...
3218 (LDLIBS-tst-chk5): This.
3219 (LDFLAGS-tst-chk6): Renamed to ...
3220 (LDLIBS-tst-chk6): This.
3221 (LDFLAGS-tst-lfschk4): Renamed to ...
3222 (LDLIBS-tst-lfschk4): This.
3223 (LDFLAGS-tst-lfschk5): Renamed to ...
3224 (LDLIBS-tst-lfschk5): This.
3225 (LDFLAGS-tst-lfschk6): Renamed to ...
3226 (LDLIBS-tst-lfschk6): This.
3228 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3229 on $(common-objpfx)soversions.mk.
3231 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3234 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3237 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3239 * malloc/arena.c (arena_get_retry): New function that gets
3240 another arena for the caller to try its request on.
3241 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3242 current arena cannot fulfill the request.
3243 (__libc_memalign): Likewise.
3244 (__libc_memalign): Likewise.
3245 (__libc_pvalloc): Likewise.
3246 (__libc_calloc): Likewise.
3248 2012-09-05 John Tobey <john.tobey@gmail.com>
3251 * manual/arith.texi (Operations on Complex): Fix description
3254 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3257 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3261 * manual/memory.texi (Memory): Make order of menu items match
3264 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3266 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3267 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3268 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3270 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3272 * csu/libc-tls.c (static_dtv): Renamed to ...
3273 (_dl_static_dtv): This. Make it global.
3274 (_dl_initial_dtv): Removed.
3275 (__libc_setup_tls): Updated.
3276 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3277 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3280 2012-09-06 Petr Machata <pmachata@redhat.com>
3282 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3283 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3284 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3285 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3287 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3290 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3291 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3294 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3297 * Makeconfig (link-static-before-libc): Replace $(+prector)
3299 (link-static-after-libc): Replace $(+postctor) with
3301 (link-bounded): Replace $(+prector)/$(+postctor) with
3302 $(+prectorT)/$(+postctorT).
3303 (+prectorT): New macro.
3304 (+postctorT): Likewise.
3306 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3308 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3309 (round_str): Handle values above the maximum for IBM long double
3311 * stdlib/tst-strtod-round.c (tests): Regenerated.
3313 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3315 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3317 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3318 zarch_nohighgprs around the zarch optimized routines.
3319 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3320 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3324 2012-09-05 David S. Miller <davem@davemloft.net>
3326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3328 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3329 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3330 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3331 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3334 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3336 * malloc/arena.c: Fold copyright years.
3337 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3341 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3343 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3345 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3347 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3349 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3350 change internal state upon failure.
3352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3354 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3355 * malloc/memusage.c (mmap): Likewise.
3356 (mmap64, mremap): Likewise. Adjust name in comment.
3358 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3360 * libio/fileops.c: Fix typos in comments.
3361 * libio/oldfileops.c: Likewise.
3362 * libio/wfileops.c: Likewise.
3364 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3368 (tst-malloc-usable-ENV): Set environment for test case.
3369 * malloc/hooks.c (malloc_check_get_size): New function to get
3371 * malloc/malloc.c (musable): Use malloc_check_get_size.
3372 * malloc/tst-malloc-usable.c: New test case.
3374 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3376 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3378 2012-09-05 Allan McRae <allan@archlinux.org>
3381 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3382 determine header location.
3383 * configure: Regenerated.
3385 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3387 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3389 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3390 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3394 2012-09-04 David S. Miller <davem@davemloft.net>
3396 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3397 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3398 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3400 2012-09-04 Florian Weimer <fweimer@redhat.com>
3402 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3405 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3407 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3410 * libio/iogetdelim.c: Include <limits.h>.
3411 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3412 + len + 1 would overflow.
3414 2012-09-03 Andreas Jaeger <aj@suse.de>
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3417 * sysdeps/i386/fpu/libm-test-ulps: Update.
3419 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3421 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3422 Add s_sinf-sse2, s_conf-sse2.
3424 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3425 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3426 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3427 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3429 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3430 for using routine as __sinf_ia32.
3431 Use macro for function declaration and weak_alias.
3432 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3433 for using routine as __cosf_ia32.
3434 Use macro for function declaration and weak_alias.
3436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3437 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3439 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3440 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3443 * math/libm-test.inc (cos_test): Add more test cases.
3444 (sin_test): Likewise.
3445 (sincos_test): Likewise.
3447 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3449 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3450 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3452 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3454 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3457 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3458 first element of the GOT.
3459 (elf_machine_load_address): Return the difference between
3460 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3462 2012-09-01 Allan McRae <allan@archlinux.org>
3465 * configure.in (AWK): Require gawk version 3.0 or later.
3466 * configure: Regenerated.
3468 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3470 * sysdeps/unix/sysv/linux/kernel-features.h
3471 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3473 [__NR_clock_getres]: Make code unconditional.
3474 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3475 (clock_getcpuclockid): Remove code left unreachable by removal of
3477 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3479 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3480 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3481 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3482 Make code unconditional.
3483 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3484 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3485 * sysdeps/unix/sysv/linux/clock_settime.c
3486 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3488 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3491 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3494 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3495 scripts/test-installation.pl.
3497 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3498 and $ld_so_version if it is set.
3500 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3503 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3504 failure if reading from procfs failed.
3505 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3507 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3509 * sysdeps/unix/sysv/linux/kernel-features.h
3510 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3511 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3512 Remove conditional code.
3513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3514 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3515 Remove conditional code.
3516 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3517 * sysdeps/unix/sysv/linux/i386/fxstat.c
3518 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3520 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3521 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3523 * sysdeps/unix/sysv/linux/i386/lxstat.c
3524 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3526 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3527 Remove conditional code.
3528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3529 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3530 Remove conditional code.
3531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3532 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3533 <kernel-features.h>.
3534 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3536 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3537 Remove conditional code.
3538 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3539 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3542 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3545 * NEWS: Add fixed bug number.
3547 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3550 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3551 underflowing exponent in case of negative sign.
3552 * stdlib/tst-strtod-round-data: Add more tests.
3553 * stdlib/tst-strtod-round.c (tests): Regenerated.
3556 * stdlib/strtod_l.c (NDIG): Remove.
3557 (HEXNDIG): Likewise.
3558 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3559 smallest representable value.
3560 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3561 lie within an exact representation of 1/2 ulp of the result.
3562 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3564 (TENS_P9_IDX): Define unconditionally.
3565 (TENS_P9_SIZE): Likewise.
3566 (TENS_P10_IDX): Likewise.
3567 (TENS_P10_SIZE): Likewise.
3568 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3569 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3570 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3571 entries for 10^2^13 and 10^2^14.
3572 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3573 (TENS_P13_IDX): Define.
3574 (TENS_P13_SIZE): Likewise.
3575 (TENS_P14_IDX): Likewise.
3576 (TENS_P14_SIZE): Likewise.
3577 (_fpioconst_pow10): Change array size to
3578 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3580 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3581 1024]: Add entries for 10^2^13 and 10^2^14.
3582 [LAST_POW10 > _LAST_POW10]: Remove #error.
3583 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3584 (_fpioconst_pow10): Change array size to
3585 FPIOCONST_POW10_ARRAY_SIZE.
3586 * stdlib/gen-fpioconst.c: New file.
3587 * stdlib/gen-tst-strtod-round.c: Likewise.
3588 * stdlib/tst-strtod-round-data: Likewise.
3589 * stdlib/tst-strtod-round.c: Likewise.
3590 * stdlib/Makefile (tests): Add tst-strtod-round.
3593 * stdlib/strtod_l.c: Include <stdint.h>.
3594 (NDEBUG): Do not define.
3595 (round_and_return): Change EXPONENT parameter to type intmax_t.
3596 Rearrange calculations to avoid internal overflow possibilities.
3597 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3598 Rearrange calculations to avoid internal overflow possibilities.
3599 Assert that number fits inside MPNSIZE limbs.
3600 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3601 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3602 calculations and add assertions to avoid internal overflow
3603 possibilities. Add casts to avoid signed/unsigned operations.
3604 * stdlib/tst-strtod-overflow.c: New file.
3605 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3607 2012-08-25 Marek Polacek <polacek@redhat.com>
3609 * time/time.h: Fix some typos in comments.
3611 2012-08-23 Roland McGrath <roland@hack.frob.com>
3613 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3614 * posix/tst-rfc3484-2.c: Likewise.
3615 * posix/tst-rfc3484-3.c: Likewise.
3617 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3619 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3620 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3622 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3625 #include of fxstatat64.c.
3627 2012-08-22 Roland McGrath <roland@hack.frob.com>
3629 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3630 * shadow/getspent_r.c: Likewise.
3631 * shadow/getspnam.c: Likewise.
3632 * shadow/getspnam_r.c: Likewise.
3633 * gshadow/getsgent.c: Likewise.
3634 * gshadow/getsgent_r.c: Likewise.
3635 * gshadow/getsgnam.c: Likewise.
3636 * gshadow/getsgnam_r.c: Likewise.
3637 * inet/getnetbyad.c: Likewise.
3638 * inet/getnetbyad_r.c: Likewise.
3639 * inet/getnetbynm.c: Likewise.
3640 * inet/getnetbynm_r.c: Likewise.
3641 * inet/getnetent.c: Likewise.
3642 * inet/getnetent_r.c: Likewise.
3643 * inet/getproto.c: Likewise.
3644 * inet/getproto_r.c: Likewise.
3645 * inet/getprtent.c: Likewise.
3646 * inet/getprtent_r.c: Likewise.
3647 * inet/getprtname.c: Likewise.
3648 * inet/getprtname_r.c: Likewise.
3649 * inet/getrpcbyname.c: Likewise.
3650 * inet/getrpcbyname_r.c: Likewise.
3651 * inet/getrpcbynumber.c: Likewise.
3652 * inet/getrpcbynumber_r.c: Likewise.
3653 * inet/getrpcent.c: Likewise.
3654 * inet/getrpcent_r.c: Likewise.
3655 * inet/getaliasent.c: Likewise.
3656 * inet/getaliasent_r.c: Likewise.
3657 * inet/getaliasname.c: Likewise.
3658 * inet/getaliasname_r.c: Likewise.
3659 * nscd/getgrgid_r.c: Likewise.
3660 * nscd/getgrnam_r.c: Likewise.
3661 * nscd/gethstbyad_r.c: Likewise.
3662 * nscd/gethstbynm3_r.c: Likewise.
3663 * nscd/getpwnam_r.c: Likewise.
3664 * nscd/getpwuid_r.c: Likewise.
3665 * nscd/getsrvbynm_r.c: Likewise.
3666 * nscd/getsrvbypt_r.c: Likewise.
3667 * nscd/gai.c: Likewise.
3669 * configure.in (build_nscd): New substituted variable, set
3670 by --disable-build-nscd and defaults to $use_nscd.
3671 * configure: Regenerated.
3672 * config.make.in (build-nscd): New substituted variable.
3673 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3674 Change conditional to require [$(build-nscd) = yes] as well.
3675 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3678 * configure.in (use_nscd): New substituted variable, set by
3679 --disable-nscd. If enabled, define USE_NSCD.
3680 * configure: Regenerated.
3681 * config.h.in: Add USE_NSCD.
3682 * config.make.in (use-nscd): New substituted variable.
3683 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3684 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3685 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3686 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3687 (CFLAGS-getgrnam_r.c): Likewise.
3688 (CFLAGS-initgroups.c): Likewise.
3689 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3690 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3692 * inet/getnetgrent_r.c
3693 (nscd_setnetgrent): New function, broken out of ...
3694 (setnetgrent): ... here. Call it.
3695 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3696 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3697 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3698 * nscd/Makefile (routines, aux): Move definitions after include of
3699 Makeconfig. Conditionalize on [$(use-nscd) != no].
3700 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3701 Conditionalize on [USE_NSCD].
3702 (is_nscd, nscd_init_cb): Likewise.
3703 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3704 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3705 * nss/nss_db/db-init.c: Likewise.
3706 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3708 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3709 (make_request): Use it.
3710 (cache_valid_p): New function.
3711 (__check_pf): Use it.
3712 * NEWS: Add item for --disable-nscd.
3714 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3716 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3717 to support sed >= 4.2.1-20-ga9bf076.
3718 * configure: Regenerated.
3720 2012-08-22 Roland McGrath <roland@hack.frob.com>
3722 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3723 Conditionalize whole body on [IREL].
3725 2012-08-22 Jeff Law <law@redhat.com>
3728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3729 if the family is PF_UNSPEC.
3731 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3733 * Makerules (lib-version): Rename from V.
3734 (install-lib-nosubdir): Change V to lib-version.
3736 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3739 * powerpc32/power6/wcschr.c: New file.
3740 * powerpc32/power6/wcscpy.c: New file.
3741 * powerpc32/power6/wcsrchr.c: New file.
3742 * powerpc64/power6/wcschr.c: New file.
3743 * powerpc64/power6/wcscpy.c: New file.
3744 * powerpc64/power6/wcsrchr.c: New file.
3746 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3748 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3749 (two_way_short_needle): Use it.
3750 * string/strstr.c (AVAILABLE1_USES_J): Define.
3751 * string/strcasestr.c: Likewise.
3753 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3755 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3758 * NEWS: Add an entry.
3759 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3760 define their defaults.
3761 (two_way_short_needle): Detect end-of-string on-the-fly.
3762 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3763 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3764 * string/bug-strcasestr1.c: New test.
3765 * string/Makefile: Run it.
3767 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3770 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3771 the first character.
3773 2012-08-21 Roland McGrath <roland@hack.frob.com>
3775 * csu/elf-init.c (__libc_csu_irel): Function removed.
3776 * csu/libc-start.c (apply_irel): New function.
3777 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3779 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3781 * sysdeps/unix/sysv/linux/kernel-features.h
3782 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3783 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3784 <kernel-features.h>.
3785 [__NR_fadvise64_64]: Make code unconditional.
3786 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3787 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3788 !__NR_fadvise64_64)]: Likewise.
3789 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3790 !__NR_fadvise64_64))]: Likewise.
3791 [__NR_fadvise64]: Make code unconditional.
3792 [!__NR_fadvise64]: Remove conditional code.
3793 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3794 <kernel-features.h>.
3795 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3797 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3800 not include <kernel-features.h>.
3801 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3803 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3805 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3806 include <kernel-features.h>.
3807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3812 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3815 slight instruction rearrangements per scrollpipe analysis.
3816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3818 2012-08-20 Roland McGrath <roland@hack.frob.com>
3820 * manual/syslog.texi (syslog; vsyslog, closelog):
3821 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3822 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3824 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3825 DSOCAPS to match condition on defining it.
3827 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3829 * sysdeps/unix/sysv/linux/kernel-features.h
3830 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3832 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3833 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3835 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3836 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3838 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3839 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3841 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3842 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3844 * sysdeps/unix/sysv/linux/kernel-features.h
3845 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3846 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3848 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3849 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3850 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3851 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3852 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3853 Make code unconditional.
3854 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3855 (__mmap64) [!__NR_mmap2]: Likewise.
3856 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3857 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3858 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3859 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3860 [__NR_mmap2]: Make code unconditional.
3861 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3862 (__mmap64) [!__NR_mmap2]: Likewise.
3864 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3866 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3868 2012-08-18 Andreas Jaeger <aj@suse.de>
3870 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3872 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3874 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3875 * include/unistd.h (__have_sock_cloexec): Likewise.
3876 (__have_pipe2): Likewise.
3877 (__have_dup3): Likewise.
3879 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3882 * include/unistd.h (__have_pipe2): Change define into an extern int.
3883 (__have_dup3): Likewise.
3884 * socket/have_sock_cloexec.c: Include fcntl.h.
3885 (__have_pipe2): New variable.
3886 (__have_dup3): Likewise.
3888 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3890 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3892 2012-08-17 Marek Polacek <polacek@redhat.com>
3894 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3895 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3897 2012-08-17 Roland McGrath <roland@hack.frob.com>
3899 * configure.in: Add AC_SUBST for sysheaders.
3900 * configure: Regenerated.
3901 * config.make.in (sysheaders): New substituted variable.
3903 * sysdeps/unix/mkfifo.c: Moved ...
3904 * sysdeps/posix/mkfifo.c: ... here.
3905 * sysdeps/unix/mkfifoat.c: Moved ...
3906 * sysdeps/posix/mkfifoat.c: ... here.
3908 * sysdeps/unix/utime.c: Moved ...
3909 * sysdeps/posix/utime.c: ... here.
3911 * sysdeps/unix/time.c: Moved ...
3912 * sysdeps/posix/time.c: ... here.
3913 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3914 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3916 * sysdeps/unix/nice.c: Moved ...
3917 * sysdeps/posix/nice.c: ... here.
3919 * sysdeps/unix/alarm.c: Moved ...
3920 * sysdeps/posix/alarm.c: ... here.
3922 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3924 2012-08-17 Jeff Law <law@redhat.com>
3926 * intl/Makefile (codeset_mo): New variable.
3927 ($(codeset_mo)): New target.
3928 (tst-codeset.out): Depend on that. Remove explicit rule.
3929 (tst-gettext3.out, tst-gettext5.out): Likewise.
3930 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3931 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3932 * intl/tst-codeset.sh: Remove.
3933 * intl/tst-gettext3.sh: Likewise.
3934 * intl/tst-gettext5.sh: Likewise.
3936 2012-08-17 Roland McGrath <roland@hack.frob.com>
3938 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3939 * sysdeps/unix/syscalls.list: ... here.
3941 * sysdeps/posix/getaddrinfo.c
3942 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3943 (gaiconf_init, gaiconf_reload): Use them.
3945 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3946 Define using time_t rather than struct timespec.
3948 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3949 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3951 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3953 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3954 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3957 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3958 __libc_cleanup_push argument.
3960 * bits/param.h: New file.
3961 * misc/sys/param.h: New file.
3962 * include/sys/param.h: New file.
3963 * misc/Makefile (headers): Add bits/param.h.
3964 * sysdeps/generic/sys/param.h: File removed.
3965 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3966 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3967 * sysdeps/mach/hurd/bits/param.h: New file.
3968 * sysdeps/mach/hurd/sys/param.h: File removed.
3970 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3973 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3975 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3976 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3979 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3980 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3981 rather than -D_IO_MTSAFE_IO conditionally.
3982 * stdio-common/Makefile (CPPFLAGS): Likewise.
3983 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3984 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3985 Use $(libio-mtsafe).
3986 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3988 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3989 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3990 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3991 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3992 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3993 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3994 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3995 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3996 (CFLAGS-fread_u_chk.c): Likewise.
3997 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3998 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3999 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4000 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4001 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4002 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4003 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4004 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4005 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4007 * libio/Makefile: Test [$(libc-reentrant) = yes]
4008 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4011 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4012 * sysdeps/pthread/configure: File removed.
4013 * sysdeps/pthread/Makeconfig: New file.
4014 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4015 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4017 2012-08-16 Gary Benson <gbenson@redhat.com>
4019 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4020 unmapping the first object in a namespace.
4022 2012-08-16 Roland McGrath <roland@hack.frob.com>
4024 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4025 (__internal_setnetgrent): ... this. Add internal_function to
4026 definition. Add libc_hidden_def.
4027 (setnetgrent): Update caller.
4028 (internal_endnetgrent): Renamed to ...
4029 (__internal_endnetgrent): ... this. Add internal_function to
4030 definition. Add libc_hidden_def.
4031 (endnetgrent): Update caller.
4032 (internal_getnetgrent_r): Renamed to ...
4033 (__internal_getnetgrent_r): ... this. Add internal_function to
4034 definition. Add libc_hidden_def.
4035 (__getnetgrent_r): Update caller.
4036 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4038 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4040 * stdlib/longlong.h: Update from GCC.
4042 2012-08-16 Roland McGrath <roland@hack.frob.com>
4044 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4045 on _QL, which is set by umul_ppmm but never used.
4046 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4047 variables, which are set by GMP macros but never used.
4048 * stdio-common/_itowa.c (_itowa): Likewise.
4049 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4050 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4052 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4054 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4055 struct La_sh_regs is not constant.
4056 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4057 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4058 and struct La_sparc64_regs are not constant.
4060 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4062 * sysdeps/unix/sysv/linux/kernel-features.h
4063 (__ASSUME_POSIX_TIMERS): Remove.
4064 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4065 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4066 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4067 Make code unconditional.
4068 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4070 Make code unconditional.
4071 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4073 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4075 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4076 Make code unconditional.
4077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4078 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4079 (__libc_missing_posix_timers): Remove.
4081 2012-08-15 Roland McGrath <roland@hack.frob.com>
4083 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4084 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4086 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4088 * elf/dl-sym.c: Include <stdlib.h>.
4090 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4091 constants, which avoids warnings in 32-bit builds.
4093 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4094 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4096 * misc/lseek.c: File moved to ...
4097 * io/lseek.c: ... here.
4099 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4101 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4102 shifting LEN more than 31 bits at once.
4104 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4107 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4108 segmentation fault for a case of two empty input strings.
4109 * string/test-strncasecmp.c (check1): Renamed to...
4111 (bz14195): Add new testcase for two empty input strings and N > 0.
4112 (test_main): Call new testcase, adapt for renamed function.
4114 2012-08-15 Andreas Jaeger <aj@suse.de>
4117 * crypt/md5test2.c: New test, based on test supplied by Serge
4118 Belyshev <belyshev@depni.sinp.msu.ru>.
4119 * crypt/Makefile (xtests): Add md5test-giant..
4120 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4122 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4125 * crypt/md5.c (md5_process_block): Don't assume the buffer
4126 length is less than 2**32.
4127 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4128 length is less than 2**64.
4130 2012-08-15 Roland McGrath <roland@hack.frob.com>
4132 * string/str-two-way.h: Include <sys/param.h>.
4133 (MAX): Macro removed.
4135 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4136 Move #define and #undef of memmove to just before and after
4137 including <string.h>.
4139 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4140 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4141 and after including <string.h>. Move declarations of
4142 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4143 to before #include "string/memmove.c".
4145 * include/dirent.h: Declare __getdirentries.
4147 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4148 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4150 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4152 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4153 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4154 * sysdeps/i386/configure: Regenerated.
4155 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4156 STABS_CURRENT_FILE, and STABS_FUN.
4157 (END): Remove call to STABS_FUN_END.
4158 (STABS_CURRENT_FILE1): Delete.
4159 (STABS_CURRENT_FILE): Likewise.
4160 (STABS_FUN): Likewise.
4161 (STABS_FUN_END): Likewise.
4162 (STABS_FUN2): Likewise.
4163 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4164 * sysdeps/x86_64/configure: Regenerated.
4166 2012-08-14 Roland McGrath <roland@hack.frob.com>
4168 * elf/dl-open.c: Include <atomic.h>.
4169 * elf/dl-lookup.c: Likewise.
4171 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4173 * sysdeps/unix/sysv/linux/kernel-features.h
4174 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4175 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4177 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4179 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4180 condition on __ASSUME_CLONE_THREAD_FLAGS.
4182 2012-08-14 Andreas Jaeger <aj@suse.de>
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4186 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4188 * include/atomic.h (atomic_exchange_and_add): Split into ...
4189 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4192 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4196 2012-08-13 Jeff Law <law@redhat.com>
4198 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4199 null byte in the output string.
4201 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4203 * sysdeps/unix/sysv/linux/kernel-features.h
4204 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4205 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4206 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4208 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4209 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4210 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4212 2012-08-09 Jeff Law <law@redhat.com>
4215 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4216 When avoid_arena is set, don't retry in the that arena. Pick the
4217 next one, whatever it might be.
4218 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4219 (arena_lock): Pass in new parameter to arena_get2.
4220 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4222 (__libc_malloc): Unify retrying after main arena failure with
4223 __libc_memalign version.
4224 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4226 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4229 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4230 to __redirect_strstr.
4231 (__strstr_sse42): Use typeof __redirect_strstr.
4232 (__strstr_ia32): Likewise.
4233 (__libc_strstr): New prototype.
4234 (strstr): Renamed to ...
4235 (__libc_strstr): This.
4236 (strstr): New strong alias of __libc_strstr.
4237 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4238 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4241 (__libc_time): New prototype.
4242 (time_ifunc): Replace time with __libc_time.
4243 (time): New strong alias and hidden definition of __libc_time.
4244 (__GI_time): Remove strong alias.
4245 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4247 (memmove): Redefined to __redirect_memmove.
4248 (__memmove_sse2): Use typeof __redirect_memmove.
4249 (__memmove_ssse3): Likewise.
4250 (__memmove_ssse3_back): Likewise.
4251 (__libc_memmove): New prototype.
4252 (memmove): Renamed to ...
4253 (__libc_memmove): This.
4254 (memmove): New strong alias of __libc_memmove.
4256 2012-08-08 Mark Salter <msalter@redhat.com>
4259 (R_MN10300_TLS_GD): Define.
4260 (R_MN10300_TLS_LD): Likewise.
4261 (R_MN10300_TLS_LDO): Likewise.
4262 (R_MN10300_TLS_GOTIE): Likewise.
4263 (R_MN10300_TLS_IE): Likewise.
4264 (R_MN10300_TLS_LE): Likewise.
4265 (R_MN10300_TLS_DTPMOD): Likewise.
4266 (R_MN10300_TLS_DTPOFF): Likewise.
4267 (R_MN10300_TLS_TPOFF): Likewise.
4268 (R_MN10300_SYM_DIFF): Likewise.
4269 (R_MN10300_ALIGN): Likewise.
4270 (R_MN10300_NUM): Update.
4272 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4274 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4277 2012-08-08 Roland McGrath <roland@hack.frob.com>
4279 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4281 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4282 sysdeps/unix -> sysdeps/posix move.
4283 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4285 2012-08-07 Allan McRae <allan@archlinux.org>
4288 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4289 (SUNOS_CPP): Likewise.
4290 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4292 (open_input): Call CPP using execvp.
4294 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4296 * sysdeps/unix/sysv/linux/kernel-features.h
4297 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4298 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4299 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4300 (__ASSUME_WAITID_SYSCALL): Likewise.
4301 * sysdeps/unix/sysv/linux/dl-execstack.c
4302 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4304 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4307 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4308 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4310 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4312 [__ASSUME_WAITID_SYSCALL]: Likewise.
4313 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4315 2012-08-07 Roland McGrath <roland@hack.frob.com>
4317 * sysdeps/unix/closedir.c: Renamed to ...
4318 * sysdeps/posix/closedir.c: ... here.
4319 * sysdeps/unix/dirfd.c: Renamed to ...
4320 * sysdeps/posix/dirfd.c: ... here.
4321 * sysdeps/unix/dirstream.h: Renamed to ...
4322 * sysdeps/posix/dirstream.h: ... here.
4323 * sysdeps/unix/fdopendir.c: Renamed to ...
4324 * sysdeps/posix/fdopendir.c: ... here.
4325 * sysdeps/unix/opendir.c: Renamed to ...
4326 * sysdeps/posix/opendir.c: ... here.
4327 * sysdeps/unix/readdir.c: Renamed to ...
4328 * sysdeps/posix/readdir.c: ... here.
4329 * sysdeps/unix/readdir_r.c: Renamed to ...
4330 * sysdeps/posix/readdir_r.c: ... here.
4331 * sysdeps/unix/rewinddir.c: Renamed to ...
4332 * sysdeps/posix/rewinddir.c: ... here.
4333 * sysdeps/unix/seekdir.c: Renamed to ...
4334 * sysdeps/posix/seekdir.c: ... here.
4335 * sysdeps/unix/telldir.c: Renamed to ...
4336 * sysdeps/posix/telldir.c: ... here.
4337 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4338 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4339 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4340 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4342 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4343 * bits/fcntl.h: ... here.
4345 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4347 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4348 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4349 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4350 (struct flock): Move l_start, l_len to the beginning.
4351 Use __pid_t for l_pid.
4352 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4353 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4354 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4355 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4356 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4357 [__USE_LARGEFILE64] (struct flock64): New type.
4358 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4360 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4361 * bits/dirent.h: ... here.
4363 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4364 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4366 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4369 Change from 2.6.0 to 2.6.16.
4370 * sysdeps/unix/sysv/linux/configure: Regenerated.
4371 * sysdeps/unix/sysv/linux/kernel-features.h
4372 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4373 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4375 (__ASSUME_UTIMES): Likewise.
4376 (__ASSUME_CLONE_STOPPED): Remove.
4377 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4378 architectures, not kernel version.
4379 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4380 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4381 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4382 (__ASSUME_WAITID_SYSCALL): Likewise.
4383 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4384 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4385 * README: State 2.6.16 as minimum Linux kernel version. Do not
4386 refer to older versions.
4388 2012-08-06 Roland McGrath <roland@hack.frob.com>
4390 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4391 Define alphasort64 as an alias.
4392 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4393 Define versionsort64 as an alias.
4394 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4395 Define scandir64 as an alias.
4396 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4397 Define scandirat64 as an alias.
4398 * dirent/alphasort64.c (alphasort64):
4399 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4400 * dirent/versionsort64.c: Likewise.
4401 * dirent/scandir64.c: Likewise.
4402 * dirent/scandirat64.c: Likewise.
4403 * sysdeps/wordsize-64/alphasort.c: File removed.
4404 * sysdeps/wordsize-64/alphasort64.c: File removed.
4405 * sysdeps/wordsize-64/scandir.c: File removed.
4406 * sysdeps/wordsize-64/scandir64.c: File removed.
4407 * sysdeps/wordsize-64/scandirat.c: File removed.
4408 * sysdeps/wordsize-64/scandirat64.c: File removed.
4409 * sysdeps/wordsize-64/versionsort.c: File removed.
4410 * sysdeps/wordsize-64/versionsort64.c: File removed.
4411 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4413 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4414 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4415 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4416 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4417 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4418 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4420 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4422 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4424 [defined __arch64__ || defined __sparcv9]
4425 (__INO_T_MATCHES_INO64_T): New macro.
4426 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4427 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4428 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4429 * sysdeps/unix/sysv/linux/bits/dirent.h
4430 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4431 (_DIRENT_MATCHES_DIRENT64): New macro.
4433 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4434 Define lockf64 as an alias.
4435 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4436 Define fseeko64 as an alias.
4437 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4438 Define ftello64 as an alias.
4439 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4440 Define _IO_fgetpos64 and fgetpos64 as aliases.
4441 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4442 Define _IO_fsetpos64 and fsetpos64 as aliases.
4443 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4444 Conditionalize body on this.
4445 * libio/fseeko64.c: Likewise.
4446 * libio/ftello64.c: Likewise.
4447 * libio/iofgetpos64.c: Likewise.
4448 * libio/iofsetpos64.c: Likewise.
4449 * sysdeps/wordsize-64/lockf.c: File removed.
4450 * sysdeps/wordsize-64/lockf64.c: File removed.
4451 * sysdeps/wordsize-64/fseeko.c: File removed.
4452 * sysdeps/wordsize-64/fseeko64.c: File removed.
4453 * sysdeps/wordsize-64/ftello.c: File removed.
4454 * sysdeps/wordsize-64/ftello64.c: File removed.
4455 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4456 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4457 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4458 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4459 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4460 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4461 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4462 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4463 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4464 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4465 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4467 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4470 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4472 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4474 [defined __arch64__ || defined __sparcv9]
4475 (__OFF_T_MATCHES_OFF64_T): New macro.
4476 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4477 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4479 (__OFF_T_MATCHES_OFF64_T): New macro.
4481 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4483 * stdlib/secure-getenv.c (__secure_getenv): Replace
4484 GLIBC_2_16 with GLIBC_2_17.
4486 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4488 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4489 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4491 2012-08-03 David S. Miller <davem@davemloft.net>
4493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4495 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4497 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4499 (__ASSUME_CORRECT_SI_PID): Likewise.
4500 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4501 (__ASSUME_TMPFS_NAME): Likewise.
4502 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4503 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4504 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4505 (HAVE_AUX_SECURE): Make definition unconditional.
4506 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4507 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4509 2012-08-03 Roland McGrath <roland@hack.frob.com>
4511 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4512 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4513 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4514 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4515 __eloop_threshold instead of SYMLOOP_MAX.
4517 * sysdeps/generic/eloop-threshold.h: New file.
4518 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4520 * elf/chroot_canon.c (chroot_canon): Likewise.
4522 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4525 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4526 Change to 2.6.0 everywhere.
4527 * sysdeps/unix/sysv/linux/configure: Regenerated.
4528 * sysdeps/unix/sysv/linux/kernel-features.h
4529 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4530 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4532 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4533 (__ASSUME_FUTEX_REQUEUE): Remove.
4534 (__ASSUME_STATFS64): Define unconditionally.
4535 (__ASSUME_AT_SECURE): Likewise.
4536 (__ASSUME_CORRECT_SI_PID): Likewise.
4537 (__ASSUME_TGKILL): Define without depending on kernel version for
4539 (__ASSUME_UTIMES): Likewise.
4540 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4542 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4543 (__ASSUME_TMPFS_NAME): Likewise.
4544 * README: Update reference to Linux kernel versions.
4546 2012-08-02 Marek Polacek <polacek@redhat.com>
4549 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4550 libc_cv_asm_type_prefix with %.
4551 * configure: Regenerated.
4552 * include/libc-symbols.h: Remove comment about
4553 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4554 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4555 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4556 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4557 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4558 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4559 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4560 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4561 * elf/tst-unique2mod1.c: Likewise.
4562 * elf/tst-unique1mod2.c: Likewise.
4563 * elf/tst-unique1mod1.c: Likewise.
4564 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4565 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4566 Replace ASM_TYPE_DIRECTIVE with .type.
4567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4568 * sysdeps/i386/sysdep.h: Likewise.
4569 * sysdeps/x86_64/sysdep.h: Likewise.
4570 * sysdeps/sh/sysdep.h: Likewise.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4572 Do not define ASM_TYPE_DIRECTIVE.
4573 * sysdeps/powerpc/sysdep.h: Likewise.
4574 * sysdeps/powerpc/powerpc32/sysdep.h:
4575 Replace ASM_TYPE_DIRECTIVE with .type.
4576 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4577 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4578 * sysdeps/i386/fpu/e_powf.S: Likewise.
4579 * sysdeps/i386/fpu/e_expl.S: Likewise.
4580 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4581 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4582 * sysdeps/i386/fpu/e_pow.S: Likewise.
4583 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4584 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4585 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4586 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4587 * sysdeps/i386/fpu/e_log2.S: Likewise.
4588 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4590 * sysdeps/i386/fpu/e_powl.S: Likewise.
4591 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4592 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4593 * sysdeps/i386/fpu/e_logl.S: Likewise.
4594 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4595 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4596 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4597 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4598 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4599 * sysdeps/i386/fpu/e_log.S: Likewise.
4600 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4601 * sysdeps/i386/fpu/e_logf.S: Likewise.
4602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4604 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4605 * sysdeps/i386/fpu/e_log10.S: Likewise.
4606 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4607 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4608 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4609 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4610 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4611 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4612 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4613 * sysdeps/i386/i686/strtok.S: Likewise.
4614 * sysdeps/i386/i386-mcount.S: Likewise.
4615 * sysdeps/i386/strtok.S: Likewise.
4616 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4617 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4618 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4619 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4620 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4621 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4622 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4623 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4624 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4625 * sysdeps/x86_64/_mcount.S: Likewise.
4626 * sysdeps/x86_64/strtok.S: Likewise.
4627 * sysdeps/sh/_mcount.S: Likewise.
4629 2012-08-01 Roland McGrath <roland@hack.frob.com>
4631 * libio/iofopen.c: Include <fcntl.h>.
4632 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4633 (_IO_fopen64, fopen64): Define as aliases.
4634 * libio/iofopen64.c: Include <fcntl.h>.
4635 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4636 Conditionalize body on this.
4637 * sysdeps/wordsize-64/iofopen.c: File removed.
4638 * sysdeps/wordsize-64/iofopen64.c: File removed.
4640 2012-08-01 Marek Polacek <polacek@redhat.com>
4642 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4643 Use dlfcn directly instead of a variable.
4644 (binfmt-subdir): Do not define.
4647 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4649 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4650 Remove all definitions.
4651 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4652 <kernel-features.h>.
4653 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4654 (miss_F_GETOWN_EX): Remove all definitions.
4655 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4657 [!__ASSUME_FCNTL64]: Remove conditional code.
4658 [__ASSUME_FCNTL64]: Make code unconditional.
4659 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4660 <kernel-features.h>.
4661 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4662 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4663 (lockf64) [__NR_fcntl64]: Make code unconditional.
4664 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4666 * sysdeps/unix/sysv/linux/kernel-features.h
4667 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4668 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4669 Make code unconditional.
4670 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4671 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4673 [__NR_vfork]: Make code unconditional.
4674 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4675 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4677 [__NR_vfork]: Make code unconditional.
4678 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4679 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4681 2012-08-01 Roland McGrath <roland@hack.frob.com>
4683 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4684 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4686 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4687 Define mkstemp64 as an alias.
4688 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4689 Define mkstemps64 as an alias.
4690 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4691 Define mkostemp64 as an alias.
4692 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4693 Define mkostemps64 as an alias.
4694 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4695 Conditionalize body on this.
4696 * misc/mkostemp64.c: Likewise.
4697 * misc/mkostemps64.c: Likewise.
4698 * misc/mkstemps64.c: Likewise.
4699 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4700 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4701 * sysdeps/wordsize-64/mkostemp.c: File removed.
4702 * sysdeps/wordsize-64/mkstemp.c: File removed.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4709 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4710 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4711 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4712 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4714 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4715 compat_symbol macros from <shlib-compat.h> rather than the underlying
4716 default_symbol_version and symbol_version macros, so that DEFAULT
4717 lines in shlib-versions are respected.
4718 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4720 2012-08-01 Florian Weimer <fweimer@redhat.com>
4722 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4723 Declare with warn_unused_result.
4724 (setgid, setregid, setegid, setresgid): Likewise.
4725 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4727 * WUR-REPORT: Remove set*id functions.
4729 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4731 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4733 2012-07-31 Roland McGrath <roland@hack.frob.com>
4735 * include/sys/socket.h (__libc_accept, __libc_accept4):
4736 Add attribute_hidden.
4737 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4739 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4741 * inet/getnetgrent_r.c (setup): Likewise.
4743 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4745 2012-07-31 David S. Miller <davem@davemloft.net>
4747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4749 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4752 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4753 value between 1.0 and 2.0 and smaller part has absolute value less
4755 * math/s_clog10.c (__clog10): Likewise.
4756 * math/s_clog10f.c (__clog10f): Likewise.
4757 * math/s_clog10l.c (__clog10l): Likewise.
4758 * math/s_clogf.c (__clogf): Likewise.
4759 * math/s_clogl.c (__clogl): Likewise.
4760 * math/libm-test.inc (clog_test): Add more tests.
4761 (clog10_test): Likewise.
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765 2012-07-31 Florian Weimer <fweimer@redhat.com>
4767 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4768 Exit with zero in case no suitable GID is found, and write a
4769 message to standard error.
4771 2012-07-30 Roland McGrath <roland@hack.frob.com>
4773 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4775 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4776 (MAXPATHLEN): Removed.
4777 (NOGROUP, NODEV): New macros.
4778 (setbit, clrbit, isset, isclr): New macros.
4779 (howmany, roundup, powerof2): New macros.
4780 (DEV_BSIZE): New macro.
4782 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4783 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4785 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4786 definition on [!__NO_LONG_DOUBLE_MATH].
4788 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4789 PTR_MANGLE and PTR_DEMANGLE.
4791 * socket/accept4.c (accept4): Rename to __libc_accept4.
4792 Define accept4 as a weak alias.
4794 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4795 on [_DIRENT_HAVE_D_TYPE].
4796 * io/ftw.c (ftw_dir): Likewise.
4798 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4800 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4802 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4803 Use the BSD numbers rather than the arbitrary ones we had.
4804 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4805 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4806 (SIGXCPU, SIGXFSZ): New macros.
4809 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4810 initializer on [_LIBC_REENTRANT].
4812 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4813 definitions inside [_POSIX_MAPPED_FILES].
4815 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4817 * dirent/opendir.c: Include <fcntl.h>.
4819 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4820 (__libc_getspecific): Likewise.
4821 (__libc_key_create): Likewise.
4823 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4824 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4825 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4826 (tmpfile64): Define as alias.
4827 * sysdeps/wordsize-64/tmpfile.c: File removed.
4828 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4830 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4832 * stdio-common/vfscanf.c: Include <stdbool.h>.
4833 * nss/makedb.c: Likewise.
4834 * stdio-common/_i18n_number.h: Likewise.
4835 * argp/argp-help.c: Likewise.
4836 * posix/wordexp.c: Likewise.
4837 * sysdeps/posix/spawni.c: Likewise.
4838 * nss/nss_files/files-initgroups.c: Likewise.
4839 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4840 * nss/nss_files/files-initgroups.c: Likewise.
4841 * nss/nss_db/db-netgrp.c: Likewise.
4842 * nss/nss_db/db-initgroups.c: Likewise.
4843 * io/fchmodat.c: Include <sys/stat.h>.
4845 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4846 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4848 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4851 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4852 Add multiple inclusion protection.
4854 2012-07-27 David S. Miller <davem@davemloft.net>
4856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4858 2012-07-27 Gary Benson <gbenson@redhat.com>
4861 * elf/rtld.c: Include <stap-probe.h>.
4862 (dl_main): Added static probes "init_start" and "init_complete".
4863 * elf/dl-load.c: Include <stap-probe.h>.
4864 (lose): Take new parameter "nsid".
4865 Added static probe "map_failed".
4866 (_dl_map_object_from_fd): Pass namespace id to lose.
4867 Added static probe "map_start".
4868 (open_verify): Pass namespace id to lose.
4869 * elf/dl-open.c: Include <stap-probe.h>.
4870 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4871 and "reloc_complete".
4872 * elf/dl-close.c: Include <stap-probe.h>.
4873 (_dl_close_worker): Added static probes "unmap_start" and
4875 * elf/rtld-debugger-interface.txt: New file documenting the above.
4877 2012-07-26 Roland McGrath <roland@hack.frob.com>
4879 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4880 rather than a string variable.
4881 * sunrpc/rpc_main.c (h_output): Likewise.
4882 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4884 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4886 * inet/check_native.c: New file.
4888 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4891 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4892 if larger part has absolute value 1.0.
4893 * math/s_clog10.c (__clog10): Likewise.
4894 * math/s_clog10f.c (__clog10f): Likewise.
4895 * math/s_clog10l.c (__clog10l): Likewise.
4896 * math/s_clogf.c (__clogf): Likewise.
4897 * math/s_clogl.c (__clogl): Likewise.
4898 * math/libm-test.inc (clog_test): Add more tests.
4899 (clog10_test): Likewise.
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4903 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4904 (pltexit): Likewise.
4905 (La_regs): Likewise.
4906 (La_retval): Likewise.
4907 (int_retval): Likewise.
4908 Update #error for removed macros to refer only to definitions in
4910 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4912 (pltexit): Likewise.
4913 (La_regs): Likewise.
4914 (La_retval): Likewise.
4915 (int_retval): Likewise.
4916 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4918 (pltexit): Likewise.
4919 (La_regs): Likewise.
4920 (La_retval): Likewise.
4921 (int_retval): Likewise.
4922 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4924 (pltexit): Likewise.
4925 (La_regs): Likewise.
4926 (La_retval): Likewise.
4927 (int_retval): Likewise.
4928 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4930 (pltexit): Likewise.
4931 (La_regs): Likewise.
4932 (La_retval): Likewise.
4933 (int_retval): Likewise.
4934 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4936 (pltexit): Likewise.
4937 (La_regs): Likewise.
4938 (La_retval): Likewise.
4939 (int_retval): Likewise.
4940 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4942 (pltexit): Likewise.
4943 (La_regs): Likewise.
4944 (La_retval): Likewise.
4945 (int_retval): Likewise.
4946 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4947 macro definitions in tst-audit.h.
4948 * sysdeps/i386/tst-audit.h: New file.
4949 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4950 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4951 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4952 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4953 * sysdeps/sh/tst-audit.h: Likewise.
4954 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4955 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4956 * sysdeps/x86_64/tst-audit.h: Likewise.
4958 2012-07-26 Andreas Jaeger <aj@suse.de>
4960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4963 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4964 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4965 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4967 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4968 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4971 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4974 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4976 (si_call_addr, si_syscall, si_arch): Define new macro.
4977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4979 (si_call_addr, si_syscall, si_arch): Define new marcro.
4980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4982 (si_call_addr, si_syscall, si_arch): Define new macro.
4983 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4985 (si_call_addr, si_syscall, si_arch): Define new macro.
4987 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4991 Change to 2.4.21 where previously 2.4.1.
4992 * sysdeps/unix/sysv/linux/configure: Regenerated.
4993 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4994 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4995 Linux kernel version.
4996 (__ASSUME_STD_AUXV): Remove.
4997 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4999 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5000 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5001 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5002 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5003 (__ASSUME_NETLINK_SUPPORT): Likewise.
5004 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5005 (__no_netlink_support): Remove conditional definition.
5006 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5008 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5009 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5010 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5011 (if_nameindex_ioctl): Remove.
5012 (if_nameindex_netlink): Do not handle __no_netlink_support.
5013 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5015 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5016 Remove conditional code.
5017 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5019 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5021 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5022 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5023 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5025 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5026 [!__ASSUME_STD_AUXV]: Remove conditional code.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5028 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5029 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5031 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5032 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5034 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5036 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5037 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5039 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5041 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5044 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5047 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5049 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5051 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5053 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5056 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5058 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5061 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5063 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5065 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5067 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5070 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5072 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5074 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5076 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5079 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5081 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5082 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5088 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5089 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5090 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5091 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5092 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5093 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5094 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5097 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5098 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5099 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5101 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5102 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5103 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5105 2012-07-25 Florian Weimer <fweimer@redhat.com>
5107 * Versions.def: Add GLIBC_2.17.
5108 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5109 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5110 Introduce __libc_secure_getenv.
5111 * stdlib/Versions (2.17): Add secure_getenv
5112 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5113 * stdlib/secure-getenv.c: Rename __secure_getenv to
5114 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5115 symbol __secure_getenv for GLIBC_2.0.
5116 * stdlib/tst-secure-getenv.c: New.
5117 * stdlib/Makefile (tests): Add testcase.
5118 * manual/startup.texi (Environment Access): Document
5120 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5121 __libc_secure_getenv.
5122 * inet/ruserpass.c (ruserpass): Likewise.
5123 * malloc/mtrace.c (mtrace): Likewise.
5124 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5125 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5126 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5127 * sysdeps/posix/tempname.c: Likewise. Evaluate
5129 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5130 __secure_getenv to __libc_secure_getenv.
5131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5144 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5146 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5147 (struct La_i86_retval): Likewise.
5148 (struct La_x86_64_regs): Likewise.
5149 (struct La_x86_64_retval): Likewise.
5150 (struct La_x32_regs): Likewise.
5151 (struct La_x32_retval): Likewise.
5152 (struct La_ppc32_regs): Likewise.
5153 (struct La_ppc32_retval): Likewise.
5154 (struct La_ppc64_regs): Likewise.
5155 (struct La_ppc64_retval): Likewise.
5156 (struct La_sh_regs): Likewise.
5157 (struct La_sh_retval): Likewise.
5158 (struct La_s390_32_regs): Likewise.
5159 (struct La_s390_32_retval): Likewise.
5160 (struct La_s390_64_regs): Likewise.
5161 (struct La_s390_64_retval): Likewise.
5162 (struct La_sparc32_regs): Likewise.
5163 (struct La_sparc32_retval): Likewise.
5164 (struct La_sparc64_regs): Likewise.
5165 (struct La_sparc64_retval): Likewise.
5166 (struct audit_ifaces): Remove architecture-specific pltenter and
5168 * sysdeps/i386/ldsodefs.h: New file.
5169 * sysdeps/powerpc/ldsodefs.h: Likewise.
5170 * sysdeps/s390/ldsodefs.h: Likewise.
5171 * sysdeps/sh/ldsodefs.h: Likewise.
5172 * sysdeps/sparc/ldsodefs.h: Likewise.
5173 * sysdeps/x86_64/ldsodefs.h: Likewise.
5175 2012-07-25 Marek Polacek <polacek@redhat.com>
5178 * math/libm-test.inc (yn_test): Add another test.
5179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5180 to ERANGE when the result is +-Inf.
5181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5182 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5183 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5184 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5186 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5188 * conform/data/time.h-data (NULL): Use macro-constant. Require
5190 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5192 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5194 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5196 * configure.in <sysdeps resolving>: Correct printing
5198 * configure: Regenerate.
5200 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5202 * math/w_ilogb.c: Include <limits.h>.
5203 * math/w_ilogbl.c: Likewise.
5205 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5207 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5208 va_copy. Document allowing for unavailable va_copy only as
5209 pre-C99 compatibility.
5210 * manual/string.texi (Copying and Concatenation): Use va_copy
5211 instead of __va_copy in concat example.
5213 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5215 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5216 (__sendto): Use create_address_port. Initialize APORT and deallocate
5219 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5220 with O_NOLINK passed to __file_name_lookup.
5222 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5223 with O_NOLINK passed to __file_name_lookup.
5225 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5226 negative N or less than NGIDS.
5228 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5229 type to string_t. Set ERANGE as errno and return it if NAME is not big
5230 enough. Use memcpy instead of strncpy.
5232 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5234 * elf/Makefile (check-data): Remove.
5235 (localplt.data): New vpath directive.
5236 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5237 instead of $(check-data).
5238 * scripts/data/localplt-generic.data: Move to ...
5239 * sysdeps/generic/localplt.data: ... here.
5240 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5241 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5242 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5245 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5248 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5251 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5254 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5257 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5261 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5263 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5264 PPC32 and PPC64 files.
5265 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5266 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5268 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5270 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5271 __makecontext_ret to ...
5272 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5273 ... here and call exit if uc_link is NULL. New file.
5274 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5275 __makecontext_ret.S.
5276 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5277 __makecontext_ret to ...
5278 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5279 ... here and call exit if uc_link is NULL. New file.
5280 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5281 __makecontext_ret.S.
5283 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5285 * elf/elf.h (R_390_IRELATIVE): New definition.
5286 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5287 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5288 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5289 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5290 (elf_machine_lazy_rel): Likewise.
5291 * sysdeps/s390/dl-irel.h: New file.
5292 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5293 * sysdeps/s390/s390-64/memset.S: New asm code.
5294 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5295 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5296 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5297 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5298 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5299 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5301 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5302 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5303 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5304 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5305 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5306 * sysdeps/s390/s390-32/memset.S: New asm code.
5307 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5309 2012-07-17 Marek Polacek <polacek@redhat.com>
5312 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5313 * sysdeps/s390/s390-64/configure.in: Likewise.
5314 * sysdeps/sparc/configure.in: Likewise.
5315 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5316 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5317 * sysdeps/i386/configure.in: Likewise.
5318 * sysdeps/x86_64/configure.in: Likewise.
5319 * sysdeps/sh/configure.in: Likewise.
5320 * sysdeps/s390/s390-32/configure: Regenerated.
5321 * sysdeps/s390/s390-64/configure: Likewise.
5322 * sysdeps/x86_64/configure: Likewise.
5323 * sysdeps/sh/configure: Likewise.
5324 * sysdeps/powerpc/powerpc64/configure: Likewise.
5325 * sysdeps/powerpc/powerpc32/configure: Likewise.
5326 * sysdeps/sparc/configure: Likwise.
5327 * sysdeps/i386/configure: Likewise.
5329 * elf/dl-open.c: Comment fixes.
5331 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5333 * Makefile [CXX] (check-data): Remove.
5334 [CXX] (c++-types.data): New vpath directive.
5335 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5336 vpath. Do not allow for C++ type data being missing.
5337 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5338 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5339 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5340 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5341 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5342 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5343 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5346 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5349 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5352 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5355 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5358 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5361 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5364 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5367 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5368 definitions to architecture-specific files.
5372 * sysdeps/i386/tls-macros.h: New file.
5373 * sysdeps/powerpc/tls-macros.h: Likewise.
5374 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5375 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5376 * sysdeps/sh/tls-macros.h: Likewise.
5377 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5378 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5379 * sysdeps/x86_64/tls-macros.h: Likewise.
5381 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5383 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5384 zero value for regular exit case.
5386 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5387 (__start_context): Preserve zero value for regular exit case.
5389 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5390 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5392 * manual/setjmp.texi (setcontext): Clarify normal process
5393 termination when uc_link is the null pointer.
5394 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5397 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5399 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5400 preprocessor. Test for each exception mask separately.
5402 2012-07-16 Andreas Jaeger <aj@suse.de>
5404 * po/ru.po: Update from translation team.
5406 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5408 * conform/data/string.h-data (NULL): Use macro-constant. Require
5410 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5411 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5412 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5413 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5416 2012-07-13 Andreas Jaeger <aj@suse.de>
5418 * po/fr.po: Update from translation team.
5420 2012-07-12 Marek Polacek <polacek@redhat.com>
5423 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5427 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5431 Change to 2.4.1 where previously 2.4.0.
5432 * sysdeps/unix/sysv/linux/configure: Regenerated.
5433 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5434 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5436 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5437 (__ASSUME_AT_CLKTCK): Remove.
5438 (__ASSUME_AT_PAGESIZE): Likewise.
5439 (__ASSUME_AT_XID): Likewise.
5440 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5441 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5442 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5444 (HAVE_AUX_PAGESIZE): Likewise.
5445 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5446 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5447 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5449 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5453 the temporary buffer used to invoke __gethostbyname2_r,
5454 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5455 host_data / struct gaih_addrtuple.
5456 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5457 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5458 header file nss/nsswitch.h.
5459 * nss/nsswitch.h (global scope): Add definition of implementation
5460 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5461 resolv/nss_dns/dns-host.c).
5463 2012-07-11 Andreas Jaeger <aj@suse.de>
5465 * po/fr.po: Update from translation team.
5467 * po/sv.po: Update from translation team
5468 * po/fr.po: Another update from translation team.
5470 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5473 for subnormals or multiply small sinh result by itself.
5474 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5477 2012-07-11 David S. Miller <davem@davemloft.net>
5479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5481 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5484 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5485 (INTERNAL_MARK): Shift it here.
5487 2012-07-10 Marek Polacek <polacek@redhat.com>
5490 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5491 libc_cv_asm_global_directive with .globl.
5492 * configure: Regenerated.
5493 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5495 * sysdeps/i386/configure: Regenerated.
5496 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5498 * sysdeps/x86_64/configure: Regenerated.
5499 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5500 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5501 * elf/tst-unique2mod2.c: Likewise.
5502 * elf/tst-unique2mod1.c: Likewise.
5503 * elf/tst-unique1mod2.c: Likewise.
5504 * elf/tst-unique1mod1.c: Likewise.
5505 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5506 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5508 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5509 * sysdeps/mach/sysdep.h: Likewise.
5510 * sysdeps/i386/sysdep.h: Likewise.
5511 * sysdeps/i386/i386-mcount.S: Likewise.
5512 * sysdeps/x86_64/_mcount.S: Likewise.
5513 * sysdeps/x86_64/sysdep.h: Likewise.
5514 * sysdeps/sh/_mcount.S: Likewise.
5515 * sysdeps/sh/sysdep.h: Likewise.
5516 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5517 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5518 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5519 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5520 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5521 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5522 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5523 * locale/localeinfo.h: Likewise.
5524 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5525 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5527 2012-07-09 Roland McGrath <roland@hack.frob.com>
5530 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5532 * manual/message.texi (The Uniforum approach): Likewise.
5533 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5534 (glibc iconv Implementation): Likewise.
5536 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5539 * math/s_clog.c (__clog): Avoid scaling a value down where that
5540 could result in underflow.
5541 * math/s_clog10.c (__clog10): Likewise.
5542 * math/s_clog10f.c (__clog10f): Likewise.
5543 * math/s_clog10l.c (__clog10l): Likewise.
5544 * math/s_clogf.c (__clogf): Likewise.
5545 * math/s_clogl.c (__clogl): Likewise.
5546 * math/libm-test.inc (clog_test): Add more tests.
5547 (clog10_test): Likewise.
5548 * sysdeps/i386/fpu/libm-test-ulps: Update.
5549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5551 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5554 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5555 by 7 not 8 to examine high bit of fractional part.
5558 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5559 for call to __mcount_internal.
5560 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5561 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5562 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5564 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5567 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5568 approximation for values within 0x1p-13f of an odd multiple of
5570 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5571 exception. Add more tests.
5572 * sysdeps/i386/fpu/libm-test-ulps: Update.
5575 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5576 inputs and return -1 for them. Do not check for +Inf in case not
5578 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5579 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5580 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5581 and return -1 for them. Do not check for +Inf in case not
5583 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5585 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5586 and return -1 for them. Do not check for +Inf in case not
5588 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5595 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5597 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5601 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5602 could result in spurious underflow. Scale down values above
5603 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5604 * math/s_csqrtf.c (__csqrtf): Likewise.
5605 * math/s_csqrtl.c (__csqrtl): Likewise.
5606 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5608 * sysdeps/i386/fpu/libm-test-ulps: Update.
5609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5611 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5613 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5615 * catgets/xopen-msg.awk: New file.
5616 * catgets/xopen-msg.sed: Removed.
5618 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5620 * intl/po2test.awk: New file.
5621 * intl/po2test.sed: Removed.
5623 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5626 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5627 or multiply small sinh result by itself.
5628 * math/s_ctanf.c (__ctanf): Likewise.
5629 * math/s_ctanh.c (__ctanh): Likewise.
5630 * math/s_ctanhf.c (__ctanhf): Likewise.
5631 * math/s_ctanhl.c (__ctanhl): Likewise.
5632 * math/s_ctanl.c (__ctanl): Likewise.
5633 * math/libm-test.inc (ctan_test_tonearest): New function.
5634 (ctan_test_towardzero): Likewise.
5635 (ctan_test_downward): Likewise.
5636 (ctan_test_upward): Likewise.
5637 (ctanh_test_tonearest): Likewise.
5638 (ctanh_test_towardzero): Likewise.
5639 (ctanh_test_downward): Likewise.
5640 (ctanh_test_upward): Likewise.
5641 (main): Call these new functions.
5642 * sysdeps/i386/fpu/libm-test-ulps: Update.
5643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5647 * .gitignore: Delete /ports entry.
5649 2012-07-03 Andreas Jaeger <aj@suse.de>
5651 * po/bg.po: Update from translation team.
5652 * po/cs.po: Likewise.
5653 * po/de.po: Likewise.
5654 * po/hr.po: Likewise.
5655 * po/nl.pl: Likewise.
5656 * po/pl.po: Likewise.
5657 * po/vi.po: Likewise.
5659 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5661 * Makeconfig [!+link] (+link-before-libc): New variable.
5662 [!+link] (+link-after-libc): Likewise.
5663 [!+link] (+link-tests): Likewise.
5664 [!+link] (+link): Define in terms of $(+link-before-libc) and
5665 $(+link-after-libc).
5666 [!+link-static] (+link-static-before-libc): New variable.
5667 [!+link-static] (+link-static-after-libc): Likewise.
5668 [!+link-static] (+link-static-tests): Likewise.
5669 [!+link-static] (+link-static): Define in terms of
5670 $(+link-static-before-libc) and $(+link-static-after-libc).
5671 [build-shared] (link-libc-before-gnulib): New variable.
5672 [build-shared] (link-libc-tests): Likewise.
5673 [build-shared] (link-libc): Define in terms of
5674 $(link-libc-before-gnulib).
5675 [!build-shared] (link-libc-tests): New variable.
5676 (link-libc-static-tests): New variable.
5677 [!gnulib] (gnulib-arch): New variable.
5678 [!gnulib] (gnulib-tests): Likewise.
5679 [!gnulib] (static-gnulib-arch): Likewise.
5680 [!gnulib] (static-gnulib-tests): Likewise.
5681 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5682 Define with "=" instead of ":=".
5683 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5684 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5685 * Rules (binaries-all-notests): New variable.
5686 (binaries-all-tests): Likewise.
5687 (binaries-static-notests): Likewise.
5688 (binaries-static-tests): Likewise.
5689 (binaries-all): Define using $(binaries-all-notests) and
5690 $(binaries-all-tests).
5691 (binaries-static): Define using $(binaries-static-notests) and
5692 $(binaries-static-tests).
5693 (binaries-shared-tests): New variable.
5694 (binaries-shared-notests): Likewise.
5695 (binaries-shared): Remove variable.
5696 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5697 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5698 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5699 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5700 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5701 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5702 * elf/Makefile (sln-modules): New variable.
5703 (extra-objs): Add $(sln-modules:=.o).
5704 (ldconfig-modules): Add static-stubs.
5705 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5706 * elf/static-stubs.c: New file.
5709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5710 by 7 not 8 to examine high bit of fractional part. Use volatile
5711 variables when splitting into final array of floats if
5712 __FLT_EVAL_METHOD__ != 0.
5713 * math/libm-test.inc (cos_test): Add another test.
5714 (sin_test): Likewise.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5718 * math/libm-test.inc (cosh_test): Add more tests.
5720 * version.h (RELEASE): Set to "development".
5721 (VERSION): Set to "2.16.90".
5723 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5725 * NEWS: Update copyright. Remove last-updated date.
5726 Mention math library bug fixes and timezone data changes.
5727 * README: Mention GNU/Hurd, x32, and HPPA support status.
5729 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5731 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5733 2012-06-27 Andreas Jaeger <aj@suse.de>
5735 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5737 2012-06-25 Andreas Jaeger <aj@suse.de>
5739 * sysdeps/s390/fpu/libm-test-ulps: Update.
5741 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5742 Thomas Schwinge <thomas@codesourcery.com>
5744 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5745 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5746 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5749 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5751 * sysdeps/mach/start.c: Remove file.
5752 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5753 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5754 * sysdeps/sh/init-first.c: Likewise.
5756 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5757 registers for frame unwinding purposes, add CFI directives.
5758 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5759 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5760 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5763 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5764 __fortify_fail returning.
5765 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5767 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5768 sysdeps/sh/____longjmp_chk.S.
5769 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5770 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5771 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5772 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5774 * sysdeps/sh/abort-instr.h: New file.
5775 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5776 process in case exit returns.
5778 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5779 initialize the GOT register before use.
5781 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5782 calculation of ARGC > 4.
5784 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5785 meaningful names to some local labels.
5787 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5788 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5790 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5791 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5792 (__arch_compare_and_exchange_val_16_acq): Likewise.
5793 (__arch_compare_and_exchange_val_32_acq): Likewise.
5794 (atomic_exchange_and_add): Fix gUSA sequence.
5795 (atomic_add): Likewise.
5796 (atomic_add_negative): Likewise.
5797 (atomic_add_zero): Likewise.
5798 (atomic_bit_test_set): Likewise.
5800 2012-06-22 Andreas Schwab <schwab@redhat.com>
5803 * include/link.h (struct link_map): Add l_free_initfini.
5804 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5806 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5807 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5808 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5811 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5813 * configure.in: Use AC_LANG_SOURCE.
5814 * configure: Regenerate.
5816 2012-06-22 Roland McGrath <roland@hack.frob.com>
5818 * configure.in (libc_cv_localstatedir): New substituted variable.
5819 * configure: Regenerated.
5820 * config.make.in (localstatedir): New variable, substituted from
5821 libc_cv_localstatedir.
5822 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5823 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5824 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5825 * sysdeps/gnu/configure: Regenerated.
5827 2012-06-21 Jeff Law <law@redhat.com>
5830 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5831 free. Simplify list management for _LIBC case.
5833 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5836 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5837 Clear sign bit of 64-bit integer value before comparing against
5840 * sysdeps/mach/configure: Regenerated.
5842 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5845 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5847 2012-06-21 Jeff Law <law@redhat.com>
5850 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5851 uint16_t for elements in the "seen" array to avoid char overflows.
5852 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5853 * elf/dl-open.c (dl_open_worker): Likewise.
5855 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5857 * scripts/list-sources.sh: Scan PORTS for translations.
5858 * po/libc.pot: Regenerated.
5860 2012-06-21 Andreas Jaeger <aj@suse.de>
5863 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5865 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5866 * bits/byteswap-16.h (__bswap_16): Likewise.
5867 * bits/byteswap.h (__bswap_constant_16): Likewise.
5869 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5872 * sysdeps/i386/fpu_control.h: Removed.
5873 * sysdeps/x86_64/fpu_control.h: Moved to ...
5874 * sysdeps/x86/fpu_control.h: Here.
5876 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5877 (_FPU_SETCW): Likewise.
5879 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5882 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5883 * sysdeps/x86/fpu/bits/mathinline.h: This.
5884 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5888 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5889 functions if __x86_64__ is defined.
5891 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5893 * string/endian.h: Add !__ASSEMBLER__ condition for including
5894 conversion interfaces.
5896 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5900 of ABS(x) in calculating zero to negative powers other than odd
5902 * math/libm-test.inc (pow_test): Add more tests.
5904 2012-06-15 Andreas Jaeger <aj@suse.de>
5906 * manual/contrib.texi (Contributors): Update entry of Liubov
5907 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5910 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5912 * string/string.h: Add __wur to GNU version of strerror_r.
5914 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5917 * string/Makefile (tests): Add tst-strtok_r.
5918 * string/tst-strtok_r.c: New file.
5919 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5920 RAX_LP/RDX_LP on SAVE_PTR.
5922 2012-06-14 Roland McGrath <roland@hack.frob.com>
5924 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5926 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5928 * libm_test.inc (csqrt_test): Allow more spurious underflow
5930 (j0_test): Likewise.
5931 (j1_test): Likewise.
5932 (y0_test): Likewise.
5933 (y1_test): Likewise.
5935 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5937 * po/Makefile (libc.pot): Use UTF-8 charset.
5939 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5942 Suppress sign-conversion warning from FD_SET.
5943 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5944 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5945 not unsigned long int.
5946 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5948 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5952 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5953 __extern_always_inline instead of __extern_inline.
5954 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5955 (__signbit): Likewise.
5956 (__signbitl): Support C++ namespace.
5957 (lrintf): New inline function.
5959 (llrintf): Likewise.
5971 (nearbyint): Likewise.
5972 (nearbyintf): Likewise.
5974 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5976 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5977 non-default versions.
5979 2012-06-11 Roland McGrath <roland@hack.frob.com>
5982 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5984 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5986 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5987 (FE_UPWARD, FE_DOWNWARD): Don't define.
5988 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5989 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5991 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5993 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5994 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5996 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5998 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6000 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6001 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6003 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6006 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6007 * sysdeps/i386/fpu/Implies: New file.
6008 * sysdeps/x86_64/fpu/Implies: Likewise.
6009 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6010 * sysdeps/x86/fpu/bits/fenv.h: This.
6012 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6015 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6018 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6019 character 0xffff that matches the last element of the
6022 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6027 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6030 values higher than 25.6283.
6032 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6035 subnormal exponent extraction and add some __builtin_expect.
6036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6037 Fix for subnormal mantissa calculation.
6039 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6041 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6042 cpu2 is -1 and errno is not ENOSYS.
6044 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6047 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6048 * sysdeps/x86/bits/string.h: This.
6049 * sysdeps/x86_64/bits/string.h: Removed.
6051 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6052 if not compiling for x86-64, but compiling for >= i486.
6054 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6055 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6057 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6058 New macro from Linux kernel 3.4.0.
6059 (FP_XSTATE_MAGIC2): Likewise.
6060 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6061 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6062 (struct _fpx_sw_bytes): New struct.
6063 (struct _xsave_hdr): Likewise.
6064 (struct _ymmh_state): Likewise.
6065 (struct _xstate): Likewise.
6067 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6068 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6069 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6070 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6071 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6072 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6074 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6075 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6076 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6077 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6078 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6079 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6081 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6084 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6085 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6086 (sysdep_headers): Include sys/platform/ppc.h.
6087 * sysdeps/powerpc/test-gettimebase.c: Test for
6088 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6089 * manual/Makefile (appendices): Include platform.texi.
6090 * manual/contrib.texi (Contributors): Update @node pointers.
6091 * manual/maint.texi (Maintenance): Likewise.
6092 (Platform): New node.
6093 * manual/platform.texi: New file. Document the new features.
6095 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6096 Jakub Jelinek <jakub@redhat.com>
6099 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6100 where __builtin_expect is unavailable.
6102 2012-06-03 David S. Miller <davem@davemloft.net>
6104 * stdlib/longlong.h: Updated from GCC.
6106 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6109 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6110 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6113 (GLIBC_2.16): Likewise.
6115 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6117 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6119 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6122 (default-abi): New variable.
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6126 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6130 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6133 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6134 definition. Document in comment.
6136 2012-06-01 David S. Miller <davem@davemloft.net>
6138 * stdlib/longlong.h: Updated from GCC.
6140 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6143 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6144 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6145 sys/debugreg.h sys/io.h here.
6146 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6147 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6149 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6150 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6151 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6152 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6153 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6154 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6156 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6157 Define only if __x86_64__ is defined.
6159 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6163 Use int64_t for variable i.
6164 * math/libm-test.inc (fmod_test): Add more tests.
6166 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6167 z computation is not scheduled after fetestexcept.
6168 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6169 Use math_force_eval instead of asm to ensure calculation scheduled
6170 before exception test.
6171 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6172 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6174 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6177 computation is not scheduled after fetestexcept.
6179 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6182 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6183 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6185 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6188 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6190 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6193 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6195 (__WCHAR_MIN): Support __WORDSIZE == 64.
6196 (__WCHAR_MAX): Likewise.
6198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6199 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6203 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6206 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6207 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6209 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6210 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6212 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6213 Defined to 1 if __x86_64__ isn't defined.
6214 (_STAT_VER_LINUX_OLD): New.
6215 (st_atime): Remove duplicate.
6216 (st_mtime): Likewise.
6217 (st_ctime): Likewise.
6219 2012-05-31 David S. Miller <davem@davemloft.net>
6221 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6224 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6226 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6230 * elf/dl-reloc.c: Include <_itoa.h>.
6231 (_dl_reloc_bad_type): Remove use of INTUSE.
6232 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6233 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6234 * stdio-common/psiginfo.c (psiginfo): Likewise.
6235 * stdio-common/psignal.c (psignal): Likewise.
6236 * string/strsignal.c (strsignal): Likewise.
6237 * include/signal.h (_sys_siglist): Declare hidden proto.
6238 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6239 INTVARDEF with libc_hidden_data_def.
6240 * stdio-common/itoa-udigits.c: Likewise.
6241 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6242 (_itoa_lower_digits_internal): Remove declaration.
6243 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6244 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6245 (_sys_sigabbrev_internal): Remove aliases.
6246 (_sys_siglist): Define hidden alias.
6248 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6253 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6256 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6257 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6259 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6260 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6261 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6262 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6264 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6266 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6267 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6268 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6270 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6280 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6282 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6283 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6284 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6285 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6286 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6287 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6289 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6290 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6292 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6293 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6297 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6299 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6300 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6302 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6304 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6305 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6306 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6308 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6310 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6312 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6314 * math/math.h (M_El): Use two more decimal places.
6315 (M_LOG2El): Likewise.
6316 (M_LOG10El): Likewise.
6318 (M_LN10l): Likewise.
6320 (M_PI_2l): Likewise.
6321 (M_PI_4l): Likewise.
6322 (M_1_PIl): Likewise.
6323 (M_2_PIl): Likewise.
6324 (M_2_SQRTPIl): Likewise.
6325 (M_SQRT2l): Likewise.
6326 (M_SQRT1_2l): Likewise.
6328 2012-05-31 David S. Miller <davem@davemloft.net>
6330 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6331 values between float registers.
6332 * sysdeps/sparc/sparc64/memset.S: Likewise.
6333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6335 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6337 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6338 -D_FORTIFY_SOURCE=1.
6339 (CPPFLAGS-tst-longjmp_chk.c): Define.
6340 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6341 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6342 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6343 CFLAGS-tst-wchar-h.c.
6345 2012-05-31 Marek Polacek <polacek@redhat.com>
6348 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6349 __endmntent_internal): Remove declaration.
6350 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6351 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6352 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6354 2012-05-30 David S. Miller <davem@davemloft.net>
6356 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6357 (___Q_simulate_exceptions): Use real FP ops rather than writing
6359 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6362 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6365 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6366 * sysdeps/x86/bits/xtitypes.h: This.
6368 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6369 * sysdeps/x86/bits/wordsize.h: This.
6371 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6372 * sysdeps/x86/bits/huge_vall.h: This.
6374 * sysdeps/i386/bits/select.h: Removed.
6375 * sysdeps/x86_64/bits/select.h: Renamed to ...
6376 * sysdeps/x86/bits/select.h: This.
6378 * sysdeps/i386/bits/setjmp.h: Removed.
6379 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6380 * sysdeps/x86/bits/setjmp.h: This.
6382 * sysdeps/i386/bits/mathdef.h: Removed.
6383 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6384 * sysdeps/x86/bits/mathdef.h: This.
6386 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6389 * include/sys/socket.h (__connect_internal)
6390 (__libc_sa_len_internal): Remove declaration.
6391 (__connect, __libc_sa_len): Declare hidden_proto.
6392 (SA_LEN): Remove use of INTUSE.
6393 * socket/connect.c: Add libc_hidden_def.
6394 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6395 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6396 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6398 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6399 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6400 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6401 of adding _internal alias.
6403 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6406 * sysdeps/i386/bits/link.h: Removed.
6407 * sysdeps/i386/bits/linkmap.h: Likewise.
6408 * sysdeps/x86_64/bits/link.h: Renamed to ...
6409 * sysdeps/x86/bits/link.h: This.
6410 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6411 * sysdeps/x86/bits/linkmap.h: This.
6413 * sysdeps/i386/bits/endian.h: Removed.
6414 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6415 * sysdeps/x86/bits/endian.h: This.
6417 * sysdeps/i386/bits/byteswap.h: Removed.
6418 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6419 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6420 * sysdeps/x86/bits/byteswap.h: This.
6421 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6422 * sysdeps/x86/bits/byteswap-16.h: This.
6423 * sysdeps/i386/Implies: Add x86.
6424 * sysdeps/x86_64/Implies: Likewise.
6426 2012-05-30 David S. Miller <davem@davemloft.net>
6428 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6429 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6430 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6431 (FP_TRAPPING_EXCEPTIONS): Define.
6432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6433 (FP_TRAPPING_EXCEPTIONS): Define.
6434 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6435 subnormals only when inexact has been signalled or underflow
6436 exceptions are enabled.
6437 (_FP_PACK_CANONICAL): Likewise.
6439 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6443 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6445 2012-05-30 Richard Henderson <rth@twiddle.net>
6447 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6448 with #ifndef NOT_IN_libc.
6450 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6451 marked to avoid plt entry.
6453 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6456 * Makeconfig (default-abi): New macro.
6457 (abi-includes): Likewise.
6458 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6459 $(abi-$(default-abi)-lib-soname) for soname if defined.
6460 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6462 * Makefile (installed-stubs): Likewise.
6463 * include/stubs-biarch.h: Removed.
6464 * scripts/lib-names.awk: Only handle one library at a time.
6465 * scripts/soversions.awk: Remove WORDSIZE support.
6466 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6468 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6470 (syscall-list-default-condition): Likewise.
6471 (syscall-list-default-condition): Likewise.
6472 (syscall-list-includes): Likewise.
6473 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6474 syscall-list-* with abi-*. Handle undefined abi-variants.
6475 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6476 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6477 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6478 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6479 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6480 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6482 (syscall-list-32-options): Likewise.
6483 (syscall-list-32-condition): Likewise.
6484 (syscall-list-64-options): Likewise.
6485 (syscall-list-64-condition): Likewise.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6488 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6491 (abi-64-ld-soname): New macro.
6492 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6493 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6496 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6497 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6499 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6501 * sysdeps/unix/sysv/linux/kernel-features.h
6502 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6503 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6504 include <kernel-features.h>.
6505 [!__NR_ftruncate64]: Remove conditional code.
6506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6507 [__NR_ftruncate64]: Make code unconditional.
6508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6509 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6510 include <kernel-features.h>.
6511 [!__NR_ftruncate64]: Remove conditional code.
6512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6513 [__NR_ftruncate64]: Make code unconditional.
6514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6516 include <kernel-features.h>.
6517 [!__NR_ftruncate64]: Remove conditional code.
6518 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6519 [__NR_ftruncate64]: Make code unconditional.
6520 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6522 include <kernel-features.h>.
6523 [!__NR_ftruncate64]: Remove conditional code.
6524 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6525 [__NR_ftruncate64]: Make code unconditional.
6526 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6528 * configure.in (libc_cv_fpie): Weaken to a compile test using
6530 * configure: Regenerated.
6532 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6547 2012-05-27 David S. Miller <davem@davemloft.net>
6549 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6551 (__Q_simulate_exceptions): Return void. Change to simulate
6552 exceptions by writing into the %fsr.
6553 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6554 (__Qp_handle_exceptions): Likewise.
6556 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6557 __Qp_handle_exceptions.
6558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6559 __Qp_handle_exceptions.
6560 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6561 as unused and give dummy FP_RND_NEAREST initializer.
6562 (FP_INHIBIT_RESULTS): Define.
6563 (___Q_simulate_exceptions): Update declaration.
6564 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6567 as unused and give dummy FP_RND_NEAREST initializer.
6568 (__Qp_handle_exceptions): Update declaration.
6569 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6572 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6574 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6575 the temporary FPU control word.
6576 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6577 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6579 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6580 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6581 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6582 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6584 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6585 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6586 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6588 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6593 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6595 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6596 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6597 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6598 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6600 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6601 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6604 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6606 * po/h.po: Update from translation team.
6608 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6610 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6612 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6613 handling of denormals.
6614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6615 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6620 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6623 2012-05-26 Marek Polacek <polacek@redhat.com>
6626 * math/libm-test.inc (fma_test): Don't always expect underflow
6629 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6632 * elf/tst-execstack.c: Include stackinfo.h.
6633 (do_test): Adjust test case to ensure that pthread_getattr_np
6634 behaviour remains the same after marking stack executable.
6636 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6638 * sysdeps/unix/sysv/linux/kernel-features.h
6639 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6640 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6642 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6643 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6644 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6646 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6647 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6649 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6651 * configure.in: Define the default includes to being none.
6652 * configure: Regenerated.
6654 2012-05-25 Roland McGrath <roland@hack.frob.com>
6656 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6657 * sysdeps/x86_64/setjmp.S: Likewise.
6658 * sysdeps/i386/bsd-setjmp.S: Likewise.
6659 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6660 * sysdeps/i386/setjmp.S: Likewise.
6661 * sysdeps/i386/__longjmp.S: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6663 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6665 * include/stap-probe.h: New file.
6666 * configure.in: Handle --enable-systemtap.
6667 * configure: Regenerated.
6668 * config.h.in (USE_STAP_PROBE): New #undef.
6669 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6670 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6671 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6673 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6677 to 2.4.0 where earlier.
6678 * sysdeps/unix/sysv/linux/configure: Regenerated.
6679 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6680 <kernel-features.h>.
6681 [__ASSUME_32BITUIDS]: Make code unconditional.
6682 [!__ASSUME_32BITUIDS]: Remove conditional code.
6683 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6684 <kernel-features.h>.
6685 [__ASSUME_32BITUIDS]: Make code unconditional.
6686 [!__ASSUME_32BITUIDS]: Remove conditional code.
6687 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6688 [__ASSUME_32BITUIDS]: Make code unconditional.
6689 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6690 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6691 <kernel-features.h>.
6692 [__ASSUME_32BITUIDS]: Make code unconditional.
6693 [!__ASSUME_32BITUIDS]: Remove conditional code.
6694 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6695 <kernel-features.h>.
6696 [__ASSUME_32BITUIDS]: Make code unconditional.
6697 [!__ASSUME_32BITUIDS]: Remove conditional code.
6698 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6699 <kernel-features.h>.
6700 [__ASSUME_32BITUIDS]: Make code unconditional.
6701 [!__ASSUME_32BITUIDS]: Remove conditional code.
6702 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6703 <kernel-features.h>.
6704 [__ASSUME_32BITUIDS]: Make code unconditional.
6705 [!__ASSUME_32BITUIDS]: Remove conditional code.
6706 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6707 <kernel-features.h>.
6708 [__ASSUME_32BITUIDS]: Make code unconditional.
6709 [!__ASSUME_32BITUIDS]: Remove conditional code.
6710 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6711 <kernel-features.h>.
6712 [__ASSUME_32BITUIDS]: Make code unconditional.
6713 [!__ASSUME_32BITUIDS]: Remove conditional code.
6714 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6715 <kernel-features.h>.
6716 [__ASSUME_32BITUIDS]: Make code unconditional.
6717 [!__ASSUME_32BITUIDS]: Remove conditional code.
6718 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6719 <kernel-features.h>.
6720 [__ASSUME_32BITUIDS]: Make code unconditional.
6721 [!__ASSUME_32BITUIDS]: Remove conditional code.
6722 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6723 <kernel-features.h>.
6724 [__ASSUME_32BITUIDS]: Make code unconditional.
6725 [!__ASSUME_32BITUIDS]: Remove conditional code.
6726 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6727 <kernel-features.h>.
6728 [__ASSUME_32BITUIDS]: Make code unconditional.
6729 [!__ASSUME_32BITUIDS]: Remove conditional code.
6730 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6731 <kernel-features.h>.
6732 [__NR_setresgid] (__setresgid): Do not declare.
6733 [__ASSUME_32BITUIDS]: Make code unconditional.
6734 [!__ASSUME_32BITUIDS]: Remove conditional code.
6735 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6736 <kernel-features.h>.
6737 [__NR_setresuid] (__setresuid): Do not declare.
6738 [__ASSUME_32BITUIDS]: Make code unconditional.
6739 [!__ASSUME_32BITUIDS]: Remove conditional code.
6740 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6741 <kernel-features.h>.
6742 [__ASSUME_32BITUIDS]: Make code unconditional.
6743 [!__ASSUME_32BITUIDS]: Remove conditional code.
6744 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6745 <kernel-features.h>.
6746 [__ASSUME_32BITUIDS]: Make code unconditional.
6747 [!__ASSUME_32BITUIDS]: Remove conditional code.
6748 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6749 <kernel-features.h>.
6750 [__ASSUME_32BITUIDS]: Make code unconditional.
6751 [!__ASSUME_32BITUIDS]: Remove conditional code.
6752 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6753 <kernel-features.h>.
6754 [__ASSUME_32BITUIDS]: Make code unconditional.
6755 [!__ASSUME_32BITUIDS]: Remove conditional code.
6756 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6757 <kernel-features.h>.
6758 [__ASSUME_32BITUIDS]: Make code unconditional.
6759 [!__ASSUME_32BITUIDS]: Remove conditional code.
6760 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6761 <kernel-features.h>.
6762 [__ASSUME_32BITUIDS]: Make code unconditional.
6763 [!__ASSUME_32BITUIDS]: Remove conditional code.
6764 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6765 <kernel-features.h>.
6766 [__ASSUME_32BITUIDS]: Make code unconditional.
6767 [!__ASSUME_32BITUIDS]: Remove conditional code.
6768 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6769 <kernel-features.h>.
6770 [__ASSUME_32BITUIDS]: Make code unconditional.
6771 [!__ASSUME_32BITUIDS]: Remove conditional code.
6772 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6773 <kernel-features.h>.
6774 [__ASSUME_32BITUIDS]: Make code unconditional.
6775 [!__ASSUME_32BITUIDS]: Remove conditional code.
6776 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6777 <kernel-features.h>.
6778 [__ASSUME_32BITUIDS]: Make code unconditional.
6779 [!__ASSUME_32BITUIDS]: Remove conditional code.
6780 * sysdeps/unix/sysv/linux/kernel-features.h
6781 (__ASSUME_SETRESUID_SYSCALL): Remove.
6782 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6783 (__ASSUME_32BITUIDS): Likewise.
6784 (__ASSUME_LDT_WORKS): Likewise.
6785 (__ASSUME_O_DIRECTORY): Likewise.
6786 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6787 architecture but not kernel version.
6788 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6789 (__ASSUME_MMAP2_SYSCALL): Likewise.
6790 (__ASSUME_STAT64_SYSCALL): Likewise.
6791 (__ASSUME_IPC64): Likewise.
6792 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6793 <kernel-features.h>.
6794 [__ASSUME_32BITUIDS]: Make code unconditional.
6795 [!__ASSUME_32BITUIDS]: Remove conditional code.
6796 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6797 <kernel-features.h>.
6798 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6799 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6800 132096]: Remove conditional code.
6801 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6803 <kernel-features.h>.
6804 [__ASSUME_32BITUIDS]: Make code unconditional.
6805 [!__ASSUME_32BITUIDS]: Remove conditional code.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6807 <kernel-features.h>.
6808 [__ASSUME_32BITUIDS]: Make code unconditional.
6809 [!__ASSUME_32BITUIDS]: Remove conditional code.
6810 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6811 <kernel-features.h>.
6812 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6814 (__setresgid): Do not declare.
6815 [__ASSUME_32BITUIDS]: Make code unconditional.
6816 [!__ASSUME_32BITUIDS]: Remove conditional code.
6817 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6818 <kernel-features.h>.
6819 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6821 (__setresuid): Do not declare.
6822 [__ASSUME_32BITUIDS]: Make code unconditional.
6823 [!__ASSUME_32BITUIDS]: Remove conditional code.
6824 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6825 <kernel-features.h>.
6826 [__ASSUME_32BITUIDS]: Make code unconditional.
6827 [!__ASSUME_32BITUIDS]: Remove conditional code.
6828 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6829 <kernel-features.h>.
6830 [__ASSUME_32BITUIDS]: Make code unconditional.
6831 [!__ASSUME_32BITUIDS]: Remove conditional code.
6833 2012-05-25 Richard Henderson <rth@twiddle.net>
6835 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6836 dl_hwcap to ifunc resolver.
6837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6839 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6840 dl_hwcap to ifunc resolver.
6841 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6843 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6846 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6847 for |x| <= 2**-26, not 2**-57.
6848 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6851 2012-05-24 Jeff Law <law@redhat.com>
6853 * stdio-common/Makefile (tests): Add bug25.
6854 * stdio-common/bug25.c: New test.
6856 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6859 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6860 multiple of MALLOC_ALIGNMENT in size.
6861 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6863 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6865 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6867 (FILENAME_MAX): Use macro-int-constant.
6868 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6869 (_IOFBF): Use macro-int-constant.
6872 (SEEK_CUR): Likewise.
6873 (SEEK_END): Likewise.
6874 (SEEK_SET): Likewise.
6875 (TMP_MAX): Likewise.
6876 (EOF): Use macro-int-constant. Require < 0.
6877 (NULL): Use macro-constant. Require == 0.
6878 (stdin): Require type to be FILE *.
6881 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6883 (EXIT_SUCCESS): Likewise.
6884 (NULL): Use macro-constant. Require == 0.
6885 (RAND_MAX): Use macro-int-constant.
6886 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6887 [C99-based standards] (strtof): Require function.
6888 [C99-based standards] (strtold): Likewise.
6889 [C99-based standards] (strtoll): Likewise.
6890 [C99-based standards] (strtoull): Likewise.
6891 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6892 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6893 [ISO || ISO99 || ISO11] (math.h): Likewise.
6894 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6895 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6898 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6901 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6902 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6903 * intl/dgettext.c (DCGETTEXT): Likewise.
6904 * intl/gettext.c (DCGETTEXT): Likewise.
6905 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6906 * posix/regex_internal.h (gettext): Likewise.
6907 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6909 * include/argz.h (__argz_count_internal)
6910 (__argz_stringify_internal): Remove declaration.
6911 (__argz_count, __argz_stringify): Declare hidden proto.
6912 * intl/dcgettext.c: Remove use of INTDEF.
6913 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6914 * string/argz-stringify.c: Likewise.
6915 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6916 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6917 Declare hidden proto.
6918 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6919 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6920 Declare hidden proto.
6921 * include/stdio.h (__asprintf_internal): Don't declare.
6922 (__asprintf): Don't define as macro. Declare hidden proto.
6923 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6924 (__fsetlocking): Declare hidden proto.
6925 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6926 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6928 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6929 (_IO_setlinebuf): Remove use of INTUSE.
6930 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6931 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6932 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6934 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6935 (_IO_do_flush): Remove use of INTUSE.
6936 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6937 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6938 (_IO_adjust_column, _IO_least_wmarker)
6939 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6940 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6941 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6942 (_IO_default_doallocate, _IO_wdefault_doallocate)
6943 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6944 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6945 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6946 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6947 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6948 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6949 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6950 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6951 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6952 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6953 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6954 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6955 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6957 (_IO_flush_all_internal, _IO_adjust_column_internal)
6958 (_IO_default_uflow_internal, _IO_default_finish_internal)
6959 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6960 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6961 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6962 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6963 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6964 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6965 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6966 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6967 (_IO_file_close_internal, _IO_file_close_it_internal)
6968 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6969 (_IO_file_init_internal, _IO_file_attach_internal)
6970 (_IO_file_fopen_internal, _IO_file_read_internal)
6971 (_IO_file_sync_internal, _IO_file_seek_internal)
6972 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6973 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6974 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6975 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6976 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6977 (_IO_list_all_internal, _IO_link_in_internal)
6978 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6979 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6980 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6981 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6982 (_IO_do_write_internal, _IO_padn_internal)
6983 (_IO_getline_info_internal, _IO_getline_internal)
6984 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6985 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6986 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6987 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6988 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6989 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6990 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6991 with libc_hidden_ver, remove use of INTUSE.
6992 * libio/genops.c: Likewise.
6993 * libio/freopen.c: Likewise.
6994 * libio/freopen64.c: Likewise.
6995 * libio/iofclose.c: Likewise.
6996 * libio/iofdopen.c: Likewise.
6997 * libio/iofflush.c: Likewise.
6998 * libio/iofflush_u.c: Likewise.
6999 * libio/iofgets.c: Likewise.
7000 * libio/iofgets_u.c: Likewise.
7001 * libio/iofopen.c: Likewise.
7002 * libio/iofopncook.c: Likewise.
7003 * libio/iofread.c: Likewise.
7004 * libio/iofread_u.c: Likewise.
7005 * libio/ioftell.c: Likewise.
7006 * libio/iofwrite.c: Likewise.
7007 * libio/iogetline.c: Likewise.
7008 * libio/iogets.c: Likewise.
7009 * libio/iogetwline.c: Likewise.
7010 * libio/iopadn.c: Likewise.
7011 * libio/iopopen.c: Likewise.
7012 * libio/ioseekoff.c: Likewise.
7013 * libio/ioseekpos.c: Likewise.
7014 * libio/iosetbuffer.c: Likewise.
7015 * libio/iosetvbuf.c: Likewise.
7016 * libio/ioungetc.c: Likewise.
7017 * libio/ioungetwc.c: Likewise.
7018 * libio/iovdprintf.c: Likewise.
7019 * libio/iovsprintf.c: Likewise.
7020 * libio/iovsscanf.c: Likewise.
7021 * libio/memstream.c: Likewise.
7022 * libio/obprintf.c: Likewise.
7023 * libio/oldfileops.c: Likewise.
7024 * libio/oldiofclose.c: Likewise.
7025 * libio/oldiofdopen.c: Likewise.
7026 * libio/oldiofopen.c: Likewise.
7027 * libio/oldiopopen.c: Likewise.
7028 * libio/oldstdfiles.c: Likewise.
7029 * libio/putc.c: Likewise.
7030 * libio/setbuf.c: Likewise.
7031 * libio/setlinebuf.c: Likewise.
7032 * libio/stdfiles.c: Likewise.
7033 * libio/strops.c: Likewise.
7034 * libio/vasprintf.c: Likewise.
7035 * libio/vscanf.c: Likewise.
7036 * libio/vsnprintf.c: Likewise.
7037 * libio/vswprintf.c: Likewise.
7038 * libio/wfiledoalloc.c: Likewise.
7039 * libio/wfileops.c: Likewise.
7040 * libio/wgenops.c: Likewise.
7041 * libio/wmemstream.c: Likewise.
7042 * libio/wstrops.c: Likewise.
7043 * libio/__fpurge.c: Likewise.
7044 * libio/__fsetlocking.c: Likewise.
7045 * assert/assert.c: Likewise.
7046 * debug/fgets_chk.c: Likewise.
7047 * debug/fgets_u_chk.c: Likewise.
7048 * debug/fread_chk.c: Likewise.
7049 * debug/fread_u_chk.c: Likewise.
7050 * debug/gets_chk.c: Likewise.
7051 * debug/obprintf_chk.c: Likewise.
7052 * debug/vasprintf_chk.c: Likewise.
7053 * debug/vdprintf_chk.c: Likewise.
7054 * debug/vsnprintf_chk.c: Likewise.
7055 * debug/vsprintf_chk.c: Likewise.
7056 * malloc/mtrace.c: Likewise.
7057 * misc/error.c: Likewise.
7058 * misc/syslog.c: Likewise.
7059 * stdio-common/asprintf.c: Likewise.
7060 * stdio-common/fxprintf.c: Likewise.
7061 * stdio-common/getw.c: Likewise.
7062 * stdio-common/isoc99_fscanf.c: Likewise.
7063 * stdio-common/isoc99_scanf.c: Likewise.
7064 * stdio-common/isoc99_vfscanf.c: Likewise.
7065 * stdio-common/isoc99_vscanf.c: Likewise.
7066 * stdio-common/isoc99_vsscanf.c: Likewise.
7067 * stdio-common/printf-prs.c: Likewise.
7068 * stdio-common/printf_fp.c: Likewise.
7069 * stdio-common/printf_fphex.c: Likewise.
7070 * stdio-common/printf_size.c: Likewise.
7071 * stdio-common/putw.c: Likewise.
7072 * stdio-common/scanf.c: Likewise.
7073 * stdio-common/sprintf.c: Likewise.
7074 * stdio-common/tmpfile.c: Likewise.
7075 * stdio-common/vfprintf.c: Likewise.
7076 * stdio-common/vfscanf.c: Likewise.
7077 * stdlib/strfmon_l.c: Likewise.
7078 * sunrpc/openchild.c: Likewise.
7079 * sunrpc/xdr_stdio.c: Likewise.
7080 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7081 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7083 2012-05-24 Roland McGrath <roland@hack.frob.com>
7085 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7087 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7088 in the third column, to generate for the shared library an IFUNC
7089 that uses _dl_vdso_vsym.
7090 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7091 * Makeconfig (object-suffixes-noshared): New variable.
7093 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7094 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7095 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7096 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7099 * include/sys/time.h (__gettimeofday): Remove macro.
7100 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7101 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7103 (__gettimeofday): Add libc_hidden_def.
7104 (gettimeofday): Add libc_hidden_weak.
7105 * sysdeps/mach/gettimeofday.c: Likewise.
7106 * sysdeps/posix/gettimeofday.c: Likewise.
7107 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7110 (__gettimeofday_internal): Remove strong_alias.
7111 (__gettimeofday): Add libc_hidden_def.
7112 (gettimeofday): Add libc_hidden_weak.
7113 * sysdeps/unix/syscalls.list (gettimeofday):
7114 Remove __gettimeofday_internal alias.
7116 2012-05-24 Daniel Jacobowitz <drow@false.org>
7117 H.J. Lu <hongjiu.lu@intel.com>
7120 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7121 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7122 (largebin_index_32_big): New.
7123 (largebin_index): Use it for 16-byte alignment.
7124 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7125 correction with front_misalign.
7127 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7155 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7156 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7158 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7162 * math/libm-test.inc (exp_test): Add test from bug 14036.
7163 (pow_test): Add test from bug 10846.
7165 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7167 (special_function): Do not include flags in test name.
7168 (parse_args): Likewise.
7169 * sysdeps/i386/fpu/libm-test-ulps: Update.
7170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7172 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7175 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7177 * math/libm-test.inc ("Philosophy"): Update comment about
7179 (UNDERFLOW_EXCEPTION): New macro.
7180 (UNDERFLOW_EXCEPTION_OK): Likewise.
7181 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7182 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7183 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7184 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7185 (INVALID_EXCEPTION_OK): Update value.
7186 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7187 (OVERFLOW_EXCEPTION_OK): Likewise.
7188 (IGNORE_ZERO_INF_SIGN): Likewise.
7189 (test_exceptions): Handle underflow exceptions.
7190 (acos_test): Update for underflow exception expectations.
7191 (cexp_test): Likewise.
7192 (clog_test): Likewise.
7193 (clog10_test): Likewise.
7194 (csqrt_test): Likewise.
7195 (ctan_test): Likewise.
7196 (ctanh_test): Likewise.
7197 (exp_test): Likewise.
7198 (exp10_test): Likewise.
7199 (exp2_test): Likewise.
7200 (expm1_test): Likewise.
7201 (fma_test): Likewise.
7202 (j0_test): Likewise.
7203 (jn_test): Likewise.
7204 (nexttoward_test): Likewise.
7205 (pow_test): Likewise.
7206 (scalbn_test): Likewise.
7207 (scalbln_test): Likewise.
7208 (tan_test): Likewise.
7209 (y1_test): Likewise.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213 2012-05-23 David S. Miller <davem@davemloft.net>
7215 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7216 (__libc_sigaction): Remove unused local variables.
7218 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7220 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7222 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7224 mktime: avoid signed integer overflow
7225 * time/mktime.c (__mktime_internal): Do not mishandle the case
7226 where diff == INT_MIN.
7228 mktime: simplify computation of average
7229 * time/mktime.c (ranged_convert): Use new time_t_avg function
7230 instead of rolling our own (probably-slower) code.
7232 mktime: do not assume signed right shift propagates sign bit
7233 * time/mktime.c (isdst_differ): New static function.
7234 (__mktime_internal): No need to normalize tm_isdst now.
7235 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7238 mktime: merge another wrapv change from gnulib
7239 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7240 from some compilers.
7242 mktime: remove incorrect attempt at unusual arithmetics
7243 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7244 The code didn't really work on such machines anyway.
7245 (TYPE_MINIMUM): Assume two's complement.
7246 (twos_complement_arithmetic): Verify that long_int and time_t
7247 are two's complement (or unsigned, in the latter case).
7249 mktime: check signed shifts on long_int and time_t, too
7250 * time/mktime.c (SHR): Check that shifts work as desired
7251 on the types long_int and time_t too, as SHR is used on
7254 mktime: do not assume 'long' is wide enough
7255 * time/mktime.c (verify): Move decl up.
7256 (long_int): New type.
7257 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7258 to remove assumption in the code that 'long' is wide enough to
7259 store year values. This assumption is not true on x32 and on
7260 some non-glibc platforms.
7262 mktime: merge wrapv change from gnulib
7263 * time/mktime.c (WRAPV): New macro.
7264 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7265 (guess_time_tm, __mktime_internal): Do not assume that signed
7266 integer overflow wraps around; modern compilers generate code
7267 where this assumption is no longer valid.
7269 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7271 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7272 Replace "jmp L(pseudo_end)" with "ret".
7273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7276 2012-05-23 Andreas Jaeger <aj@suse.de>
7278 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7279 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7281 2012-05-23 Andreas Jaeger <aj@suse.de>
7282 Maximilian Attems <max@stro.at>
7284 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7287 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7290 code so that pseudo_end is just ret and the stack pointer is
7291 correct also for static library in error case.
7293 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7295 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7296 move to syscalls.list.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7302 * manual/install.texi (Running make install): Do not mention Linux
7303 kernel version for which pt_chown is not needed.
7304 (Linux): Do not mention problems with nscd with 2.0 kernels.
7305 * INSTALL: Regenerated.
7307 2012-05-23 Andreas Jaeger <aj@suse.de>
7309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7310 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7312 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7314 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7316 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7317 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7318 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7319 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7320 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7321 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7322 * sysdeps/unix/sysv/linux/bits/in.h
7323 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7325 2012-05-22 Roland McGrath <roland@hack.frob.com>
7327 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7328 (PREPARE_VERSION): Just use assert instead, it will be elided
7329 under [NDEBUG] anyway.
7331 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7333 * sysdeps/unix/sysv/linux/Makefile: Include
7334 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7335 (sysdep_routines): Remove sysctl.
7336 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7337 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7338 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7339 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7340 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7342 2012-05-22 Andreas Jaeger <aj@suse.de>
7344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7345 that pseudo_end is just ret and the stack pointer is correct also
7346 for static library in error case.
7348 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7351 * nss/nsswitch.c (defconfig_entries): New variable.
7352 (__nss_database_lookup): Don't leak defconfig entries.
7353 (nss_parse_service_list): Don't leak on error paths.
7354 (free_database_entries): New function.
7355 (free_defconfig): New function.
7356 (free_mem): Move common code to free_database_entries.
7358 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7360 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7362 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7364 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7365 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7368 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7369 (INTERNAL_SYSCALL_TYPES): Likewise.
7370 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7371 (LOAD_REGS_TYPES_[1-6]): Likewise.
7372 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7373 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7375 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7377 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7378 copysignl for GLIBC_2_0.
7379 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7380 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7382 logbl for GLIBC_2_0.
7383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7389 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7391 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7394 * time/mktime.c: Update copyright years.
7396 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7398 mktime: merge comment-quoting-style change from gnulib
7399 * time/mktime.c: Quote 'like this' in comments.
7400 The GNU coding standards suggest that we no longer quote `like this',
7401 as "`" and "'" are typically rendered asymmetrically nowadays.
7402 The typical gnulib style is to quote 'like this' when quoting
7403 code, and "like this" when quoting English.
7405 * time/mktime.c (compile-command): Add "-I.".
7407 mktime: merge mktime-internal.h change from gnulib
7408 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7410 mktime: merge time_r change from gnulib
7411 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7413 mktime: merge DEBUG change from gnulib
7414 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7415 case system <time.h> has a #define.
7417 mktime: merge <sys/types.h> change from gnulib
7418 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7419 since <time.t> is now guaranteed to define time_t.
7421 mktime: merge HAVE_CONFIG_H change from gnulib
7422 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7424 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7429 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7431 (struct rusage): Use anonymous union to pad each field to
7434 2012-05-21 David S. Miller <davem@davemloft.net>
7436 * Makefules (o-iterator): Remove .s cases.
7437 (compile-command.s): Delete.
7438 (COMPILE.s): Delete.
7439 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7441 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7443 * configure.in (libc_cv_predef_stack_protector): Only consider
7444 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7445 * configure: Regenerated.
7447 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7450 New macro. Use R*LP on int and pointer.
7451 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7452 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7453 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7454 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7456 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7457 [__WORDSIZE_TIME64_COMPAT32] instead of
7458 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7459 (struct utmp): Likewise.
7460 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7461 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7463 (__WORDSIZE_TIME64_COMPAT32): This.
7464 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7465 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7466 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7468 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7469 (__WORDSIZE_TIME64_COMPAT32): New macro.
7471 2012-05-21 Andreas Jaeger <aj@suse.de>
7473 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7474 only if [SHARED]. Add prototype for __wcschr_ia32.
7476 2012-05-21 Roland McGrath <roland@hack.frob.com>
7478 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7479 of %rbp unmolested in the jmp_buf while mangling the low bits.
7480 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7481 unmolested high bits of %rbp while demangling the low bits.
7482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7484 2012-05-21 Andreas Jaeger <aj@suse.de>
7486 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7487 * sunrpc/svc_simple.c: Use it for registerrpc.
7488 * sunrpc/xcrypt.c: Use it for passwd2des.
7490 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7492 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7494 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7495 Don't define if [__SYSCALL_WORDSIZE != 32].
7496 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7499 2012-05-21 Bruno Haible <bruno@clisp.org>
7500 Andreas Jaeger <aj@suse.de>
7502 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7503 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7504 inptr and inend for must_buffer_ch.
7505 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7506 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7507 * stdio-common/Makefile (tests): Remove bug15.
7508 (bug15-ENV): Remove macro.
7509 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7512 2012-05-19 Andreas Jaeger <aj@suse.de>
7513 Roland McGrath <roland@hack.frob.com>
7515 * manual/contrib.texi: Completely rewritten. It contains now an
7516 alphabetical list of contributors and their contributions.
7518 2012-05-21 Richard Henderson <rth@twiddle.net>
7520 * misc/getauxval.c (__getauxval): Use unsigned long int.
7521 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7522 (getauxval): Use unsigned long int.
7524 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7526 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7528 2012-05-21 Roland McGrath <roland@hack.frob.com>
7530 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7531 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7532 __alignof__ (long double).
7534 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7538 2012-05-20 Richard Henderson <rth@twiddle.net>
7540 * misc/getauxval.c: New file.
7541 * misc/sys/auxv.h: New file.
7542 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7543 (routines): Add getauxval.
7544 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7545 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7546 * elf/dl-sysdep.c (_dl_auxv): Remove.
7547 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7548 * elf/dl-support.c (_dl_auxv): New variable.
7549 (_dl_aux_init): Initialize it.
7550 * manual/startup.texi (Auxiliary Vector): New node.
7551 * sysdeps/generic/bits/hwcap.h: New file.
7552 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7553 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7554 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7555 * sysdeps/sparc/sysdep.h: ... here. Include it.
7556 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7569 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7573 2012-05-19 David S. Miller <davem@davemloft.net>
7575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7577 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7580 * math/s_ccosh.c: Include <float.h>
7581 (__ccosh): Avoid internal overflow calculating sinh and cosh
7582 values before multiplying by sin and cos values.
7583 * math/s_ccoshf.c: Likewise.
7584 * math/s_ccoshl.c: Likewise.
7585 * math/s_csin.c: Likewise.
7586 * math/s_csinf.c: Likewise.
7587 * math/s_csinl.c: Likewise.
7588 * math/s_csinh.c: Likewise.
7589 * math/s_csinhf.c: Likewise.
7590 * math/s_csinhl.c: Likewise.
7591 * math/libm-test.inc (ccos_test): Add more tests.
7592 (ccosh_test): Likewise.
7593 (csin_test): Likewise.
7594 (csinh_test): Likewise.
7595 * sysdeps/i386/fpu/libm-test-ulps: Update.
7596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7598 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7600 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7601 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7603 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7605 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7608 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7609 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7610 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7611 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7612 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7613 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7614 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7615 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7616 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7617 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7618 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7619 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7620 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7621 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7622 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7623 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7624 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7625 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7626 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7627 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7628 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7629 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7630 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7631 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7632 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7633 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7634 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7635 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7636 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7637 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7639 2012-05-18 Andreas Jaeger <aj@suse.de>
7641 * csu/.gitignore: Delete.
7643 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7645 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7646 (timex): Use __syscall_slong_t.
7648 2012-05-18 Andreas Jaeger <aj@suse.de>
7649 Carlos O'Donell <carlos_odonell@mentor.com>
7651 * manual/install.texi (Configuring and compiling): Update
7652 description about files modified in the source directory.
7653 * INSTALL: Regenerated.
7655 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7657 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7658 value. Use "or" to set return value to -1.
7659 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7660 negate return value.
7662 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7664 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7665 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7666 failure if the compiler has Graphite support disabled.
7667 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7669 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7670 CFLAGS-memmove.c): Likewise.
7671 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7674 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7676 * sysdeps/x86_64/x32/_itoa.h: New file.
7678 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7679 getdents system call only if kernel and user dirents have the
7680 same d_ino and d_off.
7682 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7683 LLONG_MAX != LONG_MAX.
7684 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7685 (_fitoa_word): Likewise.
7687 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7690 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7691 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7693 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7694 include <bits/wordsize.h>. Check __x86_64__ instead of
7696 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7697 if __x86_64__ is defined. Use anonymous union on fpstate.
7699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7702 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7704 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7705 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7706 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7707 Refer to _rtld_local_ro instead of _rtld_global_ro.
7708 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7710 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7712 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7714 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7715 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7716 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7718 * sysdeps/powerpc/powerpc32/dl-machine.c
7719 (__elf_machine_runtime_setup) [PROF]: Don't reference
7722 2012-05-18 Andreas Jaeger <aj@suse.de>
7724 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7725 function only available for GCCs before 3.4 since GCC 3.4
7726 introduced a builtin.
7728 (llrintf): Likewise.
7736 (nearbyint): Likewise.
7737 (nearbyintf): Likewise.
7743 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7745 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7746 on both fields and cast pointer to __syscall_ulong_t.
7748 * bits/types.h (__fsword_t): New type.
7749 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7750 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7751 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7752 (__FSWORD_T_TYPE): Likewise.
7753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7754 (__FSWORD_T_TYPE): Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7756 (__FSWORD_T_TYPE): Likewise.
7757 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7758 (__FSWORD_T_TYPE): Likewise.
7759 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7760 __SWORD_TYPE with __fsword_t.
7761 (statfs64): Likewise.
7763 2012-05-17 David S. Miller <davem@davemloft.net>
7765 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7767 2012-05-17 Andreas Jaeger <aj@suse.de>
7769 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7772 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7774 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7776 2012-05-17 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7781 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7783 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7785 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7788 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7790 2012-05-17 Andreas Jaeger <aj@suse.de>
7791 Carlos O'Donell <carlos_odonell@mentor.com>
7794 * sysdeps/x86_64/multiarch/init-arch.h
7795 (bit_YMM_Usable): Rename to...
7796 (bit_AVX_Usable): ... this.
7797 (bit_FMA4_Usable): New macro.
7798 (bit_XMM_state): New macro.
7799 (bit_YMM_state): New macro.
7800 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7801 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7802 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7803 (CPUID_OSXSAVE): New macro.
7804 (CPUID_AVX): New macro.
7805 (CPUID_FMA4): New macro.
7806 (index_YMM_Usable): Rename to...
7807 (index_AVX_Usable): ... this.
7808 (HAS_AVX): Use HAS_ARCH_FEATURE.
7809 (HAS_FMA4): Likewise.
7810 (HAS_YMM_USABLE): Remove.
7811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7812 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7814 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7815 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7816 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7817 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7818 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7820 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7822 * math/libm-test.c: Support platforms without multiple rounding modes.
7823 * math/bug-nextafter.c: Support platforms without FP exceptions.
7824 * math/bug-nexttoward.c: Likewise.
7825 * math/test-fenv.c: Likewise.
7826 * math/test-misc.c: Likewise.
7827 * stdlib/bug-getcontext.c: Likewise.
7829 2012-05-17 Andreas Jaeger <aj@suse.de>
7831 * manual/examples/search.c (critter_cmp): Change signature to
7833 * manual/string.texi (Collation Functions): Likewise.
7835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7837 * bits/types.h: Fold copyright years.
7838 * bits/typesizes.h: Likewise.
7839 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7843 * time/time.h: Likewise.
7845 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7848 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7849 in instead of returning them. Return void.
7850 (__libc_mallinfo): Accumulate over all arenas.
7851 (__malloc_stats): Adjust for change in int_mallinfo interface.
7853 2012-05-16 Roland McGrath <roland@hack.frob.com>
7856 * configure.in (NM): Add AC_CHECK_TOOL for it.
7857 (libc_extra_cflags): New substituted variable.
7858 Check for -fstack-protector being used implicitly.
7859 * configure: Regenerated.
7860 * config.make.in (config-extra-cflags): New variable,
7861 gets @libc_extra_cflags@.
7862 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7865 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7866 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7867 * configure: Regenerated.
7868 * config.make.in (CPPUNDEFS): New substituted variable.
7869 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7870 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7871 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7875 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7876 (mq_attr): Use __syscall_slong_t.
7878 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7880 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7881 Check __x86_64__ instead of __WORDSIZE.
7882 (_STAT_VER_LINUX): Likewise.
7883 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7884 __syscall_ulong_t and __syscall_slong_t.
7887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7889 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7891 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7893 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7897 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7900 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7901 include <bits/wordsize.h>. Check __x86_64__ instead of
7903 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7905 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7908 include <bits/wordsize.h>. Check __x86_64__ instead of
7910 (user_regs_struct): Use "__extension__ unsigned long long"
7911 instead of "unsigned long" if __x86_64__ is defined.
7912 (user): Likewise. Pad after pointer field if __ILP32__ is
7915 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7917 * configure.in (makeinfo): Require version 4.5 or later. Allow
7919 * configure: Regenerated.
7920 * manual/install.texi (texinfo): Increase version requirement to
7922 * INSTALL: Regenerated.
7924 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7928 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7930 * sysdeps/x86_64/x32/ffs.c: New file.
7932 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7934 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7935 defined. Use __syscall_ulong_t.
7936 (shminfo): Use __syscall_ulong_t.
7937 (shm_info): Likewise.
7939 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7942 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7944 (msgqnum_t): Use __syscall_ulong_t.
7945 (msglen_t): Likewise.
7946 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7949 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7950 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7952 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7954 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7955 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7957 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7960 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7961 include <bits/wordsize.h>. Check __x86_64__ instead of
7964 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7965 "unsigned long long int" if __x86_64__ is defined.
7966 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7970 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7972 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7974 (GET_PC): Cast to uintptr_t first.
7975 (GET_FRAME): Likewise.
7976 (GET_STACK): Likewise.
7978 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7979 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7981 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7982 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7983 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7984 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7985 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7986 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7987 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7988 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7989 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7990 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7993 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7996 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7997 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7998 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8002 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8003 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8004 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8006 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8008 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8010 * Makerules (+depfiles): Also collect depfiles from .oS in
8012 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8013 .oS, $(libnldbl-routines)).
8015 * Makerules (native-compile-mkdep-flags): Define.
8016 * sunrpc/Makefile (extra-objs): Add $(addprefix
8017 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8018 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8019 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8020 calling $(make-target-directory).
8022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8024 * bits/types.h (__snseconds_t): Removed.
8025 * time/time.h (struct timespec): Replace __snseconds_t with
8027 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8028 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8031 (__SNSECONDS_T_TYPE): Likewise.
8032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8033 (__SNSECONDS_T_TYPE): Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8035 (__SNSECONDS_T_TYPE): Likewise.
8037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8039 * sysdeps/mach/hurd/bits/typesizes.h
8040 (__SYSCALL_SLONG_TYPE): New macro.
8041 (__SYSCALL_ULONG_TYPE): Likewise.
8043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8045 * bits/types.h (__syscall_slong_t): New type.
8046 (__syscall_ulong_t): Likewise.
8048 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8049 (__SYSCALL_ULONG_TYPE): Likewise.
8050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8051 (__SYSCALL_SLONG_TYPE): Likewise.
8052 (__SYSCALL_ULONG_TYPE): Likewise.
8053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8054 (__SYSCALL_SLONG_TYPE): Likewise.
8055 (__SYSCALL_ULONG_TYPE): Likewise.
8056 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8057 (__SYSCALL_SLONG_TYPE): Likewise.
8058 (__SYSCALL_ULONG_TYPE): Likewise.
8060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8063 Add sigaltstack-offsets.sym.
8064 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8065 <sigaltstack-offsets.h>.
8066 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8067 longjmp_msg pointer.
8068 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8069 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8071 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8073 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8075 * elf/stackguard-macros.h: Remove file.
8076 * sysdeps/generic/stackguard-macros.h: New file.
8077 * sysdeps/i386/stackguard-macros.h: Likewise.
8078 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8079 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8080 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8081 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8082 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8083 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8084 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8085 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8086 <elf/stackguard-macros.h>.
8089 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8090 __aligned__ in attribute.
8091 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8092 (gregset_t): Likewise.
8094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8096 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8097 * sysdeps/x86_64/64/Implies-after: Here. New file.
8098 * sysdeps/x86_64/x32/Implies-after: New file.
8100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8102 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8103 and access return value for _dl_profile_fixup. Use R10_LP to
8106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8108 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8112 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8113 * sysdeps/x86_64/x32/sysdep.h: New file.
8115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8117 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8118 * sysdeps/x86_64/setjmp.S: Likewise.
8120 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8123 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8124 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8125 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8126 remove unused global constant.
8128 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8130 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8131 include of <not-cancel.h>.
8133 2012-05-15 Roland McGrath <roland@hack.frob.com>
8135 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8137 2012-05-15 Jeff Law <law@redhat.com>
8138 Andreas Jaeger <aj@suse.de>
8141 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8143 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8144 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8145 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8146 code changing __hst_map_handle.map.
8148 2012-05-15 Roland McGrath <roland@hack.frob.com>
8150 * configure.in (sysnames): Look for Implies-before and Implies-after
8152 * configure: Regenerated.
8154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8156 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8157 8-byte data alignment with LP_SIZE alignment.
8159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8161 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8166 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8170 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8171 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8178 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8179 (stackinfo_sub_sp): Likewise.
8181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8198 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8202 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8203 into R11_LP and load __x86_64_shared_cache_size_half into
8206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8211 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8217 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8219 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8220 powerpc32/power7/fpu/s_logb.c via #include.
8221 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8222 powerpc32/power7/fpu/s_logbf.c via #include.
8223 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8224 powerpc32/power7/fpu/s_logbl.c via #include.
8226 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8228 * README.libm: Remove file.
8230 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8232 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8233 count for x32. Use R*_LP and omit operand-size suffix.
8235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8237 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8238 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8239 * sysdeps/x86_64/x32/shlib-versions: New file.
8241 2012-05-14 Roland McGrath <roland@hack.frob.com>
8243 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8244 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8245 Use _dl_fatal_printf instead.
8247 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8249 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8250 set if not set by the user. Do not allow for being unset.
8251 * sysdeps/unix/sysv/linux/configure: Regenerated.
8253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8255 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8256 the `q' suffix from lea and replace .quad with ASM_ADDR.
8258 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8261 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8263 (PTR_DEMANGLE): Likewise.
8265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8269 (ASM_ADDR): Likewise.
8287 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8289 * sysdeps/x86_64/x32/dl-machine.h: New file.
8291 2012-05-14 Andreas Jaeger <aj@suse.de>
8293 * manual/Makefile (subdir): Remove export of subdir.
8294 (all): Remove target.
8295 (.PHONY): Remove all from list.
8296 (mkinstalldirs): Remove.
8297 (.PHONY): Remove installdirs from list.
8298 ($(inst_infodir)/libc.info): Use make-target-directory.
8299 (installdirs): Remove.
8301 (glibc-targets): Remove.
8304 ($(objpfx)stubs ../po/manual.pot): Remove.
8305 ($(objpfx)stamp%): Remove.
8306 (make-target-directory): Remove.
8307 (subdir_install): Remove.
8315 * manual/.gitignore: Remove, it's not needed anymore.
8316 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8318 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8320 (texis): Renamed to $(objpfx)texis.
8321 (texis-path): New, contains path to generated files.
8322 (chapters.%): Use texis-path for complete path, add extra argument
8324 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8325 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8326 (summary,texi, stamp-summary): Use complete path of
8327 files. Generate files in build dir.
8328 (dir-add.texi): Build in build dir.
8329 (libm-err.texi,stamp-libm-err): Likewise.
8330 (version.texi, stamp-version): Likewise.
8331 (.%c.texi): Likewise.
8332 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8333 (mostlyclean): Remove target.
8334 (realclean): Remove target.
8335 (generated): Add new variable with contents from mostlyclean and
8336 realclean, remove entries duplicated in common-mostlyclean, add
8337 stamp-libm-err and stamp-version.
8338 (generated-dirs): Add libc directory.
8339 ($(inst_infodir)/libc.info): Install files from build dir.
8341 * manual/install.texi (Configuring and compiling): Adjust since
8342 the info files are not part of the tar ball anymore.
8344 2012-05-14 Andreas Jaeger <aj@suse.de>
8346 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8349 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8353 to 2.2.0 where earlier.
8354 * sysdeps/unix/sysv/linux/configure: Regenerated.
8355 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8356 Remove conditional code.
8357 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8358 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8359 Remove conditional code.
8360 [!__NR_lchown]: Likewise.
8361 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8362 [__NR_lchown]: Likewise.
8363 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8364 comment referencing __ASSUME_LCHOWN_SYSCALL.
8365 * sysdeps/unix/sysv/linux/i386/sigaction.c
8366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8368 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8369 Remove conditional code.
8370 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8371 (__protocol_available): Remove #if 0 code.
8372 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8374 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8375 * sysdeps/unix/sysv/linux/kernel-features.h
8376 (__ASSUME_GETCWD_SYSCALL): Don't define.
8377 (__ASSUME_REALTIME_SIGNALS): Likewise.
8378 (__ASSUME_PREAD_SYSCALL): Likewise.
8379 (__ASSUME_PWRITE_SYSCALL): Likewise.
8380 (__ASSUME_POLL_SYSCALL): Likewise.
8381 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8382 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8384 (__ASSUME_SIOCGIFNAME): Don't define.
8385 (__ASSUME_MSG_NOSIGNAL): Likewise.
8386 (__ASSUME_SENDFILE): Define unconditionally.
8387 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8388 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8390 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8391 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8392 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8393 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8394 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8395 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8396 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8410 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8413 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8416 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8419 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8421 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8422 Remove conditional code.
8423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8424 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8425 Remove conditional code.
8426 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8427 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8428 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8429 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8430 Remove conditional code.
8431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8432 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8433 Remove conditional code.
8434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8436 Remove conditional code.
8437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8438 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8439 Remove conditional code.
8440 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8441 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8442 Remove conditional code.
8443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8444 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8445 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8446 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8447 * sysdeps/unix/sysv/linux/sigaction.c
8448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8450 * sysdeps/unix/sysv/linux/sigpending.c
8451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8453 * sysdeps/unix/sysv/linux/sigprocmask.c
8454 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8455 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8456 * sysdeps/unix/sysv/linux/sigsuspend.c
8457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8460 (__libc_missing_rt_sigs): Remove.
8461 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8462 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8463 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8464 Remove conditional code.
8465 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8466 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8468 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8469 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8470 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8471 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8473 2012-05-14 Andreas Jaeger <aj@suse.de>
8475 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8476 it's not used in glibc.
8477 (__coshm1): Likewise.
8478 (__acosh1p): Likewise.
8481 * manual/string.texi (Copying and Concatenation): Add missing
8482 variable in concat example.
8483 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8489 __builtin_clzl with __builtin_clzll.
8491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8494 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8497 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8499 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8500 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8501 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8504 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8506 * NEWS: Update ia64 info.
8508 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8510 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8513 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8515 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8516 * sysdeps/unix/syscalls.list (dup3): Likewise.
8517 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8518 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8520 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8522 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8523 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8525 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8527 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8529 (TLS_IE): Use mov/add instead of movq/addq to load thread
8531 (TLS_GD_PREFIX): New.
8534 2012-05-11 David S. Miller <davem@davemloft.net>
8536 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8537 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8538 (_FPU_SETCW): Likewise.
8540 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8542 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8545 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8548 * iconvdata/gb18030.c: Update tables.
8549 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8550 characters specially.
8551 (BODY for TO_LOOP): Add encoding of missing ranges.
8553 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8556 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8557 * sysdeps/mach/hurd/dup3.c: Likewise.
8558 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8559 * sysdeps/powerpc/memmove.c:: Likewise.
8561 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8564 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8566 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8568 * elf/elf.h (R_X86_64_RELATIVE64): New.
8569 (R_X86_64_NUM): Updated.
8570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8571 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8572 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8573 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8574 tst-quad1pie tst-quad2pie
8575 (modules-names): Add tst-quadmod1 tst-quadmod2.
8576 ($(objpfx)tst-quad1): New dependency.
8577 ($(objpfx)tst-quad2): Likewise.
8578 ($(objpfx)tst-quad1pie): Likewise.
8579 ($(objpfx)tst-quad2pie): Likewise.
8580 * sysdeps/x86_64/tst-quad1.c: New file.
8581 * sysdeps/x86_64/tst-quad1pie.c: New file.
8582 * sysdeps/x86_64/tst-quad2.c: Likewise.
8583 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8584 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8585 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8586 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8587 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8591 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8592 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8593 * streams/stropts.h (t_scalar_t): Define type.
8595 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8596 (_PATH_PRESERVE): Set to "/var/lib".
8597 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8599 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8602 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8603 if __dir_mkfile succeeded.
8605 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8606 checking for _hurd_dtablesize. Unlock it right after having
8607 finished _hurd_dtable allocation.
8609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8611 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8612 * sysdeps/mach/hurd/configure: Regenerated.
8613 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8614 special-casing to...
8615 * sysdeps/gnu/configure.in: ... this new file.
8616 * sysdeps/unix/sysv/linux/configure: Regenerated.
8617 * sysdeps/gnu/configure: New generated file.
8619 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8620 for Linux: use nsec instead of usec, as well as:
8621 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8622 members of type struct timespec.
8623 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8625 (struct stat64): Likewise.
8626 (_STATBUF_ST_NSEC): New macro.
8627 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8629 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8630 __strtoul_internal rather than strtoul.
8632 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8634 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8639 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8640 which preserves existing values.
8641 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8643 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8645 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8646 TIMEOUT values. Return EINVAL for NFDS values either negative or
8647 greater than FD_SETSIZE.
8649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8651 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8652 allocated, call __vm_protect to finish enabling the existing space, and
8653 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8654 allocate the remainder.
8656 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8658 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8659 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8663 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8664 sysdeps/mach/hurd/readlink.c.
8666 * posix/tst-sysconf.c (posix_options): Only use
8667 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8668 _POSIX_SYNCHRONIZED_IO when they are defined
8669 * sysdeps/mach/hurd/bits/posix_opt.h:
8670 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8671 (_XOPEN_REALTIME): Undefine macro.
8672 (_XOPEN_REALTIME_THREADS): Undefine macro.
8673 (_XOPEN_SHM): Undefine macro.
8674 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8676 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8678 (_POSIX_ASYNC_IO): Undefine macro.
8679 (_POSIX_PRIORITIZED_IO): Undefine macro.
8680 (_POSIX_SPIN_LOCKS): Define macro to -1.
8682 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8683 SA_NODEFER, SA_RESETHAND.
8684 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8685 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8688 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8690 * elf/Makefile (pldd-modules): Define unconditionally.
8692 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8694 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8698 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8699 Return ENOENT when name is empty.
8700 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8704 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8706 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8710 Fix mlock in all cases except non-readable pages.
8711 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8712 instead of VM_PROT_ALL as parameter to __vm_wire function.
8714 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8715 (__mkdir): When path is `/', just fail with EEXIST.
8716 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8720 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8721 <sys/uio.h> (for writev).
8722 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8723 and <sys/param.h> (for MIN).
8725 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8727 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8728 REQUESTED_TIME. Properly set the remaining time and return EINTR
8731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8733 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8734 Depend on against $(link-rpcuserlibs).
8736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8738 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8739 (__libc_stack_end): Do not use attribute_relro.
8740 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8741 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8742 to libthread-provided value.
8743 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8746 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8749 * bits/libc-lock.h (__libc_once_get): New macro.
8750 * sysdeps/mach/bits/libc-lock.h: Likewise.
8751 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8753 instead of using implementation details.
8755 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8756 * libio/freopen.c: Likewise.
8757 * libio/freopen64.c: Likewise.
8758 * misc/syslog.c: Likewise.
8759 * nscd/connections.c: Likewise.
8760 * nscd/netgroupcache.c: Likewise.
8761 * sysdeps/posix/getcwd.c: Likewise.
8763 2012-05-10 Roland McGrath <roland@hack.frob.com>
8765 * math/w_ilogbf.c: Add #include <limits.h>.
8767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8769 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8770 path instead of returning without unlocking.
8772 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8773 immediate-write ioctls.
8774 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8778 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8779 __builtin_frame_address instead of making assumptions about the
8780 location of the return address relative to DATA. Force early load of
8782 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8783 __builtin_frame_address.
8786 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8787 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8788 implement dup3 and do some further code clean-ups.
8789 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8790 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8794 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8796 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8797 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8798 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8799 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8800 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8803 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8804 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8805 when handler == SIG_ERR, not when handler != SIG_ERR.
8807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8809 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8810 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8813 accept4 for GNU Hurd.
8814 * include/sys/socket.h (__libc_accept4): New prototype.
8815 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8816 to implement __libc_accept4.
8817 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8819 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8821 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8822 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8823 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8828 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8832 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8833 assertion on O_CLOEXEC flag.
8834 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8835 * hurd/intern-fd.c: Likewise.
8836 * hurd/port2fd.c: Likewise.
8838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8841 * bits/in.h (IPV6_PKTINFO): Define new macro.
8842 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8844 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8851 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8852 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8854 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8855 * math/libm-test.inc (logb_test) : Additional logb tests.
8857 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8858 Andreas Jaeger <aj@suse.de>
8860 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8861 * configure: Regenerated.
8862 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8863 * config.make.in (link-obsolete-rpc): New substituted variable.
8864 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8865 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8866 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8867 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8868 so that libc.a contains the symbols.
8869 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8870 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8871 * sunrpc/auth_none.c: Likewise.
8872 * sunrpc/auth_unix.c: Likewise.
8873 * sunrpc/authdes_prot.c: Likewise.
8874 * sunrpc/authuxprot.c: Likewise.
8875 * sunrpc/clnt_gen.c: Likewise.
8876 * sunrpc/clnt_perr.c: Likewise.
8877 * sunrpc/clnt_raw.c: Likewise.
8878 * sunrpc/clnt_simp.c: Likewise.
8879 * sunrpc/clnt_tcp.c: Likewise.
8880 * sunrpc/clnt_udp.c: Likewise.
8881 * sunrpc/clnt_unix.c: Likewise.
8882 * sunrpc/des_crypt.c: Likewise.
8883 * sunrpc/des_soft.c: Likewise.
8884 * sunrpc/get_myaddr.c: Likewise.
8885 * sunrpc/key_call.c: Likewise.
8886 * sunrpc/key_prot.c: Likewise.
8887 * sunrpc/netname.c: Likewise.
8888 * sunrpc/pm_getmaps.c: Likewise.
8889 * sunrpc/pm_getport.c: Likewise.
8890 * sunrpc/pmap_clnt.c: Likewise.
8891 * sunrpc/pmap_prot.c: Likewise.
8892 * sunrpc/pmap_prot2.c: Likewise.
8893 * sunrpc/pmap_rmt.c: Likewise.
8894 * sunrpc/publickey.c: Likewise.
8895 * sunrpc/rpc_cmsg.c: Likewise.
8896 * sunrpc/rpc_common.c: Likewise.
8897 * sunrpc/rpc_dtable.c: Likewise.
8898 * sunrpc/rpc_prot.c: Likewise.
8899 * sunrpc/rpc_thread.c: Likewise.
8900 * sunrpc/rtime.c: Likewise.
8901 * sunrpc/svc.c: Likewise.
8902 * sunrpc/svc_auth.c: Likewise.
8903 * sunrpc/svc_raw.c: Likewise.
8904 * sunrpc/svc_run.c: Likewise.
8905 * sunrpc/svc_tcp.c: Likewise.
8906 * sunrpc/svc_udp.c: Likewise.
8907 * sunrpc/svc_unix.c: Likewise.
8908 * sunrpc/svcauth_des.c: Likewise.
8909 * sunrpc/xcrypt.c: Likewise.
8910 * sunrpc/xdr.c: Likewise.
8911 * sunrpc/xdr_array.c: Likewise.
8912 * sunrpc/xdr_float.c: Likewise.
8913 * sunrpc/xdr_intXX_t.c: Likewise.
8914 * sunrpc/xdr_mem.c: Likewise.
8915 * sunrpc/xdr_rec.c: Likewise.
8916 * sunrpc/xdr_ref.c: Likewise.
8917 * sunrpc/xdr_sizeof.c: Likewise.
8918 * sunrpc/xdr_stdio.c: Likewise.
8920 2012-05-10 Roland McGrath <roland@hack.frob.com>
8922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8923 change. Update copyright years.
8925 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8927 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8929 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8930 Joseph Myers <joseph@codesourcery.com>
8931 Paul Pluzhnikov <ppluzhnikov@google.com>
8934 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8936 [cross-compiling] (extra-libs): Likewise.
8937 [cross-compiling] (extra-libs-others): Likewise.
8938 [cross-compiling] (librpcsvc-routines): Likewise.
8939 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8940 [cross-compiling] (omit-deps): Likewise.
8941 (sunrpc-CPPFLAGS): New variable.
8942 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8943 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8944 (cross-rpcgen-objs): New variable.
8945 (extra-objs): Append $(cross-rpcgen-objs).
8946 ($(cross-rpcgen-objs)): New rule.
8947 ($(objpfx)cross-rpcgen): Likewise.
8948 (rpcgen-cmd): Define to use $(built-program-file). Expand
8950 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8951 ($(objpfx)x%.stmp): Likewise.
8952 * sunrpc/proto.h [IS_IN_build] (_): Define.
8953 [IS_IN_build] (_libc_intl_domainname): Likewise.
8955 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8958 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8959 and R_X86_64_TPOFF64.
8961 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8963 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8964 sysdeps/unix/sysv/syscalls.list.
8967 * sysdeps/unix/sysv/syscalls.list: Remove file.
8969 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8972 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8973 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8974 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8975 (__LC_IDENTIFICATION): Make these macros useful in #if
8976 expressions, as required by C99.
8978 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8980 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8981 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8984 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8986 * stdlib/longlong.h: Updated from GCC.
8988 2012-05-09 Andreas Jaeger <aj@suse.de>
8990 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8991 default is first entry.
8992 (run_mode): Set type.
8993 (main): Remove informal message about syslog.
8994 (options): Fix typo.
8997 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9000 (llrintf): Likewise.
9004 (nearbyint): Likewise.
9005 (nearbyintf): Likewise.
9007 2012-05-09 Andreas Jaeger <aj@suse.de>
9008 Pedro Alves <palves@redhat.com>
9010 * nscd/nscd.c (run_mode): Use enum.
9011 (main): Cleanup coding style issue.
9013 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9014 Andreas Jaeger <aj@suse.de>
9016 * nscd/nscd.c (go_background): Replaced with...
9017 (run_mode): ... this.
9018 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9019 (options): Add -F --foreground.
9020 (main): Implement it.
9021 (parse_opt): Parse it.
9023 2012-05-09 Andreas Jaeger <aj@suse.de>
9026 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9027 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9028 -Wconversion warning.
9029 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9032 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9034 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9036 (LC_ALL): Use macro-int-constant.
9037 (LC_COLLATE): Likewise.
9038 (LC_CTYPE): Likewise.
9039 (LC_MESSAGES): Likewise.
9040 (LC_MONETARY): Likewise.
9041 (LC_NUMERIC): Likewise.
9042 (LC_TIME): Likewise.
9043 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9044 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9046 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9048 [C99-based standards] (float_t): Expect type.
9049 [C99-based standards] (double_t): Expect type.
9050 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9052 [C99-based standards] (HUGE_VALL): Likewise.
9053 [C99-based standards] (INFINITY): Likewise.
9054 [C99-based standards] (NAN): Likewise.
9055 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9056 [C99-based standards] (FP_NAN): Likewise.
9057 [C99-based standards] (FP_NORMAL): Likewise.
9058 [C99-based standards] (FP_SUBNORMAL): Likewise.
9059 [C99-based standards] (FP_ZERO): Likewise.
9060 [C99-based standards] (FP_FAST_FMA): Use
9061 optional-macro-int-constant. Specify type. Require == 1.
9062 [C99-based standards] (FP_FAST_FMAF): Likewise.
9063 [C99-based standards] (FP_FAST_FMAL): Likewise.
9064 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9065 [C99-based standards] (FP_ILOGBNAN): Likewise.
9066 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9068 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9069 [C99-based standards] (math_errhandling): Specify type.
9070 [ISO99 || ISO11] (signgam): Do not allow.
9071 [non-C99-based standards] (copysignf): Do not allow.
9072 [non-C99-based standards] (exp2f): Likewise.
9073 [non-C99-based standards] (log2f): Likewise.
9074 [non-C99-based standards] (modff): Allow.
9075 [non-C99-based standards] (erff): Do not allow.
9076 [non-C99-based standards] (erfcf): Likewise.
9077 [non-C99-based standards] (gammaf): Likewise.
9078 [non-C99-based standards] (hypotf): Likewise.
9079 [non-C99-based standards] (j0f): Likewise.
9080 [non-C99-based standards] (j1f): Likewise.
9081 [non-C99-based standards] (jnf): Likewise.
9082 [non-C99-based standards] (lgammaf): Likewise.
9083 [non-C99-based standards] (tgammaf): Likewise.
9084 [non-C99-based standards] (y0f): Likewise.
9085 [non-C99-based standards] (y1f): Likewise.
9086 [non-C99-based standards] (ynf): Likewise.
9087 [non-C99-based standards] (isnanf): Likewise.
9088 [non-C99-based standards] (acoshf): Likewise.
9089 [non-C99-based standards] (asinhf): Likewise.
9090 [non-C99-based standards] (atanhf): Likewise.
9091 [non-C99-based standards] (cbrtf): Likewise.
9092 [non-C99-based standards] (expm1f): Likewise.
9093 [non-C99-based standards] (ilogbf): Likewise.
9094 [non-C99-based standards] (log1pf): Likewise.
9095 [non-C99-based standards] (logbf): Likewise.
9096 [non-C99-based standards] (nextafterf): Likewise.
9097 [non-C99-based standards] (remainderf): Likewise.
9098 [non-C99-based standards] (rintf): Likewise.
9099 [non-C99-based standards] (scalbf): Likewise.
9100 [non-C99-based standards] (copysignl): Likewise.
9101 [non-C99-based standards] (exp2l): Likewise.
9102 [non-C99-based standards] (log2l): Likewise.
9103 [non-C99-based standards] (modfl): Allow.
9104 [non-C99-based standards] (erfl): Do not allow.
9105 [non-C99-based standards] (erfcl): Likewise.
9106 [non-C99-based standards] (gammal): Likewise.
9107 [non-C99-based standards] (hypotl): Likewise.
9108 [non-C99-based standards] (j0l): Likewise.
9109 [non-C99-based standards] (j1l): Likewise.
9110 [non-C99-based standards] (jnl): Likewise.
9111 [non-C99-based standards] (lgammal): Likewise.
9112 [non-C99-based standards] (tgammal): Likewise.
9113 [non-C99-based standards] (y0l): Likewise.
9114 [non-C99-based standards] (y1l): Likewise.
9115 [non-C99-based standards] (ynl): Likewise.
9116 [non-C99-based standards] (isnanl): Likewise.
9117 [non-C99-based standards] (acoshl): Likewise.
9118 [non-C99-based standards] (asinhl): Likewise.
9119 [non-C99-based standards] (atanhl): Likewise.
9120 [non-C99-based standards] (cbrtl): Likewise.
9121 [non-C99-based standards] (expm1l): Likewise.
9122 [non-C99-based standards] (ilogbl): Likewise.
9123 [non-C99-based standards] (log1pl): Likewise.
9124 [non-C99-based standards] (logbl): Likewise.
9125 [non-C99-based standards] (nextafterl): Likewise.
9126 [non-C99-based standards] (remainderl): Likewise.
9127 [non-C99-based standards] (rintl): Likewise.
9128 [non-C99-based standards] (scalbl): Likewise.
9129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9130 [non-C99-based standards] (FP_*): Do not allow.
9131 [C99-based standards] (FP_*): Change to
9132 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9133 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9135 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9136 (SIG_ERR): Likewise.
9137 [X/Open-based standards] (SIG_HOLD): Likewise.
9138 (SIG_IGN): Likewise.
9139 (SIGABRT): Use macro-int-constant. Specify type. Require
9144 (SIGSEGV): Likewise.
9146 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9147 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9148 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9149 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9150 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9151 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9152 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9153 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9154 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9155 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9156 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9157 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9158 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9159 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9160 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9161 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9164 [X/Open-based standards] (SIGTRAP): Likewise.
9165 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9166 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9167 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9168 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9169 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9172 2012-05-08 Ian Wienand <ianw@vmware.com>
9175 * time/tzset.c (__tzset_parse_tz): Update default rules for
9176 daylight time changes in the Energy Policy Act of 2005.
9178 2012-05-09 Andreas Jaeger <aj@suse.de>
9181 * elf/ldconfig.c (parse_conf): Change string to make clear that
9182 ldconfig only issued a warning if ld.so.conf does not exist.
9184 2012-05-08 David S. Miller <davem@davemloft.net>
9186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9187 movxtod instead of popping the value on the stack.
9189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9191 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9193 * config.h.in: Add HAVE_ARM_PCS_VFP.
9195 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9198 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9199 checking but the checks are disabled for any reason.
9201 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9203 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9204 and ELF64_R_TYPE with ELFW(R_TYPE).
9206 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9208 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9211 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9212 (settimeofday): Likewise.
9214 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9216 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9217 a struct th_u2 inside the union, and move tu_block/tu_code into
9218 a new th_u3 union of tu_block/tu_code inside of that. Move
9219 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9220 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9221 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9222 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9223 (th_stuff): Change to th_u1.tu_stuff.
9225 (th_msg): Change to th_u1.th_u2.tu_data.
9227 2012-05-07 David S. Miller <davem@davemloft.net>
9229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9232 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9233 (SETUP_PIC_REG): Use it.
9234 (SETUP_PIC_REG_LEAF): Use it.
9236 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9240 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9242 (EXPL_FINITE): Likewise.
9244 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9245 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9247 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9249 (EXPL_FINITE): Likewise.
9251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9252 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9254 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9255 test of -max_value argument for long double.
9256 * sysdeps/i386/fpu/libm-test-ulps: Update.
9257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9259 2012-05-06 David S. Miller <davem@davemloft.net>
9261 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9262 quad soft-float symbols whose references which are compiler
9264 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9266 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9270 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9272 (EXPL_FINITE): Likewise.
9276 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9277 Adjust comments for base varying.
9278 (__expl_finite): Change alias to EXPL_FINITE.
9279 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9281 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9282 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9284 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9285 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9287 (EXPL_FINITE): Likewise.
9291 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9292 Adjust comments for base varying.
9293 (__expl_finite): Change alias to EXPL_FINITE.
9294 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9299 * math/libm-test.inc (check_float_internal): Correct ulp
9300 calculation for subnormal expected results.
9302 2012-05-06 Andreas Jaeger <aj@suse.de>
9304 * Makeconfig (+math-flags): New, set to -frounding-math.
9305 (+cflags): Add +math-flags so that all of glibc gets compiled with
9308 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9310 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9312 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9318 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9319 (__ieee754_expl): Allow for and saturate large arguments.
9320 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9321 (u_threshold): Likewise.
9322 (__exp): Call __ieee754_exp before checking for overflow and
9324 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9325 (u_threshold): Likewise.
9326 (__expf): Call __ieee754_expf before checking for overflow and
9328 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9329 (u_threshold): Likewise.
9330 (__expl): Call __ieee754_expl before checking for overflow and
9332 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9333 (__ieee754_expl): Allow for and saturate large arguments.
9334 * math/libm-test.inc (exp_test): Add another test. Do not allow
9335 missing overflow exception on overflow.
9336 (expm1_test): Do not allow missing overflow exception on overflow.
9338 * sysdeps/i386/fpu/e_expl.c: Move to ...
9339 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9340 rather than using inline asm.
9341 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9342 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9343 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9345 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9352 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9354 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9355 sysdeps/unix/common/syscalls.list.
9358 (ftruncate): Likewise.
9359 (getrusage): Likewise.
9360 (gettimeofday): Likewise.
9361 (setpgid): Likewise.
9362 (setregid): Likewise.
9363 (setreuid): Likewise.
9364 (sigaction): Likewise.
9365 (truncate): Likewise.
9366 (vhangup): Likewise.
9367 * sysdeps/unix/common/syscalls.list: Remove file.
9368 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9369 * sysdeps/unix/sysv/linux/Implies: Likewise.
9371 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9373 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9375 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9379 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9382 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9385 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9388 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9391 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9394 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9397 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9401 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9405 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9408 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9412 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9416 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9418 * sysdeps/unix/common/bits/dirent.h: Remove file.
9419 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9421 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9422 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9423 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9424 * sysdeps/unix/bsd/isatty.c: Likewise.
9425 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9426 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9427 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9429 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9432 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9433 long double comparison inaccuracies.
9434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9437 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9439 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9442 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9446 nonzero digits before rounding a hex value.
9447 * stdlib/tst-strtod.c (tests): Add another test.
9449 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9451 * sysdeps/s390/fpu/libm-test-ulps: Update.
9453 2012-05-03 Andreas Jaeger <aj@suse.de>
9455 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9456 does not get optimized out.
9457 (malloc_opt_barrier): New.
9459 2012-05-03 Andreas Jaeger <aj@suse.de>
9460 Roland McGrath <roland@hack.frob.com>
9462 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9463 intermediate file deletion.
9464 (generated): Add .symlist files.
9466 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9469 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9470 Redirect under this condition.
9471 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9472 [__USE_GNU] (__dprintf_chk): Not under this condition.
9473 [__USE_GNU] (__vdprintf_chk): Likewise.
9474 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9475 under this condition.
9476 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9477 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9478 [__USE_XOPEN2K8] (vdprintf): Likewise.
9479 [__USE_GNU] (__dprintf_chk): Not under this condition.
9480 [__USE_GNU] (__vdprintf_chk): Likewise.
9481 [__USE_GNU] (dprintf): Likewise.
9482 [__USE_GNU] (vdprintf): Likewise.
9484 2012-05-03 Roland McGrath <roland@hack.frob.com>
9486 * elf/Makefile (common-generated): Set this instead of generated for
9487 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9488 $(all-built-dso)-derived lists.
9490 2012-05-03 Andreas Jaeger <aj@suse.de>
9492 * sysdeps/i386/fpu/libm-test-ulps: Update.
9496 * scripts/gen-FAQ.pl: Likewise.
9497 * manual/install.texi (Installation): Point to online location of
9499 * Makefile (files-for-dist): Remove FAQ.
9502 2012-05-02 Allan McRae <allan@archlinux.org>
9504 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9505 (LDFLAGS-reldepmod5.so): Likewise.
9506 (LDFLAGS-reldep6mod1.so): Likewise.
9507 (LDFLAGS-reldep6mod4.so): Likewise.
9508 (LDFLAGS-reldep8mod3.so): Likewise.
9509 (LDFLAGS-unload4mod1.so): Likewise.
9510 (LDFLAGS-unload4mod2.so): Likewise.
9511 (LDFLAGS-tst-initorder): Likewise.
9512 (LDFLAGS-tst-initordera2.so): Likewise.
9513 (LDFLAGS-tst-initordera3.so): Likewise.
9514 (LDFLAGS-tst-initordera4.so): Likewise.
9515 (LDFLAGS-tst-initorderb2.so): Likewise.
9516 (LDFLAGS-noload): Likewise.
9517 (LDFLAGS-next): Likewise.
9518 (LDFLAGS-order2mod1.so): Likewise.
9519 (LDFLAGS-order2mod2.so): Likewise.
9520 (LDFLAGS-tst-initorder2): Likewise.
9521 (LDFLAGS-tst-initorder2a.so): Likewise.
9522 (LDFLAGS-tst-initorder2b.so): Likewise.
9523 (LDFLAGS-tst-initorder2c.so): Likewise.
9524 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9526 2012-05-02 David S. Miller <davem@davemloft.net>
9528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9530 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9533 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9535 2012-05-02 Andreas Jaeger <aj@suse.de>
9537 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9538 since we manipulate rounding mode.
9539 (CPPFLAGS-test-idouble.c): Likewise.
9540 (CPPFLAGS-test-ifloat.c): Likewise.
9541 (CFLAGS-test-ldouble.c): Likewise.
9542 (CFLAGS-test-double.c): Likewise.
9543 (CFLAGS-test-float.c): Likewise.
9544 (CFLAGS-test-misc.c): Likewise.
9545 (CFLAGS-test-test-fenv.c): Likewise.
9547 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9552 comparisons to determine direction to adjust input.
9554 2012-05-01 Roland McGrath <roland@hack.frob.com>
9556 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9557 output to the target.
9559 * scripts/localplt.awk: New file.
9560 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9561 (check-localplt-CFLAGS): Variable removed.
9562 ($(all-built-dso:=.jmprel)): New static pattern rule.
9563 (generated): Add those targets.
9564 (localplt-built-dso): New variable.
9565 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9567 * elf/check-localplt.c: File removed.
9569 * scripts/check-execstack.awk: New file.
9570 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9571 (check-execstack-CFLAGS): Variable removed.
9572 ($(objpfx)check-execstack.h): Target removed.
9573 ($(objpfx)execstack-default): New target.
9574 (generated): Add that instead of check-execstack.h.
9575 ($(all-built-dso:=.phdr)): New static pattern rule.
9576 (generated): Add those targets.
9577 * elf/check-execstack.c: File removed.
9579 * scripts/check-textrel.awk: New file.
9580 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9581 (check-textrel-CFLAGS): Variable removed.
9582 (all-built-dso): Use := to define.o
9583 ($(all-built-dso:=.dyn)): New static pattern rule.
9584 (generated): Add those targets.
9585 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9586 * config.make.in (READELF): New substituted variable.
9587 * elf/check-textrel.c: File removed.
9589 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9591 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9593 * conform/data/ctype.h-data [C99-based standards] (isblank):
9595 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9596 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9598 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9599 Specify type. Require positive value.
9602 [ISO || POSIX] (EILSEQ): Do not expect.
9603 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9604 Specify type. Require positive value.
9605 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9611 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9612 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9613 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9614 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9615 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9617 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9619 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9626 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9627 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9628 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9629 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9632 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9633 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9634 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9635 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9648 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9649 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9679 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9680 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9681 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9683 (FLT_ROUNDS): Expect as macro, not constant.
9684 (FLT_MANT_DIG): Use macro-int-constant.
9685 (DBL_MANT_DIG): Likewise.
9686 (LDBL_MANT_DIG): Likewise.
9687 (FLT_DIG): Likewise.
9688 (DBL_DIG): Likewise.
9689 (LDBL_DIG): Likewise.
9690 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9691 (DBL_MIN_EXP): Likewise.
9692 (LDBL_MIN_EXP): Likewise.
9693 (FLT_MAX_EXP): Use macro-int-constant.
9694 (DBL_MAX_EXP): Likewise.
9695 (LDBL_MAX_EXP): Likewise.
9696 (FLT_MAX_10_EXP): Likewise.
9697 (DBL_MAX_10_EXP): Likewise.
9698 (LDBL_MAX_10_EXP): Likewise.
9699 (FLT_MAX): Use macro-constant.
9700 (DBL_MAX): Likewise.
9701 (LDBL_MAX): Likewise.
9702 (FLT_EPSILON): Use macro-constant. Give upper bound.
9703 (DBL_EPSILON): Likewise.
9704 (LDBL_EPSILON): Likewise.
9705 (FLT_MIN): Likewise.
9706 (DBL_MIN): Likewise.
9707 (LDBL_MIN): Likewise.
9708 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9709 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9710 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9711 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9712 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9713 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9714 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9715 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9716 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9717 [ISO11] (FLT_TRUE_MIN): Likewise.
9718 [ISO11] (LDBL_TRUE_MIN): Likewise.
9719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9720 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9721 (SCHAR_MIN): Use macro-int-constant. Specify type.
9722 (SCHAR_MAX): Likewise.
9723 (UCHAR_MAX): Likewise.
9724 (CHAR_MIN): Likewise.
9725 (CHAR_MAX): Likewise.
9726 (MB_LEN_MAX): Use macro-int-constant.
9727 (SHRT_MIN): Use macro-int-constant. Specify type.
9728 (SHRT_MAX): Likewise.
9729 (USHRT_MAX): Likewise.
9730 (INT_MAX): Likewise.
9731 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9733 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9735 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9737 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9738 bound negative. Suffix upper bound with "L".
9739 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9741 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9743 [C99-based standards] (LLONG_MAX): Likewise.
9744 [C99-based standards] (ULLONG_MAX): Likewise.
9745 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9747 [ISO11] (max_align_t): Require type.
9748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9750 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9751 from $CFLAGS, without defining away __attribute__ calls.
9752 (checknamespace): Use $CFLAGS_namespace.
9754 * conform/conformtest.pl (@keywords): Only include C99 keywords
9755 for standards based on C99 or C11.
9757 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9759 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9762 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9763 usability of symbols in #if.
9765 * conform/conformtest.pl: If macro or constant types start
9766 "promoted:", expect the symbol to be of the following type
9767 promoted by the integer promotions.
9769 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9770 in one place. Also handle "macro-constant".
9772 * conform/conformtest.pl: Only accept expected macro values with
9773 "==". Parse all "macro" lines in one place.
9774 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9776 * conform/conformtest.pl: Handle braced types on "constant" lines
9777 instead of handling "typed-constant".
9778 * conform/data/signal.h-data: Use "constant" instead of
9781 * conform/conformtest.pl: Handle "optional-" at start of lines in
9782 one place rather than duplicating several cases. Handle each
9783 format of "macro" line with initial "optional-".
9785 * conform/conformtest.pl: Only accept expected constant or
9786 optional-constant values with "==". Parse all "constant" lines in
9787 one place. Parse all "optional-constant" lines in one place.
9788 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9789 * conform/data/fmtmsg.h-data: Likewise.
9790 * conform/data/netinet/in.h-data: Likewise.
9791 * conform/data/tar.h-data: Likewise.
9792 * conform/data/limits.h-data: Use "==" form on "constant" and
9793 "optional-constant" lines.
9795 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9796 Use -std=c99 for XOPEN2K.
9797 (@knownproblems): Remove.
9798 (newtoken): Don't check %isknown.
9800 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9801 Do not expect macro.
9802 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9808 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9809 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9814 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9815 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9832 [XPG3] (acosh): Likewise.
9833 [XPG3] (asinh): Likewise.
9834 [XPG3] (atanh): Likewise.
9835 [XPG3] (cbrt): Likewise.
9836 [XPG3] (expm1): Likewise.
9837 [XPG3] (ilogb): Likewise.
9838 [XPG3] (log1p): Likewise.
9839 [XPG3] (logb): Likewise.
9840 [XPG3] (nextafter): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9843 [XPG3] (remainder): Likewise.
9844 [XPG3] (rint): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9852 [UNIX98 || XOPEN2K] (scalb): Expect.
9853 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9854 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9887 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9898 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9899 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9907 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9908 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9909 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9991 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9992 _XOPEN_SOURCE_EXTENDED for XPG4.
9994 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9996 * Makeconfig (localtime): Remove variable.
9997 (inst_localtime-file): Likewise.
9999 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10020 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10024 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10025 comparisons to determine direction to adjust input.
10026 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10027 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10028 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10030 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10032 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10034 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10035 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10037 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10039 * math/libm-test.inc (nexttoward_test): Add more tests.
10041 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10045 in version GLIBC_2.1, not GLIBC_2.0.
10046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10049 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10052 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10054 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10055 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10056 * math/libm-test.inc (acos_test): Add more tests.
10057 (asin_test): Likewise.
10058 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10062 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10064 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10065 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10066 * math/libm-test.inc (acos_test_tonearest): New function.
10067 (acos_test_towardzero): Likewise.
10068 (acos_test_downward): Likewise.
10069 (acos_test_upward): Likewise.
10070 (asin_test_tonearest): Likewise.
10071 (asin_test_towardzero): Likewise.
10072 (asin_test_downward): Likewise.
10073 (asin_test_upward): Likewise.
10074 (main): Call the new functions.
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10080 * math/e_exp10.c: Include <float.h>.
10081 (__ieee754_exp10): Handle underflow here rather than multiplying
10082 large negative argument by M_LN10.
10083 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10085 * math/e_exp10l.c: Include <float.h>.
10086 (__ieee754_exp10l): Handle underflow here rather than multiplying
10087 large negative argument by M_LN10l.
10088 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10089 spurious overflow exception on underflow.
10091 2012-04-29 Marek Polacek <polacek@redhat.com>
10093 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10094 (__fortify_function): New macro.
10095 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10096 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10097 __extern_always_inline.
10098 * libio/bits/stdio2.h: Likewise.
10099 * libio/bits/stdio.h: Likewise.
10100 * string/string.h: Likewise.
10101 * string/bits/string3.h: Likewise.
10102 * include/stdio.h: Likewise.
10103 * stdlib/bits/stdlib.h: Likewise.
10104 * stdlib/stdlib.h: Likewise.
10105 * rt/bits/mqueue2.h: Likewise.
10106 * rt/mqueue.h: Likewise.
10107 * posix/bits/unistd.h: Likewise.
10108 * posix/unistd.h: Likewise.
10109 * io/bits/poll2.h: Likewise.
10110 * io/bits/fcntl2.h: Likewise.
10111 * io/fcntl.h: Likewise.
10112 * io/sys/poll.h: Likewise.
10113 * misc/bits/syslog.h: Likewise.
10114 * misc/bits/syslog-ldbl.h: Likewise.
10115 * misc/sys/syslog.h: Likewise.
10116 * socket/bits/socket2.h: Likewise.
10117 * socket/sys/socket.h: Likewise.
10118 * debug/tst-chk1.c: Likewise.
10119 * wcsmbs/bits/wchar2.h: Likewise.
10120 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10121 * wcsmbs/wchar.h: Likewise.
10123 2012-04-29 Andreas Jaeger <aj@suse.de>
10125 * Makerules (tests): Remove enable-check-abi protection.
10126 (check-abi-warn): Remove.
10127 (check-abi-%): Remove check-abi-warn usage.
10129 * configure.in: Remove check-abi configure option.
10130 * configure: Regenerated.
10131 * config.make.in (enable-check-abi): Remove.
10133 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10136 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10137 double functions to double *_finite functions.
10140 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10141 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10143 * stdio-common/Makefile (tests): Add tst-sprintf3.
10144 * stdio-common/tst-sprintf3.c: New file.
10146 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10147 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10149 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10151 * conform/conformtest.pl: Remove duplicate typed-constant
10154 2012-04-28 David S. Miller <davem@davemloft.net>
10156 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10157 (check-abi-%): Remove AWK script prerequisite and explicit
10159 (check-abi): Rewrite to just diff the symlist with the abilist.
10160 (config-tls, config-abi-config): Delete, no longer used.
10161 (update-abi-%): Remove AWK script and explicit abilist directory.
10162 (update-abi): Rewrite to simply compare and conditionally copy the
10163 symlist and the sysdep abilist file. Remove update-abi-config
10165 * abilist/ld.abilist: Remove.
10166 * abilist/libBrokenLocale.abilist: Remove.
10167 * abilist/libanl.abilist: Remove.
10168 * abilist/libcrypt.abilist: Remove.
10169 * abilist/libdl.abilist: Remove.
10170 * abilist/librt.abilist: Remove.
10171 * abilist/libthread_db.abilist: Remove.
10172 * abilist/libutil.abilist: Remove.
10173 * scripts/extract-abilist.awk: Remove.
10174 * scripts/merge-abilist.awk: Remove.
10175 * sysdeps/generic/libcidn.abilist: New file.
10176 * sysdeps/generic/libnss_compat.abilist: New file.
10177 * sysdeps/generic/libnss_db.abilist: New file.
10178 * sysdeps/generic/libnss_dns.abilist: New file.
10179 * sysdeps/generic/libnss_files.abilist: New file.
10180 * sysdeps/generic/libnss_hesiod.abilist: New file.
10181 * sysdeps/generic/libnss_nis.abilist: New file.
10182 * sysdeps/generic/libnss_nisplus.abilist: New file.
10183 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10184 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10185 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10187 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10188 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10189 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10190 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10191 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10192 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10193 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10194 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10195 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10197 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10198 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10199 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10200 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10202 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10203 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10204 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10205 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10206 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10207 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10209 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10210 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10211 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10213 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10316 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10317 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10318 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10321 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10322 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10323 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10324 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10325 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10326 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10327 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10328 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10329 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10381 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10383 * conform/conformtest.pl: Fix typo in handling typed-constant from
10386 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10388 * README: Cut down references to pre-2.6 Linux kernels and
10389 Linuxthreads. Update lists of configurations in libc and ports
10390 and sort alphabetically. Say "or newer" with Linux kernel version
10393 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10395 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10398 * math/libm-test.inc (logb_test_downward): New test to expose
10399 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10402 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10405 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10407 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10408 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10410 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10412 * sysdeps/unix/i386/brk.S: Remove file.
10413 * sysdeps/unix/i386/dl-brk.S: Likewise.
10414 * sysdeps/unix/i386/pipe.S: Likewise.
10415 * sysdeps/unix/i386/sigreturn.S: Likewise.
10416 * sysdeps/unix/i386/syscall.S: Likewise.
10417 * sysdeps/unix/i386/vfork.S: Likewise.
10418 * sysdeps/unix/i386/wait.S: Likewise.
10420 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10421 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10423 * configure.in (arm*-none*): Do not allow without
10424 --enable-hacker-mode.
10425 (netbsd*): Remove case setting base_os.
10426 (386bsd*): Likewise.
10427 (freebsd*): Likewise.
10430 (sunos*): Likewise.
10431 (ultrix*): Likewise.
10432 (newsos*): Likewise.
10433 (dynix*): Likewise.
10439 (minix*): Likewise.
10440 (irix4*): Likewise.
10441 (irix6*): Likewise.
10442 (solaris[2-9]*): Likewise.
10444 * configure: Regenerated.
10446 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10450 overflow or cancellation in calculating denominator.
10451 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10453 down expression to avoid unexpected rounding in newer GCCs.
10454 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10456 2012-04-26 David S. Miller <davem@davemloft.net>
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10459 long-double compat symbols.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10474 2012-04-25 David S. Miller <davem@davemloft.net>
10476 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10477 HWCAP_* values only after the memory barriers have been defined.
10478 (atomic_full_barrier): Define.
10479 (atomic_read_barrier): Define.
10480 (atomic_write_barrier): Define.
10482 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10484 * shlib-versions: Add libgcc_s version information.
10485 * sysdeps/generic/libgcc_s.h: Remove.
10486 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10488 * sysdeps/gnu/unwind-resume.c: Likewise.
10489 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10491 2012-04-25 David S. Miller <davem@davemloft.net>
10493 * sysdeps/unix/sparc/brk.S: Delete.
10494 * sysdeps/unix/sparc/dl-brk.S: Delete.
10495 * sysdeps/unix/sparc/pipe.S: Delete.
10496 * sysdeps/unix/sparc/sysdep.S: Delete.
10497 * sysdeps/unix/sparc/sysdep.h: Delete.
10498 * sysdeps/unix/sparc/vfork.S: Delete.
10499 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10500 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10502 ret_ERRVAL, r0, r1, MOVE): Define.
10503 (JUMPTARGET): Remove.
10504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10505 sysdeps/unix/sparc/sysdep.h
10506 (ENTRY, END): Remove.
10507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10509 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10511 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10512 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10515 * timezone/README: Update upstream location and email address for
10517 * timezone/zdump.c: Update from tzcode 2012b.
10518 * timezone/zic.c: Likewise.
10520 * configure.in (libc_cv_as_needed): Remove test.
10521 * configure: Regenerated.
10522 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10523 conditional definition.
10524 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10525 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10526 * config.make.in (have-as-needed): Remove variable.
10528 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10529 Paul Pluzhnikov <ppluzhnikov@google.com>
10531 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10534 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10536 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10537 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10538 * sysdeps/sh/strlen.S: Likewise.
10540 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10542 * sysdeps/unix/fork.S: Remove file.
10543 * sysdeps/unix/i386/fork.S: Likewise.
10544 * sysdeps/unix/sparc/fork.S: Likewise.
10546 * sysdeps/unix/system.c: Remove file.
10547 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10549 * sysdeps/unix/getegid.S: Remove file.
10550 * sysdeps/unix/geteuid.S: Likewise.
10552 2012-04-24 Roland McGrath <roland@hack.frob.com>
10554 * scripts/check-localplt.awk: New file.
10555 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10557 * scripts/data/localplt-generic.data: Add a comment.
10559 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10560 NODE when __dir_mkfile failed.
10561 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10562 Reported by Ludovic Courtès <ludo@gnu.org>.
10564 2012-04-24 Andreas Jaeger <aj@suse.de>
10566 * Makerules (common-clean): Also remove gen-as-const-headers
10569 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10571 * Makerules (native-compile): Do not change working directory for
10572 build. Use $(OUTPUT_OPTION) in command.
10573 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10575 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10578 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10579 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10580 * math/libm-test.inc (floor_test): Add more tests.
10581 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10583 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10585 * sysdeps/unix/getdents.c: Remove file.
10586 * sysdeps/unix/sysv/getdents.c: Likewise.
10587 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10589 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10590 sysdeps/unix/mman/syscalls.list.
10592 (mprotect): Likewise.
10594 (munmap): Likewise.
10595 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10596 * sysdeps/unix/mman/syscalls.list: Remove.
10597 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10599 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10600 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10601 * configure: Regenerated.
10602 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10603 $(libgcc_s_suffix).
10604 * config.make.in (libgcc_s_suffix): Remove variable.
10606 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10608 * sysdeps/unix/sysv/gethostname.c: Move to ...
10609 * sysdeps/posix/gethostname.c: ... here.
10611 * sysdeps/unix/execve.S: Remove file.
10613 * sysdeps/unix/_exit.S: Remove file.
10615 2012-04-23 Andreas Jaeger <aj@suse.de>
10618 * manual/Makefile: Remove make dist support, there's no
10619 need for a stand-alone documentation tar ball.
10620 (TEXI2DVI): Define always, it's not in Makeconfig.
10623 (edition): Removed.
10624 (glibc-doc-$(edition).tar): Removed
10628 (ETAGS): Remove, it's in Makeconfig.
10629 (move-if-change): Remove, it's in Makeconfig.
10631 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10634 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10635 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10636 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10637 (strtod_l, strtof_l, strtold_l): Remove __wur.
10638 It is not necessarily an error to ignore strtol's return value.
10639 One can reliably look at the stored endptr to decide whether
10640 the number had valid syntax.
10642 2012-04-21 Andreas Jaeger <aj@suse.de>
10645 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10647 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10649 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10650 * sysdeps/unix/sysv/Versions: Remove file.
10652 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10657 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10661 version from __vm86.
10663 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10665 * sysdeps/unix/common/lxstat.c: Remove file.
10666 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10668 * sysdeps/unix/sysv/Makefile: Remove file.
10670 * sysdeps/unix/sysv/direct.h: Remove file.
10672 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10673 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10674 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10675 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10676 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10677 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10678 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10680 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10682 * sysdeps/unix/xmknod.c: Remove file.
10683 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10685 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10687 * sysdeps/unix/sysv/i386/time.S: Remove file.
10689 * sysdeps/unix/fxstat.c: Remove file.
10690 * sysdeps/unix/xstat.c: Likewise.
10691 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10693 * sysdeps/unix/sysv/sigaction.c: Remove file.
10695 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10696 (sysdep_headers): Remove variable.
10697 [termio.h not in sysdep_headers] (generated): Likewise.
10698 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10699 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10700 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10701 * sysdeps/unix/sysv/tcflow.c: Likewise.
10702 * sysdeps/unix/sysv/tcflush.c: Likewise.
10703 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10704 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10705 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10706 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10707 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10709 * sysdeps/unix/siglist.c: Remove file.
10711 * sysdeps/unix/getppid.S: Remove file.
10713 * sysdeps/unix/mkdir.c: Remove file.
10714 * sysdeps/unix/rmdir.c: Likewise.
10716 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10718 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10720 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10721 errlist-compat value.
10723 2012-04-18 David S. Miller <davem@davemloft.net>
10725 * sysdeps/generic/memcopy.h (reg_char): Delete.
10726 * debug/strcat_chk.c: Use char, not reg_char.
10727 * debug/strcpy_chk.c: Likewise.
10728 * debug/strncat_chk.c: Likewise.
10729 * debug/strncpy_chk.c: Likewise.
10730 * string/memchr.c: Likewise.
10731 * string/memrchr.c: Likewise.
10732 * string/rawmemchr.c: Likewise.
10733 * string/strcat.c: Likewise.
10734 * string/strchr.c: Likewise.
10735 * string/strchrnul.c: Likewise.
10736 * string/strcmp.c: Likewise.
10737 * string/strcpy.c: Likewise.
10738 * string/strncat.c: Likewise.
10739 * string/strncmp.c: Likewise.
10740 * string/strncpy.c: Likewise.
10742 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10744 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10745 __builtin_memcopy is called when src and dest ranges are known to not
10748 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10750 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10751 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10752 fwd_align_merge macro call.
10753 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10754 bwd_align_merge macro call.
10755 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10757 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10759 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10760 bwd_align_merge macros.
10761 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10762 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10763 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10765 2012-04-18 David S. Miller <davem@davemloft.net>
10767 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10769 2012-04-18 Andreas Jaeger <aj@suse.de>
10772 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10773 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10776 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10777 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10778 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10780 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10781 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10782 Adjust for changed ldbl-128 files.
10784 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10785 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10786 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10788 2012-04-17 David S. Miller <davem@davemloft.net>
10790 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10792 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10794 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10795 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10796 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10797 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10799 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10801 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10804 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10805 * math/libm-test.inc: Add ilogb errno and exception tests.
10806 * math/w_ilogb.c: New file: ilogb wrapper.
10807 * math/w_ilogbf.c: New file: ilogbf wrapper.
10808 * math/w_ilogbl.c: New file: ilogbl wrapper.
10809 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10810 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10811 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10812 exception being thrown with 0.0 as argument.
10813 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10814 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10815 exception being thrown with 0.0 as argument.
10816 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10817 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10818 exception being thrown with 0.0 as argument.
10819 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10820 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10821 exception being thrown with 0.0 as argument.
10822 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10823 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10825 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10826 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10827 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10828 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10829 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10830 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10832 2012-04-17 Petr Baudis <pasky@ucw.cz>
10834 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10837 2012-04-16 Marek Polacek <polacek@redhat.com>
10839 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10841 2012-04-16 Marek Polacek <polacek@redhat.com>
10843 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10844 operands of fdivp instruction.
10846 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10848 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10849 * elf/tst-auditmod3b.c: Likewise.
10850 * elf/tst-auditmod4b.c: Likewise.
10851 * elf/tst-auditmod5b.c: Likewise.
10852 * elf/tst-auditmod6b.c: Likewise.
10853 * elf/tst-auditmod6c.c: Likewise.
10854 * elf/tst-auditmod7b.c: Likewise.
10855 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10856 * sysdeps/x86_64/preconfigure.in: Likewise.
10857 * sysdeps/x86_64/preconfigure: Regenerated.
10859 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10861 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10864 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10867 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10869 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10872 * locale/iso-639.def: Fix gl language name. Spotted by
10875 2012-04-12 Roland McGrath <roland@hack.frob.com>
10878 * libio/libio.h (__io_write_fn): Update comment.
10880 2012-04-12 Petr Baudis <pasky@ucw.cz>
10883 * stdio.texi (Hook Functions): The user provided writer function
10884 is not allowed to return -1.
10886 2012-04-11 David S. Miller <davem@davemloft.net>
10888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10890 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10892 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10893 Add a leading slash to rtkaio.
10895 2012-04-11 Jim Meyering <meyering@redhat.com>
10898 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10899 It is not necessarily an error to ignore fwrite's return
10900 value. One can reliably use ferror to test for errors after
10903 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10905 * bits/types.h (__snseconds_t): New type.
10906 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10908 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10910 (__SNSECONDS_T_TYPE): Likewise.
10911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10912 (__SNSECONDS_T_TYPE): Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10914 (__SNSECONDS_T_TYPE): Likewise.
10916 2012-04-10 Andreas Jaeger <aj@suse.de>
10919 * manual/time.texi (Processor Time): Return type of times is
10920 elapsed real time since an arbitrary point in the past.
10921 (CPU Time): Move CLK_TCK from here...
10922 (Processor Time): ...to here. Correct description.
10923 * manual/conf.texi (Constants for Sysconf): Correct description of
10926 2012-04-10 David S. Miller <davem@davemloft.net>
10929 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10930 where the is a gap between DT_REL(A) and DT_JMPREL.
10932 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10934 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10935 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10936 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10938 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10940 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10941 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10942 (dl_main): Handle --inhibit-cache.
10943 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10945 * elf/dl-load.c (_dl_map_object): Use it.
10946 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10948 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10952 (__ieee754_powl): Saturate large exponents rather than testing for
10953 overflow of y*log2(x).
10954 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10955 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10959 * math/s_ctan.c: Include <float.h>.
10960 (__ctan): Avoid internal overflow or cancellation in calculating
10962 * math/s_ctanf.c: Likewise.
10963 * math/s_ctanl.c: Likewise.
10964 * math/s_ctanh.c: Likewise.
10965 * math/s_ctanhf.c: Likewise.
10966 * math/s_ctanhl.c: Likewise.
10967 * math/libm-test.inc (ctan_test): Add more tests.
10968 (ctanh_test): Likewise.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10972 2012-04-09 Andreas Jaeger <aj@suse.de>
10975 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10976 is an optional BSD extension.
10979 * manual/stdio.texi (Opening Streams): Document additional fopen
10982 2012-04-09 Roland McGrath <roland@hack.frob.com>
10984 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10985 %eax without telling the compiler.
10987 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10990 * manual/install.texi: Use sourceware.org.
10992 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10995 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10996 (__ieee754_pow): Generate overflow and underflow using huge*huge
10997 and tiny*tiny rather than just returning constant infinity or zero
10998 for large exponents.
10999 * math/libm-test.inc (pow_test): Require overflow exceptions for
11000 applicable cases of large exponents.
11003 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11004 (__ieee754_pow): Use iterative multiplication algorithm only for
11005 integer exponents with absolute value below 1024. Check for odd
11006 integer exponents when using algorithm for real exponents.
11007 * math/libm-test.inc (pow_test): Add more tests.
11008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11010 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11013 * math/libm-test.inc (exp_test): Do not allow overflow exception
11016 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11019 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11020 instead of __kernel_standard_f.
11022 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11024 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11025 * sysdeps/x86_64/memset_chk.S: Likewise.
11027 2012-04-08 Andreas Jaeger <aj@suse.de>
11030 * manual/startup.texi (Environment Access): Describe return value
11031 for putenv and setenv.
11034 * manual/filesys.texi (Directory Entries): Add description for
11038 * manual/filesys.texi (Directory Entries): Clarify that it's file
11039 system not operating system in the description of DT_UNKNOWN.
11042 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11044 2012-04-08 Stephen Compall <s11@member.fsf.org>
11047 * manual/llio.texi (Opening and Closing Files): Add cross
11048 reference to explain mode argument.
11050 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11052 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11053 * sysdeps/x86_64/memset_chk.S: Likewise.
11055 2012-04-07 David S. Miller <davem@davemloft.net>
11057 * elf/elf.h (R_SPARC_WDISP10): Define.
11058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11061 R_SPARC_SIZE64 and R_SPARC_H34.
11063 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11066 conditions and remove no longer applicable assertion.
11068 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11070 * bits/byteswap.h: Include <features.h>.
11071 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11072 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11074 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11076 * bits/byteswap.h (__bswap_16): Removed.
11077 Include <bits/byteswap-16.h> to get __bswap_16.
11078 * sysdeps/i386/bits/byteswap.h: Likewise.
11079 * sysdeps/s390/bits/byteswap.h: Likewise.
11080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11081 * bits/byteswap-16.h: New file.
11082 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11083 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11084 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11085 * string/Makefile (headers): Add bits/byteswap-16.h.
11087 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11090 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11092 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11093 * nss/tst-nss-static.c: New.
11095 2012-04-06 Robert Millan <rmh@gnu.org>
11098 * manual/llio.texi (File Position Primitive): lseek
11099 refers to WHENCE when it really means OFFSET.
11101 2012-04-06 Andreas Jaeger <aj@suse.de>
11103 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11104 strncmp declarations.
11106 * abilist/libc.abilist: Add __poll and __ppoll.
11108 2012-04-05 David S. Miller <davem@davemloft.net>
11110 * scripts/check-local-headers.sh: Accept a host triplet in the
11111 path matched by the exclude regexp.
11113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11115 * sysdeps/powerpc/powerpc32/dl-machine.h
11116 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11117 * sysdeps/s390/s390-32/dl-machine.h
11118 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11119 * sysdeps/sparc/sparc32/dl-machine.h
11120 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11121 * sysdeps/sparc/sparc64/dl-machine.h
11122 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11124 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11126 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11127 undefined symbol errors.
11129 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11132 2012-04-05 Michael Matz <matz@suse.de>
11135 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11137 2012-04-05 Andreas Jaeger <aj@suse.de>
11140 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11143 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11145 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11146 which ROUND is no valid rounding mode.
11148 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11152 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11154 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11156 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11157 an exception using FPU order intentionally.
11159 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11161 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11162 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11163 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11164 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11166 2012-04-05 Simon Josefsson <simon@josefsson.org>
11169 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11170 EINVAL when BUFLEN is too smal.
11172 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11175 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11176 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11178 2012-04-03 Andreas Jaeger <aj@suse.de>
11181 * manual/setjmp.texi (System V contexts): Fix sentence.
11184 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11185 New macro for this case.
11186 [!__GNUC__] (__bswap_64): New inline function for this case.
11187 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11188 * bits/byteswap.h: Likewise.
11189 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11190 ull, guard with __GLIBC_HAVE_LONG_LONG.
11192 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11193 __GLIBC_HAVE_LONG_LONG.
11195 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11196 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11198 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11201 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11202 inptr and inend, rather than using last_ch.
11204 2012-04-02 David S. Miller <davem@davemloft.net>
11206 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11207 * stdio-common/printf-parse.h (read_int): Change return type to
11208 'int', return -1 on INT_MAX overflow.
11209 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11210 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11211 overflows INT_MAX. Check for overflow of in-format-string precision
11212 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11213 SIZE_MAX not INT_MAX for integer overflow test.
11214 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11215 skip the construct in the format string but do not record anything.
11216 * stdio-common/bug22.c: Adjust to test both width/prevision
11217 INT_MAX overflow as well as total length INT_MAX overflow. Check
11218 explicitly for proper errno values.
11220 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11222 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11224 * string/test-strcmp.c [! WIDE]: Likewise.
11225 * time/tst-mktime2.c: Likewise for INT_MAX.
11226 * string/test-string.h: #include <sys/param.h> for MIN.
11228 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11229 * sysdeps/i386/init-first.c (init): Likewise.
11230 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11231 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11232 * sysdeps/sh/init-first.c (init): Likewise.
11234 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11236 * po/ru.po: Update from translation team.
11237 * po/vi.po: Likewise.
11239 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11241 * resolv/nss_dns/dns-host.c: Merge copyright years.
11243 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11245 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11246 Optimize memcpy with prefetch if
11247 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11248 src, dst pointers have unequal 16 byte alignments.
11250 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11253 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11254 from a CNAME entry and return the minimum ttl for the query.
11255 (gaih_getanswer_slice): Likewise.
11257 2012-03-30 Jeff Law <law@redhat.com>
11259 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11261 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11262 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11264 * resolv/nss_dns/dns-host.c: Update copyright year.
11266 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11268 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11269 requests to save a system call. Fix check that all bytes are sent.
11271 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11272 comments for sendmmsg.
11274 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11277 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11278 with only 1 character between 0x0041 and 0x01b0.
11279 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11280 * wcsmbs/tst-mbsnrtowcs.c: New file.
11282 2012-03-29 David S. Miller <davem@davemloft.net>
11284 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11285 small copies by hand.
11287 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11290 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11291 _nss_compat_initgroups_dyn): Fall back to malloc/free
11292 for large group memberships.
11294 2012-03-28 David S. Miller <davem@davemloft.net>
11296 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11297 that branches into memcpy.
11298 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11299 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11301 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11304 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11305 implementation too.
11306 * sysdeps/sparc/mempcpy.S: New file.
11308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11309 the IFUNC routine in the libc case.
11310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11312 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11313 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11314 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11315 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11316 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11317 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11318 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11319 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11321 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11322 loop to 256 bytes instead of 64 bytes and fix test signedness.
11324 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11325 * sysdeps/sparc/sparc32/Makefile: rather than here...
11326 * sysdeps/sparc/sparc64/Makefile: and here.
11328 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11330 * malloc/mallocbug.c: Avoid warnings about unused variables.
11332 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11335 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11336 in the right place. Discard and retry query if response is
11337 larger than input buffer size.
11339 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11344 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11345 x for large integer exponent.
11346 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11347 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11348 sign of result as needed afterwards.
11349 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11350 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11351 result for underflowing pow the same as for overflow.
11352 (__kernel_standard_l): Handle powl overflow and underflow here
11353 rather than calling __kernel_standard.
11354 * math/libm-test.inc (pow_test): Add more tests.
11369 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11370 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11371 (__kernel_standard_l): New function.
11372 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11374 * math/w_acosl.c (__acosl): Likewise.
11375 * math/w_asinl.c (__asinl): Likewise.
11376 * math/w_atan2l.c (__atan2l): Likewise.
11377 * math/w_atanhl.c (__atanhl): Likewise.
11378 * math/w_coshl.c (__coshl): Likewise.
11379 * math/w_exp10l.c (__exp10l): Likewise.
11380 * math/w_exp2l.c (__exp2l): Likewise.
11381 * math/w_fmodl.c (__fmodl): Likewise.
11382 * math/w_hypotl.c (__hypotl): Likewise.
11383 * math/w_j0l.c (__j0l, __y0l): Likewise.
11384 * math/w_j1l.c (__j1l, __y1l): Likewise.
11385 * math/w_jnl.c (__jnl, __ynl): Likewise.
11386 * math/w_lgammal.c (__lgammal): Likewise.
11387 * math/w_log10l.c (__log10l): Likewise.
11388 * math/w_log2l.c (__log2l): Likewise.
11389 * math/w_logl.c (__logl): Likewise.
11390 * math/w_powl.c (__powl): Likewise.
11391 * math/w_remainderl.c (__remainderl): Likewise.
11392 * math/w_scalbl.c (sysv_scalbl): Likewise.
11393 * math/w_sinhl.c (__sinhl): Likewise.
11394 * math/w_sqrtl.c (__sqrtl): Likewise.
11395 * math/w_tgammal.c (__tgammal): Likewise.
11396 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11397 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11398 * math/libm-test.inc (acos_test): Add more tests.
11399 (acosh_test): Likewise.
11400 (asin_test): Likewise.
11401 (atanh_test): Likewise.
11402 (exp_test): Likewise.
11403 (exp10_test): Likewise.
11404 (exp2_test): Likewise.
11405 (expm1_test): Likewise.
11406 (lgamma_test): Likewise.
11407 (log_test): Likewise.
11408 (log10_test): Likewise.
11409 (log1p_test): Likewise.
11410 (log2_test): Likewise.
11411 (pow_test): Do not allow some spurious overflow exceptions.
11412 (sqrt_test): Add more tests.
11413 (tgamma_test): Likewise.
11414 (y0_test): Likewise.
11415 (y1_test): Likewise.
11416 (yn_test): Likewise.
11418 2012-03-27 Anton Blanchard <anton@samba.org>
11420 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11422 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11426 2012-03-27 David S. Miller <davem@davemloft.net>
11428 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11430 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11431 have-as-vis3 check.
11433 2012-03-27 Andreas Jaeger <aj@suse.de>
11435 * sysdeps/x86_64/elf/configure.in: Moved to ...
11436 * sysdeps/x86_64/configure.in: ... here.
11437 * sysdeps/x86_64/elf/start.S: Moved to ...
11438 * sysdeps/x86_64/start.S: ... here.
11439 * sysdeps/x86_64/elf/configure: Delete.
11441 * sysdeps/x86_64/configure.in: Merge contents from
11442 sysdeps/i386/configure.in (without i686 check).
11444 * sysdeps/i386/elf/Versions: Merge into ...
11445 * sysdeps/i386/Versions: ... this.
11446 * sysdeps/i386/elf/Versions: Delete file.
11447 * sysdeps/i386/elf/start.S: Moved to ...
11448 * sysdeps/i386/start.S: ...here.
11449 * sysdeps/i386/elf/configure.in: Merge into...
11450 * sysdeps/i386/configure.in: ...here.
11451 * sysdeps/i386/elf/configure.in: Delete file.
11452 * sysdeps/i386/elf/configure: Delete file.
11454 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11455 * debug/backtracesyms.c: ... here.
11456 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11457 * debug/backtracesymsfd.c: ... here.
11458 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11459 * sysdeps/generic/ifunc-sel.h: ... here.
11461 * sysdeps/unix/i386/start.c: Delete file.
11462 * sysdeps/unix/sparc/start.c: Delete file.
11463 * sysdeps/unix/start.c: Delete file.
11465 * sysdeps/sh/elf/configure.in: Moved to ...
11466 * sysdeps/sh/configure.in: ... here.
11467 * sysdeps/sh/elf/start.S: Moved to ...
11468 * sysdeps/sh/start.S: ... here.
11469 * sysdeps/sh/elf/configure: Delete file.
11471 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11472 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11473 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11474 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11475 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11476 * sysdeps/powerpc/powerpc64/start.S: here.
11477 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11478 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11479 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11480 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11481 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11483 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11484 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11485 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11486 * sysdeps/powerpc/powerpc32/start.S: ... here.
11487 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11488 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11489 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11491 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11492 * sysdeps/powerpc/ifunc-sel.h: ... here.
11493 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11494 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11496 * sysdeps/sparc/elf/configure.in: Moved to ...
11497 * sysdeps/sparc/configure.in: ... here.
11498 * sysdeps/sparc/elf/configure: Delete file.
11499 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11500 * sysdeps/sparc/sparc32/start.S: ... here.
11501 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11502 * sysdeps/sparc/sparc64/start.S: ... here.
11503 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11504 * sysdeps/sparc/sparc32/Makefile: ... this.
11505 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11506 * sysdeps/sparc/sparc64/Makefile: ... this.
11508 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11509 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11510 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11511 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11512 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11513 * sysdeps/s390/s390-32/setjmp.S: ... here.
11514 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11515 * sysdeps/s390/s390-32/configure.in: ... here.
11516 * sysdeps/s390/s390-32/elf/configure: Delete file.
11517 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11518 * sysdeps/s390/s390-32/start.S: ... here.
11520 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11521 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11522 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11523 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11524 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11525 * sysdeps/s390/s390-64/setjmp.S: ... here.
11526 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11527 * sysdeps/s390/s390-64/configure.in: ... here
11528 * sysdeps/s390/s390-64/elf/configure: Delete file.
11529 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11530 * sysdeps/s390/s390-64/start.S: ... here.
11531 * sysdeps/s390/s390-64/elf/configure: Delete.
11533 * configure.in: Remove support for elf directories in sysdeps.
11535 * configure: Regenerated.
11536 * sysdeps/i386/configure: Regenerated.
11537 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11538 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11539 * sysdeps/s390/s390-32/configure: Regenerated.
11540 * sysdeps/s390/s390-64/configure: Regenerated.
11541 * sysdeps/sh/configure: Regenerated.
11542 * sysdeps/sparc/configure: Regenerated.
11543 * sysdeps/x86_64/configure: Regenerated.
11545 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11550 denormal result into account.
11552 2012-03-25 Roland McGrath <roland@hack.frob.com>
11554 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11555 Reported by Allan McRae <allan@archlinux.org>.
11557 2012-03-23 Jeff Law <law@redhat.com>
11559 * nss/getnssent.c (__nss_getent): Fix typo.
11561 2012-03-23 David S. Miller <davem@davemloft.net>
11563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11565 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11567 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11568 to pad to uint64_t for each field.
11569 (dl_tls_index): Replace unsigned long with uint64_t.
11571 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11572 Paul Pluzhnikov <ppluzhnikov@google.com>
11575 * grp/Makefile (otherlibs): Don't set it.
11576 * inet/Makefile (otherlibs): Likewise.
11577 * login/Makefile (otherlibs): Likewise.
11578 * nscd/Makefile (otherlibs): Likewise.
11579 * posix/Makefile (otherlibs): Likewise.
11580 * pwd/Makefile (otherlibs): Likewise.
11581 * rt/Makefile (otherlibs): Likewise.
11582 * sunrpc/Makefile (otherlibs): Likewise.
11583 * nss/Makefile (otherlibs): Likewise.
11584 Add libnss_files to routines and static-only-routines.
11585 ($(objpfx)getent): Remove rule.
11586 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11587 static-only-routines.
11589 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11592 * math/s_cexp.c: Include <float.h>.
11593 (__cexp): Handle exp result overflowing not necessarily
11594 overflowing both real and imaginary parts of result.
11595 * math/s_cexpf.c: Likewise.
11596 * math/s_cexpl.c: Likewise.
11597 * math/libm-test.inc (cexp_test): Add more tests.
11598 * sysdeps/i386/fpu/libm-test-ulps: Update.
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11601 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11603 * include/link.h (ELFW): New macro.
11604 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11605 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11607 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11609 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11612 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11614 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11616 (struct La_x32_retval): Likewise.
11618 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11620 * sysdeps/x86_64/preconfigure.in: New file.
11621 * sysdeps/x86_64/preconfigure: New generated file.
11623 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11626 * math/e_exp2l.c: Include <float.h>.
11627 (__ieee754_exp2l): Handle overflow and underflow cases
11628 separately. Only pass fractional part of argument to
11630 * math/libm-test.inc (exp2_test): Add more tests.
11632 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11633 negating x to take absolute value.
11634 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11639 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11640 computing low part if x was negated.
11641 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11643 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11645 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11646 la_x32_gnu_pltexit.
11647 (pltexit): Cast int_retval to ptrdiff_t.
11648 * elf/tst-auditmod3b.c: Likewise.
11649 * elf/tst-auditmod4b.c: Likewise.
11650 * elf/tst-auditmod5b.c: Likewise.
11651 * elf/tst-auditmod6b.c: Likewise.
11652 * elf/tst-auditmod6c.c: Likewise.
11653 * elf/tst-auditmod7b.c: Likewise.
11655 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11656 and x32_gnu_pltexit.
11658 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11659 __ELF_NATIVE_CLASS.
11660 (La_x32_regs): New macro.
11661 (La_x32_retval): Likewise.
11662 (la_x32_gnu_pltenter): New function prototype.
11663 (la_x32_gnu_pltexit): Likewise.
11665 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11672 * configure.in (libc_cv_cc_nofma): Check for option to disable
11673 generation of FMA instructions.
11674 * configure: Regenerate.
11675 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11676 * sysdeps/ieee754/dbl-64/Makefile: New file.
11677 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11678 Remove brandred-fma4.
11679 (CFLAGS-brandred-fma4.c): Remove.
11680 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11681 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11683 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11686 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11688 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11689 LLONG_MAX != LONG_MAX.
11690 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11691 (_fitoa_word): Likewise.
11692 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11693 LLONG_MAX != LONG_MAX.
11694 * stdio-common/_itowa.h: Include <_itoa.h>.
11695 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11696 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11697 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11698 only if not defined.
11699 (_ITOA_WORD_TYPE): Likewise.
11700 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11701 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11703 2012-03-21 David S. Miller <davem@davemloft.net>
11705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11707 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11709 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11710 of x86_64 when setting libc_cv_slibdir, libdir and
11712 * sysdeps/unix/sysv/linux/configure: Regenerated.
11714 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11716 * manual/lang.texi (Old Varargs): Remove section.
11717 (How Variadic): Update menu.
11718 (va_start): Do not mention varargs.h.
11720 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11721 Joseph Myers <joseph@codesourcery.com>
11723 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11725 * configure: Regenerated.
11727 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11729 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11730 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11733 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11736 * Makefile (files-for-dist): Remove NOTES.
11737 (NOTES): Remove rule.
11738 * README: Don't refer to NOTES.
11739 * manual/creature.texi: Don't include macros.texi.
11740 * manual/intro.texi (creature.texi): Remove comment referring to
11743 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11744 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11745 * configure: Regenerated.
11746 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11747 LIBC_TRY_CC_OPTION.
11748 (libc_cv_as_i686): Likewise.
11749 (libc_cv_cc_avx): Likewise.
11750 (libc_cv_cc_sse2avx): Likewise.
11751 (libc_cv_cc_fma4): Likewise.
11752 (libc_cv_cc_novzeroupper): Likewise.
11753 * sysdeps/i386/configure: Regenerated.
11756 * sysdeps/i386/fpu/s_cexp.S: Remove.
11757 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11758 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11759 * math/libm-test.inc (cexp_test): Add more tests.
11760 * sysdeps/i386/fpu/libm-test-ulps: Update.
11761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11763 2012-03-21 Allan McRae <allan@archlinux.org>
11765 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11767 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11770 * math/w_exp2.c: Do not include <float.h>.
11771 (o_threshold, u_threshold): Remove.
11772 (__exp2): Calculate result before checking finiteness and calling
11774 * math/w_exp2f.c: Likewise.
11775 * math/w_exp2l.c: Likewise.
11776 * math/libm-test.inc (exp2_test): Require overflow exception for
11780 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11781 range of signed 64-bit integers before using fistpll. Remove
11782 checks for whether integers fit in mantissa bits.
11783 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11784 the range of signed 32-bit integers before using fistpl. Remove
11785 checks for whether integers fit in mantissa bits.
11786 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11787 (__ieee754_powl): Test for y outside the range of signed 64-bit
11788 integers before using fistpll. Reduce 64-bit values to 63-bit
11790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11791 divide-by-zero is raised for zero to large negative powers.
11792 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11793 (__ieee754_powl): Test for y outside the range of signed 64-bit
11794 integers before using fistpll. Reduce 64-bit values to 63-bit
11796 * math/libm-test.inc (pow_test): Add more tests.
11798 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11800 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11801 <stdio-common/_itoa.h>.
11802 * debug/segfault.c: Likewise.
11803 * elf/dl-cache.c: Likewise.
11804 * elf/dl-minimal.c: Likewise.
11805 * elf/dl-misc.c: Likewise.
11806 * elf/dl-sysdep.c: Likewise.
11807 * elf/dl-version.c: Likewise.
11808 * elf/rtld.c: Likewise.
11809 * hurd/hurdsock.c: Likewise.
11810 * hurd/lookup-retry.c: Likewise.
11811 * malloc/malloc.c: Likewise.
11812 * malloc/mtrace.c: Likewise.
11813 * nscd/nscd_getgr_r.c: Likewise.
11814 * nscd/nscd_getpw_r.c: Likewise.
11815 * nscd/nscd_getserv_r.c: Likewise.
11816 * posix/getopt_init.c: Likewise.
11817 * posix/wordexp.c: Likewise.
11818 * stdio-common/_itoa.c: Likewise.
11819 * stdio-common/printf_fphex.c: Likewise.
11820 * stdio-common/vfprintf.c: Likewise.
11821 * string/_strerror.c: Likewise.
11822 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11823 * sysdeps/i386/i686/hp-timing.h: Likewise.
11824 * sysdeps/mach/_strerror.c: Likewise.
11825 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11826 * sysdeps/mach/hurd/sethostid.c: Likewise.
11827 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11828 * sysdeps/mach/xpg-strerror.c: Likewise.
11829 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11830 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11831 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11832 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11833 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11834 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11835 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11836 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11837 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11838 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11839 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11840 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11841 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11842 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11844 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11845 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11846 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11847 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11848 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11849 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11851 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11853 * stdio-common/_itoa.h: Moved to ...
11854 * sysdeps/generic/_itoa.h: Here.
11856 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11858 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11859 instead of "_itoa.h" and "_itowa.h".
11860 * stdio-common/vfprintf.: Likewise.
11862 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11864 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11866 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11867 (__signbit): Likwise.
11868 (llrintf): Likwise.
11871 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11873 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11876 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11878 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11879 OVERFLOW_EXCEPTION_OK.
11880 * math/libm-test.inc ("Philosophy"): Update comment about
11882 (OVERFLOW_EXCEPTION): Define.
11883 (OVERFLOW_EXCEPTION_OK): Likewise.
11884 (INVALID_EXCEPTION_OK): Renumber.
11885 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11886 (IGNORE_ZERO_INF_SIGN): Likewise.
11887 (test_exceptions): Handle FE_OVERFLOW.
11888 (exp10_test): Expect overflow exceptions.
11889 (exp2_test): Likewise.
11890 (expm1_test): Likewise.
11891 (nextafter_test): Likewise.
11892 (pow_test): Likewise.
11893 (scalbn_test): Likewise.
11894 (scalbln_test): Likewise.
11896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11898 * sysdeps/x86_64/bits/atomic.h
11899 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11901 (atomic_exchange_acq): Likewise.
11902 (__arch_exchange_and_add_body): Likewise.
11903 (__arch_add_body): Likewise.
11904 (atomic_add_negative): Likewise.
11905 (atomic_add_zero): Likewise.
11907 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11909 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11910 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11912 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11914 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11915 Check __x86_64__ instead of __WORDSIZE.
11917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11919 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11921 2012-03-19 David S. Miller <davem@davemloft.net>
11923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11925 * sysdeps/sparc/fpu/fenv_private.h: New file.
11926 * sysdeps/sparc/fpu/math_private.h: Use it.
11927 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11929 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11930 (libc_feholdexcept_setroundl): Remove.
11931 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11933 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11934 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11938 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11939 int64_t instead of long int.
11940 (INSERT_WORDS64): Likwise.
11942 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11944 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11945 _Unwind_GetCFA return to _Unwind_Ptr first.
11947 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11950 * math/s_clog.c: Include <float.h>.
11951 (__clog): Scale large or subnormal inputs.
11952 * math/s_clogf.c: Likewise.
11953 * math/s_clogl.c: Likewise.
11954 * math/s_clog10.c: Include <float.h>.
11955 (M_LOG10_2): Define.
11956 (__clog10): Scale large or subnormal inputs.
11957 * math/s_clog10f.c: Likewise.
11958 * math/s_clog10l.c: Likewise.
11959 * math/libm-test.inc (clog_test): Add more tests.
11960 (clog10_test): Likewise.
11961 * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11965 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11967 * math/libm-test.inc (atan2_test): Add another test.
11969 * Makerules (common-objdir-compile): Remove.
11970 * sysdeps/unix/Makefile (config-generated): Do not add
11971 $(unix-generated) to variable.
11972 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11973 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11975 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11977 [generic bits/local_lim.h] (before-compile): Do not append to
11979 [generic bits/local_lim.h] (common-generated): Likewise.
11980 [generic sys/param.h] (before-compile): Do not append to variable.
11981 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11982 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11983 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11984 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11986 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11987 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11988 [generic sys/param.h] ($(addprefix
11989 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11990 [generic sys/param.h] (common-generated): Do not append to
11992 [generic sys/param.h] (sysdep_headers): Likewise.
11993 [generic bits/errno.h] (before-compile): Do not append to
11995 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11997 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11998 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11999 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12000 [generic bits/errno.h] (common-generated): Do not append to
12002 [generic bits/ioctls.h] (before-compile): Do not append to
12004 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12006 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12007 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12008 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12010 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12011 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12012 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12013 [generic bits/ioctls.h] (common-generated): Do not append to
12015 [generic sys/syscall.h] (syscall.h): Remove variable.
12016 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12018 [generic sys/syscall.h] (before-compile): Do not append to
12020 [generic sys/syscall.h] (common-generated): Likewise.
12021 * sysdeps/unix/errnos-tmpl.c: Remove file.
12022 * sysdeps/unix/errnos.awk: Likewise.
12023 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12024 * sysdeps/unix/ioctls.awk: Likewise.
12025 * sysdeps/unix/mk-local_lim.c: Likewise.
12026 * sysdeps/unix/snarf-ioctls: Likewise.
12028 2012-03-19 Richard Henderson <rth@twiddle.net>
12030 * sysdeps/i386/fpu/fenv_private.h: New file.
12031 * sysdeps/i386/fpu/math_private.h: Use it.
12032 (math_opt_barrier, math_force_eval): Remove.
12033 (libc_feholdexcept_setround_53bit): Remove.
12034 (libc_feupdateenv_53bit): Remove.
12035 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12036 (math_opt_barrier, math_force_eval): Remove.
12037 (libc_feholdexcept): Remove.
12038 (libc_feholdexcept_setround): Remove.
12039 (libc_fetestexcept, libc_fesetenv): Remove.
12040 (libc_feupdateenv_test): Remove.
12041 (libc_feupdateenv, libc_feholdsetround): Remove.
12042 (libc_feresetround): Remove.
12044 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12045 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12047 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12048 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12049 (libc_feupdateenv_testl): New.
12050 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12051 (libc_feupdateenv_testf): New.
12052 (libc_feupdateenv): Use libc_feupdateenv_test.
12053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12054 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12056 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12057 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12058 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12059 (libc_feresetround_noex): New.
12060 (libc_feresetround_noexf): New.
12061 (libc_feresetround_noexl): New.
12062 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12063 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12064 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12065 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12070 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12072 SET_RESTORE_ROUND_NOEX.
12073 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12074 SET_RESTORE_ROUND_NOEXF.
12075 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12076 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12077 (libc_feholdsetroundf): New.
12078 (libc_feresetround, libc_feresetroundf): New.
12080 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12081 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12082 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12084 * sysdeps/generic/math_private.h: Include <fenv.h>.
12085 (default_libc_feholdexcept): New.
12086 (default_libc_feholdexcept_setround): New.
12087 (default_libc_fesetenv, default_libc_feupdateenv): New.
12088 (libc_feholdexcept): Only define if undefined.
12089 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12090 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12091 (libc_feholdexcept_setroundl): Likewise.
12092 (libc_feholdexcept_setround_53bit): Likewise.
12093 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12094 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12095 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12096 (libc_feupdateenv_53bit): Likewise.
12097 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12098 (libc_feholdexcept): Convert from macro to inline function.
12099 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12100 (libc_fesetenv, libc_feupdateenv): Likewise.
12102 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12103 not previously defined.
12104 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12105 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12106 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12107 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12108 * sysdeps/ieee754/flt-32/math_private.h: New file.
12109 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12110 math_private.h below SET_FLOAT_WORD.
12111 (__isnan, __isinf_ns, __finite): Remove.
12112 (__isnanf, __isinf_nsf, __finitef): Remove.
12114 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12118 2012-03-17 David S. Miller <davem@davemloft.net>
12121 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12124 2012-03-16 David S. Miller <davem@davemloft.net>
12126 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12130 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12132 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12133 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12134 sysdep_routines when subdir is sysvipc.
12135 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12136 __getshmlba helper.
12138 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12142 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12145 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12147 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12148 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12149 (__lround): Renamed to ...
12150 (__llround): This. Replace long int with long long int.
12151 Define lround functions as aliases of llround functions.
12152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12154 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12156 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12157 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12158 adresses to uintptr_t. Replace "long int" and "unsigned long
12159 int" with "greg_t" on va_arg.
12161 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12163 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12164 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12166 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12167 Move e_machine check before EI_CLASS check. Handle x32
12168 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12169 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12170 SKIP_EM_IA_64 and include
12171 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12173 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12174 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12175 (add_system_dir): New macro.
12177 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12178 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12180 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12191 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12193 * math/w_j0f.c (j0f): Likewise.
12195 * math/w_j0l.c (__j0l): Likewise.
12197 * math/w_j1.c (j1): Likewise.
12199 * math/w_j1f.c (j1f): Likewise.
12201 * math/w_j1l.c (__j1l): Likewise.
12203 * math/w_jn.c (jn): Likewise.
12205 * math/w_jnf.c (jnf): Likewise.
12207 * math/w_jnl.c (__jnl): Likewise.
12209 * math/libm-test.inc (j0_test): Add more tests.
12210 (j1_test): Likewise.
12211 (jn_test): Likewise. Add trailing semicolon to existing test.
12212 (y0_test): Likewise.
12213 (y1_test): Likewise.
12214 * sysdeps/i386/fpu/libm-test-ulps: Update.
12215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12220 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12221 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12222 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12223 (__tanl): Set errno for infinite argument.
12224 * sysdeps/i386/fpu/mptan.c: Remove.
12225 * sysdeps/i386/fpu/s_tan.S: Likewise.
12226 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12227 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12228 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12229 * math/libm-test.inc (tan_test): Add more tests and enable more
12230 tests for double and long double.
12231 * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12234 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12236 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12237 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12239 2012-03-16 Roland McGrath <roland@hack.frob.com>
12241 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12242 * configure.in: Use it for both main tree and add-ons.
12243 * configure: Regenerated.
12245 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12247 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12249 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12251 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12255 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12256 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12258 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12261 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12263 != 0 for prec == 2.
12264 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12265 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12266 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12267 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12268 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12269 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12270 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12271 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12272 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12273 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12274 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12275 * math/libm-test.inc (cos_test): Add more tests and enable more
12276 tests for long double.
12277 (sin_test): Likewise.
12278 (sincos_test): Likewise.
12279 * sysdeps/i386/fpu/libm-test-ulps: Update.
12280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12282 2012-03-16 David S. Miller <davem@davemloft.net>
12284 * sysdeps/sparc/fpu/math_private.h: New file.
12286 2012-03-15 David S. Miller <davem@davemloft.net>
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12302 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12303 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12305 * sysdeps/sparc/sparc-ifunc.h: New file.
12306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12351 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12353 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12357 2012-03-15 Andreas Jaeger <aj@suse.de>
12360 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12361 ieee754/flt-32 implementation for sin, cos and sincos.
12362 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12363 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12364 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12365 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12366 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12367 ieee754/flt-32 implementation for tan.
12369 * math/libm-test.inc (cos_test): Enable some large input tests for
12371 (sin_test): Likewise.
12372 (sincos_test): Likewise.
12373 (tan_test): Add tests for large input.
12375 * sysdeps/i386/fpu/libm-test-ulps: Update.
12377 2012-03-15 Andreas Jaeger <aj@suse.de>
12380 * math/libm-test.inc (cos_test): Add more test cases.
12381 (sin_test): Likewise.
12382 (sincos_test): Likewise.
12384 2012-03-15 Andreas Jaeger <aj@suse.de>
12387 * math/libm-test.inc (cos_test): Add a test case for large input
12389 (sin_test): Likewise.
12390 (sincos_test): Likewise.
12392 2012-03-15 Andreas Jaeger <aj@suse.de>,
12393 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12397 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12398 * sysdeps/i386/fpu/branred.c: Likewise.
12399 * sysdeps/i386/fpu/dosincos.c: Likewise.
12400 * sysdeps/i386/fpu/mpa.c: Likewise.
12401 * sysdeps/i386/fpu/s_cos.S: Likewise.
12402 * sysdeps/i386/fpu/s_sin.S: Likewise.
12403 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12404 * sysdeps/i386/fpu/sincos32.c: Likewise.
12406 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12408 (libc_feupdateenv_53bit): Define.
12409 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12411 (libc_feupdateenv_53bit): Define.
12413 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12414 53 bit (without extend i386 double precision).
12416 * math/libm-test.inc (sincos_test): Add tests for large input.
12420 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12422 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12426 2012-03-15 David S. Miller <davem@davemloft.net>
12428 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12429 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12430 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12431 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12456 fmin/fmax sysdep routines.
12457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12459 2012-03-14 David S. Miller <davem@davemloft.net>
12461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12465 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12533 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12538 * sysdeps/sparc/configure.in: New file.
12539 * sysdeps/sparc/configure: Generate.
12540 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12541 * configure: Regenerate.
12542 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12543 * config.make.in (have-as-vis3): New.
12544 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12545 available use -Av9d instead of -Av9a.
12546 * sysdeps/sparc/sparc64/Makefile: Likewise.
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12558 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12562 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12563 fzeros/fnegs to load 0x80000000 into a float register instead of
12565 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12567 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12571 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12572 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12573 ($(inst_includedir)/bits/syscall.h): Remove rule.
12574 ($(objpfx)bits/syscall.d): Include instead of
12575 $(objpfx)syscall-list.d.
12576 (generated): Change syscall-list.h and syscall-list.d to
12577 bits/syscall.h and bits/syscall.d.
12579 2012-03-14 Roland McGrath <roland@hack.frob.com>
12582 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12584 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12587 * math/s_csqrt.c: Include <float.h>.
12588 (__csqrt): Scale large or subnormal inputs.
12589 * math/s_csqrtf.c: Likewise.
12590 * math/s_csqrtl.c: Likewise.
12591 * math/libm-test.inc (csqrt_test): Add more tests.
12592 * sysdeps/i386/fpu/libm-test-ulps: Update.
12593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12596 * math/libm-test.inc (hypot_test): Add more tests.
12598 2012-03-13 David S. Miller <davem@davemloft.net>
12601 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12602 double-precision for the calculation instead of scaling.
12604 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12606 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12607 manipulate bits before adding and subtracting TWO52[sx].
12608 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12609 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12611 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12613 2012-03-13 David S. Miller <davem@davemloft.net>
12615 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12616 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12618 rtld-global-offsets.h
12619 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12621 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12624 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12626 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12627 'err' in the ifdef scope in which it is actually used.
12629 * nss/nss_db/db-init.c: Include string.h
12631 2012-03-12 David S. Miller <davem@davemloft.net>
12633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12634 masking out of the most significant byte of random value used.
12635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12636 Fix coding style in previous change.
12638 * sysdeps/unix/sysv/linux/kernel-features.h
12639 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12640 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12642 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12645 2012-03-11 David S. Miller <davem@davemloft.net>
12647 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12648 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12649 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12650 for 'resultvar' otherwise things get truncated on 64-bit.
12652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12653 Fix masking out of the most significant byte of random value used.
12655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12657 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12661 2012-03-09 David S. Miller <davem@davemloft.net>
12663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12664 variables with appropriate CPP guards.
12665 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12666 frame pointer, not the stack pointer. Correct layout comments. Fix test
12667 on resulting framesize and the management of the outregs buffer for pltexit.
12668 Preserve floating point return values across _dl_call_pltexit call.
12669 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12670 framesize and the management of the outregs buffer for pltexit.
12671 Preserve floating point return values across _dl_call_pltexit
12673 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12674 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12675 (print_exit): Fix format string for return register value.
12677 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12679 * sunrpc/Makefile (others): Add rpcgen.
12680 ($(objpfx)rpcgen): Remove special build rule and dependency on
12682 * sunrpc/rpcgen.c: New file.
12684 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12687 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12688 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12689 * sysdeps/i386/crti.S: Likewise.
12690 * sysdeps/i386/crtn.S: Likewise.
12691 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12692 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12694 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12695 * sysdeps/sh/crti.S: Likewise.
12696 * sysdeps/sh/crtn.S: Likewise.
12697 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12700 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12702 * locale/programs/locfile-kw.gperf: Likewise.
12703 * locale/programs/charmap-kw.h: Regenerated.
12704 * locale/programs/locfile-kw.h: Likewise.
12707 * intl/plural.y: Replace FSF snail mail address with URL.
12708 * intl/plural.c: Regenerated.
12710 2012-03-09 Richard Henderson <rth@twiddle.net>
12712 * include/math_private.h: Remove file.
12713 * math/math_private.h: Move file ...
12714 * sysdeps/generic/math_private.h: ... here.
12716 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12717 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12718 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12720 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12721 and <math_private.h>.
12722 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12723 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12724 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12725 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12726 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12810 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12811 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12816 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12819 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12821 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12822 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12823 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12824 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12825 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12827 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12828 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12832 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12836 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12837 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12838 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12839 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12841 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12842 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12843 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12844 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12845 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12846 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12849 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12850 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12851 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12852 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12853 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12854 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12855 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12856 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12858 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12859 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12861 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12863 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12864 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12865 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12866 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12868 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12869 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12871 * sysdeps/ieee754/k_standard.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12991 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12992 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12994 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13004 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13020 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13021 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13022 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13032 * sysdeps/ieee754/s_lib_version.c: Likewise.
13033 * sysdeps/ieee754/s_matherr.c: Likewise.
13034 * sysdeps/ieee754/s_signgam.c: Likewise.
13035 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13036 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13037 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13038 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13039 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13040 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13041 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13042 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13043 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13044 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13045 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13046 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13047 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13048 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13049 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13051 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13052 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13054 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13057 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13059 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13060 * sunrpc/rpc_main.c: Likewise.
13061 * sunrpc/rpc_svcout.c: Likewise.
13063 2012-03-09 David S. Miller <davem@davemloft.net>
13065 * include/math_private.h: New file.
13067 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13069 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13070 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13071 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13072 from <bits/socket_type.h>.
13073 (enum __socket_type): Don't define here.
13074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13076 bits/socket_type.h.
13079 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13080 checking __USE_GNU.
13082 * Makerules ($(inst_includedir)/%.h): New rule.
13083 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13084 (install-others): Remove variable setting.
13085 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13087 2012-03-08 Richard Henderson <rth@twiddle.net>
13089 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13090 from macro to inline function; merge with the
13091 !__LIBC_INTERNAL_MATH_INLINES version.
13092 (__ieee754_sqrtf): Likewise.
13094 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13095 to inline function.
13096 (__rintf, __floor, __floorf): Likewise.
13098 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13099 macro to inline function.
13100 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13103 not <math/math_private.h>.
13105 2012-03-08 David S. Miller <davem@davemloft.net>
13107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13109 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13111 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13113 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13115 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13116 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13118 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13120 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13121 be defined individually, they must be defined as a block. Define
13122 S for printing a string instead of hidint the different by using a
13123 macro for adding the 'l'.
13124 * stdio-common/tst-fphex-wide.c: Adjust.
13126 2012-03-07 Marek Polacek <polacek@redhat.com>
13128 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13130 2012-03-08 Marek Polacek <polacek@redhat.com>
13133 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13134 * stdio-common/tst-fphex.c: Define a few macros to make the
13135 test reusable. Use them.
13136 * stdio-common/tst-fphex-wide.c: New file.
13138 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13141 * manual/macros.texi (gnusystems): New macro.
13142 (nongnusystems): Likewise.
13143 (gnulinuxhurdsystems): Likewise.
13144 (gnuhurdsystems): Likewise..
13145 (gnulinuxsystems): Likewise.
13146 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13147 variants of the GNU system, not "GNU system".
13148 * manual/conf.texi: Likewise.
13149 * manual/errno.texi: Likewise. Update example of errno macro
13151 * manual/filesys.texi: Likewise.
13152 (getumask): Document as specific to GNU/Hurd.
13153 * manual/install.texi: Likewise. Reword some references to
13155 * manual/intro.texi: Likewise.
13156 * manual/io.texi: Likewise.
13157 (File Name Portability): Detail which constraints are inapplicable
13158 to all GNU systems and which are only inapplicable to GNU/Hurd.
13159 * manual/job.texi: Likewise.
13160 * manual/llio.texi: Likewise.
13161 (O_NOCTTY): Document as present on GNU/Linux.
13162 * manual/maint.texi: Likewise.
13163 * manual/memory.texi: Likewise.
13164 * manual/pattern.texi: Likewise.
13165 * manual/pipe.texi: Likewise.
13166 * manual/process.texi: Likewise.
13167 * manual/resource.texi: Likewise.
13168 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13170 * manual/setjmp.texi: Likewise.
13171 * manual/signal.texi: Likewise.
13172 * manual/startup.texi: Likewise.
13173 * manual/stdio.texi: Likewise.
13174 * manual/terminal.texi: Likewise.
13175 (ONLCR): Document as POSIX.
13176 (OXTABS): Document availability on GNU/Linux as XTABS.
13177 (ONOEOT): Document availability separately from other bits.
13178 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13179 * manual/time.texi: Likewise.
13180 * manual/users.texi: Likewise.
13181 * INSTALL: Regenerated.
13182 * sysdeps/gnu/errlist.c: Regenerated.
13184 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13185 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13186 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13188 * configure: Regenerated.
13190 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13192 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13193 default includes instead of AC_HEADER_CHECK.
13194 * sysdeps/i386/configure: Regenerated.
13197 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13198 * math/s_cacoshf.c (__cacoshf): Likewise.
13199 * math/s_cacoshl.c (__cacoshl): Likewise.
13200 * math/s_casinh.c (__casinh): Set signs of result from argument.
13201 * math/s_casinhf.c (__casinhf): Likewise.
13202 * math/s_casinhl.c (__casinhl): Likewise.
13203 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13204 (casinh_test): Add more tests.
13205 * sysdeps/i386/fpu/libm-test-ulps: Update.
13206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13208 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13210 * po/zh_TW.po: Update from translation team.
13212 * login/Makefile (distribute): Remove variable.
13213 * catgets/Makefile: Likewise.
13214 * mach/Makefile: Likewise.
13215 * malloc/Makefile: Likewise.
13216 * misc/Makefile: Likewise.
13217 * iconv/Makefile: Likewise.
13218 * nscd/Makefile: Likewise.
13219 * hurd/Makefile: Likewise.
13220 * manual/Makefile: Likewise.
13221 * locale/Makefile: Likewise.
13222 * intl/Makefile: Likewise.
13223 * conform/Makefile: Likewise.
13224 * nss/Makefile: Likewise.
13225 * time/Makefile: Likewise.
13226 * soft-fp/Makefile: Likewise.
13227 * dirent/Makefile: Likewise.
13228 * gmon/Makefile: Likewise.
13229 * po/Makefile: Likewise.
13230 * rt/Makefile: Likewise.
13231 * socket/Makefile: Likewise.
13232 * math/Makefile: Likewise.
13233 * signal/Makefile: Likewise.
13234 * debug/Makefile: Likewise.
13235 * elf/Makefile: Likewise.
13236 * timezone/Makefile: Likewise.
13237 * stdlib/Makefile: Likewise.
13238 * iconvdata/Makefile: Likewise.
13239 * sunrpc/Makefile: Likewise.
13240 * io/Makefile: Likewise.
13241 * argp/Makefile: Likewise.
13242 * inet/Makefile: Likewise.
13243 * hesiod/Makefile: Likewise.
13244 * grp/Makefile: Likewise.
13245 * csu/Makefile: Likewise.
13246 * wctype/Makefile: Likewise.
13247 * crypt/Makefile: Likewise.
13248 * libio/Makefile: Likewise.
13249 * string/Makefile: Likewise.
13250 * nis/Makefile: Likewise.
13251 * resolv/Makefile: Likewise.
13252 * stdio-common/Makefile: Likewise.
13253 * wcsmbs/Makefile: Likewise.
13254 * dlfcn/Makefile: Likewise.
13255 * posix/Makefile: Likewise.
13258 * timezone/Makefile: Don't install timezone files, just the programs
13261 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13263 * nss/databases.def: Add missing gshadow entry.
13265 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13267 2012-03-06 Marek Polacek <polacek@redhat.com>
13270 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13271 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13272 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13273 * stdio-common/tst-long-dbl-fphex.c: New file.
13275 2012-03-06 David S. Miller <davem@davemloft.net>
13277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13278 (set_obp_int): New function.
13279 (get_obp_int): New function.
13280 (__get_clockfreq_via_dev_openprom): Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13282 Avoid unused variable warnings on 'val' and use builtin_expect.
13283 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13285 (INLINE_CLONE_SYSCALL): Likewise.
13287 2012-03-05 David S. Miller <davem@davemloft.net>
13289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13291 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13295 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13296 only for |x| >= 40.
13297 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13299 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13302 Replace gettimeofday with __vdso_gettimeofday.
13304 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13305 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13306 __vdso_clock_gettime and __vdso_getcpu.
13308 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13309 time with __vdso_time.
13311 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13313 * manual/lang.texi (size_t): Note types to which size_t may be
13314 equivalent with the GNU C Library, but do not describe when
13315 differences between them are significant.
13317 2012-03-05 Andreas Jaeger <aj@suse.de>
13319 * sysdeps/i386/fpu/libm-test-ulps: Update.
13321 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13324 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13325 (__ieee754_pow): Save and restore rounding mode and use
13326 round-to-nearest for main computations.
13327 * math/libm-test.inc (pow_test_tonearest): New function.
13328 (pow_test_towardzero): Likewise.
13329 (pow_test_downward): Likewise.
13330 (pow_test_upward): Likewise.
13331 (main): Call the new functions.
13332 * sysdeps/i386/fpu/libm-test-ulps: Update.
13333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13336 * math/libm-test.inc (cosh_test_tonearest): New function.
13337 (cosh_test_towardzero): Likewise.
13338 (cosh_test_downward): Likewise.
13339 (cosh_test_upward): Likewise.
13340 (sinh_test_tonearest): Likewise.
13341 (sinh_test_towardzero): Likewise.
13342 (sinh_test_downward): Likewise.
13343 (sinh_test_upward): Likewise.
13344 (main): Call the new functions.
13345 * sysdeps/i386/fpu/libm-test-ulps: Update.
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348 2012-03-05 Tom de Vries <tom@codesourcery.com>
13350 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13351 default stack guard is set in last bytes.
13352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13354 2012-03-05 Kees Cook <keescook@chromium.org>
13356 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13359 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13360 possibly allocate from heap instead of stack.
13361 * stdio-common/bug-vfprintf-nargs.c: New file.
13362 * stdio-common/Makefile (tests): Add nargs overflow test.
13364 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13368 2012-03-03 Marek Polacek <polacek@redhat.com>
13370 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13371 * math/math_private.h: Likewise.
13372 * stdlib/tst-strtod.c: Likewise.
13373 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13374 * sysdeps/x86_64/bits/atomic.h: Likewise.
13376 2012-03-02 David S. Miller <davem@davemloft.net>
13378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13382 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13383 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13387 2012-03-02 Roland McGrath <roland@hack.frob.com>
13390 * manual/examples/README: New file, says the example source files
13391 can be used under GPL>=2.
13392 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13393 line containing just "*/".
13394 * manual/examples/add.c: Add copyright header (GPL>=2).
13395 * manual/examples/argp-ex1.c: Likewise.
13396 * manual/examples/argp-ex2.c: Likewise.
13397 * manual/examples/argp-ex3.c: Likewise.
13398 * manual/examples/argp-ex4.c: Likewise.
13399 * manual/examples/atexit.c: Likewise.
13400 * manual/examples/db.c: Likewise.
13401 * manual/examples/dir.c: Likewise.
13402 * manual/examples/dir2.c: Likewise.
13403 * manual/examples/execinfo.c: Likewise.
13404 * manual/examples/filecli.c: Likewise.
13405 * manual/examples/filesrv.c: Likewise.
13406 * manual/examples/fmtmsgexpl.c: Likewise.
13407 * manual/examples/genpass.c: Likewise.
13408 * manual/examples/inetcli.c: Likewise.
13409 * manual/examples/inetsrv.c: Likewise.
13410 * manual/examples/isockad.c: Likewise.
13411 * manual/examples/longopt.c: Likewise.
13412 * manual/examples/memopen.c: Likewise.
13413 * manual/examples/memstrm.c: Likewise.
13414 * manual/examples/mkfsock.c: Likewise.
13415 * manual/examples/mkisock.c: Likewise.
13416 * manual/examples/mygetpass.c: Likewise.
13417 * manual/examples/pipe.c: Likewise.
13418 * manual/examples/popen.c: Likewise.
13419 * manual/examples/rprintf.c: Likewise.
13420 * manual/examples/search.c: Likewise.
13421 * manual/examples/select.c: Likewise.
13422 * manual/examples/setjmp.c: Likewise.
13423 * manual/examples/sigh1.c: Likewise.
13424 * manual/examples/sigusr.c: Likewise.
13425 * manual/examples/stpcpy.c: Likewise.
13426 * manual/examples/strdupa.c: Likewise.
13427 * manual/examples/strftim.c: Likewise.
13428 * manual/examples/strncat.c: Likewise.
13429 * manual/examples/subopt.c: Likewise.
13430 * manual/examples/swapcontext.c: Likewise.
13431 * manual/examples/termios.c: Likewise.
13432 * manual/examples/testopt.c: Likewise.
13433 * manual/examples/testpass.c: Likewise.
13434 * manual/examples/timeval_subtract.c: Likewise.
13437 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13439 * manual/timeval_subtract.c.texi: ... here, new file.
13441 2012-03-02 David S. Miller <davem@davemloft.net>
13443 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13445 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13449 (__sin): Save and restore rounding mode and use round-to-nearest
13450 for all computations.
13451 (__cos): Save and restore rounding mode and use round-to-nearest
13452 for all computations.
13453 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13455 (tan): Save and restore rounding mode and use round-to-nearest for
13457 * math/libm-test.inc (cos_test_tonearest): New function.
13458 (cos_test_towardzero): Likewise.
13459 (cos_test_downward): Likewise.
13460 (cos_test_upward): Likewise.
13461 (sin_test_tonearest): Likewise.
13462 (sin_test_towardzero): Likewise.
13463 (sin_test_downward): Likewise.
13464 (sin_test_upward): Likewise.
13465 (tan_test_tonearest): Likewise.
13466 (tan_test_towardzero): Likewise.
13467 (tan_test_downward): Likewise.
13468 (tan_test_upward): Likewise.
13469 (main): Call the new functions.
13470 * sysdeps/i386/fpu/libm-test-ulps: Update.
13471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13475 small n, then large n, before computing and testing k+n.
13476 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13481 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13482 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13487 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13488 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13489 * math/libm-test.inc (scalbn_test): Add more tests.
13490 (scalbln_test): Likewise.
13492 * manual/filesys.texi (mode_t): Describe constraints on size and
13493 signedness, not exact equivalence to a particular type.
13495 (ino64_t): Likewise.
13497 (nlink_t): Likewise.
13498 (blkcnt_t): Likewise.
13499 (blkcnt64_t): Likewise.
13500 * manual/llio.texi (off_t): Likewise.
13503 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13504 (__ieee754_exp): Save and restore rounding mode and use
13505 round-to-nearest for all computations.
13506 * math/libm-test.inc (exp_test_tonearest): New function.
13507 (exp_test_towardzero): Likewise.
13508 (exp_test_downward): Likewise.
13509 (exp_test_upward): Likewise.
13510 (main): Call the new functions.
13511 * sysdeps/i386/fpu/libm-test-ulps: Update.
13512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13514 2012-03-01 Chris Demetriou <cgd@google.com>
13516 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13517 have predictable order.
13519 2012-03-01 David S. Miller <davem@davemloft.net>
13521 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13523 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13524 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13525 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13526 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13528 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13529 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13530 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13532 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13533 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13534 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13535 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13536 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13541 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13542 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13544 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13546 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13547 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13548 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13551 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13552 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13553 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13554 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13557 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13558 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13560 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13561 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13562 * sysdeps/sparc/elf/configure: Regenerated.
13564 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13566 * configure.in (AS, LD): Require binutils 2.20 or later.
13567 * configure: Regenerated.
13568 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13569 as required minimum version.
13570 * INSTALL: Regenerated.
13574 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13575 before squaring exponent.
13576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13577 bottom long double and 27 bits of top long double before squaring
13579 * math/libm-test.inc (erfc_test): Add more tests.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13584 2012-03-01 Kai Tietz <ktietz@redhat.com>
13586 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13587 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13588 containing bit-fields.
13589 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13590 * soft-fp/single.h (_FP_UNION_S): Likewise.
13591 * soft-fp/double.h (_FP_UNION_D): Likewise.
13593 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13596 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13597 not include ../strcmp.S.
13598 [USE_AS_STRNCASECMP_L]: Likewise.
13599 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13600 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13601 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13602 (__strncasecmp_l_ia32): Define as alias to
13603 __strncasecmp_l_nonascii.
13606 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13610 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13613 2012-02-29 Jeff Law <law@redhat.com>
13615 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13616 out of bounds read.
13618 2012-02-29 Marek Polacek <polacek@redhat.com>
13621 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13622 * elf/Makefile: Add rules to run tst-unused-dep.out.
13624 2012-02-28 David S. Miller <davem@davemloft.net>
13626 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13627 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13630 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13631 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13633 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13635 * math/libm-test.inc (llround_test): Move one test from
13636 lround_test. Use TEST_f_L in moved test.
13637 (lround_test): Move misplaced test to llround_test. Add testcase
13640 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13642 * sysdeps/x86_64/fpu/e_expf.S: New file.
13643 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13645 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13648 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13649 of remain_len that may cause incomplete multi-byte character and
13651 * posix/bug-regex33.c: New file.
13652 * posix/Makefile (tests): Add bug-regex33.
13654 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13656 * manual/macros.texi: New file.
13657 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13658 * manual/libc.texinfo: Include macros.texi.
13659 * manual/creatute.texi: Likewise.
13660 * manual/install.texi: Likewise.
13661 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13662 @glibcadj{} in references to the GNU C Library.
13663 * manual/charset.texi: Likewise.
13664 * manual/conf.texi: Likewise.
13665 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13666 when not using those macros.
13667 * manual/creature.texi: Likewise.
13668 * manual/crypt.texi: Likewise.
13669 * manual/errno.texi: Likewise.
13670 * manual/filesys.texi: Likewise.
13671 * manual/header.texi: Likewise.
13672 * manual/install.texi: Likewise.
13673 * manual/intro.texi: Likewise.
13674 * manual/io.texi: Likewise.
13675 * manual/job.texi: Likewise.
13676 * manual/lang.texi: Likewise.
13677 * manual/libc.texiinfo: Likewise.
13678 * manual/llio.texi: Likewise.
13679 * manual/locale.texi: Likewise.
13680 * manual/maint.texi: Likewise.
13681 * manual/math.texi: Likewise.
13682 * manual/memory.texi: Likewise.
13683 * manual/message.texi: Likewise.
13684 * manual/nss.texi: Likewise.
13685 * manual/pattern.texi: Likewise.
13686 * manual/process.texi: Likewise.
13687 * manual/resource.texi: Likewise.
13688 * manual/search.texi: Likewise.
13689 * manual/setjmp.texi: Likewise.
13690 * manual/signal.texi: Likewise.
13691 * manual/socket.texi: Likewise.
13692 * manual/startup.texi: Likewise.
13693 * manual/stdio.texi: Likewise.
13694 * manual/string.texi: Likewise.
13695 * manual/sysinfo.texi: Likewise.
13696 * manual/syslog.texi: Likewise.
13697 * manual/terminal.texi: Likewise.
13698 * manual/time.texi: Likewise.
13699 * manual/users.texi: Likewise.
13700 * INSTALL: Regenerated.
13701 * NOTES: Regenerated.
13702 * sysdeps/gnu/errlist.c: Regenerated.
13704 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13706 * include/dirent.h: Include <dirstream.h> before
13709 2012-02-28 David S. Miller <davem@davemloft.net>
13711 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13712 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13713 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13714 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13716 2012-02-27 David S. Miller <davem@davemloft.net>
13718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13720 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13721 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13724 frame pointer instead of stack pointer relative arg slot.
13725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13726 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13727 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13729 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13732 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13734 2012-02-27 David S. Miller <davem@davemloft.net>
13736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13740 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13741 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13742 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13743 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13745 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13747 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13748 later. Allow versions 5-9.
13749 * configure: Regenerated.
13750 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13751 required minimum version and 4.6 as recommended version. Do not
13752 mention bugs in GCC 2.7 and 2.8.
13753 * INSTALL: Regenerated.
13755 2012-02-27 David S. Miller <davem@davemloft.net>
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13763 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13764 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13767 manipulate bits before adding and subtracting TWO112[sx].
13768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13770 2012-02-27 Roland McGrath <roland@hack.frob.com>
13773 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13774 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13775 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13776 being in POSIX, because they are in 1003.1-2008.
13778 * rt/tst-aio.c: Include <fcntl.h>.
13779 * rt/tst-aio7.c: Likewise.
13780 * rt/tst-aio64.c: Likewise.
13782 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13784 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13786 * manual/install.texi (--with-headers): Describe headers as
13787 interface headers, not private headers.
13788 (Specific advice for GNU/Linux systems): Describe use of headers
13789 from "make headers_install", not private headers from older
13791 * INSTALL: Regenerated.
13792 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13794 * sysdeps/unix/sysv/linux/configure: Regenerated.
13796 * manual/llio.texi (fclean): Remove documentation.
13798 * manual/Makefile (libc-texi-generated): New variable. Include
13800 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13801 $(libc-texi-generated), not duplicated list of files.
13802 (version.texi, stamp-version): New rules.
13803 (realclean): Remove $(libc-texi-generated), not individual files
13804 from that list. Do not remove dir-add.texinfo.
13805 * manual/libc.texinfo: Comment out uses of edition numbers and
13806 references to printed manual. Remove last-updated dates.
13807 (EDITION): Comment out.
13809 (VERSION, UPDATED): Remove.
13810 (version.texi): Include.
13812 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13814 * sysdeps/posix/spawni.c: Include <signal.h>.
13815 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13816 * sysdeps/pthread/aio_fsync.c: Likewise.
13818 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13820 * conform/Makefile (tests): Run only when not cross-compiling and
13821 when fast-check is not defined.
13823 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13824 * conform/data/limits.h-data: Fixes for POSIX2008.
13825 * conform/run-conformtest.sh: Run all tests.
13826 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13828 * include/bits/dlfcn.h: Likewise.
13829 * include/langinfo.h: Likewise.
13830 * include/monetary.h: Likewise.
13831 * include/sys/poll.h: Likewise.
13833 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13835 * posix/spawn.h: Define __need_sigset_t.
13836 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13837 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13838 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13839 to get sigevent_t only.
13840 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13841 only for __USE_GNU.
13842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13844 process_vm_writev only for __USE_GNU.
13845 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13847 * conform/Makefile: For now ignore errors from run-conformtest.
13848 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13849 POSIX to avoid namespace pollution. Don't prepend headers.
13850 * conform/data/aio.h-data: Fixes for POSIX testing.
13851 * conform/data/fcntl.h-data: Likewise.
13852 * conform/data/glob.h-data: Likewise.
13853 * conform/data/grp.h-data: Likewise.
13854 * conform/data/pthread.h-data: Likewise.
13855 * conform/data/pwd.h-data: Likewise.
13856 * conform/data/signal.h-data: Likewise.
13857 * conform/data/spawn.h-data: Likewise.
13858 * conform/data/stdio.h-data: Likewise.
13859 * conform/data/stdlib.h-data: Likewise.
13860 * conform/data/stropts.h-data: Likewise.
13861 * conform/data/sys/mman.h-data: Likewise.
13862 * conform/data/sys/stat.h-data: Likewise.
13863 * conform/data/sys/types.h-data: Likewise.
13864 * conform/data/sys/wait.h-data: Likewise.
13865 * conform/data/time.h-data: Likewise.
13866 * conform/data/unistd.h-data: Likewise.
13867 * conform/data/utime.h-data: Likewise.
13869 * io/sys/stat.h: fchmod was always in POSIX.
13870 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13871 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13872 * rt/aio.h: Define __need_timespec before including <time.h>.
13873 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13874 struct. Add forward declaration of pthread_attr_t and use it in
13876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13878 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13879 always remove CLK_TCK definition.
13881 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13883 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13885 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13887 * conform/run-conformtest.sh: New file.
13888 * conform/Makefile: Run run-conformtest for tests.
13889 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13892 * conform/data/uchar.h-data: New file.
13893 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13894 * conform/data/arpa/inet.h-data: Likewise.
13895 * conform/data/assert.h-data: Likewise.
13896 * conform/data/complex.h-data: Likewise.
13897 * conform/data/cpio.h-data: Likewise.
13898 * conform/data/ctype.h-data: Likewise.
13899 * conform/data/dirent.h-data: Likewise.
13900 * conform/data/dlfcn.h-data: Likewise.
13901 * conform/data/errno.h-data: Likewise.
13902 * conform/data/fcntl.h-data: Likewise.
13903 * conform/data/float.h-data: Likewise.
13904 * conform/data/fmtmsg.h-data: Likewise.
13905 * conform/data/fnmatch.h-data: Likewise.
13906 * conform/data/ftw.h-data: Likewise.
13907 * conform/data/glob.h-data: Likewise.
13908 * conform/data/grp.h-data: Likewise.
13909 * conform/data/iconv.h-data: Likewise.
13910 * conform/data/inttypes.h-data: Likewise.
13911 * conform/data/langinfo.h-data: Likewise.
13912 * conform/data/libgen.h-data: Likewise.
13913 * conform/data/limits.h-data: Likewise.
13914 * conform/data/locale.h-data: Likewise.
13915 * conform/data/math.h-data: Likewise.
13916 * conform/data/monetary.h-data: Likewise.
13917 * conform/data/mqueue.h-data: Likewise.
13918 * conform/data/ndbm.h-data: Likewise.
13919 * conform/data/net/if.h-data: Likewise.
13920 * conform/data/netdb.h-data: Likewise.
13921 * conform/data/netinet/in.h-data: Likewise.
13922 * conform/data/nl_types.h-data: Likewise.
13923 * conform/data/poll.h-data: Likewise.
13924 * conform/data/pthread.h-data: Likewise.
13925 * conform/data/pwd.h-data: Likewise.
13926 * conform/data/regex.h-data: Likewise.
13927 * conform/data/sched.h-data: Likewise.
13928 * conform/data/search.h-data: Likewise.
13929 * conform/data/semaphore.h-data: Likewise.
13930 * conform/data/setjmp.h-data: Likewise.
13931 * conform/data/signal.h-data: Likewise.
13932 * conform/data/spawn.h-data: Likewise.
13933 * conform/data/stdarg.h-data: Likewise.
13934 * conform/data/stdio.h-data: Likewise.
13935 * conform/data/stdlib.h-data: Likewise.
13936 * conform/data/string.h-data: Likewise.
13937 * conform/data/strings.h-data: Likewise.
13938 * conform/data/stropts.h-data: Likewise.
13939 * conform/data/sys/ipc.h-data: Likewise.
13940 * conform/data/sys/mman.h-data: Likewise.
13941 * conform/data/sys/msg.h-data: Likewise.
13942 * conform/data/sys/resource.h-data: Likewise.
13943 * conform/data/sys/select.h-data: Likewise.
13944 * conform/data/sys/sem.h-data: Likewise.
13945 * conform/data/sys/shm.h-data: Likewise.
13946 * conform/data/sys/socket.h-data: Likewise.
13947 * conform/data/sys/stat.h-data: Likewise.
13948 * conform/data/sys/statvfs.h-data: Likewise.
13949 * conform/data/sys/time.h-data: Likewise.
13950 * conform/data/sys/timeb.h-data: Likewise.
13951 * conform/data/sys/times.h-data: Likewise.
13952 * conform/data/sys/types.h-data: Likewise.
13953 * conform/data/sys/uio.h-data: Likewise.
13954 * conform/data/sys/un.h-data: Likewise.
13955 * conform/data/sys/utsname.h-data: Likewise.
13956 * conform/data/sys/wait.h-data: Likewise.
13957 * conform/data/syslog.h-data: Likewise.
13958 * conform/data/tar.h-data: Likewise.
13959 * conform/data/termios.h-data: Likewise.
13960 * conform/data/utime.h-data: Likewise.
13961 * conform/data/utmpx.h-data: Likewise.
13962 * conform/data/varargs.h-data: Likewise.
13963 * conform/data/wchar.h-data: Likewise.
13964 * conform/data/wctype.h-data: Likewise.
13965 * conform/data/wordexp.h-data: Likewise.
13967 * include/stropts.h: New file.
13968 * include/uchar.h: New file.
13969 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13970 * include/assert.h: Likewise.
13971 * include/ctype.h: Likewise.
13972 * include/dirent.h: Likewise.
13973 * include/dlfcn.h: Likewise.
13974 * include/fcntl.h: Likewise.
13975 * include/fnmatch.h: Likewise.
13976 * include/glob.h: Likewise.
13977 * include/grp.h: Likewise.
13978 * include/libio.h: Likewise.
13979 * include/locale.h: Likewise.
13980 * include/math.h: Likewise.
13981 * include/net/if.h: Likewise.
13982 * include/netdb.h: Likewise.
13983 * include/netinet/in.h: Likewise.
13984 * include/pthread.h: Likewise.
13985 * include/pwd.h: Likewise.
13986 * include/regex.h: Likewise.
13987 * include/sched.h: Likewise.
13988 * include/search.h: Likewise.
13989 * include/setjmp.h: Likewise.
13990 * include/signal.h: Likewise.
13991 * include/stdio.h: Likewise.
13992 * include/stdlib.h: Likewise.
13993 * include/string.h: Likewise.
13994 * include/sys/cdefs.h: Likewise.
13995 * include/sys/mman.h: Likewise.
13996 * include/sys/msg.h: Likewise.
13997 * include/sys/resource.h: Likewise.
13998 * include/sys/select.h: Likewise.
13999 * include/sys/socket.h: Likewise.
14000 * include/sys/stat.h: Likewise.
14001 * include/sys/statvfs.h: Likewise.
14002 * include/sys/time.h: Likewise.
14003 * include/sys/times.h: Likewise.
14004 * include/sys/uio.h: Likewise.
14005 * include/sys/utsname.h: Likewise.
14006 * include/sys/wait.h: Likewise.
14007 * include/termios.h: Likewise.
14008 * include/time.h: Likewise.
14009 * include/ulimit.h: Likewise.
14010 * include/unistd.h: Likewise.
14011 * include/utime.h: Likewise.
14012 * include/wchar.h: Likewise.
14013 * include/wctype.h: Likewise.
14014 * include/wordexp.h: Likewise.
14016 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14018 * time/time.h: TIME_UTC must be a macro.
14019 Make timespec_get available for ISO C11 only as well.
14021 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14023 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14024 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14026 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14028 * configure.in: Use -o not -a in test for unsupported multi-arch.
14030 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14032 * manual/texinfo.tex: Update to version 2012-01-19.16.
14034 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14036 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14038 2012-02-24 Roland McGrath <roland@hack.frob.com>
14041 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14042 * manual/fdl-1.3.texi: New file.
14043 * manual/fdl-1.1.texi: File removed.
14046 * manual/libc.texinfo (FDL_VERSION): New @set.
14047 Use it for mention of FDL in cover text.
14048 (Documentation License): Use it in @include file name.
14050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14051 Roland McGrath <roland@hack.frob.com>
14054 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14055 not LONG_LONG_MAX and LONG_LONG_MIN.
14056 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14057 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14059 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14061 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14065 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14066 manipulate bits before adding and subtracting TWO23[sx].
14067 * math/libm-test.inc (nearbyint_test): Add more tests.
14069 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14072 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14073 bits before adding and subtracting TWO23[sx].
14074 * math/libm-test.inc (rint_test): Add more tests.
14075 (rint_test_tonearest): Likewise.
14076 (rint_test_towardzero): Likewise.
14077 (rint_test_downward): Likewise.
14078 (rint_test_upward: Likewise.
14080 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14083 * include/stdc-predef.h: New file. Extracted from features.h.
14084 * include/features.h: Include stdc-predef.h.
14085 * Makefile (headers): Add stdc-predef.h.
14086 * CONFORMANCE (Compiler limitations): Update.
14088 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14090 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14092 2012-02-21 David S. Miller <davem@davemloft.net>
14094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14095 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14097 2012-02-20 David S. Miller <davem@davemloft.net>
14099 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14100 using a normal save/restore sequence, rather than allocating a
14101 dummy stack frame just to store a frame pointer and restore.
14102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14104 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14106 * manual/install.texi: Fix stray word in line-wrapped comment.
14108 2012-02-20 David S. Miller <davem@davemloft.net>
14110 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14111 both binutils and gcc support GOTDATA.
14113 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14114 "rd %pc" in the PIC register setup sequences.
14116 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14117 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14118 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14119 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14120 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14125 (SYSCALL_ERROR_HANDLER): Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14129 (SYSCALL_ERROR_HANDLER): Likewise.
14131 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14132 (HAVE_GCC_GOTDATA): New.
14133 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14134 relocation support in both binutils and gcc.
14135 * sysdeps/sparc/elf/configure: Regenerate.
14137 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14138 * sysdeps/sparc/sparc32/elf/configure: Delete.
14139 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14140 * sysdeps/sparc/sparc64/elf/configure: Delete.
14141 * sysdeps/sparc/elf/configure.in: New file.
14142 * sysdeps/sparc/elf/configure: Generate.
14144 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14145 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14146 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14147 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14148 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14150 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14152 * manual/install.texi: Do not mention specific glibc version
14154 * manual/libc.texinfo (VERSION, UPDATED): Update.
14155 (@copying): Use @copyright{} and range of years.
14157 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14160 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14161 [crti.S not in sysdirs] (generated): Do not append.
14162 [crti.S not in sysdirs] (omit-deps): Likewise.
14163 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14164 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14165 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14166 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14167 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14169 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14170 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14171 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14172 * csu/defs.awk: Remove file.
14173 * sysdeps/generic/initfini.c: Likewise.
14174 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14176 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14179 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14182 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14185 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14186 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14188 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14189 (__EPOLL_PACKED): Define to empty if not defined by
14191 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14195 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14197 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14198 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14200 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14202 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14206 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14208 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14215 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14217 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14218 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14220 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14222 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14223 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14225 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14227 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14230 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14232 * math/w_acos.c: Use non-signaling floating-point comparisons.
14233 * math/w_acosf.c: Likewise.
14234 * math/w_acosh.c: Likewise.
14235 * math/w_acoshf.c: Likewise.
14236 * math/w_acoshl.c: Likewise.
14237 * math/w_acosl.c: Likewise.
14238 * math/w_asin.c: Likewise.
14239 * math/w_asinf.c: Likewise.
14240 * math/w_asinl.c: Likewise.
14241 * math/w_atanh.c: Likewise.
14242 * math/w_atanhf.c: Likewise.
14243 * math/w_atanhl.c: Likewise.
14244 * math/w_exp2.c: Likewise.
14245 * math/w_exp2f.c: Likewise.
14246 * math/w_exp2l.c: Likewise.
14247 * math/w_j0.c: Likewise.
14248 * math/w_j0f.c: Likewise.
14249 * math/w_j0l.c: Likewise.
14250 * math/w_j1.c: Likewise.
14251 * math/w_j1f.c: Likewise.
14252 * math/w_j1l.c: Likewise.
14253 * math/w_jn.c: Likewise.
14254 * math/w_jnf.c: Likewise.
14255 * math/w_log.c: Likewise.
14256 * math/w_log10.c: Likewise.
14257 * math/w_log10f.c: Likewise.
14258 * math/w_log10l.c: Likewise.
14259 * math/w_log2.c: Likewise.
14260 * math/w_log2f.c: Likewise.
14261 * math/w_log2l.c: Likewise.
14262 * math/w_logf.c: Likewise.
14263 * math/w_logl.c: Likewise.
14264 * math/w_sqrt.c: Likewise.
14265 * math/w_sqrtf.c: Likewise.
14266 * math/w_sqrtl.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14270 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14271 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14276 * manual/string.texi (strnlen): Use correct parameter name in
14277 equivalent expression.
14279 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14282 * manual/users.texi (seteuid): Consistently use neweuid for
14285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14288 * manual/nss.texi (Services in the NSS configuration): Correct
14289 list of services in example configuration file.
14291 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14294 * manual/arith.texi: Remove statements about negative zero
14295 behaving identically to zero.
14297 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14300 * manual/install.texi: Do not document upgrading from libc5.
14302 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14305 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14307 2012-02-18 David S. Miller <davem@davemloft.net>
14309 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14310 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14311 %o7 across the call.
14312 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14315 SETUP_PIC_REG_LEAF.
14316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14317 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14318 * sysdeps/sparc/crtn.S: Likewise.
14320 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14322 * aout/Makefile: Remove.
14324 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14327 * manual/examples/argp-ex1.c (main): Format definition in GNU
14329 * manual/examples/argp-ex2.c (main): Likewise.
14330 * manual/examples/argp-ex3.c (main): Likewise.
14331 * manual/examples/argp-ex4.c (main): Likewise.
14332 * manual/examples/longopt.c (main): Use new-style prototype
14334 * manual/examples/strncat.c (main): Specify return type and use
14335 (void) for arguments.
14336 * manual/examples/subopt.c (main): Use char **argv argument.
14338 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14341 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14344 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14347 * manual/string.texi (strchr): Change when strchrnul is
14350 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14353 * manual/locale.texi (setlocale): Document LOCPATH.
14355 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14358 * manual/process.texi (execle): Move @dots{} before last argument.
14360 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14363 * manual/charset.texi (Generic Charset Conversion): Fix typo
14364 (LC_TYPE -> LC_CTYPE).
14366 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14369 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14370 (scalbnf): Likewise.
14371 (scalbnl): Likewise.
14372 (scalbln): Likewise.
14373 (scalblnf): Likewise.
14374 (scalblnl): Likewise.
14375 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14376 (vwarnx): Likewise.
14379 * manual/filesys.texi (telldir): Use braces around return type.
14380 * manual/llio.texi (mmap): Add space after comma.
14381 (mmap64): Likewise.
14382 * manual/math.texi (jn): Use @var{} on parameter names.
14388 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14390 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14392 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14393 (sched_get_priority_max): Likewise.
14394 * manual/signal.texi (sigvec): Add space after comma.
14395 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14397 (if_indextoname): Likewise.
14398 (if_freenameindex): Likewise.
14399 (sendto): Use ',' instead of '.' in prototype.
14400 * manual/startup.texi (syscall): Use @dots{} instead of literal
14402 * manual/stdio.texi (__fpending): Separate initial words of
14403 paragraph from @deftypefun line.
14404 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14406 (vsyslog): Use @var{} on parameter names.
14407 * manual/terminal.texi (stty): Use @var{} on parameter names.
14408 * manual/users.texi (getutmp): Use @var{} on parameter names.
14409 (getutmpx): Likewise.
14411 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14414 * manual/stdio.texi (fopen): Fix typos in description of
14417 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14420 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14421 get clock_id definition.
14423 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14426 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14427 (madvise): Cast every argument to void on its own.
14429 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14432 * manual/startup.texi (Exit Status): Fix typo.
14434 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14437 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14438 * manual/examples/argp-ex2.c: Likewise.
14439 * manual/examples/argp-ex3.c: Likewise.
14441 2012-02-16 Richard Henderson <rth@redhat.com>
14443 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14444 * sysdeps/s390/s390-32/initfini.c: Remove.
14445 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14446 * sysdeps/s390/s390-64/initfini.c: Remove.
14448 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14450 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14451 compiler output for sysdeps/generic/initfini.c.
14452 * sysdeps/sh/elf/initfini.c: Remove file.
14454 2012-02-16 David S. Miller <davem@davemloft.net>
14457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14459 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14460 * sysdeps/sparc/crti.S: New file.
14461 * sysdeps/sparc/crtn.S: New file.
14462 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14463 * sysdeps/sparc/sparc64/Makefile: Likewise.
14465 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14468 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14470 2012-02-15 Roland McGrath <roland@hack.frob.com>
14473 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14475 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14476 (write, read, close): Likewise.
14477 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14479 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14481 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14482 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14483 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14484 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14486 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14490 2012-02-14 Marek Polacek <polacek@redhat.com>
14492 * sysdeps/x86_64/crti.S: New file.
14493 * sysdeps/x86_64/crtn.S: New file.
14494 * sysdeps/x86_64/elf/initfini.c: Remove file.
14496 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14498 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14499 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14501 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14503 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14507 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14509 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14510 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14511 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14512 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14514 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14518 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14520 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14521 __feraiseexcept instead of feraiseexcept.
14523 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14524 nanosleep invocations.
14525 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14526 strings, and add error checking for a nanosleep invocations.
14528 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14530 Replace FSF snail mail address with URLs, as per GNU coding standards.
14531 Most of the snail mail addresses were wrong anyway, and omitting
14532 them makes the source code easier to maintain. Almost all of the
14533 changes are to license notices and to locale LC_IDENTIFICATION
14534 addresses, except for this one:
14535 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14536 not its snail mail address.
14538 2012-02-09 Richard Henderson <rth@twiddle.net>
14540 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14541 of kernel-features.h.
14543 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14545 2012-02-08 Marek Polacek <polacek@redhat.com>
14547 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14548 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14549 * sysdeps/gnu/_G_config.h: Likewise.
14550 * sysdeps/generic/_G_config.h: Likewise.
14552 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14554 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14558 * sysdeps/powerpc/powerpc32/crti.S: New file.
14559 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14560 * sysdeps/powerpc/powerpc64/crti.S: New file.
14561 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14563 * Makeconfig (have-initfini): Don't set.
14564 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14565 * configure.in (nopic_initfini): Don't substitute.
14566 * config.h.in (HAVE_INITFINI): Don't #undef.
14567 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14568 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14570 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14572 Support crti.S and crtn.S provided directly by architectures.
14573 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14574 [crti.S in sysdirs] (omit-deps): Likewise.
14575 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14576 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14577 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14578 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14579 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14580 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14581 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14582 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14583 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14584 compiler output for sysdeps/generic/initfini.c.
14585 * sysdeps/i386/elf/Makefile: Remove file.
14586 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14588 2012-02-07 Marek Polacek <polacek@redhat.com>
14590 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14591 * sysdeps/gnu/_G_config.h: Likewise.
14592 * sysdeps/mach/hurd/_G_config.h: Likewise.
14594 2012-02-07 Marek Polacek <polacek@redhat.com>
14596 * math/Makefile (tests): Add tst-CMPLX2.
14597 * math/tst-CMPLX2.c: New file.
14599 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14603 * math/libm-test.inc (jn_test): Add missing L suffix.
14605 2012-02-06 Marek Polacek <polacek@redhat.com>
14607 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14608 * sysdeps/i386/fpu/e_powf.S: Likewise.
14609 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14610 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14611 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14612 * sysdeps/i386/fpu/e_pow.S: Likewise.
14613 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14614 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14615 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14616 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14617 * sysdeps/i386/fpu/e_log2.S: Likewise.
14618 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14619 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14620 * sysdeps/i386/fpu/e_powl.S: Likewise.
14621 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14623 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14624 * sysdeps/i386/fpu/e_logl.S: Likewise.
14625 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14626 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14627 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14628 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14629 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14630 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14631 * sysdeps/i386/fpu/e_log.S: Likewise.
14632 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14633 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14634 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14635 * sysdeps/i386/fpu/e_logf.S: Likewise.
14636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14638 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14639 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14640 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14641 * sysdeps/i386/fpu/e_log10.S: Likewise.
14642 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14643 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14644 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14645 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14646 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14647 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14648 * sysdeps/i386/asm-syntax.h: Likewise.
14649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14650 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14651 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14652 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14653 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14654 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14655 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14656 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14658 * sysdeps/powerpc/sysdep.h: Likewise.
14659 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14660 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14662 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14667 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14669 * sysdeps/i386/sysdep.h: Include <features.h>.
14670 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14673 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14675 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14677 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14680 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14682 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14683 (SETUP_PIC_REG): Use GET_PC_THUNK.
14684 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14687 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14689 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14690 for non-PIC compilation.
14691 (SETUP_PIC_REG): Add .p2align directive.
14692 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14693 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14707 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14709 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14724 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14725 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14727 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14728 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14729 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14730 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14731 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14732 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14734 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14736 * math/tst-CMPLX.c: Include <stdio.h>.
14738 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14740 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14742 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14743 * sysdeps/sparc/bits/mathdef.h: Likewise.
14745 2012-01-31 Marek Polacek <polacek@redhat.com>
14747 * libio/libio.h: Don't define _PARAMS.
14748 * locale/programs/config.h: Don't define PARAMS.
14749 * stdlib/strtol_l.c: Likewise.
14750 (__strtol_l): Remove PARAMS from the prototype.
14752 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14754 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14755 names. Just use the correct names. Remove unnecessary wrapper
14757 * malloc/arena.c: Likewise.
14758 * malloc/hooks.c: Likewise.
14760 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14761 ARENA_TEST says not to. Simplify test for creation of a new arena.
14762 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14764 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14766 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14768 (update_get_addr): New function.
14769 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14770 GET_ADDR_MODULE parameter.
14772 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14774 * crypt/cert.c: Remove __STDC__ conditionals.
14775 * crypt/crypt-entry.c: Likewise.
14776 * crypt/crypt_util.c: Likewise.
14777 * libio/filedoalloc.c: Likewise.
14778 * libio/fileops.c: Likewise.
14779 * libio/genops.c: Likewise.
14780 * libio/iofclose.c: Likewise.
14781 * libio/iofdopen.c: Likewise.
14782 * libio/iofopen.c: Likewise.
14783 * libio/iofopen64.c: Likewise.
14784 * libio/iogetdelim.c: Likewise.
14785 * libio/iopopen.c: Likewise.
14786 * libio/obprintf.c: Likewise.
14787 * libio/oldfileops.c: Likewise.
14788 * libio/oldiofclose.c: Likewise.
14789 * libio/oldiofdopen.c: Likewise.
14790 * libio/oldiofopen.c: Likewise.
14791 * libio/oldiopopen.c: Likewise.
14792 * libio/wfiledoalloc.c: Likewise.
14793 * libio/wgenops.c: Likewise.
14794 * locale/programs/xmalloc.c: Likewise.
14795 * misc/syslog.c: Likewise.
14796 * stdio-common/xbug.c: Likewise.
14797 * string/memchr.c: Likewise.
14798 * string/memcmp.c: Likewise.
14799 * string/memrchr.c: Likewise.
14800 * string/rawmemchr.c: Likewise.
14801 * sysdeps/posix/getcwd.c: Likewise.
14802 * time/strftime_l.c: Likewise.
14804 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14806 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14807 * config.make.in (config-cflags-sse2avx): Define.
14808 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14811 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14813 * scripts/config.guess: Update from upstream config git repository.
14814 * scripts/config.sub: Likewise.
14816 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14818 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14820 (R_TILEPRO_*, R_TILEGX_*): New macros.
14822 * scripts/firstversions.awk: Fix bug in version range handling.
14824 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14826 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14828 * include/sys/epoll.h: New file.
14829 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14832 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14834 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14835 Avoid unnecessary __WORDSIZE == 64 test.
14836 (fmaxf): Use VEX format if possible.
14841 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14842 * math/math_private.h: Remove libc_fegetround* and
14844 * sysdeps/i386/configure.in: Check for -msse2avx.
14845 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14846 also if SSE2AVX is defined.
14847 Remove libc_fegetround* and libc_fesetround*.
14848 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14849 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14858 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14860 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14864 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14866 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14869 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14871 * Makeconfig (libm): Define.
14872 * elf/Makefile: Add rules to build and run tst-relsort1.
14873 * elf/tst-relsort1.c: New file.
14874 * elf/tst-relsort1mod1.c: New file.
14875 * elf/tst-relsort1mod2.c: New file.
14877 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14879 * math/s_ldexp.c: Remove __STDC__ conditionals.
14880 * math/s_ldexpf.c: Likewise.
14881 * math/s_ldexpl.c: Likewise.
14882 * math/s_nextafter.c: Likewise.
14883 * math/s_nexttowardf.c: Likewise.
14884 * math/s_significand.c: Likewise.
14885 * math/s_significandf.c: Likewise.
14886 * math/s_significandl.c: Likewise.
14887 * math/w_jnl.c: Likewise.
14888 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14889 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14890 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14891 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14892 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14907 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14909 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14910 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14912 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14914 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14918 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14920 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14927 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14928 * sysdeps/ieee754/k_standard.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15003 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15004 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15008 * sysdeps/ieee754/s_matherr.c: Likewise.
15009 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15010 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15014 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15016 * crypt/md5.h: Remove __STDC__ conditionals.
15017 * libio/libioP.h: Likewise.
15018 * locale/programs/config.h: Likewise.
15019 * sysdeps/generic/sysdep.h: Likewise.
15020 * sysdeps/i386/asm-syntax.h: Likewise.
15021 * sysdeps/s390/asm-syntax.h: Likewise.
15022 * sysdeps/unix/sysdep.h: Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15026 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15028 * libio/libio.h: Remove __STDC__ conditionals.
15029 * malloc/obstack.h: Likewise.
15030 * math/complex.h: Likewise.
15031 * math/math.h: Likewise.
15032 * sysdeps/generic/_G_config.h: Likewise.
15033 * sysdeps/gnu/_G_config.h: Likewise.
15034 * sysdeps/mach/hurd/_G_config.h: Likewise.
15035 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15036 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15037 * sysdeps/sparc/bits/mathdef.h: Likewise.
15039 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15042 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15043 Clean up HAS_* macros.
15044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15045 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15047 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15050 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15051 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15053 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15055 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15057 * elf/tst-unique3.cc (gets): Remove declaration.
15058 * elf/tst-unique3lib.cc (gets): Likewise.
15059 * elf/tst-unique3lib2.cc (gets): Likewise.
15060 * elf/tst-unique4.cc (gets): Likewise.
15062 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15064 * include/stdio.h: Add C++ protection. Add gets declarations and
15066 * debug/tst-chk1.c: Don't declare gets here.
15067 * stdio-common/tst-gets.c: Likewise.
15069 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15071 * posix/glob: Remove directory.
15073 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15075 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15077 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15079 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15080 of the non-standard EPFNOSUPPORT.
15082 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15084 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15085 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15086 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15088 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15090 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15092 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15094 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15096 * nscd/grpcache.c (cache_addgr): Likewise.
15097 * nscd/hstcache.c (cache_addhst): Likewise.
15098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15099 * nscd/pwdcache.c (cache_addpw): Likewise.
15100 * nscd/servicescache.c (cache_addserv): Likewise.
15102 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15104 * malloc/malloc.c: Various cleanups.
15105 * malloc/hooks.c: Likewise.
15107 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15108 * stdlib/bug-fmtmsg1.c: New file.
15110 * stdlib/fmtmsg.c (init): Add missing unlock.
15111 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15113 2012-01-12 Marek Polacek <polacek@redhat.com>
15115 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15118 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15120 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15121 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15122 macro to ensure uniqueness of label name.
15123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15126 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15128 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15130 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15131 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15135 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15137 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15139 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15140 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15141 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15143 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15145 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15146 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15147 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15150 * math/bits/math-finite.h: Add ldexp support.
15152 2012-01-10 Marek Polacek <polacek@redhat.com>
15154 * locale/programs/localedef.h (show_archive_content): Add noreturn
15157 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15159 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15161 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15163 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15165 * io/Makefile (headers): Add bits/poll2.h.
15167 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15170 typo #include statement.
15172 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15174 * include/sys/cdefs.h: Define __attribute_alloc_size.
15175 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15176 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15177 * elf/pldd.c: Likewise.
15178 * iconv/iconv_charmap.c: Likewise.
15179 * iconv/iconvconfig.c: Likewise.
15180 * iconv/strtab.c: Likewise.
15181 * locale/programs/locale.c: Likewise.
15182 * locale/programs/localedef.h: Likewise.
15183 * locale/programs/simple-hash.c: Likewise.
15184 * nscd/nscd.h: Likewise.
15185 * nss/makedb.c: Likewise.
15186 * sysdeps/generic/ldconfig.h: Likewise.
15187 * locale/programs/localedef.c: Remove xmalloc prototype.
15188 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15190 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15192 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15195 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15197 * math/Makefile (tests): Add tst-CMPLX.
15198 * math/tst-CMPLX.c: New file.
15200 * math/complex.h (CMPLXL): Fix typo.
15202 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15203 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15205 * debug/tst-chk1.c: Add poll and ppoll tests.
15206 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15207 * include/sys/poll.h: Add hidden proto for ppoll.
15208 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15209 * sysdeps/mach/hurd/ppoll.c: Likewise.
15210 * io/ppoll.c: Likewise.
15211 * debug/poll_chk.c: New file.
15212 * debug/ppoll_chk.c: New file.
15213 * include/bits/poll2.h: New file.
15214 * io/bits/poll2.h: New file.
15217 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15219 * configure.in: static is always set to yes. Remove.
15220 * config.make.in: Don't set build-static.
15221 * Makeconfig: Remove use of build-static.
15222 * dlfcn/Makefile: Likewise.
15223 * elf/Makefile: Likewise.
15224 * math/Makefile: Likewise.
15225 * misc/Makefile: Likewise.
15226 * nptl/Makefile: Likewise.
15227 * sysdeps/mach/hurd/Makefile: Likewise.
15229 * configure.in: PWD_P is not used anymore.
15230 * config.make.in: Remove PWD_P entry.
15232 * configure.in: Remove last remnants of RANLIB.
15233 No need to check for signed size_t anymore.
15234 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15236 Remove __builtin_expect test because we require at least gcc 3.4.
15237 * aclocal.m4: Likewise.
15239 * wcsmbs/mbrtoc16.c: Implement using towc function.
15240 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15241 * wcsmbs/wcsmbsload.c: Likewise.
15242 * iconv/gconv_simple.c: Likewise.
15243 * iconv/gconv_int.h: Likewise.
15244 * iconv/gconv_builtin.h: Likewise.
15245 * iconv/iconv_prog.c: Remove CHAR16 handling.
15247 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15249 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15251 * configure.in: Remove --with-elf and --enable-bounded options.
15252 Dont set base_machine for ia64. More non-ELF conditions removed.
15253 Remove testing and setting of leading underscore information.
15254 * config.make.in (build-bounded): Set to no.
15255 * config.h.in: Remove NO_UNDERSCORES entry.
15256 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15258 * csu/start.c: Remove !NO_UNDERSCORE code.
15259 * locale/localeinfo.h: Likewise.
15260 * sysdeps/generic/machine-gmon.h: Likewise.
15261 * sysdeps/generic/sysdep.h: Likewise.
15262 * sysdeps/i386/sysdep.h: Likewise.
15263 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15264 * sysdeps/mach/sysdep.h: Likewise.
15265 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15266 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15267 * sysdeps/sh/sysdep.h: Likewise.
15268 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15269 * sysdeps/unix/i386/sysdep.S: Likewise.
15270 * sysdeps/unix/sparc/start.c: Likewise.
15271 * sysdeps/unix/sparc/sysdep.S: Likewise.
15272 * sysdeps/unix/sparc/sysdep.h: Likewise.
15273 * sysdeps/unix/start.c: Likewise.
15274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15275 * sysdeps/x86_64/sysdep.h: Likewise.
15277 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15280 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15282 * argp/argp-fmtstream.h: Use const instead __const.
15283 * argp/argp.h: Likewise.
15284 * assert/assert.h: Likewise.
15285 * bits/fenv.h: Likewise.
15286 * bits/sched.h: Likewise.
15287 * bits/sigset.h: Likewise.
15288 * bits/sigthread.h: Likewise.
15289 * catgets/nl_types.h: Likewise.
15290 * conform/data/pthread.h-data: Likewise.
15291 * crypt/crypt-private.h: Likewise.
15292 * crypt/crypt.h: Likewise.
15293 * crypt/crypt_util.c: Likewise.
15294 * ctype/ctype.h: Likewise.
15295 * debug/execinfo.h: Likewise.
15296 * debug/mbsnrtowcs_chk.c: Likewise.
15297 * debug/mbsrtowcs_chk.c: Likewise.
15298 * debug/wcsnrtombs_chk.c: Likewise.
15299 * debug/wcsrtombs_chk.c: Likewise.
15300 * debug/wcstombs_chk.c: Likewise.
15301 * dirent/dirent.h: Likewise.
15302 * dlfcn/dlfcn.h: Likewise.
15303 * elf/neededtest4.c: Likewise.
15304 * grp/grp.h: Likewise.
15305 * gshadow/gshadow.h: Likewise.
15306 * iconv/gconv.h: Likewise.
15307 * iconv/gconv_int.h: Likewise.
15308 * iconv/gconv_simple.c: Likewise.
15309 * iconv/iconv.h: Likewise.
15310 * iconv/loop.c: Likewise.
15311 * iconv/skeleton.c: Likewise.
15312 * include/aio.h: Likewise.
15313 * include/aliases.h: Likewise.
15314 * include/argz.h: Likewise.
15315 * include/arpa/inet.h: Likewise.
15316 * include/assert.h: Likewise.
15317 * include/dirent.h: Likewise.
15318 * include/dlfcn.h: Likewise.
15319 * include/execinfo.h: Likewise.
15320 * include/fcntl.h: Likewise.
15321 * include/fenv.h: Likewise.
15322 * include/glob.h: Likewise.
15323 * include/grp.h: Likewise.
15324 * include/libintl.h: Likewise.
15325 * include/mntent.h: Likewise.
15326 * include/netdb.h: Likewise.
15327 * include/pwd.h: Likewise.
15328 * include/rpc/netdb.h: Likewise.
15329 * include/sched.h: Likewise.
15330 * include/search.h: Likewise.
15331 * include/shadow.h: Likewise.
15332 * include/signal.h: Likewise.
15333 * include/stdio.h: Likewise.
15334 * include/stdlib.h: Likewise.
15335 * include/string.h: Likewise.
15336 * include/sys/socket.h: Likewise.
15337 * include/sys/stat.h: Likewise.
15338 * include/sys/statfs.h: Likewise.
15339 * include/sys/statvfs.h: Likewise.
15340 * include/sys/syslog.h: Likewise.
15341 * include/sys/time.h: Likewise.
15342 * include/sys/uio.h: Likewise.
15343 * include/time.h: Likewise.
15344 * include/unistd.h: Likewise.
15345 * include/utmp.h: Likewise.
15346 * include/wchar.h: Likewise.
15347 * include/wctype.h: Likewise.
15348 * inet/aliases.h: Likewise.
15349 * inet/arpa/inet.h: Likewise.
15350 * inet/netinet/ether.h: Likewise.
15351 * inet/netinet/in.h: Likewise.
15352 * intl/libintl.h: Likewise.
15353 * io/bits/fcntl2.h: Likewise.
15354 * io/fcntl.h: Likewise.
15355 * io/ftw.h: Likewise.
15356 * io/sys/poll.h: Likewise.
15357 * io/sys/stat.h: Likewise.
15358 * io/sys/statfs.h: Likewise.
15359 * io/sys/statvfs.h: Likewise.
15360 * io/utime.h: Likewise.
15361 * libio/bits/stdio.h: Likewise.
15362 * libio/bits/stdio2.h: Likewise.
15363 * libio/libio.h: Likewise.
15364 * libio/libioP.h: Likewise.
15365 * libio/stdio.h: Likewise.
15366 * locale/lc-ctype.c: Likewise.
15367 * locale/locale.h: Likewise.
15368 * login/utmp.h: Likewise.
15369 * malloc/arena.c: Likewise.
15370 * malloc/malloc.c: Likewise.
15371 * malloc/malloc.h: Likewise.
15372 * malloc/mcheck.c: Likewise.
15373 * malloc/mtrace.c: Likewise.
15374 * math/bits/mathcalls.h: Likewise.
15375 * math/fenv.h: Likewise.
15376 * math/math_private.h: Likewise.
15377 * misc/bits/error.h: Likewise.
15378 * misc/bits/syslog.h: Likewise.
15379 * misc/err.h: Likewise.
15380 * misc/error.h: Likewise.
15381 * misc/fstab.h: Likewise.
15382 * misc/mntent.h: Likewise.
15383 * misc/regexp.h: Likewise.
15384 * misc/search.h: Likewise.
15385 * misc/sgtty.h: Likewise.
15386 * misc/sys/mman.h: Likewise.
15387 * misc/sys/syslog.h: Likewise.
15388 * misc/sys/uio.h: Likewise.
15389 * misc/sys/xattr.h: Likewise.
15390 * misc/ttyent.h: Likewise.
15391 * nis/rpcsvc/ypclnt.h: Likewise.
15392 * nss/nss.h: Likewise.
15393 * posix/bits/unistd.h: Likewise.
15394 * posix/fnmatch.h: Likewise.
15395 * posix/glob.h: Likewise.
15396 * posix/sched.h: Likewise.
15397 * posix/spawn.h: Likewise.
15398 * posix/sys/wait.h: Likewise.
15399 * posix/unistd.h: Likewise.
15400 * posix/wordexp.h: Likewise.
15401 * pwd/pwd.h: Likewise.
15402 * resolv/netdb.h: Likewise.
15403 * resource/sys/resource.h: Likewise.
15404 * rt/aio.h: Likewise.
15405 * rt/bits/mqueue2.h: Likewise.
15406 * rt/mqueue.h: Likewise.
15407 * shadow/shadow.h: Likewise.
15408 * signal/signal.h: Likewise.
15409 * socket/send.c: Likewise.
15410 * socket/sendto.c: Likewise.
15411 * socket/sys/socket.h: Likewise.
15412 * stdio-common/printf.h: Likewise.
15413 * stdlib/bits/stdlib.h: Likewise.
15414 * stdlib/fmtmsg.h: Likewise.
15415 * stdlib/monetary.h: Likewise.
15416 * stdlib/stdlib.h: Likewise.
15417 * stdlib/ucontext.h: Likewise.
15418 * streams/stropts.h: Likewise.
15419 * string/argz.h: Likewise.
15420 * string/bits/string2.h: Likewise.
15421 * string/string.h: Likewise.
15422 * string/strings.h: Likewise.
15423 * sunrpc/rpc/auth.h: Likewise.
15424 * sunrpc/rpc/auth_des.h: Likewise.
15425 * sunrpc/rpc/clnt.h: Likewise.
15426 * sunrpc/rpc/netdb.h: Likewise.
15427 * sunrpc/rpc/pmap_clnt.h: Likewise.
15428 * sunrpc/rpc/xdr.h: Likewise.
15429 * sysdeps/generic/inttypes.h: Likewise.
15430 * sysdeps/generic/net/if.h: Likewise.
15431 * sysdeps/generic/sys/swap.h: Likewise.
15432 * sysdeps/gnu/net/if.h: Likewise.
15433 * sysdeps/gnu/utmpx.h: Likewise.
15434 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15435 * sysdeps/i386/i486/bits/string.h: Likewise.
15436 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15437 * sysdeps/s390/bits/string.h: Likewise.
15438 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15439 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15440 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15441 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15442 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15443 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15444 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15445 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15446 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15447 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15448 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15449 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15450 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15451 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15452 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15453 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15454 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15456 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15457 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15459 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15460 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15461 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15462 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15463 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15464 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15466 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15467 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15468 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15469 * sysvipc/sys/ipc.h: Likewise.
15470 * sysvipc/sys/msg.h: Likewise.
15471 * sysvipc/sys/sem.h: Likewise.
15472 * sysvipc/sys/shm.h: Likewise.
15473 * termios/termios.h: Likewise.
15474 * time/sys/time.h: Likewise.
15475 * time/time.h: Likewise.
15476 * wcsmbs/bits/wchar2.h: Likewise.
15477 * wcsmbs/uchar.h: Likewise.
15478 * wcsmbs/wchar.h: Likewise.
15479 * wctype/wctype.h: Likewise.
15482 * Makeconfig: Remove all but ELF support including AIX support.
15483 * Makerules: Likewise.
15484 * config.h.in: Likewise.
15485 * config.make.in: Likewise.
15486 * configure: Likewise.
15487 * configure.in: Likewise.
15488 * csu/Makefile: Likewise.
15489 * csu/version.c: Likewise.
15490 * debug/Makefile: Likewise.
15491 * dlfcn/Makefile: Likewise.
15492 * elf/Makefile: Likewise.
15493 * extra-lib.mk: Likewise.
15494 * iconv/Makefile: Likewise.
15495 * include/libc-symbols.h: Likewise.
15496 * include/shlib-compat.h: Likewise.
15497 * resolv/Makefile: Likewise.
15498 * resolv/res_libc.c: Likewise.
15499 * rt/Makefile: Likewise.
15500 * sysdeps/i386/asm-syntax.h: Likewise.
15501 * sysdeps/i386/sysdep.h: Likewise.
15502 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15503 * sysdeps/mach/sysdep.h: Likewise.
15504 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15505 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15506 * sysdeps/s390/asm-syntax.h: Likewise.
15507 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15508 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15509 * sysdeps/sh/sysdep.h: Likewise.
15510 * sysdeps/unix/sparc/sysdep.h: Likewise.
15511 * sysdeps/wordsize-32/divdi3.c: Likewise.
15512 * sysdeps/x86_64/sysdep.h: Likewise.
15514 * argp/Versions: Remove _argp_unlock_xxx.
15517 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15518 * abilist/libBrokenLocale.abilist: Likewise.
15519 * abilist/libanl.abilist: Likewise.
15520 * abilist/libc.abilist: Likewise.
15521 * abilist/libcrypt.abilist: Likewise.
15522 * abilist/libdl.abilist: Likewise.
15523 * abilist/libm.abilist: Likewise.
15524 * abilist/libnsl.abilist: Likewise.
15525 * abilist/libpthread.abilist: Likewise.
15526 * abilist/libresolv.abilist: Likewise.
15527 * abilist/librt.abilist: Likewise.
15528 * abilist/libthread_db.abilist: Likewise.
15529 * abilist/libutil.abilist: Likewise.
15530 * abilist/libnss_db.abilist: New file.
15532 * scripts/abilist.awk: Add support for indirect functions.
15534 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15536 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15538 * shlib-versions: Remove entries for ports architectures.
15540 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15542 * elf/stackguard-macros.h: Remove support for IA-64.
15543 * elf/tst-auditmod1.c: Likewise.
15544 * sysdeps/generic/ldsodefs.h: Likewise.
15546 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15547 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15551 * configure.in: Remove --enable-omitfp support.
15553 * config.make.in: Likewise.
15554 * Makeconfig: Likewise.
15555 * manual/install.texi: Likewise.
15557 In case anyone cares, the IA-64 architecture could move to ports.
15558 * sysdeps/ia64/*: Removed.
15559 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15560 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15563 * configure.in: Remove entries for unsupported architectures.
15566 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15567 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15569 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15570 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15571 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15572 fall back to using wcrtomb.
15573 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15574 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15576 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15577 * wcsmbs/tst-c16c32-1.c: New file.
15579 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15582 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15584 * elf/tst-unique3.cc: Add explicit declaration of gets.
15585 * elf/tst-unique3lib.cc: Likewise.
15586 * elf/tst-unique3lib2.cc: Likewise.
15587 * elf/tst-unique4.cc: Likewise.
15589 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15591 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15594 * assert/assert.h (static_assert): Don't define for C++.
15595 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15596 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15598 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15600 * iconv/loop.c (single loop): Fix assertion in storing of
15603 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15605 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15607 * posix/getconf.c: Update copyright year.
15608 * nss/getent.c: Likewise.
15609 * nss/makedb.c: Likewise.
15610 * iconv/iconvconfig.c: Likewise.
15611 * iconv/iconv_prog.c: Likewise.
15612 * elf/ldconfig.c: Likewise.
15613 * elf/pldd.c: Likewise.
15614 * elf/sotruss.ksh: Likewise.
15615 * catgets/gencat.c: Likewise.
15616 * csu/version.c: Likewise.
15617 * elf/ldd.bash.in: Likewise.
15618 * elf/sprof.c (print_version): Likewise.
15619 * locale/programs/locale.c: Likewise.
15620 * locale/programs/localedef.c: Likewise.
15621 * login/programs/pt_chown.c: Likewise.
15622 * nscd/nscd.c (print_version): Likewise.
15623 * debug/xtrace.sh: Likewise.
15624 * malloc/memusage.sh: Likewise.
15625 * malloc/mtrace.pl: Likewise.
15626 * debug/catchsegv.sh: Likewise.
15628 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15630 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15633 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15636 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15637 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15639 * iconv/gconv_int.h: Likewise.
15640 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15641 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15642 from libc for GLIBC_2.16.
15643 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15644 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15645 * wcsmbs/uchar.h: Really define mbstate_t.
15646 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15647 * wcsmbs/c16rtomb.c: New file.
15648 * wcsmbs/mbrtoc16.c: New file.
15649 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15650 for C/POSIX locale.
15651 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15652 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15654 * wcsmbs/wchar.h: Add missing __restrict.
15656 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15659 * time/Makefile (routines): Add timespec_get.
15660 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15661 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15662 timespec for ISO C11.
15663 * time/timespec_get.c: New file.
15664 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15665 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15668 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15669 * stdlib/stdlib.h: Declare aligned_alloc.
15670 * Versions.def: Add GLIBC_2.16 for libc.
15671 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15674 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15677 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15681 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15684 * assert/assert.h (static_assert): Define.
15686 * version.h: Update for 2.16 development version.
15689 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15692 * version.h (RELEASE): Bump for 2.15 release.
15693 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15695 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15696 Patch by Marek Polacek <mpolacek@redhat.com>.
15698 * bits/byteswap.h: Protect long long constants with __extension__.
15699 * sysdeps/i386/bits/byteswap.h: Likewise.
15700 * sysdeps/ia64/bits/byteswap.h: Likewise.
15701 * sysdeps/s390/bits/byteswap.h: Likewise.
15702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15704 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15708 destination buffer.
15709 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15711 2011-12-23 Marek Polacek <polacek@redhat.com>
15713 * elf/dl-addr.c (determine_info): Add inline keyword.
15714 * elf/tst-auditmod4b.c (check_avx): Likewise.
15715 * elf/tst-auditmod6b.c (check_avx): Likewise.
15716 * elf/tst-auditmod6c.c (check_avx): Likewise.
15717 * elf/tst-auditmod7b.c (check_avx): Likewise.
15719 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15721 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15724 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15727 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15728 processing for last bytes.
15730 2011-08-06 Bruno Haible <bruno@clisp.org>
15733 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15734 U+0385, not to U+1FEE.
15737 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15738 entry for U+00A5 U+0301.
15740 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15743 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15744 buffer for the output is too small.
15746 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15750 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15751 SSE flags if possible.
15753 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15756 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15757 processing for last bytes.
15759 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15761 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15762 (syscall-list-default-options, syscall-list-default-condition)
15763 (syscall-list-includes): Define.
15764 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15765 list of ABIs and options and #if conditions for each ABI. Do not
15766 handle common syscalls between ABIs specially.
15767 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15769 (syscall-list-variants, syscall-list-32bit-options)
15770 (syscall-list-32bit-condition, syscall-list-64bit-options)
15771 (syscall-list-64bit-condition): Define.
15772 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15773 (syscall-list-variants, syscall-list-32bit-options)
15774 (syscall-list-32bit-condition, syscall-list-64bit-options)
15775 (syscall-list-64bit-condition): Define.
15776 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15778 (syscall-list-variants, syscall-list-32bit-options)
15779 (syscall-list-32bit-condition, syscall-list-64bit-options)
15780 (syscall-list-64bit-condition): Define.
15781 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15783 (syscall-list-variants, syscall-list-32bit-options)
15784 (syscall-list-32bit-condition, syscall-list-64bit-options)
15785 (syscall-list-64bit-condition): Define.
15787 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15789 * locale/iso-639.def: Add brx entry.
15792 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15793 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15795 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15796 __feraiseexcept_renamed.
15798 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15801 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15802 EPOLLET with unsigned values.
15803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15804 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15806 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15807 to large cancellation.
15808 * math/s_cacoshf.c: Likewise.
15809 * math/s_cacoshl.c: Likewise.
15811 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15815 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15816 * math/s_cacoshf.c: Likewise.
15817 * math/s_cacoshl.c: Likewise.
15819 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15822 * iconv/gconv.h: Define __GCONV_SWAP.
15823 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15824 * iconvdata/utf-16.c: Likewise.
15825 * iconvdata/utf-32.c: Likewise.
15827 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15830 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15831 numerator after shifting it by one limb.
15833 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15835 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15836 under [__USE_EXTERN_INLINES].
15838 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15841 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15843 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15846 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15848 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15849 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15850 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15851 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15852 for strncasecmp/strncasecmp_l compilation.
15853 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15854 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15856 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15859 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15862 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15865 * time/tzfile.c (__tzfile_read): Check values from file header.
15867 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15869 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15870 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15871 * powerpc/powerpc32/dl-start.S: Likewise.
15872 * powerpc/powerpc32/elf/start.S: Likewise.
15873 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15874 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15875 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15876 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15877 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15878 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15879 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15880 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15881 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15882 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15883 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15884 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15885 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15886 * powerpc/powerpc32/memset.S: Likewise.
15887 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15888 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15889 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15890 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15891 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15892 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15893 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15894 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15895 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15896 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15897 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15898 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15899 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15901 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15903 * math/libm-test.inc: Added more nearbyint tests.
15904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15905 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15909 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15911 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15914 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15916 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15917 Add wcscpy-ssse3 wcscpy-c.
15918 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15919 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15920 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15921 * sysdeps/x86_64/wcschr.S: New file.
15922 * sysdeps/x86_64/wcsrchr.S: New file.
15923 * string/test-strcmp.c: Remove checking of wcscmp function for
15925 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15926 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15927 wcsrchr-sse2 wcsrchr-c.
15928 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15929 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15930 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15931 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15932 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15933 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15934 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15935 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15936 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15937 * wcsmbc/wcschr.c (WCSCHR): New macro.
15939 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15941 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15942 * wcsmbs/test-wcsrchr.c: New file.
15943 * string/test-strrchr.c: Add wcsrchr support.
15945 * wcsmbs/test-wcscpy.c: New file.
15946 * string/test-strcpy.c: Add wcscpy support.
15949 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15951 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15954 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15957 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15959 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15961 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15962 Minor optimizations.
15964 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15965 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15966 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15968 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15970 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15971 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15972 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15973 for gcc to avoid warnings.
15974 * inet/Makefile (tests): Add tst-checks.
15975 * inet/tst-checks.c: New file.
15977 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15980 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15983 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15984 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15986 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15988 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15990 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15993 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15995 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15997 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15998 conditional on GCC version.
15999 (__arch_compare_and_exchange_val_8_acq)
16000 (__arch_compare_and_exchange_val_16_acq)
16001 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16002 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16003 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16005 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16007 * sysdeps/sh/backtrace.c: New file.
16009 2011-12-02 Andreas Schwab <schwab@redhat.com>
16011 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16014 2011-12-01 Andreas Schwab <schwab@redhat.com>
16016 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16017 falling back to utime.
16019 2011-11-30 Andreas Schwab <schwab@redhat.com>
16021 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16022 expectations for float.
16024 2011-11-29 Andreas Schwab <schwab@redhat.com>
16026 * locale/weight.h (findidx): Add parameter len.
16027 * locale/weightwc.h (findidx): Likewise.
16028 * posix/fnmatch_loop.c (FCT): Adjust caller.
16029 * posix/regcomp.c (build_equiv_class): Likewise.
16030 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16031 * posix/regexec.c (check_node_accept_bytes): Likewise.
16032 * string/strcoll_l.c (STRCOLL): Likewise.
16033 * string/strxfrm_l.c (STRXFRM): Likewise.
16035 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16037 * Makefile.in: Remove CVSOPT handling.
16038 * configure.in: Remove use of AC_REVISION.
16039 * iconvdata/Makefile (distribute): No need to filter out CVS.
16040 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16043 2011-11-16 Andreas Schwab <schwab@redhat.com>
16045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16046 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16047 [USE_AS_STRNCASECMP_L]: Likewise.
16048 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16049 NO_TLS_DIRECT_SEG_REFS.
16050 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16051 Fix argument offsets for non-PIC.
16052 [USE_AS_STRNCASECMP_L]: Likewise.
16053 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16054 NO_TLS_DIRECT_SEG_REFS.
16056 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16058 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16060 * locale/loadlocale.c (_nl_load_locale): Likewise.
16062 2011-11-15 Andreas Schwab <schwab@redhat.com>
16064 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16065 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16067 (SYSCALL_GETTIME): Set errno on error.
16069 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16070 count references to noai6ai_cached.
16072 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16074 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16076 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16077 FD_CLOEXEC for /proc/self/maps.
16079 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16080 FD_CLOEXEC for /proc/meminfo.
16082 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16085 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16086 FD_CLOEXEC for given file.
16088 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16090 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16091 FD_CLOEXEC for /etc/hosts.
16092 (_gethtent): Likewise.
16094 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16096 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16097 cancellation and set FD_CLOEXEC for /etc/netgroup.
16099 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16100 reading /etc/publickey.
16102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16103 allow cancellation when reading /etc/group.
16105 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16107 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16109 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16110 when using data file.
16112 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16114 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16115 (write_nis_obj): Use "c" and "e" in fopen.
16117 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16119 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16121 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16123 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16125 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16128 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16130 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16132 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16134 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16135 file parsing and set FD_CLOEXEC.
16137 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16139 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16141 2011-11-14 Andreas Schwab <schwab@redhat.com>
16143 * malloc/arena.c (arena_get2): Don't call reused_arena when
16144 _int_new_arena failed.
16146 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16148 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16149 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16150 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16151 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16154 to compile strcasecmp and strncasecmp.
16155 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16156 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16160 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16162 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16163 locale-defines.sym to gen-as-const-headers.
16164 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16165 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16166 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16167 to compile strcasecmp and strncasecmp.
16168 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16169 strcasecmp_l and strncasecmp_l.
16170 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16171 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16172 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16173 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16174 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16175 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16176 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16177 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16178 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16179 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16180 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16182 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16184 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16185 result of SYSDEP_GETTIME_CPU to retval.
16186 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16187 parameter list to macro. Remove trailing semicolon. Adjust users.
16189 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16192 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16194 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16196 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16197 from unused variable.
16199 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16201 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16204 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16207 * sunrpc/rpc_prot.c (rejected): Fix case value.
16209 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16210 unsigned long long int to avoid warnings in shift.
16212 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16214 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16217 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16218 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16219 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16221 * nis/nis_table.c (nis_list): Use variable of correct type for
16222 result of __follow_path call.
16224 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16226 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16227 of math functions ceil, trunc, floor, round, and sqrt, when
16228 avaliable on the platform.
16229 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16231 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16232 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16233 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16235 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16237 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16240 2011-11-11 Roland McGrath <roland@hack.frob.com>
16242 * include/unistd.h: Fix __readlink return type.
16243 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16245 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16247 * stdlib/ucontext.h: Undo last change for makecontext.
16249 2011-11-11 Andreas Schwab <schwab@redhat.com>
16251 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16253 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16254 * setjmp/setjmp.h: Mark functions as non-leaf.
16255 * setjmp/bits/setjmp2.h: Likewise.
16256 * stdlib/ucontext.h: Likewise.
16258 2011-11-10 Andreas Schwab <schwab@redhat.com>
16260 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16261 (reused_arena): Don't check arena limit.
16262 (arena_get2): Atomically check arena limit.
16264 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16266 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16267 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16272 2011-11-07 Andreas Schwab <schwab@redhat.com>
16274 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16275 handler when locking.
16277 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16278 Fix size of allocated buffer.
16280 2011-11-04 Andreas Schwab <schwab@redhat.com>
16283 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16284 declarations for long double functions.
16285 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16287 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16289 2011-11-03 Andreas Schwab <schwab@redhat.com>
16291 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16294 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16297 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16299 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16301 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16303 * include/alloca.h (stackinfo_alloca_round): Define.
16304 (extend_alloca): Use it.
16305 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16306 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16309 * scripts/check-local-headers.sh: Ignore libaudit.h.
16311 * nscd/Makefile (extra-objs): Make recursively expanded.
16313 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16315 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16318 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16319 * posix/tst-rfc3484-2.c: Likewise.
16320 * posix/tst-rfc3484-3.c: Likewise.
16322 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16324 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16326 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16327 process_vm_writev from libc using GLIBC_2.15 version.
16329 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16331 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16333 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16336 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16339 * nss/getent.c (initgroups_keys): Show error message in case no group
16342 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16343 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16344 __bump_nl_timestamp.
16345 * nscd/connections (nscd_init): When host database is served open
16346 netlink socket and request notification about configuration changes.
16347 (main_loop_poll): Track netlink file descriptor and bump timestamp
16348 in case data becomes available.
16349 (main_loop_epoll): Likewise.
16350 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16351 (database_pers_head): Add extra_data fileds.
16352 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16353 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16354 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16357 in6ai data, call __free_in6ai.
16358 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16359 Add -DHAVE_NETLINK.
16360 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16361 interface information. Reuse previous data if netlink timestamp
16363 (__bump_nl_timestamp): New function.
16364 (__free_in6ai): New function.
16366 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16369 close_not_cancel_no_status here.
16370 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16372 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16375 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16378 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16379 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16380 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16382 2011-07-03 Andreas Jaeger <aj@suse.de>
16385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16386 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16387 * math/libm-test.inc (sin_test): Add test case.
16389 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16392 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16393 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16395 * elf/chroot_canon.c (chroot_canon): Cleanups.
16397 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16400 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16401 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16403 * string/test-strchr.c: Make usable for strchrnul testing.
16404 * string/test-strchrnul.c: New file.
16405 * string/Makefile (strop-tests): Add strchrnul.
16407 * po/it.po: Update from translation team.
16408 * po/es.po: Likewise.
16410 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16412 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16413 the three constants needed as parameters. Drop the others.
16414 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16415 __m128i_strloadu_tolower.
16416 Create and initialize variable zero and use it in all the places
16417 where _mm_setzero_si128 was used.
16419 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16420 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16421 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16424 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16425 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16426 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16427 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16428 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16429 __mpranred, __mptan.
16430 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16431 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16432 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16433 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16434 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16435 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16437 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16438 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16440 2011-10-28 Andreas Schwab <schwab@redhat.com>
16442 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16443 redefine if SHARED.
16444 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16447 wide char related routines to wcsmbs subdir.
16449 2011-10-27 Andreas Schwab <schwab@redhat.com>
16452 * misc/sys/cdefs.h (__THROWNL): Define.
16453 * posix/unistd.h: Use __THREADNL instead of __THREAD
16454 for memory synchronization functions.
16456 2011-10-26 Roland McGrath <roland@hack.frob.com>
16459 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16461 * manual/stdio.texi (Obstack Streams): Node removed.
16463 2011-10-26 Andreas Schwab <schwab@redhat.com>
16465 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16466 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16469 * math/math_private.h (math_force_eval): Allow non-addressable
16471 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16473 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16476 file is not needed.
16478 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16481 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16482 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16484 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16485 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16487 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16488 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16489 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16490 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16491 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16492 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16493 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16494 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16495 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16496 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16497 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16498 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16500 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16501 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16502 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16503 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16505 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16507 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16508 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16511 place. Use VEX encoding when compiling for AVX.
16513 2011-10-25 Andreas Schwab <schwab@redhat.com>
16515 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16516 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16518 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16520 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16522 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16523 useless if() expression.
16524 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16533 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16535 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16536 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16537 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16538 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16541 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16542 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16544 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16546 2011-10-25 Andreas Schwab <schwab@redhat.com>
16548 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16550 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16552 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16554 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16555 .text section. Avoid duplicate constants.
16556 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16566 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16568 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16571 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16573 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16579 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16580 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16581 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16582 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16583 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16584 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16586 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16587 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16588 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16589 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16590 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16591 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16592 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16593 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16594 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16595 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16596 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16597 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16598 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16599 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16600 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16602 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16604 * sysdeps/x86_64/dla.h: Move to ...
16605 * sysdeps/x86_64/fpu/dla.h: ...here.
16606 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16607 situations. Use __builtin_fma only for gcc 4.6 and up.
16609 * config.make.in: Add have-mfma4 entry.
16610 * configure.in: Substitute libc_cv_cc_fma4.
16611 * math/Makefile (dbl-only-routines): Add sincostab.
16612 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16613 Use __sincostab not sincos.
16614 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16616 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16621 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16622 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16623 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16624 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16626 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16627 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16629 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16630 define aliases when function name is a macro.
16631 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16632 sysdeps/ieee754/dbl-64/sincos.tbl.
16633 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16634 fma4-enabled routines.
16635 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16636 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16637 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16638 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16639 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16640 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16642 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16644 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16645 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16646 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16647 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16648 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16649 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16650 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16651 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16652 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16653 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16655 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16656 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16657 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16659 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16660 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16661 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16662 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16663 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16664 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16666 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16677 2011-10-24 Andreas Schwab <schwab@redhat.com>
16679 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16681 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16685 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16689 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16690 Remove unused variable magic_bits.
16691 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16693 * string/strnlen.c: Define and use STRNLEN macro.
16694 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16695 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16696 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16697 * wcsmbs/wcslen.c: Define and use WCSLEN.
16698 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16699 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16700 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16701 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16702 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16703 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16704 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16706 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16709 strnlen-sse2-no-bsf.
16710 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16712 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16713 Add strnlen support.
16714 (USE_AS_STRNLEN): New macro.
16715 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16716 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16717 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16718 * sysdeps/x86_64/wcslen.S: New file.
16720 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16723 XMM-moves are used for copying on small sizes.
16725 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16727 * wcsmbs/Makefile (strop-tests): Add wcschr.
16728 * wcsmbs/test-wcschr.c: New file.
16729 * string/test-strchr.c: Update.
16730 Add wcschr support.
16733 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16735 * wcsmbs/Makefile (strop-tests): Add wcslen.
16736 * wcsmbs/test-wcslen.c: New file.
16737 * string/test-strlen.c: Update.
16738 Add wcslen support.
16741 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16743 * po/it.po: Update from translation team.
16745 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16747 * sysdeps/x86_64/wcscmp.S: Update.
16748 Fix wrong comparison semantics.
16749 wcscmp shall use signed comparison not unsigned.
16750 Don't use substraction to avoid overflow bug.
16751 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16752 * wcsmbc/wcscmp.c: Likewise.
16753 * string/test-strcmp.c: Likewise.
16754 Add new tests to check cases with negative values.
16756 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16758 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16759 * sysdeps/x86_64/dla.h: ...here. New file.
16760 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16765 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16770 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16773 __ynl_finite aliases.
16775 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16779 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16781 [DLA_FMA] (EMULV): Use DLA_FMA.
16782 [DLA_FMA] (MUL12): Use EMULV.
16783 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16784 that are not needed.
16785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16790 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16793 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16795 * math/s_nan.c: Undef __nan.
16796 * math/s_nanf.c: Undef __nanf.
16797 * math/s_nanl.c: Undef __nanl.
16798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16801 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16803 * math/s_catan.c: Add branch predictions.
16804 * math/s_catanf.c: Likewise.
16805 * math/s_catanh.c: Likewise.
16806 * math/s_catanhf.c: Likewise.
16807 * math/s_catanhl.c: Likewise.
16808 * math/s_catanl.c: Likewise.
16809 * math/s_cexp.c: Likewise.
16810 * math/s_cexpf.c: Likewise.
16811 * math/s_cexpl.c: Likewise.
16812 * math/s_clog.c: Likewise.
16813 * math/s_clog10.c: Likewise.
16814 * math/s_clog10f.c: Likewise.
16815 * math/s_clog10l.c: Likewise.
16816 * math/s_clogf.c: Likewise.
16817 * math/s_clogl.c: Likewise.
16818 * math/s_csqrt.c: Likewise.
16819 * math/s_csqrtf.c: Likewise.
16820 * math/s_csqrtl.c: Likewise.
16821 * math/s_ctanf.c: Likewise.
16822 * math/s_ctanh.c: Likewise.
16823 * math/s_ctanhf.c: Likewise.
16824 * math/s_ctanhl.c: Likewise.
16825 * math/s_ctanl.c: Likewise.
16827 * math/math_private.h: Define __nan, __nanf, __nanl.
16828 * math/s_cacosh.c: Include <math_private.h>.
16829 * math/s_cacoshl.c: Likewise.
16830 * math/s_casinh.c: Likewise.
16831 * math/s_casinhf.c: Likewise.
16832 * math/s_casinhl.c: Likewise.
16833 * math/s_ccos.c: Rely entire on ccosh.
16834 * math/s_ccosf.c: Rely entire on ccoshf.
16835 * math/s_ccosl.c: Rely entirely on ccoshl.
16836 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16837 Remove tests for FE_INVALID.
16838 * math/s_ccoshf.c: Likewise.
16839 * math/s_ccoshl.c: Likewise.
16840 * math/s_csin.c: Likewise.
16841 * math/s_csinf.c: Likewise.
16842 * math/s_csinh.c Likewise.
16843 * math/s_csinhf.c: Likewise.
16844 * math/s_csinhl.c: Likewise.
16845 * math/s_csinl.c: Likewise.
16846 * math/s_ctan.c: Likewise.
16847 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16848 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16849 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16851 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16854 compilation problems.
16856 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16859 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16861 * sysdeps/i386/configure.in: Test for -mfma4 option.
16862 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16863 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16864 COMMON_CPUID_INDEX_80000001.
16865 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16866 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16867 use it if FMA3 is not supported.
16868 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16870 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16871 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16873 2011-10-20 Andreas Schwab <schwab@redhat.com>
16876 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16877 it would create a cycle with a link time dependency.
16879 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16881 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16883 * string/Makefile (strop-tests): Add rawmemchr.
16884 * string/test-rawmemchr.c: New file.
16886 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16888 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16889 when compiling str{,n}casecmp and when AVX is available. Hook up
16890 new optimized code in initializers.
16892 2011-10-19 Andreas Schwab <schwab@redhat.com>
16894 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16895 __feraiseexcept instead of feraiseexcept.
16897 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16899 * math/math_private.h: Define defaults for libc_fetestexcept and
16901 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16902 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16903 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16904 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16905 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16906 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16907 libc_fetestexcept and libc_feupdateenv.
16909 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16910 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16911 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16912 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16913 libc_feholdexcept_setround.
16915 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16916 Add s_nearbyint-c and s_nearbyintf-c.
16917 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16918 nearbyintf inlines.
16919 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16920 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16921 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16922 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16924 * math/math_private.h: Define defaults for libc_fegetround,
16925 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16926 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16927 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16929 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16930 standard functions.
16931 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16932 Remove comments and hacks for old compiler versions.
16933 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16934 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16935 libc_feholdexceptl.
16937 2011-10-18 Andreas Schwab <schwab@redhat.com>
16939 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16940 (__feraiseexcept_renamed): Add __NTH.
16941 (feraiseexcept): Add __NTH. Rename local variables to fix
16942 namespace violations.
16944 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16946 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16948 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16950 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16951 recently added interfaces.
16952 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16954 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16955 about macro parameter expansion.
16957 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16958 __NO_MATH_INLINES is defined. Cleanups.
16960 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16961 and __floorf is target has SSE4.1.
16962 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16964 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16965 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16967 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16969 (floorf): Likewise.
16971 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16973 2011-10-17 Andreas Schwab <schwab@redhat.com>
16975 * misc/sys/cdefs.h: Fix last change.
16977 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16980 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16982 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16984 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16985 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16993 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16994 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16995 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16996 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16997 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16998 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16999 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17000 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17001 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17002 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17003 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17004 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17005 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17007 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17008 ceil, ceilf, floor, floorf.
17010 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17011 Perform IRELATIVE relocations last.
17013 * elf/do-rel.h: Add another parameter nrelative, replacing the
17014 local variable with the same name. Change name of the function
17015 to end in Rel or Rela (uppercase).
17016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17017 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17018 elf_dynamic_do_##reloc function.
17020 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17022 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17023 is sufficient, at least on modern CPUs.
17025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17027 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17028 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17030 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17032 * math/bits/math-finite.h: Add entries for exp.
17033 * math/e_expl.c: Add __*_finite alias.
17034 * sysdeps/i386/fpu/e_exp.S: Likewise.
17035 * sysdeps/i386/fpu/e_expf.S: Likewise.
17036 * sysdeps/i386/fpu/e_expl.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17038 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17045 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17046 is sufficient, at least on modern CPUs.
17048 * ctype/ctype-info.c (__ctype_init): Define.
17049 * include/ctype.h (__ctype_init): Declare.
17050 (__ctype_b_loc): The variable is always initialized.
17051 (__ctype_toupper_loc): Likewise.
17052 (__ctype_tolower_loc): Likewise.
17053 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17054 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17056 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17058 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17060 * configure.in: Also look in $cxxmachine/include for C++ system
17063 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17065 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17066 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17067 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17068 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17069 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17070 (USE_AS_WMEMCMP): New macro.
17072 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17073 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17074 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17075 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17077 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17078 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17080 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17081 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17082 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17083 (USE_AS_WMEMCMP): New macro.
17084 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17085 * sysdeps/string/test-memcmp.c: Update.
17086 Fix simple_wmemcmp.
17088 * wcsmbs/wmemcmp.c: Update.
17089 (WMEMCMP): New macro.
17092 2011-10-12 Andreas Jaeger <aj@suse.de>
17095 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17097 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17099 * libio/iofwide.c (do_length): Avoid warning.
17101 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17103 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17105 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17107 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17108 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17109 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17110 * sysdeps/i386/i686/fpu/e_log.S: New file.
17111 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17112 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17114 * ctype/ctype.h: Add support for inlined isXXX functions when
17115 compiling C++ code.
17117 2011-10-14 Andreas Schwab <schwab@redhat.com>
17119 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17121 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17123 2011-10-13 Roland McGrath <roland@hack.frob.com>
17126 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17128 2011-10-13 Andreas Schwab <schwab@redhat.com>
17130 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17131 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17134 * sysdeps/x86_64/memrchr.S: Check for zero size.
17136 * string/stratcliff.c: Add memrchr tests.
17138 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17141 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17142 rawmemchr-sse2 rawmemchr-sse2-bsf.
17143 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17144 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17145 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17146 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17147 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17148 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17149 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17150 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17151 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17152 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17153 * string/memrchr.c (MEMRCHR): New macro.
17155 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17157 Add integration with gcc's -ffinite-math-only and optimize wrapper
17159 * Versions.def: Define GLIBC_2.15 version for libm.
17160 * math/Makefile (headers): Add bits/math-finite.h.
17161 * math/bits/math-finite.h: New file.
17162 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17163 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17164 * math/e_acoshl.c: Add __*_finite alias.
17165 * math/e_acosl.c: Likewise.
17166 * math/e_asinl.c: Likewise.
17167 * math/e_atan2l.c: Likewise.
17168 * math/e_atanhl.c: Likewise.
17169 * math/e_coshl.c: Likewise.
17170 * math/e_exp10.c: Likewise.
17171 * math/e_exp10f.c: Likewise.
17172 * math/e_exp10l.c: Likewise.
17173 * math/e_exp2l.c: Likewise.
17174 * math/e_fmodl.c: Likewise.
17175 * math/e_gammal_r.c: Likewise.
17176 * math/e_hypotl.c: Likewise.
17177 * math/e_j0l.c: Likewise.
17178 * math/e_j1l.c: Likewise.
17179 * math/e_jnl.c: Likewise.
17180 * math/e_lgammal_r.c: Likewise.
17181 * math/e_log10l.c: Likewise.
17182 * math/e_log2l.c: Likewise.
17183 * math/e_logl.c: Likewise.
17184 * math/e_powl.c: Likewise.
17185 * math/e_sinhl.c: Likewise.
17186 * math/e_sqrtl.c: Likewise.
17187 * math/e_scalb.c: Completely rewritten and optimized.
17188 * math/e_scalbf.c: Likewise.
17189 * math/e_scalbl.c: Likewise.
17190 * math/w_acos.c: Likewise.
17191 * math/w_acosf.c: Likewise.
17192 * math/w_acosl.c: Likewise.
17193 * math/w_acosh.c: Likewise.
17194 * math/w_acoshf.c: Likewise.
17195 * math/w_acoshl.c: Likewise.
17196 * math/w_asin.c: Likewise.
17197 * math/w_asinf.c: Likewise.
17198 * math/w_asinl.c: Likewise.
17199 * math/w_atan2.c: Likewise.
17200 * math/w_atan2f.c: Likewise.
17201 * math/w_atan2l.c: Likewise.
17202 * math/w_atanh.c: Likewise.
17203 * math/w_atanhf.c: Likewise.
17204 * math/w_atanhl.c: Likewise.
17205 * math/w_exp10.c: Likewise.
17206 * math/w_exp10f.c: Likewise.
17207 * math/w_exp10l.c: Likewise.
17208 * math/w_fmod.c: Likewise.
17209 * math/w_fmodf.c: Likewise.
17210 * math/w_fmodl.c: Likewise.
17211 * math/w_j0.c: Likewise.
17212 * math/w_j0f.c: Likewise.
17213 * math/w_j0l.c: Likewise.
17214 * math/w_j1.c: Likewise.
17215 * math/w_j1f.c: Likewise.
17216 * math/w_j1l.c: Likewise.
17217 * math/w_jn.c: Likewise.
17218 * math/w_jnf.c: Likewise.
17219 * math/w_log.c: Likewise.
17220 * math/w_logf.c: Likewise.
17221 * math/w_logl.c: Likewise.
17222 * math/w_log10.c: Likewise.
17223 * math/w_log10f.c: Likewise.
17224 * math/w_log10l.c: Likewise.
17225 * math/w_log2.c: Likewise.
17226 * math/w_log2f.c: Likewise.
17227 * math/w_log2l.c: Likewise.
17228 * math/w_pow.c: Likewise.
17229 * math/w_powf.c: Likewise.
17230 * math/w_powl.c: Likewise.
17231 * math/w_remainder.c: Likewise.
17232 * math/w_remainderf.c: Likewise.
17233 * math/w_remainderl.c: Likewise.
17234 * math/w_scalb.c: Likewise.
17235 * math/w_scalbf.c: Likewise.
17236 * math/w_scalbl.c: Likewise.
17237 * math/w_sqrt.c: Likewise.
17238 * math/w_sqrtf.c: Likewise.
17239 * math/w_sqrtl.c: Likewise.
17240 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17241 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17243 * math/math_private.h: Declare __kernel_standard_f.
17244 * math/w_cosh.c: Remove cruft and optimize a bit.
17245 * math/w_coshf.c: Likewise.
17246 * math/w_coshl.c: Likewise.
17247 * math/w_exp2.c: Likewise.
17248 * math/w_exp2f.c: Likewise.
17249 * math/w_exp2l.c: Likewise.
17250 * math/w_hypot.c: Likewise.
17251 * math/w_hypotf.c: Likewise.
17252 * math/w_hypotl.c: Likewise.
17253 * math/w_lgamma.c: Likewise.
17254 * math/w_lgamma_r.c: Likewise.
17255 * math/w_lgammaf.c: Likewise.
17256 * math/w_lgammaf_r.c: Likewise.
17257 * math/w_lgammal.c: Likewise.
17258 * math/w_lgammal_r.c: Likewise.
17259 * math/w_sinh.c: Likewise.
17260 * math/w_sinhf.c: Likewise.
17261 * math/w_sinhl.c: Likewise.
17262 * math/w_tgamma.c: Likewise.
17263 * math/w_tgammaf.c: Likewise.
17264 * math/w_tgammal.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17266 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17267 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17268 Minor optimizations. Pretty printing. Remove cruft.
17269 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17270 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17271 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17272 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17273 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17274 * sysdeps/i386/fpu/e_asin.S: Likewise.
17275 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17276 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17277 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17278 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17279 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17280 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17281 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17282 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17283 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17284 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17285 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17286 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17287 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17288 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17289 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17290 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17291 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17292 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17293 * sysdeps/i386/fpu/e_log.S: Likewise.
17294 * sysdeps/i386/fpu/e_log10.S: Likewise.
17295 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17297 * sysdeps/i386/fpu/e_log2.S: Likewise.
17298 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17299 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17300 * sysdeps/i386/fpu/e_logf.S: Likewise.
17301 * sysdeps/i386/fpu/e_logl.S: Likewise.
17302 * sysdeps/i386/fpu/e_pow.S: Likewise.
17303 * sysdeps/i386/fpu/e_powf.S: Likewise.
17304 * sysdeps/i386/fpu/e_powl.S: Likewise.
17305 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17306 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17307 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17308 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17309 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17310 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17311 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17312 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17313 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17341 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17342 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17343 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17348 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17349 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17350 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17351 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17352 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17394 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17399 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17400 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17402 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17405 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17406 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17407 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17408 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17409 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17410 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17411 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17412 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17413 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17414 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17415 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17416 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17417 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17419 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17420 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17421 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17422 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17423 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17424 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17425 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17426 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17427 (__isnanf): Likewise.
17428 (__isinf_ns): Likewise.
17429 (__isinf_nsf): Likewise.
17430 (__finite): Likewise.
17431 (__finitef): Likewise.
17432 (__ieee754_sqrt): Define as macro.
17433 (__ieee754_sqrtf): Define as macro.
17434 (__ieee754_sqrtl): Define as macro.
17435 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17437 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17438 __FINITE_MATH_ONLY__ consistent.
17439 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17441 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17443 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17446 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17448 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17450 * po/ja.po: Update from translation team.
17452 2011-10-08 Roland McGrath <roland@hack.frob.com>
17454 * locale/programs/locarchive.c (prepare_address_space): New function.
17455 (create_archive, enlarge_archive, open_archive): Use it.
17457 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17458 inside [SHARED], where it is used.
17460 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17462 * nss/getent.c (netgroup_keys): Remove unused variable.
17463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17465 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17467 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17468 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17470 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17471 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17472 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17473 * math/Makefile (libm-calls): Add s_isinf_ns.
17474 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17475 * math/multc3.c: Likewise.
17476 * math/s_casin.c: Likewise.
17477 * math/s_casinf.c: Likewise.
17478 * math/s_casinl.c: Likewise.
17479 * math/s_ccos.c: Likewise.
17480 * math/s_ccosf.c: Likewise.
17481 * math/s_ccosl.c: Likewise.
17482 * math/s_ctan.c: Likewise.
17483 * math/s_ctanf.c: Likewise.
17484 * math/s_ctanh.c: Likewise.
17485 * math/s_ctanhf.c: Likewise.
17486 * math/s_ctanhl.c: Likewise.
17487 * math/s_ctanl.c: Likewise.
17488 * math/w_fmod.c: Likewise.
17489 * math/w_fmodf.c: Likewise.
17490 * math/w_fmodl.c: Likewise.
17491 * math/w_remainder.c: Likewise.
17492 * math/w_remainderf.c: Likewise.
17493 * math/w_remainderl.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17495 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17498 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17499 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17500 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17501 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17503 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17505 * stdio-common/printf_fphex.c: Likewise.
17506 * stdio-common/printf_size.c: Likewise.
17508 * math/e_exp10.c: Include math_private.h using <...> not "...".
17509 * math/e_exp10f.c: Likewise.
17510 * math/e_exp10l.c: Likewise.
17511 * math/e_exp2l.c: Likewise.
17512 * math/e_j0l.c: Likewise.
17513 * math/e_j1l.c: Likewise.
17514 * math/e_jnl.c: Likewise.
17515 * math/e_lgammal_r.c: Likewise.
17516 * math/e_rem_pio2l.c: Likewise.
17517 * math/e_scalb.c: Likewise.
17518 * math/e_scalbf.c: Likewise.
17519 * math/e_scalbl.c: Likewise.
17520 * math/k_cosl.c: Likewise.
17521 * math/k_sinl.c: Likewise.
17522 * math/k_tanl.c: Likewise.
17523 * math/s_cacoshf.c: Likewise.
17524 * math/s_catan.c: Likewise.
17525 * math/s_catanf.c: Likewise.
17526 * math/s_catanh.c: Likewise.
17527 * math/s_catanhf.c: Likewise.
17528 * math/s_catanhl.c: Likewise.
17529 * math/s_catanl.c: Likewise.
17530 * math/s_ccosh.c: Likewise.
17531 * math/s_ccoshf.c: Likewise.
17532 * math/s_ccoshl.c: Likewise.
17533 * math/s_cexp.c: Likewise.
17534 * math/s_cexpf.c: Likewise.
17535 * math/s_cexpl.c: Likewise.
17536 * math/s_clog.c: Likewise.
17537 * math/s_clog10.c: Likewise.
17538 * math/s_clog10f.c: Likewise.
17539 * math/s_clog10l.c: Likewise.
17540 * math/s_clogf.c: Likewise.
17541 * math/s_clogl.c: Likewise.
17542 * math/s_csin.c: Likewise.
17543 * math/s_csinf.c: Likewise.
17544 * math/s_csinh.c: Likewise.
17545 * math/s_csinhf.c: Likewise.
17546 * math/s_csinhl.c: Likewise.
17547 * math/s_csinl.c: Likewise.
17548 * math/s_csqrt.c: Likewise.
17549 * math/s_csqrtf.c: Likewise.
17550 * math/s_csqrtl.c: Likewise.
17551 * math/s_ctan.c: Likewise.
17552 * math/s_ctanf.c: Likewise.
17553 * math/s_ctanh.c: Likewise.
17554 * math/s_ctanhf.c: Likewise.
17555 * math/s_ctanhl.c: Likewise.
17556 * math/s_ctanl.c: Likewise.
17557 * math/s_ldexp.c: Likewise.
17558 * math/s_ldexpf.c: Likewise.
17559 * math/s_ldexpl.c: Likewise.
17560 * math/s_significand.c: Likewise.
17561 * math/s_significandf.c: Likewise.
17562 * math/s_significandl.c: Likewise.
17563 * math/w_acos.c: Likewise.
17564 * math/w_acosf.c: Likewise.
17565 * math/w_acosh.c: Likewise.
17566 * math/w_acoshf.c: Likewise.
17567 * math/w_acoshl.c: Likewise.
17568 * math/w_acosl.c: Likewise.
17569 * math/w_asin.c: Likewise.
17570 * math/w_asinf.c: Likewise.
17571 * math/w_asinl.c: Likewise.
17572 * math/w_atan2.c: Likewise.
17573 * math/w_atan2f.c: Likewise.
17574 * math/w_atan2l.c: Likewise.
17575 * math/w_atanh.c: Likewise.
17576 * math/w_atanhf.c: Likewise.
17577 * math/w_atanhl.c: Likewise.
17578 * math/w_cosh.c: Likewise.
17579 * math/w_coshf.c: Likewise.
17580 * math/w_coshl.c: Likewise.
17581 * math/w_dremf.c: Likewise.
17582 * math/w_exp10.c: Likewise.
17583 * math/w_exp10f.c: Likewise.
17584 * math/w_exp10l.c: Likewise.
17585 * math/w_exp2.c: Likewise.
17586 * math/w_exp2f.c: Likewise.
17587 * math/w_fmod.c: Likewise.
17588 * math/w_fmodf.c: Likewise.
17589 * math/w_fmodl.c: Likewise.
17590 * math/w_hypot.c: Likewise.
17591 * math/w_hypotf.c: Likewise.
17592 * math/w_hypotl.c: Likewise.
17593 * math/w_j0.c: Likewise.
17594 * math/w_j0f.c: Likewise.
17595 * math/w_j0l.c: Likewise.
17596 * math/w_j1.c: Likewise.
17597 * math/w_j1f.c: Likewise.
17598 * math/w_j1l.c: Likewise.
17599 * math/w_jn.c: Likewise.
17600 * math/w_jnf.c: Likewise.
17601 * math/w_jnl.c: Likewise.
17602 * math/w_lgamma.c: Likewise.
17603 * math/w_lgamma_r.c: Likewise.
17604 * math/w_lgammaf.c: Likewise.
17605 * math/w_lgammaf_r.c: Likewise.
17606 * math/w_lgammal.c: Likewise.
17607 * math/w_lgammal_r.c: Likewise.
17608 * math/w_log.c: Likewise.
17609 * math/w_log10.c: Likewise.
17610 * math/w_log10f.c: Likewise.
17611 * math/w_log10l.c: Likewise.
17612 * math/w_log2.c: Likewise.
17613 * math/w_log2f.c: Likewise.
17614 * math/w_log2l.c: Likewise.
17615 * math/w_logf.c: Likewise.
17616 * math/w_logl.c: Likewise.
17617 * math/w_pow.c: Likewise.
17618 * math/w_powf.c: Likewise.
17619 * math/w_powl.c: Likewise.
17620 * math/w_remainder.c: Likewise.
17621 * math/w_remainderf.c: Likewise.
17622 * math/w_remainderl.c: Likewise.
17623 * math/w_scalb.c: Likewise.
17624 * math/w_scalbf.c: Likewise.
17625 * math/w_scalbl.c: Likewise.
17626 * math/w_sinh.c: Likewise.
17627 * math/w_sinhf.c: Likewise.
17628 * math/w_sinhl.c: Likewise.
17629 * math/w_sqrt.c: Likewise.
17630 * math/w_sqrtf.c: Likewise.
17631 * math/w_sqrtl.c: Likewise.
17632 * math/w_tgamma.c: Likewise.
17633 * math/w_tgammaf.c: Likewise.
17634 * math/w_tgammal.c: Likewise.
17636 * po/ja.po: Update from translation team.
17638 2011-09-29 Andreas Jaeger <aj@suse.de>
17641 * sunrpc/netname.c (netname2host): Fix logic.
17645 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17647 * math/w_remainder.c (__remainder): Likewise.
17648 * math/w_remainderf.c (__remainderf): Likewise.
17649 * math/libm-test.inc (remainder_test): Add test cases.
17651 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17653 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17656 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17658 * string/test-memcmp.c: Avoid unncessary #defines.
17659 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17661 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17663 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17664 Use new sse2 version for core i3 - i7 as it's faster
17665 than sse42 version.
17666 (bit_Prefer_PMINUB_for_stringop): New.
17667 * sysdeps/x86_64/rawmemchr.S: Update.
17668 Replace with faster SSE2 version.
17669 * sysdeps/x86_64/memrchr.S: New file.
17670 * sysdeps/x86_64/memchr.S: Update.
17671 Replace with faster SSE2 version.
17673 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17675 * elf/dl-load.c (lose): Add cast to avoid warning.
17677 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17679 * po/ca.po: Update from translation team.
17681 * inet/getnetgrent_r.c: Hook up nscd.
17682 * nscd/Makefile (routines): Add nscd_netgroup.
17683 (nscd-modules): Add netgroupcache.
17684 (CFLAGS-netgroupcache.c): Define.
17685 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17686 (cache_search): Add const to second parameter.
17687 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17689 (dbs): Add netgrdb entry.
17690 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17691 (verify_persistent_db): Handle netgrdb.
17692 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17693 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17695 (netgroup_response_header): Define.
17696 (innetgroup_response_header): Define.
17697 (datahead): Add netgroup_response_header and innetgroup_response_header
17699 * nscd/nscd.conf: Add entries for netgroup cache.
17700 * nscd/nscd.h (dbtype): Add netgrdb.
17701 (_PATH_NSCD_NETGROUP_DB): Define.
17702 (netgroup_iov_disabled): Declare.
17703 (xmalloc, xcalloc, xrealloc): Move declarations here.
17704 (cache_search): Adjust prototype.
17705 Add netgroup-related prototypes.
17706 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17707 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17708 (__nscd_innetgr): Declare.
17709 * nscd/selinux.c (perms): Use access_vector_t as element type and
17710 add netgroup-related initializers.
17711 * nscd/netgroupcache.c: New file.
17712 * nscd/nscd_netgroup.c: New file.
17713 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17714 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17715 For four parameters use innetgr.
17716 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17717 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17718 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17719 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17721 * nscd/connections.c (register_traced_file): Don't register file
17722 for disabled databases.
17724 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17726 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17728 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17729 from tree and freeing node.
17731 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17733 * nss/nsswitch.c (__nss_database_lookup): Handle
17734 nss_parse_service_list out of memory case.
17736 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17738 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17739 out of memory case.
17741 2011-10-04 Andreas Schwab <schwab@redhat.com>
17743 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17744 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17746 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17747 elf_machine_rela, elf_machine_lazy_rel.
17748 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17749 (ELF_DYNAMIC_DO_REL): Likewise.
17750 (ELF_DYNAMIC_DO_RELA): Likewise.
17751 (ELF_DYNAMIC_RELOCATE): Likewise.
17752 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17753 to ELF_DYNAMIC_DO_REL.
17754 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17755 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17756 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17758 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17759 skip_ifunc, don't call ifunc function if non-zero.
17760 (elf_machine_rela): Likewise.
17761 (elf_machine_lazy_rel): Likewise.
17762 (elf_machine_lazy_rela): Likewise.
17763 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17764 (elf_machine_lazy_rel): Likewise.
17765 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17767 (elf_machine_lazy_rel): Likewise.
17768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17770 (elf_machine_lazy_rel): Likewise.
17771 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17772 (elf_machine_lazy_rel): Likewise.
17773 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17774 (elf_machine_lazy_rel): Likewise.
17775 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17776 (elf_machine_lazy_rel): Likewise.
17777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17778 (elf_machine_lazy_rel): Likewise.
17779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17780 (elf_machine_lazy_rel): Likewise.
17781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17782 (elf_machine_lazy_rel): Likewise.
17784 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17786 * nss/nss_files/files-init.c (_nss_files_init): Use static
17787 initialization for all the *_traced_file variables.
17789 2011-09-28 Andreas Schwab <schwab@redhat.com>
17791 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17793 2011-09-27 Roland McGrath <roland@hack.frob.com>
17796 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17798 2011-09-27 Andreas Schwab <schwab@redhat.com>
17800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17801 Reread the line before reparsing it.
17803 2011-09-26 Andreas Schwab <schwab@redhat.com>
17805 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17807 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17808 Maxim Kuvyrkov <maxim@codesourcery.com>
17809 Joseph Myers <joseph@codesourcery.com>
17811 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17812 if needed for __stack_chk_guard.
17814 2011-09-19 Roland McGrath <roland@hack.frob.com>
17816 * sysdeps/posix/spawni.c (script_execute): Always define it.
17817 It will be optimized away if unused.
17818 (maybe_script_execute): New function.
17819 (__spawni): Call it.
17821 * Makerules: Don't include tls.make.
17822 (config-tls): Always set to thread.
17823 * tls.make.c: File removed.
17825 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17827 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17828 * config.make.in (CPPFLAGS-config): New substituted variable.
17830 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17832 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17835 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17836 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17838 2011-09-15 Roland McGrath <roland@hack.frob.com>
17840 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17841 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17843 (CALL_FAIL): Likewise.
17844 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17845 (CALL_FAIL): Macro removed.
17846 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17848 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17851 for __FINITE_MATH_ONLY__ == 1.
17853 2011-09-15 Andreas Schwab <schwab@redhat.com>
17855 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17856 __ieee754_sqrt instead of sqrt.
17857 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17858 __ieee754_sqrtf instead of sqrtf.
17859 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17860 __floorf instead of floorf.
17861 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17862 __floorf, __truncf instead of floorf, truncf.
17864 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17866 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17868 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17869 __extern_always_inline.
17870 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17873 2011-09-14 Andreas Schwab <schwab@redhat.com>
17875 * elf/rtld.c (dl_main): Also relocate in dependency order when
17876 doing symbol dependency testing.
17878 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17881 Always define `refsym'.
17883 2011-09-13 Andreas Schwab <schwab@redhat.com>
17885 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17886 (__FD_ELT): Renamed from __FDELT.
17887 * misc/bits/select2.h (__FD_ELT): Likewise.
17888 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17889 __FD_MASK instead of __FDELT, __FDMASK.
17890 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17892 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17895 * elf/Makefile (gen-ldd): Fix pattern.
17897 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17898 (init_tls): Likewise.
17900 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17904 2011-09-12 Andreas Schwab <schwab@redhat.com>
17906 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17907 `struct cmsghdr *' instead of `void *'.
17908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17911 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17913 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17915 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17916 ldd_rewrite_script.
17918 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17920 * configure.in: Remove --with-tls option.
17921 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17922 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17923 out in case it is missing.
17924 * sysdeps/ia64/elf/configure.in: Likewise.
17925 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17926 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17927 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17928 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17929 * sysdeps/sh/elf/configure.in: Likewise.
17930 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17931 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17932 * sysdeps/x86_64/elf/configure.in: Likewise.
17933 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17934 * sysdeps/mach/hurd/tls.h: Likewise.
17937 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17940 * configure.in: Fix use of AC_INIT.
17942 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17944 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17946 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17948 * malloc/hooks.c: Likewise.
17951 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17952 variables statically.
17953 (narenas): Initialize.
17954 (list_lock): Initialize.
17955 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17956 initializtion of main_arena and list_lock. Small cleanups.
17957 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17958 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17959 Add initializers to main_arena and mp_.
17960 (malloc_state): Remove pagesize member. Change all users to use
17963 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17964 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17965 is always initialized.
17967 * malloc/malloc.c: Removed unused configurations and dead code.
17968 * malloc/arena.c: Likewise.
17969 * malloc/hooks.c: Likewise.
17970 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17972 * include/tls.h: Removed. USE___THREAD must always be defined.
17973 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17974 * elf/dl-libc.c: Likewise.
17975 * elf/dl-tsd.c: Likewise.
17976 * include/errno.h: Likewise.
17977 * include/netdb.h: Likewise.
17978 * include/resolv.h: Likewise.
17979 * inet/herrno-loc.c: Likewise.
17980 * inet/herrno.c: Likewise.
17981 * malloc/arena.c: Likewise.
17982 * malloc/hooks.c: Likewise.
17983 * malloc/malloc.c: Likewise.
17984 * resolv/res-state.c: Likewise.
17985 * resolv/res_libc.c: Likewise.
17986 * sysdeps/i386/dl-machine.h: Likewise.
17987 * sysdeps/ia64/dl-machine.h: Likewise.
17988 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17989 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17990 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17991 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17992 * sysdeps/sh/dl-machine.h: Likewise.
17993 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17994 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17995 * sysdeps/unix/i386/sysdep.S: Likewise.
17996 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17997 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18002 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18007 * sysdeps/x86_64/dl-machine.h: Likewise.
18008 * tls.make.c: Likewise.
18010 * configure.in: Remove --with-__thread option. Make tests for
18011 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18012 tls_model attribute fail if no support is available. Remove
18014 * Makeconfig: Adjust for dropped configure option. All features are
18016 * Makerules: Likewise.
18017 * Versions.def: Likewise.
18018 * argp/argp-fmtstream.c: Likewise.
18019 * argp/argp-fmtstream.h: Likewise.
18020 * argp/argp-help.c: Likewise.
18021 * assert/assert.c: Likewise.
18022 * config.h.in: Likewise.
18023 * config.make.in: Likewise.
18024 * configure: Likewise.
18025 * configure.in: Likewise.
18026 * csu/Versions: Likewise.
18027 * csu/init.c: Likewise.
18028 * elf/tst-audit2.c: Likewise.
18029 * elf/tst-tls10.c: Likewise.
18030 * elf/tst-tls10.h: Likewise.
18031 * elf/tst-tls11.c: Likewise.
18032 * elf/tst-tls12.c: Likewise.
18033 * elf/tst-tls14.c: Likewise.
18034 * elf/tst-tlsmod11.c: Likewise.
18035 * elf/tst-tlsmod12.c: Likewise.
18036 * elf/tst-tlsmod13.c: Likewise.
18037 * elf/tst-tlsmod13a.c: Likewise.
18038 * elf/tst-tlsmod14a.c: Likewise.
18039 * elf/tst-tlsmod15b.c: Likewise.
18040 * elf/tst-tlsmod16a.c: Likewise.
18041 * elf/tst-tlsmod16b.c: Likewise.
18042 * elf/tst-tlsmod7.c: Likewise.
18043 * elf/tst-tlsmod8.c: Likewise.
18044 * elf/tst-tlsmod9.c: Likewise.
18045 * gmon/gmon.c: Likewise.
18046 * grp/fgetgrent_r.c: Likewise.
18047 * grp/putgrent.c: Likewise.
18048 * hurd/fopenport.c: Likewise.
18049 * include/libc-symbols.h: Likewise.
18050 * include/tls.h: Likewise.
18051 * intl/gettextP.h: Likewise.
18052 * intl/loadinfo.h: Likewise.
18053 * locale/global-locale.c: Likewise.
18054 * locale/localeinfo.h: Likewise.
18055 * mach/devstream.c: Likewise.
18056 * malloc/arena.c: Likewise.
18057 * malloc/set-freeres.c: Likewise.
18058 * misc/err.c: Likewise.
18059 * misc/getttyent.c: Likewise.
18060 * misc/mntent_r.c: Likewise.
18061 * posix/getopt.c: Likewise.
18062 * posix/wordexp.c: Likewise.
18063 * pwd/fgetpwent_r.c: Likewise.
18064 * resolv/Versions: Likewise.
18065 * resolv/res_hconf.c: Likewise.
18066 * shadow/fgetspent_r.c: Likewise.
18067 * shadow/putspent.c: Likewise.
18068 * stdio-common/printf_fphex.c: Likewise.
18069 * stdio-common/tmpfile.c: Likewise.
18070 * stdlib/abort.c: Likewise.
18071 * stdlib/fmtmsg.c: Likewise.
18072 * sunrpc/auth_unix.c: Likewise.
18073 * sunrpc/clnt_perr.c: Likewise.
18074 * sunrpc/clnt_tcp.c: Likewise.
18075 * sunrpc/clnt_udp.c: Likewise.
18076 * sunrpc/clnt_unix.c: Likewise.
18077 * sunrpc/openchild.c: Likewise.
18078 * sunrpc/svc_simple.c: Likewise.
18079 * sunrpc/svc_tcp.c: Likewise.
18080 * sunrpc/svc_udp.c: Likewise.
18081 * sunrpc/svc_unix.c: Likewise.
18082 * sunrpc/xdr.c: Likewise.
18083 * sunrpc/xdr_array.c: Likewise.
18084 * sunrpc/xdr_rec.c: Likewise.
18085 * sunrpc/xdr_ref.c: Likewise.
18086 * sunrpc/xdr_stdio.c: Likewise.
18088 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18090 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18092 2011-07-03 Andreas Jaeger <aj@suse.de>
18094 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18095 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18096 regenerate with gen-libm-tests.pl.
18098 2010-05-12 Petr Baudis <pasky@suse.cz>
18101 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18102 around j0() zero points by switching to j1().
18103 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18108 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18110 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18112 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18115 Patch in part by Pavel Roskin <proski@gnu.org>.
18118 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18120 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18121 Free memory block if necessary.
18124 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18125 be NULL. Don't lock in this case.
18127 2011-09-09 Roland McGrath <roland@hack.frob.com>
18129 * elf/elf.h (ELFOSABI_GNU): New macro.
18130 (ELFOSABI_LINUX): Define to that.
18132 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18134 * string/strncat.c (strncat): Undef the symbol in case it has been
18135 defined in bits/string.h.
18137 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18139 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18141 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18144 2011-08-17 Andreas Jaeger <aj@suse.de>
18146 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18148 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18149 Ian Lance Taylor <iant@google.com>
18151 * math/libm-test.inc (lround_test): New testcase.
18152 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18154 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18156 * Makefile: Remove support for automatic cvs check-ins.
18157 * Makerules: Likewise.
18158 * config.make.in: Likewise.
18159 * configure.in: Likewise.
18160 * intl/Makefile: Likewise.
18161 * locale/Makefile: Likewise.
18162 * po/Makefile: Likewise.
18163 * posix/Makefile: Likewise.
18164 * sysdeps/gnu/Makefile: Likewise.
18165 * sysdeps/mach/hurd/Makefile: Likewise.
18166 * sysdeps/sparc/sparc32/Makefile: Likewise.
18169 * posix/Makefile (bug-regex32-ENV): Define.
18170 Patch by John Stanley <jpsinthemix@verizon.net>.
18172 * misc/Makefile (headers): Add bits/select2.h.
18173 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18174 * misc/bits/select2.h: New file.
18175 * include/bits/select2.h: New file.
18176 * debug/Makefile (routines): Add fdelt_chk.
18177 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18178 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18180 * debug/fdelt_chk.c: New file.
18182 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18183 * wcsmbs/test-wmemcmp.c: Likewise.
18184 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18185 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18187 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18189 * string/Makefile (strop-tests): Add memcmp.
18190 * string/test-wmemcmp.c: New file.
18191 * string/test-memcmp.c: Add wmemcmp support.
18193 2011-09-08 Roland McGrath <roland@hack.frob.com>
18196 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18199 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18200 garbage value in a __mach_port_mod_refs call in the cases of the
18201 task-self and thread-self ports.
18203 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18205 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18207 2011-09-08 Andreas Schwab <schwab@redhat.com>
18209 * elf/dl-load.c (lose): Check for non-null L.
18211 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18213 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18215 * elf/dl-libc.c (dlerror_run): Pass back error code from
18219 * elf/dl-load.c (lose): Free l_origin if it is valid.
18221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18223 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18224 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18225 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18226 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18227 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18228 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18230 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18232 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18233 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18234 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18235 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18236 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18237 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18238 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18239 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18240 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18241 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18243 2011-08-15 Alan Modra <amodra@gmail.com>
18246 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18247 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18248 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18249 ppc_mcount to static-only-routines.
18250 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18252 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18253 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18255 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18257 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18258 for finite and infinity parameters.
18260 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18262 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18263 and add nop instructions for throughput optimization.
18264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18266 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18269 aligned copy for power7 with vector-scalar instructions.
18270 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18272 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18277 2011-09-07 Andreas Schwab <schwab@redhat.com>
18280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18283 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18286 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18287 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18288 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18291 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18293 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18294 Forgot to demangle the pointer.
18296 * sysdeps/i386/sysdep.h: Define atom_text_section.
18297 * sysdeps/x86_64/sysdep.h: Likewise.
18298 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18299 section with atom_text_section.
18300 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18301 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18302 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18303 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18304 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18306 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18307 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18308 already be defined. Change to take two parameters and don't assign
18309 result to variable. Adjust all users.
18310 Define INTERNAL_GETTIME if not already defined.
18311 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18314 HAVE_CLOCK_GETTIME_VSYSCALL.
18315 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18318 gettimeofday vsyscall, just use time.
18320 2011-09-06 Andreas Schwab <schwab@redhat.com>
18322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18325 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18327 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18331 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18333 syscall if possible.
18335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18337 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18338 e_ident. Don't pass to find_mapsXX.
18339 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18341 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18344 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18345 * sysdeps/x86_64/multiarch/strchr.S: Update.
18346 Check bit_slow_BSF bit.
18347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18348 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18349 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18351 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18354 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18356 (tryshell): Define.
18357 (__spawni): Change last parameter to be flag. Test
18358 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18359 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18360 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18361 * posix/spawni.c: Likewise.
18362 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18363 * posix/spawnp.c: Likewise. Change normal version to use
18364 SPAWN_XFLAGS_USE_PATH.
18365 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18366 SPAWN_XFLAGS_TRY_SHELL.
18369 * posix/glob.h: Remove gcc 1.x support.
18372 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18374 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18377 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18379 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18380 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18381 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18383 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18384 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18386 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18388 * sysdeps/x86_64/wcscmp.S: New file.
18390 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18391 wcscmp-c wcscmp-sse2
18392 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18393 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18394 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18395 * wcsmbs/wcscmp.c: Allow renaming.
18397 2011-09-05 David S. Miller <davem@davemloft.net>
18399 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18400 stack slot, rather than the struct return pointer slot.
18401 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18402 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18406 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18408 * po/ja.po: Update from translation team.
18411 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18412 kernel in 64-bit binaries.
18414 2011-09-01 David S. Miller <davem@davemloft.net>
18416 * elf/elf.h (HWCAP_SPARC_*): Move to..
18417 * sysdeps/sparc/sysdep.h: this new file and add new values.
18418 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18419 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18420 _DL_HWCAP_COUNT to 24.
18421 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18423 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18424 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18425 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18427 instead of magic constants.
18428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18430 2011-08-31 David S. Miller <davem@davemloft.net>
18432 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18434 Reimplement to do errno handling inline.
18435 (SYSCALL_ERROR_HANDLER): New macro.
18436 (__SYSCALL_STRING): Do not do errno handling in asm.
18437 (__CLONE_SYSCALL_STRING): Delete.
18438 (__INTERNAL_SYSCALL_STRING): Delete.
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18440 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18441 (PSEUDO): Reimplement to do errno handling inline.
18442 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18443 (SYSCALL_ERROR_HANDLER): New macro.
18444 (__SYSCALL_STRING): Do not do errno handling in asm.
18445 (__CLONE_SYSCALL_STRING): Delete.
18446 (__INTERNAL_SYSCALL_STRING): Delete.
18447 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18448 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18450 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18451 (inline_syscall*): Add 'err' argument.
18452 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18453 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18454 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18455 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18457 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18458 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18460 2011-08-30 Andreas Schwab <schwab@redhat.com>
18462 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18464 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18466 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18469 2011-08-24 David S. Miller <davem@davemloft.net>
18471 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18473 2011-08-24 Andreas Schwab <schwab@redhat.com>
18475 * elf/Makefile: Add rules to build and run unload8 test.
18476 * elf/unload8.c: New file.
18477 * elf/unload8mod1.c: New file.
18478 * elf/unload8mod1x.c: New file.
18479 * elf/unload8mod2.c: New file.
18480 * elf/unload8mod3.c: New file.
18482 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18485 2011-08-23 David S. Miller <davem@davemloft.net>
18487 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18488 subtract stack bias.
18489 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18490 %sp not %fp in calculations.
18491 (_JMPBUF_UNWINDS_ADJ): Likewise.
18493 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18494 (aio_suspend): Call it to force an exception region around the
18495 AIO_MISC_WAIT() invocation.
18497 2011-08-23 Andreas Schwab <schwab@redhat.com>
18499 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18502 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18504 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18506 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18507 and <dl-machine.h>.
18508 (Elf64_FuncDesc): Remove.
18510 2011-08-22 David S. Miller <davem@davemloft.net>
18512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18513 sigaltstack check, add missing cfi directives.
18514 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18515 missing cfi directives, and sigaltstack handling.
18517 2011-08-16 Andreas Schwab <schwab@redhat.com>
18520 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18521 object is seen twice.
18522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18524 * elf/Makefile (distribute): Add tst-initorder2.c.
18525 (tests): Add tst-initorder2.
18526 (modules-names): Add tst-initorder2a tst-initorder2b
18527 tst-initorder2c tst-initorder2d. Add rules to build them.
18528 ($(objpfx)tst-initorder2.out): New rule.
18529 * elf/tst-initorder2.c: New file.
18530 * elf/tst-initorder2.exp: New file.
18532 2011-08-22 Andreas Schwab <schwab@redhat.com>
18534 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18536 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18537 dependencies back to end of function.
18539 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18540 $(elfobjdir)/ld.so.
18542 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18545 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18547 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18548 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18549 of __vdso_gettimeofday.
18550 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18551 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18553 (_libc_vdso_platform_setup): Remove initialization of
18554 __vdso_gettimeofday and __vdso_time.
18556 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18558 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18559 and fgetc_unlocked.
18560 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18563 * elf/dl-open.c (add_to_global): Report additions to the global scope
18564 for LD_DEBUG=scopes.
18565 (dl_open_worker): Also print scope of newly loaded dependencies.
18566 (_dl_show_scope): Indicate if there is no scope.
18569 * stdio-common/Makefile (tests): Add bug24.
18570 * stdio-common/bug24.c: New file.
18572 2011-08-19 Andreas Jaeger <aj@suse.de>
18575 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18576 non-existant file when using close-on-exec mode.
18578 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18581 the very first instruction.
18583 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18584 the CFI state in the end.
18585 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18586 inclusion of dl-trampoline.h.
18587 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18589 2011-08-19 Andreas Schwab <schwab@redhat.com>
18591 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18592 expectations for long double.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18595 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18597 2011-08-14 David S. Miller <davem@davemloft.net>
18599 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18600 artificual limit depends upon the system page size.
18602 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18604 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18605 * resolv/Makefile: Define CFLAGS-libresolv.
18607 2011-08-17 Andreas Schwab <schwab@redhat.com>
18609 * nss/makedb.c (compute_tables): Make variables used in nested
18612 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18614 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18615 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18616 if buffer was too small.
18618 * elf/pldd.c (main): Attach to all threads in the process.
18619 Rewrite /proc handling to use *at functions.
18621 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18623 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18624 specifies first scope to show.
18625 (dl_open_worker): Update callers. Move printing scope of new
18626 object to before the relocation.
18627 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18628 * sysdeps/generic/ldsodefs.h: Update declaration.
18630 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18631 string for the scope number.
18633 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18635 * nscd/servicescache.c (cache_addserv): Make sure written is always
18638 2011-08-14 Roland McGrath <roland@hack.frob.com>
18640 * sysdeps/i386/i486/bits/atomic.h
18641 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18642 statement expression, so as to suppress "set but not used" warning.
18643 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18645 * string/strncat.c (STRNCAT): Use prototype definition.
18647 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18648 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18650 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18651 (localedef-modules): Add localedef.
18652 (locale-modules): Add locale.
18654 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18655 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18656 to avoid a warning.
18658 2011-08-14 David S. Miller <davem@davemloft.net>
18660 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18661 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18663 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18665 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18666 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18667 * elf/rtld.c (dl_main): Set l_name of vDSO.
18668 Call _dl_show_scope when DL_DEBUG_SCOPES.
18669 (process_dl_debug): Recognize scopes flag and also set it for all.
18670 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18671 Declare _dl_show_scope.
18673 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18674 (do_dlopen): Pass caller_dlopen to dl_open.
18675 (__libc_dlopen_mode): Initialize caller_dlopen.
18677 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18678 of libc. Make tolower call locale-independent. Optimize a bit by
18679 using isdigit instead of isalnum.
18680 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18682 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18684 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18685 was a dependency or dynamically loaded.
18687 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18689 * intl/l10nflist.c: Allow architecture-specific pop function.
18690 * sysdeps/x86_64/l10nflist.c: New file.
18692 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18695 2011-08-10 Andreas Schwab <schwab@redhat.com>
18697 * include/dirent.h: Add libc_hidden_proto for scandirat and
18698 scandirat64. Don't declare __scandirat64.
18699 * dirent/scandirat.c: Add libc_hidden_def.
18700 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18701 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18703 2011-08-10 David S. Miller <davem@davemloft.net>
18705 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18711 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18713 * Versions.def [libc]: Add GLIBC_2.15.
18714 * dirent/Makefile (routines): Add scandirat and scandirat64.
18715 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18717 * dirent/dirent.h: Declare scandirat and scandirat64.
18718 * dirent/scandirat.c: New file.
18719 * dirent/scandirat64.c: New file.
18720 * sysdeps/wordsize-64/scandirat.c: New file.
18721 * sysdeps/wordsize-64/scandirat64.c: New file.
18722 * dirent/opendir.c: Define opendirat.
18723 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18725 * dirent/scandir64.c: Adjust for scandir.c change.
18726 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18727 __scandirat64, and __scandir_cancel_handler.
18728 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18729 additional parameter and use openat instead of open (outside of ld.so).
18730 Add new __opendir as wrapper around __opendirat.
18731 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18732 here without requiring old scandirat implementation.
18734 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18736 * dirent/scandir.c (cancel_handler): Renamed to
18737 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18738 defined. Adjust users.
18739 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18740 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18742 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18744 * string/test-string.h (IMPL): Use __STRING to expand name and then
18747 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18750 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18752 * string/Makefile: Update.
18753 (strop-tests): Append strncat.
18754 * string/test-wcscmp.c: New file.
18755 New comprehensive test for wcscmp.
18756 * string/test-strcmp.c: Update.
18757 (WIDE): New define.
18759 2011-07-22 Andreas Schwab <schwab@redhat.com>
18761 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18764 2011-07-26 Andreas Schwab <schwab@redhat.com>
18766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18767 encoding to ACE if AI_IDN.
18769 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18771 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18772 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18774 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18776 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18777 Fix overflow bug in strncat.
18778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18780 * string/test-strncat.c: Update.
18781 Add new tests for checking overflow bugs.
18783 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18786 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18787 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18788 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18789 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18790 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18791 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18792 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18793 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18795 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18796 (USE_AS_STRCAT): Define.
18797 Add strcat and strncat support.
18798 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18800 2011-07-25 Andreas Schwab <schwab@redhat.com>
18802 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18803 __n bigger than INT_MAX+1.
18804 (__strncmp_g): Likewise.
18806 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18808 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18809 * libio/stido.h: Likewise.
18811 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18816 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18817 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18819 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18823 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18828 (_dl_x86_64_save_sse): Likewise.
18830 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18834 (_dl_x86_64_save_sse): Likewise.
18836 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18838 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18840 2011-07-21 Andreas Schwab <schwab@redhat.com>
18842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18844 (_dl_x86_64_save_sse): Use correct AVX check.
18846 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18848 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18849 bug in strncpy/strncat.
18850 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18852 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18854 * string/tester.c (test_strcat): Add tests for different alignments
18855 of source and destination.
18856 (test_strncat): Likewise.
18858 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18861 * posix/glob.c (glob): Check passed in values before using them in
18862 expressions to avoid some overflows.
18863 (glob_in_dir): Likewise.
18866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18867 check for AVX enablement so that we don't crash with old kernels and
18869 * elf/tst-audit4.c: Add same checks here.
18870 * elf/tst-audit6.c: Likewise.
18872 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18874 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18876 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18878 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18880 * po/cs.po: Update from translation team.
18881 * po/bg.po: Likewise.
18883 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18885 * misc/sys/cdefs.h: Add support for const attribute.
18886 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18887 to gnu_dev_{major,minor,makedev} functions.
18889 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18891 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18893 2011-07-20 Andreas Schwab <schwab@redhat.com>
18895 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18898 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18901 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18902 register in order to avoid conflicts with the soft frame pointer
18903 being held in r11 when necessary.
18904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18905 (INTERNAL_VSYSCALL_NCS): Likewise.
18907 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18909 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18910 * elf/dl-fini.c (_dl_fini): Adjust caller.
18911 * elf/dl-close.c (_dl_close_worker): Likewise.
18912 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18914 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18916 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18917 "aux_cache->nlibs < 0".
18919 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18920 in the reload-count case.
18922 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18925 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18926 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18927 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18928 * sysdeps/x86_64/multiarch/strcat.S: New file.
18929 * sysdeps/x86_64/multiarch/strncat.S: New file.
18930 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18931 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18932 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18933 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18935 (USE_AS_STRCAT): Define.
18936 Add strcat and strncat support.
18937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18939 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18940 * string/strncat.c: Update.
18941 (USE_AS_STRNCAT): Define.
18942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18943 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18945 * sysdeps/x86_64/multiarch/init-arch.h
18946 (bit_Prefer_PMINUB_for_stringop): New.
18947 (index_Prefer_PMINUB_for_stringop): Likewise.
18948 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18949 bit_Prefer_PMINUB_for_stringop.
18951 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18953 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18955 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18956 of casting of buffer.
18957 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18958 buffer32 and buffer64.
18959 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18960 writes instead of casting of buffer.
18961 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18963 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18966 2011-07-19 Andreas Schwab <schwab@redhat.com>
18968 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18970 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18972 * nscd/nscd.c (termination_handler): Don't do anything for a database
18973 if it has not yet been initialized.
18975 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18977 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18979 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18981 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18983 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18985 * po/nl.po: Update from translation team.
18986 * po/sv.po: Likewise.
18988 2011-07-16 Roland McGrath <roland@hack.frob.com>
18990 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18991 now disallowed by GCC.
18993 * configure.in (use-default-link): Default to yes if a test -shared
18994 link meets our qualifications.
18995 * configure: Regenerated.
18997 * config.make.in (output-format): New variable.
18998 * configure.in: Check for ld --print-output-format support.
18999 * configure: Regenerated.
19000 * Makerules ($(common-objpfx)format.lds)
19001 [$(output-format) != unknown]: Just use $(output-format),
19002 instead of the linker-script munging.
19004 2011-07-14 Roland McGrath <roland@hack.frob.com>
19006 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19007 of $(common-objpfx)shlib.lds.
19008 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19010 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19011 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19013 * configure.in (-z relro check): Adjust test code to add a large
19014 writable data section after it.
19015 * configure: Regenerated.
19017 2011-07-11 Roland McGrath <roland@hack.frob.com>
19019 * configure.in (-z relro check): Fix test code to make the variable
19021 * configure: Regenerated.
19023 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19025 * nscd/nscd.h (struct traced_file): Define.
19026 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19027 elements. Add traced_files.
19028 (inotify_fd): Declare.
19029 (register_traced_file): Declare.
19030 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19031 (inotify_fd): Export.
19032 (resolv_conf_descr): Remove.
19033 (nscd_init): Move inotify descriptor creation to main.
19034 Don't register files for notification here.
19035 (register_traced_file): New function.
19036 (invalidate_cache): Don't use reset_res to determine whether to call
19037 res_init, go through the list of registered files.
19038 (main_loop_poll): The inotify descriptors are now stored in the
19039 structures for the traced files.
19040 (main_loop_epoll): Likewise
19041 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19042 to __nss_disable_nscd.
19043 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19044 for a database anymore. Check the records for all the registered
19046 * nss/Makefile (libnss_files-routines): Add files-init.
19047 (libnss_db-routines): Add db-init.
19048 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19049 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19050 * nss/nss_db/db-init.c: New file.
19051 * nss/nss_files/files-init.c: New file.
19052 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19053 __nss_lookup_function.
19054 (__nss_lookup_function): Call nss_load_library.
19055 (nss_load_all_libraries): New function.
19056 (__nss_disable_nscd): Take parameter with callback function for files
19057 to register. Set is_nscd. Load all the DSOs for the NSS modules
19058 used for the cached services.
19059 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19060 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19061 options for features to all the files in nscd.
19063 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19065 2011-07-10 Roland McGrath <roland@hack.frob.com>
19067 * csu/elf-init.c (__libc_csu_init): Comment typo.
19069 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19071 * po/pl.po: Update from translation team.
19072 * po/ja.po: Likewise.
19073 * po/ru.po: Likewise.
19074 * po/ko.po: Likewise.
19075 * po/fr.po: Likewise.
19077 2011-07-09 Roland McGrath <roland@hack.frob.com>
19079 * configure.in (.ctors/.dtors header and trailer check):
19080 Use an empirical test on a built program.
19081 * configure: Regenerated.
19083 * configure.in (-z relro check): Use an empirical test on a built DSO.
19084 Detect, but do not require, on ia64.
19085 * configure: Regenerated.
19087 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19088 Update tests that use readelf to use $READELF instead.
19089 * configure: Regenerated.
19091 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19093 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19094 if the result is not used.
19096 2011-07-05 Andreas Jaeger <aj@suse.de>
19099 * stdlib/tst-strtod.c: Add testcase.
19101 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19103 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19104 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19105 The latter has a higher limit. Take additional parameter to pass to
19107 (__pathconf): Pass file to __statfs_link_max.
19108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19110 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19114 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19115 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19118 (__statfs_filesize_max): Likewise.
19119 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19121 2011-07-05 Andreas Jaeger <aj@suse.de>
19123 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19125 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19127 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19129 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19132 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19134 * Makefile (strop-tests): Add strncat.
19135 * string/test-strncat.c: New file.
19137 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19139 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19141 2011-06-21 Andreas Jaeger <aj@suse.de>
19143 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19144 Copy rule from iconvdata/Makefile.
19146 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19149 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19150 but no long options are defined, just return 'W'.
19152 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19155 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19157 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19159 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19161 (innetgr): Likewise.
19163 2011-07-05 Roland McGrath <roland@hack.frob.com>
19165 * config.make.in (install_root): Default to $(DESTDIR).
19167 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19171 2011-07-02 Roland McGrath <roland@hack.frob.com>
19173 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19175 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19176 containing directory rather than embedding absolute directory names.
19178 * scripts/check-local-headers.sh: Rewritten using awk.
19179 Match by word, not by line. Print error messages for matches.
19180 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19182 * Makerules [shlib-lds-flags empty]:
19183 ($(common-objpfx)libc_pic.opts): New target.
19184 ($(common-objpfx)libc_pic.os.clean): New target.
19185 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19187 * config.make.in (OBJCOPY): New variable.
19188 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19189 * configure: Regenerated.
19191 * config.make.in (use-default-link): New variable.
19192 * configure.in (use_default_link): Grok --with-default-link to set it.
19193 * configure: Regenerated.
19194 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19195 (shlib-lds, shlib-lds-flags): Define to empty.
19197 * Makerules (shlib-lds): New variable.
19198 (shlib-lds-flags): New variable.
19199 (build-shlib, build-moduile, build-module-asneeded): Use it.
19200 ($(common-objpfx)libc.so): Use $(shlib-lds).
19201 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19202 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19204 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19205 DT_FLAGS/DT_FLAGS_1 with zero flags.
19207 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19208 linker script munging.
19210 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19212 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19214 * crypt/sha512.c (sha512_process_block): Perform total addition using
19215 128-bit if possible.
19216 (__sha512_finish_ctx): Likewise.
19217 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19219 * crypt/sha256.c (SWAP64): Define.
19220 (sha256_process_block): Perform total addition using 64-bit if
19222 (__sha256_finish_ctx): Likewise.
19224 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19226 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19228 * nscd/hstcache.c (cache_addhst): Likewise.
19229 * nscd/grpcache.c (cache_addgr): Likewise.
19230 * nscd/aicache.c (addhstaiX): Likewise
19231 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19233 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19235 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19237 * nscd/hstcache.c (cache_addhst): Likewise.
19238 * nscd/grpcache.c (cache_addgr): Likewise.
19239 * nscd/aicache.c (addhstaiX): Likewise
19241 2011-07-01 Andreas Schwab <schwab@redhat.com>
19243 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19244 domain only when needed.
19246 2011-06-30 Andreas Schwab <schwab@redhat.com>
19248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19249 is always restored.
19251 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19253 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19254 are re-adding the entry.
19255 * nscd/servicescache.c (cache_addserv): Likewise.
19257 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19259 * sysdeps/generic/dl-irel.h: fix protection against multiple
19261 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19263 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19266 * malloc/memusage.sh: Fix quoting in message.
19267 * debug/xtrace.sh: Likewise.
19269 * configure.in: Remove support for --experimental-malloc option, make
19271 * config.make.in: Likewise.
19272 * malloc/Makefile: Likewise.
19274 2011-06-27 Andreas Schwab <schwab@redhat.com>
19276 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19277 two-byte characters.
19279 2011-06-27 Roland McGrath <roland@hack.frob.com>
19281 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19282 AC_CACHE_CHECK invocation.
19283 * configure: Regenerated.
19285 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19287 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19290 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19291 bit from old_res_options.
19293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19295 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19296 value type for setfct.
19298 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19301 __gettimeofday instead of gettimeofday.
19303 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19305 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19307 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19309 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19314 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19317 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19318 strcpy-sse2-unaligned strncpy-sse2-unaligned
19319 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19320 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19321 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19322 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19323 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19326 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19327 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19328 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19329 (STRCPY): Support SSE2 and SSSE3 versions.
19331 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19335 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19336 kernels which artificially limit size of requests.
19338 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19341 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19342 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19343 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19344 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19345 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19346 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19347 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19348 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19350 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19351 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19352 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19353 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19354 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19356 Enable unaligned load optimization for Intel Core i3, i5 and i7
19358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19360 (index_Fast_Unaligned_Load): Define.
19361 (HAS_FAST_UNALIGNED_LOAD): Define.
19363 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19365 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19367 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19371 until it is clear that the information is realy needed.
19372 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19374 2011-06-22 Andreas Schwab <schwab@redhat.com>
19376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19378 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19380 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19381 /sys/devices/system/cpu/online if it is usable.
19383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19384 reading the information from the /proc filesystem to once a second.
19386 2011-06-21 Andreas Jaeger <aj@suse.de>
19388 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19389 NULL after inclusion of kernel headers.
19391 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19393 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19394 calls to internal_setent.
19397 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19398 addresses using gethostbyname4_r ignore IPv4 addresses.
19400 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19401 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19403 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19405 2011-06-20 David S. Miller <davem@davemloft.net>
19407 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19409 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19411 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19412 (elf_irel): Use it.
19413 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19414 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19415 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19416 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19417 * sysdeps/x86_64/dl-irel.h: Likewise.
19419 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19420 * elf/dl-sym.c: Likewise.
19422 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19424 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19425 need to dereference resplen2.
19427 2011-06-14 Andreas Schwab <schwab@redhat.com>
19429 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19431 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19433 * Makeconfig: Define vardbdir and inst_vardbdir.
19434 * nss/Makefile: Add rules to install db-Makefile.
19436 * nss/nss_db/db-XXX.c: Cleanup.
19438 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19439 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19441 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19442 * nss/makedb.c: Implement -g option to specify that value strings
19443 are generated and should not be added to table iterated over for
19445 * nss/nss_db/db-initgroups.c: New file.
19447 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19450 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19451 (internal_getgrouplist): Adjust to name change.
19452 Update use_initgroups_entry if this is not the first call.
19453 * nss/databases.def: Add initgroups entry.
19455 * nss/makedb.c (compute_tables): Check result of multiple hash table
19456 sizes to minimize maximum chain length.
19458 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19460 * Versions.def: Add entry for libnss_db.
19461 * shlib-versions: Likewise.
19462 * nss/Makefile: Add rules to build libnss_db.
19463 * nss/Versions: Add libnss_db information. Organize libnss_files
19465 * nss/db-Makefile: Add gshadow support. Change rules for the new
19466 makedb progra. Some minor improvements to generate smaller files.
19467 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19469 * nss/makedb.c: ...here.
19470 Improve database format to be smaller and require less memory at
19472 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19474 * nss/nss_db/db-netgrp.c: Likewise.
19475 * nss/nss_db/db-open.c: Likewise.
19476 * nss/nss_files/flies-XXX.x: Adjust comments.
19477 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19478 * nss/nss_files/files-grp.c: Likewise.
19479 * nss/nss_files/files-hosts.c: Likewise.
19480 * nss/nss_files/files-network.c: Likewise.
19481 * nss/nss_files/files-proto.c: Likewise.
19482 * nss/nss_files/files-pwd.c: Likewise.
19483 * nss/nss_files/files-rpc.c: Likewise.
19484 * nss/nss_files/files-service.c: Likewise.
19485 * nss/nss_files/files-sgrp.c: Likewise.
19486 * nss/nss_files/files-spwd.c: Likewise.
19487 * nss/nss_db/db-alias.c: Removed.
19488 * nss/nss_db/dummy-db.h: Removed.
19490 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19492 * nss/makedb.c: Rewritten to not use database library.
19493 * nss/Makefile: Update to build new makedb program.
19495 2011-06-14 Andreas Jaeger <aj@suse.de>
19497 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19498 memset declaration.
19500 2011-06-10 Andreas Schwab <schwab@redhat.com>
19502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19505 2011-06-10 Roland McGrath <roland@hack.frob.com>
19507 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19508 * elf/Makefile ($(objpfx)ld.so): Likewise.
19510 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19511 Don't list ld.so twice in dependencies.
19513 * posix/bug-regex31.c: Include <stdlib.h>.
19515 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19517 * nis/nss_compat/compat-spwd.c
19518 (getspent_next_nss_netgr): Remove unused variable.
19519 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19521 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19522 nonmembers" output to use the right array.
19524 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19526 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19528 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19529 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19530 * catgets/gencat.c (read_input_file): Likewise.
19531 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19533 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19534 variable definition inside #if's controlling its use.
19536 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19538 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19540 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19542 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19545 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19547 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19548 * configure: Regenerated.
19550 * Makerules: Revert last change.
19551 * elf/Makefile: Likewise.
19553 2011-06-09 Roland McGrath <roland@hack.frob.com>
19555 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19556 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19557 (reloc-link): Likewise.
19559 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19561 * elf/Makefile: Add rules to build pldd.
19562 * elf/pldd.c: New file.
19563 * elf/pldd-xx.c: New file.
19565 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19567 * version.h: Update for 2.15 development version.
19569 2011-06-07 David S. Miller <davem@davemloft.net>
19571 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19574 elf_machine_lazy_rel): Likewise.
19575 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19576 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19577 elf_machine_lazy_rel): Likewise.
19578 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19579 dl_hwcap via passed in argument.
19580 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19583 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19585 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19587 2011-06-06 Roland McGrath <roland@hack.frob.com>
19590 * manual/fdl-1.1.texi: New file, verbatim from:
19591 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19592 * manual/lgpl-2.1.texi: New file, verbatim from:
19593 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19594 * manual/Makefile (licenses): New variable, list those new file names.
19596 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19598 * manual/fdl.texi: File removed.
19599 * manual/lesser.texi: File removed.
19600 * manual/libc.texinfo (Copying, Documentation License):
19601 Use new @include file names, put @appendix directive before @include.
19603 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19606 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19607 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19608 (mq_open): Add __NTH.
19610 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19613 Assume Intel Core i3/i5/i7 processor if AVX is available.
19615 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19620 2011-05-31 Andreas Schwab <schwab@redhat.com>
19622 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19623 memory. Use alloca_account. Fix memory leak when retrying.
19625 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19627 * version.h (RELEASE): Bump for 2.14 release.
19628 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19630 * config.make.in (RANLIB): Remove entry.
19632 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19634 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19635 (libc.pot): Work around missing support for .ksh extension in xgettext.
19638 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19639 if both request failed.
19640 (send_dg): In case of server errors clear resplen or *resplen2.
19643 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19644 when there are multiple maps.
19645 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19646 (_dl_fini): Remove test here.
19648 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19650 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19653 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19654 bit from old_res_options.
19655 (gaih_inet): Likewise.
19658 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19661 * resolv/res_init.c (res_setoptions): Make the code more compact.
19664 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19668 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19670 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19673 * malloc/malloc.h: Declare malloc hook variables as volatile.
19675 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19679 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19680 raise in the comment.
19681 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19683 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19685 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19688 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19689 grow the buffers more if it already has to be sufficient.
19690 (build_wcs_upper_buffer): Likewise.
19691 * posix/regexec.c (check_matching): Likewise.
19692 (clean_state_log_if_needed): Likewise.
19693 (extend_buffers): Don't enlarge buffers beyond size of the input
19695 Patches mostly by Emil Wojak <emil@wojak.eu>.
19696 * posix/bug-regex32.c: New file.
19697 * posix/Makefile (tests): Add bug-regex32.
19699 * locale/findlocale.c (_nl_find_locale): Return right away if
19700 _nl_explode_name failed.
19701 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19703 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19705 * debug/xtrace.sh: Unify messages.
19706 * malloc/memusage.sh: Likewise.
19709 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19710 time symbol from vDSO. Substitute with vsyscall if not available.
19711 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19715 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19716 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19717 Add sendmmsg and internal_sendmmsg.
19718 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19719 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19720 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19722 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19723 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19724 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19726 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19729 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19730 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19732 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19736 * iconvdata/Makefile (tests): Add bug-iconv9.
19737 * iconvdata/bug-iconv9.c: New file.
19739 2011-05-27 Andreas Schwab <schwab@redhat.com>
19742 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19744 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19746 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19747 (struct user_regs_struct): Change intcs field back to cs.
19749 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19751 * po/ja.po: Update from translation team.
19753 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19756 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19757 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19759 2011-05-20 Andreas Schwab <schwab@redhat.com>
19761 * stdlib/longlong.h: Update from GCC.
19763 2011-05-23 Andreas Schwab <schwab@redhat.com>
19765 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19767 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19768 Add parameter name.
19769 (__sysconf): Pass it down.
19771 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19774 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19777 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19778 add in in __libc_use_alloca calls. Adjust callers.
19779 (glob): Use malloc in some situations.
19781 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19782 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19785 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19787 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19788 and CLOCK_BOOTTIME_ALARM.
19791 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19794 * string/_strerror.c (__strerror_r): Print negative errors as signed
19798 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19799 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19800 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19802 * configure.in: Fix typo in redirection and correct removal of test
19803 files in two cases.
19806 * locale/setlocale.c (new_composite_name): Fix test to check for
19807 identical name of all categories.
19810 * libio/filedoalloc.c (local_isatty): New function.
19811 (_IO_file_doallocate): Use local_isatty.
19812 * stdio-common/perror.c (perror): In case a new stream is used
19813 forward the stream error.
19814 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19817 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19822 * include/alloca.h (extend_alloca_account): Define.
19825 * posix/regex.h: Fix comments with documentation of user-accessible
19826 fields after compilation and describe correct free'ing of pattern
19827 after re_compile_pattern.
19828 Patch by Reuben Thomas <rrt@sc3d.org>.
19830 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19832 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19833 and -mno-altivec to prevent the compiler from using Altivec and/or
19834 VSX instructions when the corresponding registers are not available.
19836 2011-05-19 Andreas Schwab <schwab@redhat.com>
19838 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19840 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19842 * libio/freopen.c (freopen): Use __dup2, not dup2.
19843 * libio/freopen64.c (freopen64): Likewise.
19845 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19849 * math/Makefile (tests): Add test-powl.
19850 (CFLAGS-test-powl.c): Define.
19851 * math/test-powl.c: New file.
19853 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19855 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19857 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19860 * iconvdata/gb18030.c: Update to GB18020-2005.
19862 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19864 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19865 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19866 Patch by Aharon Robbins <arnold@skeeve.com>.
19869 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19873 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19874 through underflows.
19877 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19878 point to strings before performing equality test for error_one_per_line
19882 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19885 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19886 (struct user_fpregs_struct): Avoid __uint*_t types.
19889 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19890 symbol info. Use it instead of calling _dl_addr locally.
19891 (lock_and_info): New function.
19892 (tr_freehook): Call lock_and_info and pass symbol info as additional
19893 parameter to tr_where.
19894 (tr_mallochook): Likewise.
19895 (tr_reallochook): Likewise.
19896 (tr_memalignhook): Likewise.
19898 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19899 used and couldn't be at all thread-safe.
19901 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19903 * libio/freopen.c (freopen): Don't close old file descriptor
19904 before the new one is opened. Instead dup the new file descriptor
19905 to the old one after the new stream is created.
19906 * libio/freopen64.c (freopen64): Likewise.
19907 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19908 * libio/fileops.c (_IO_new_file_close_it): Handle new
19909 _IO_FLAGS2_NOCLOSE flag.
19910 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19911 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19912 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19913 _IO_FLAGS2_NOCLOSE flag.
19914 * include/unistd.h: Add hidden_proto for dup3.
19915 Define __have_dup3.
19916 * io/dup3.c: Define hidden symbol.
19917 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19920 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19921 when an incomplete long option is used.
19922 * posix/tst-getopt_long1.c: New file.
19923 * posix/Makefile (tests): Add tst-getopt_long1.
19926 * scripts/config.guess: Update from autoconf-2.68.
19927 * scripts/config.sub: Likewise.
19930 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19932 (has_cpuclock): ...this. New function.
19933 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19934 macro here based on has_cpuclock code.
19937 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19938 First byte (not low byte) is now always NUL.
19939 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19942 Use non-cancelable interfaces.
19945 * locale/iso-639.def: Add entry for Sorani.
19948 * include/stdlib.h: Move include protection to the right place.
19949 Define abort_msg_s. Declare __abort_msg with it.
19950 * stdlib/abort.c (__abort_msg): Adjust type.
19951 * assert/assert.c (__assert_fail_base): New function. Majority
19952 of code from __assert_fail. Allocate memory for __abort_msg with
19954 (__assert_fail): Now call __assert_fail_base.
19955 * assert/assert-perr.c: Remove bulk of implementation. Use
19956 __assert_fail_base.
19957 * include/assert.hL Declare __assert_fail_base.
19958 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19960 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19962 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19966 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19967 until all modules are registered in the DTV.
19968 * elf/Makefile: Add rules to build and run tst-tls19.
19969 * elf/tst-tls19.c: New file.
19970 * elf/tst-tls19mod1.c: New file.
19971 * elf/tst-tls19mod2.c: New file.
19972 * elf/tst-tls19mod3.c: New file.
19973 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19976 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19980 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19981 two-byte sequence errors.
19982 * iconvdata/Makefile (tests): Add bug-iconv8.
19983 * iconvdata/bug-iconv8.c: New file.
19986 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19989 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19992 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19993 (dummy_getcfa): New function.
19994 (init): Get _Unwind_GetCFA address, use dummy if not found.
19995 (backtrace_helper): In recursion check, also check whether CFA changes.
19996 (__backtrace): Completely initialize arg.
19998 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19999 storing incomplete byte sequence in state object. Avoid testing for
20000 guaranteed too small input if we know there is enough data available.
20002 2011-05-11 Andreas Schwab <schwab@redhat.com>
20004 * Makeconfig (+link-pie): Indent.
20005 * Rules (binaries-pie): Define if $(have-fpie) and
20007 (binaries-shared): Also filter out $(binaries-pie).
20008 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20009 * nscd/Makefile (others-pie): Add nscd.
20010 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20011 ($(objpfx)nscd): Remove command override.
20012 * login/Makefile (others-pie): Add pt_chown.
20013 ($(objpfx)pt_chown): Remove command override.
20014 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20015 remove command overrides.
20017 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20019 * libio/tst_putwc.c: Fix error messages.
20022 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20023 currently writing and seek to current position when not.
20024 * libio/Makefile (tests): Add bug-fclose1.
20025 * libio/bug-fclose1.c: New file.
20027 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20030 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20031 don't set DF_1_NODELETE here.
20032 (do_lookup_x): When entering new entry test for copy relocation
20033 and if necessary set DF_1_NODELETE flag.
20034 * elf/tst-unique4.cc: New file.
20035 * elf/tst-unique4.h: New file.
20036 * elf/tst-unique4lib.cc: New file.
20037 * elf/Makefile: Add rules to build and run tst-unique4.
20038 Patch by Piotr Bury <pbury@goahead.com>.
20040 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20043 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20046 * misc/mntent_r.c (addmntent): Flush the stream after the output
20049 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20050 (is_trusted_path_normalize): Skip initial colon. Append slash
20051 to empty buffer. Duplicate is_trusted_path code but allow
20052 constructed patch to be prefix.
20053 (is_dst): Allow $ORIGIN followed by /.
20054 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20055 Correct testing of result of is_trusted_path_normalize
20056 (decompose_rpath): Fix warning.
20058 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20061 * grp/initgroups.c (internal_getgrouplist): When we found the service
20062 list through the initgroups entry in nsswitch.conf do not always
20063 continue on a successful lookup. Don't always use the
20064 __nss_group_database value if it is set.
20065 * nss/nsswitch.conf (initgroups): Change action for successful db
20066 lookup to continue for compatibility.
20068 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20071 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20073 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20075 * iconvdata/tst-tables.sh: Likewise.
20076 * iconvdata/cp770.c: New file.
20077 * iconvdata/cp771.c: New file.
20078 * iconvdata/cp772.c: New file.
20079 * iconvdata/cp773.c: New file.
20080 * iconvdata/cp774.c: New file.
20081 * iconvdata/testdata/CP770: New file.
20082 * iconvdata/testdata/CP770..UTF8: New file.
20083 * iconvdata/testdata/CP771: New file.
20084 * iconvdata/testdata/CP771..UTF8: New file.
20085 * iconvdata/testdata/CP772: New file.
20086 * iconvdata/testdata/CP772..UTF8: New file.
20087 * iconvdata/testdata/CP773: New file.
20088 * iconvdata/testdata/CP773..UTF8: New file.
20089 * iconvdata/testdata/CP774: New file.
20090 * iconvdata/testdata/CP774..UTF8: New file.
20092 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20094 * iconvdata/gen-8bit-gap.sh: Likewise.
20095 * iconvdata/gen-8bit.sh: Likewise.
20097 * locale/iso-639.def: Add ary entry.
20100 * locale/C-translit.h.in: Add U20A1 transliteration.
20103 * locale/iso-639.def: Add wae entry.
20104 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20107 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20111 * locale/C-translit.h.in: Add entry for U20B9.
20112 Patch by pravin.d.s@gmail.com.
20114 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20117 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20118 ENAMETOOLONG use generic getcwd.
20119 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20120 in rtld. Use *stat64.
20121 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20122 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20123 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20124 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20125 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20126 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20127 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20128 __fstatat64 macros.
20129 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20130 * dirent/rewinddir.c: Add libc_hidden_def.
20131 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20132 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20134 * include/dirent.h (__alloc_dir): Add flags parameter.
20135 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20136 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20138 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20139 from fdopendir if O_CLOEXEC is already set.
20141 2011-03-15 Alan Modra <amodra@gmail.com>
20143 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20144 l_tls_firstbyte_offset non-zero. Save padding offset in
20145 l_tls_firstbyte_offset for later use.
20146 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20147 freeing static tls block.
20149 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20151 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20152 where #ifdef was intended. The intent is to prevent ARG_MAX from
20153 being defined by the kernel headers.
20155 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20158 * resolv/resolv.h: Define RES_NOTLDQUERY.
20159 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20160 no-tld-query and set RES_NOTLDQUERY.
20161 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20162 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20163 modern BIND to search name as TLD unless forbidden.
20165 2011-05-07 Petr Baudis <pasky@suse.cz>
20166 Ulrich Drepper <drepper@gmail.com>
20169 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20170 (is_trusted_path): ...to here.
20171 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20172 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20173 using is_trusted_path_normalize() in setuid scripts.
20175 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20177 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20178 __BEGIN/__END_DECLS.
20180 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20183 NSS_STATUS_NOTFOUND if no record was found.
20185 2011-05-05 Andreas Schwab <schwab@redhat.com>
20187 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20188 (headers-not-in-tirpc): Remove rpc/netdb.h
20189 * resolv/netdb.h: Revert last change.
20191 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20193 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20194 circular dependency between libgcc.a and libc.a.
20196 2011-05-05 Andreas Schwab <schwab@redhat.com>
20198 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20199 * nis/Makefile: Don't install rpcsvc/*.
20200 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20201 instead of <rpc/types.h>.
20202 (MAXHOSTNAMELEN): Define.
20204 2011-05-03 Andreas Schwab <schwab@redhat.com>
20206 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20208 2011-04-28 Maciej Babinski <mbabinski@google.com>
20211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20212 gethostbyname4_r when IPv6 results are possible.
20214 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20217 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20218 _PC_PIPE_BUF handling.
20220 2011-04-30 Bruno Haible <bruno@clisp.org>
20223 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20224 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20226 * inet/getnameinfo.c (getnameinfo): Likewise.
20228 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20230 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20231 to groups setting in database lookup.
20232 * nss/nsswitch.conf: Add initgroups entry.
20234 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20237 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20239 Patch by Eric Blake <eblake@redhat.com>.
20241 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20243 * sunrpc/Makefile (need-export-routines): Add svc_run.
20244 (routines): Remove svc_run.
20245 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20246 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20247 * sunrpc/svc_run.c (svc_run): Likewise.
20248 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20250 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20253 problem in reallocation in last patch.
20255 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20257 * sunrpc/Makefile: Move inclusion of Rules.
20259 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20261 * nss/nss_files/files-initgroups.c: New file.
20262 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20263 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20264 _nss_files_initgroups_dyn.
20266 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20268 * elf/elf.h (R_ARM_IRELATIVE): Define.
20270 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20272 * po/ru.po: Update from translation team.
20274 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20276 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20279 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20282 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20283 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20284 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20288 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20290 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20292 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20293 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20294 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20296 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20299 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20301 * stdlib/bug-getcontext.c: New file.
20302 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20304 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20306 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20307 instructions into .machine "z9-109".
20308 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20309 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20311 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20313 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20314 between environment variables and auxiliary vector.
20316 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20318 * Makefile: Add rules to build linkobj/libc.so.
20319 * include/libc-symbols.h: Define libc_hidden_nolink.
20320 * include/rpc/auth.h: Mark functions which are to be hidden.
20321 * include/rpc/auth_des.h: Likewise.
20322 * include/rpc/auth_unix.h: Likewise.
20323 * include/rpc/clnt.h: Likewise.
20324 * include/rpc/des_crypt.h: Likewise.
20325 * include/rpc/key_prot.h: Likewise.
20326 * include/rpc/pmap_clnt.h: Likewise.
20327 * include/rpc/pmap_prot.h: Likewise.
20328 * include/rpc/pmap_rmt.h: Likewise.
20329 * include/rpc/rpc_msg.h: Likewise.
20330 * include/rpc/svc.h: Likewise.
20331 * include/rpc/svc_auth.h: Likewise.
20332 * include/rpc/xdr.h: Likewise.
20333 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20334 * nss/Makefile: Likewise.
20335 * sunrpc/Makefile: Don't install headers. Build library with normal
20336 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20337 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20338 for the compat linking library. Remove use of INTDEF/INTUSE.
20339 * sunrpc/auth_none.c: Likewise.
20340 * sunrpc/auth_unix.c: Likewise.
20341 * sunrpc/authdes_prot.c: Likewise.
20342 * sunrpc/authuxprot.c: Likewise.
20343 * sunrpc/clnt_gen.c: Likewise.
20344 * sunrpc/clnt_perr.c: Likewise.
20345 * sunrpc/clnt_raw.c: Likewise.
20346 * sunrpc/clnt_simp.c: Likewise.
20347 * sunrpc/clnt_tcp.c: Likewise.
20348 * sunrpc/clnt_udp.c: Likewise.
20349 * sunrpc/clnt_unix.c: Likewise.
20350 * sunrpc/des_crypt.c: Likewise.
20351 * sunrpc/des_soft.c: Likewise.
20352 * sunrpc/get_myaddr.c: Likewise.
20353 * sunrpc/key_call.c: Likewise.
20354 * sunrpc/key_prot.c: Likewise.
20355 * sunrpc/netname.c: Likewise.
20356 * sunrpc/pm_getmaps.c: Likewise.
20357 * sunrpc/pm_getport.c: Likewise.
20358 * sunrpc/pmap_clnt.c: Likewise.
20359 * sunrpc/pmap_prot.c: Likewise.
20360 * sunrpc/pmap_prot2.c: Likewise.
20361 * sunrpc/pmap_rmt.c: Likewise.
20362 * sunrpc/publickey.c: Likewise.
20363 * sunrpc/rpc_cmsg.c: Likewise.
20364 * sunrpc/rpc_common.c: Likewise.
20365 * sunrpc/rpc_dtable.c: Likewise.
20366 * sunrpc/rpc_prot.c: Likewise.
20367 * sunrpc/rpc_thread.c: Likewise.
20368 * sunrpc/rtime.c: Likewise.
20369 * sunrpc/svc.c: Likewise.
20370 * sunrpc/svc_auth.c: Likewise.
20371 * sunrpc/svc_authux.c: Likewise.
20372 * sunrpc/svc_raw.c: Likewise.
20373 * sunrpc/svc_run.c: Likewise.
20374 * sunrpc/svc_simple.c: Likewise.
20375 * sunrpc/svc_tcp.c: Likewise.
20376 * sunrpc/svc_udp.c: Likewise.
20377 * sunrpc/svc_unix.c: Likewise.
20378 * sunrpc/svcauth_des.c: Likewise.
20379 * sunrpc/xcrypt.c: Likewise.
20380 * sunrpc/xdr.c: Likewise.
20381 * sunrpc/xdr_array.c: Likewise.
20382 * sunrpc/xdr_float.c: Likewise.
20383 * sunrpc/xdr_intXX_t.c: Likewise.
20384 * sunrpc/xdr_mem.c: Likewise.
20385 * sunrpc/xdr_rec.c: Likewise.
20386 * sunrpc/xdr_ref.c: Likewise.
20387 * sunrpc/xdr_sizeof.c: Likewise.
20388 * sunrpc/xdr_stdio.c: Likewise.
20390 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20393 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20394 * sysdeps/ia64/dl-tls.h: Likewise.
20395 * sysdeps/powerpc/dl-tls.h: Likewise.
20396 * sysdeps/s390/dl-tls.h: Likewise.
20397 * sysdeps/sh/dl-tls.h: Likewise.
20398 * sysdeps/sparc/dl-tls.h: Likewise.
20399 * sysdeps/x86_64/dl-tls.h: Likewise.
20400 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20402 2011-03-14 Andreas Schwab <schwab@redhat.com>
20404 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20405 rpath element also skip the following colon.
20406 (expand_dynamic_string_token): Add is_path parameter and pass
20407 down to DL_DST_REQUIRED and _dl_dst_substitute.
20408 (decompose_rpath): Call expand_dynamic_string_token with
20409 non-zero is_path. Ignore empty rpaths.
20410 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20413 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20418 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20421 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20422 Patch by Filipe David Manana <fdmanana@apache.org>.
20424 2011-04-07 Andreas Schwab <schwab@redhat.com>
20426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20427 Maintain aligned stack.
20428 (CHECK_RSP): Remove unused macro.
20430 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20432 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20433 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20435 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20437 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20439 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20441 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20444 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20445 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20446 * sysdeps/x86_64/memmove.c: New file.
20447 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20448 (memcpy): Renamed to ...
20449 (__new_memcpy): This.
20450 (memcpy): Provide GLIBC_2_14 memcpy.
20451 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20452 (memcpy): Provide GLIBC_2_2_5 memcpy.
20454 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20457 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20459 2011-03-30 Andreas Schwab <schwab@redhat.com>
20461 * misc/syncfs.c: New file.
20462 * misc/Makefile (routines): Add syncfs.
20463 * posix/unistd.h: Declare syncfs.
20464 * sysdeps/unix/syscalls.list: Add syncfs.
20466 2011-04-01 Andreas Schwab <schwab@redhat.com>
20468 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20471 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20473 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20475 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20478 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20481 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20488 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20489 sync_file_range.c with -fexceptions.
20490 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20491 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20492 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20493 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20494 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20495 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20497 sync_file_range as cancellation point
20498 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20499 now a wrapper around __call_sync_file_range with cancellation handling.
20500 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20501 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20502 function name to __call_sync_file_range.
20503 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20504 Add call_sync_file_range.
20506 2011-04-01 Andreas Schwab <schwab@redhat.com>
20508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20511 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20513 * iconv/iconv.h: Fix typo in comment.
20514 * io/fcntl.h: Likewise.
20515 * libio/stdio.h: Likewise.
20516 * posix/spawn.h: Likewise.
20517 * posix/unistd.h: Likewise.
20518 * stdlib/stdlib.h: Likewise.
20519 * time/time.h: Likewise.
20520 * wcsmbs/wchar.h: Likewise.
20522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20523 open_by_handle): Add.
20524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20525 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20526 Augment a few comments.
20527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20529 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20532 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20535 * io/fcntl.h (AT_EMPTY_PATH): Define.
20537 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20539 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20540 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20541 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20543 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20544 * Versions.def: Add GLIBC_2.14.
20545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20548 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20550 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20552 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20554 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20557 * string/test-strncmp.c (do_page_test): New function.
20558 (check2): Likewise.
20559 (test_main): Call check2.
20560 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20562 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20565 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20566 Handle cache information in CPU leaf 4.
20567 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20569 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20572 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20573 character representation.
20574 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20576 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20578 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20579 END(__isnan) to END(__isnanf) to match function entry point/label
20580 EALIGN(__isnanf,...).
20582 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20584 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20586 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20589 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20590 copy from the symbol referenced in the relocation to initialize the
20592 Patch by Piotr Bury <pbury@goahead.com>.
20593 * elf/Makefile: Add rules to build and tst-unique3.
20594 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20595 * elf/tst-unique3.cc: New file.
20596 * elf/tst-unique3.h: New file.
20597 * elf/tst-unique3lib.cc: New file.
20598 * elf/tst-unique3lib2.cc: New file.
20600 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20602 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20604 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20605 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20608 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20610 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20611 to-be-loaded object along a path to loader is ld.so.
20613 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20614 Ulrich Drepper <drepper@gmail.com>
20616 * sysdeps/x86_64/memset.S: After aligning destination, code
20617 branches to different locations depending on the value of
20618 misalignment, when multiarch is enabled. Fix this.
20620 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20622 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20623 Set _x86_64_preferred_memory_instruction for AMD processsors.
20624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20625 Set bit_Prefer_SSE_for_memop for AMD processors.
20627 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20629 * libio/fmemopen.c (fmemopen): Optimize a bit.
20631 2011-03-03 Andreas Schwab <schwab@redhat.com>
20633 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20635 2011-03-03 Roland McGrath <roland@redhat.com>
20637 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20639 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20641 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20642 __bzero_ultra1 instead of __memset_ultra1.
20644 2011-02-23 Andreas Schwab <schwab@redhat.com>
20645 Ulrich Drepper <drepper@gmail.com>
20648 * include/link.h (struct link_map): Add l_orig_initfini.
20649 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20650 returning unsuccessfully.
20651 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20652 close of a file loaded at startup, restore the original l_initfini
20654 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20655 list, store the pointer.
20656 * elf/Makefile ($(objpfx)noload-mem): New rule.
20657 (noload-ENV): Define.
20658 (tests): Add $(objpfx)noload-mem.
20659 * elf/noload.c: Include <memcheck.h>.
20660 (main): Call mtrace. Close all opened handles.
20662 2011-02-17 Andreas Schwab <schwab@redhat.com>
20665 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20666 dependencies are missing.
20668 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20670 Fix __if_freereq crash: Unlike the generic version which uses free,
20672 * sysdeps/mach/hurd/ifreq.h: New file.
20674 2011-01-27 Petr Baudis <pasky@suse.cz>
20675 Ulrich Drepper <drepper@gmail.com>
20678 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20679 to extend_alloca().
20680 * stdio-common/bug23.c: New file.
20681 * stdio-common/Makefile (tests): Add bug23.
20683 2010-09-28 Andreas Schwab <schwab@redhat.com>
20684 Ulrich Drepper <drepper@gmail.com>
20687 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20688 before performing relro protection. At old place add assertion
20689 to make sure nothing changed.
20691 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20692 Glauber de Oliveira Costa <glommer@gmail.com>
20694 * elf/elf.h: Add new ARM TLS relocs.
20696 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20699 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20701 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20703 * sysdeps/wordsize-64/tst-writev.c: New file.
20705 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20707 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20708 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20709 insns in _dl_start to prevent a TOC reference before relocs are
20712 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20715 * Makeconfig: Remove RANLIB definition.
20716 * Makerules: Don't use RANLIB.
20717 * aclocal.m4: Remove ranlib test.
20718 * configure.in: No need to check for ranlib.
20719 * elf/rtld-Rules: Don't use RANLIB.
20721 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20723 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20725 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20726 inclusion protection macro.
20728 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20729 SIGRTMIN and SIGRTMAX and print information in that case only when
20730 SIGRTMIN is defined.
20732 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20734 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20735 arginfo fn returning -1.
20737 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20738 and thousands string is zero terminated.
20740 2011-02-03 Andreas Schwab <schwab@redhat.com>
20742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20743 sysdeps/unix/sysv/linux/bits/socket.h.
20745 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20747 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20748 (__CPU_COUNT): Remove old macros.
20749 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20750 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20751 (__CPU_ALLOC, __CPU_FREE): Add macros.
20752 (__sched_cpualloc, __sched_cpufree): Add declarations.
20754 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20756 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20757 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20758 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20759 (readdhstai): Return value of addhstaiX call.
20760 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20761 (addgrbyX): Return value returned by cache_addgr.
20762 (readdgrbyname): Return value returned by addgrbyX.
20763 (readdgrbygid): Likewise.
20764 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20765 (addpwbyX): Return value returned by cache_addpw.
20766 (readdpwbyname): Return value returned by addhstbyX.
20767 (readdpwbyuid): Likewise.
20768 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20769 (addservbyX): Return value returned by cache_addserv.
20770 (readdservbyname): Return value returned by addservbyX:
20771 (readdservbyport): Likewise.
20772 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20773 (addhstbyX): Return value returned by cache_addhst.
20774 (readdhstbyname): Return value returned by addhstbyX.
20775 (readdhstbyaddr): Likewise.
20776 (readdhstbynamev6): Likewise.
20777 (readdhstbyaddrv6): Likewise.
20778 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20779 (readdinitgroups): Return value returned by addinitgroupsX.
20780 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20781 (prune_cache): Keep track of timeout value of re-added entries.
20782 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20783 * nscd/nscd.h: Adjust prototypes of readd* functions.
20785 2011-02-04 Roland McGrath <roland@redhat.com>
20787 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20788 (nis_stats): Likewise.
20789 * nis/nis_modify.c (nis_modify): Likewise.
20790 * nis/nis_remove.c (nis_remove): Likewise.
20791 * nis/nis_add.c (nis_add): Likewise.
20793 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20795 * posix/fnmatch_loop.c: Add some consts.
20797 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20799 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20802 * config.make.in (config-cflags-novzeroupper): Define.
20803 * configure.in: Substitute libc_cv_cc_novzeroupper.
20804 * elf/Makefile (AVX-CFLAGS): Define.
20805 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20806 (CFLAGS-tst-auditmod4a.c): Likewise.
20807 (CFLAGS-tst-auditmod4b.c): Likewise.
20808 (CFLAGS-tst-auditmod6b.c): Likewise.
20809 (CFLAGS-tst-auditmod6c.c): Likewise.
20810 (CFLAGS-tst-auditmod7b.c): Likewise.
20811 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20813 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20815 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20816 function to the callback.
20817 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20819 2011-02-02 Andreas Schwab <schwab@redhat.com>
20821 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20824 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20827 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20829 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20831 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20834 * elf/Makefile: Add rules to build and run new test.
20835 * elf/tst-initorder.c: New file.
20836 * elf/tst-initorder.exp: New file.
20837 * elf/tst-initordera1.c: New file.
20838 * elf/tst-initordera2.c: New file.
20839 * elf/tst-initordera3.c: New file.
20840 * elf/tst-initordera4.c: New file.
20841 * elf/tst-initorderb1.c: New file.
20842 * elf/tst-initorderb2.c: New file.
20843 * elf/tst-order-a1.c: New file.
20844 * elf/tst-order-a2.c: New file.
20845 * elf/tst-order-a3.c: New file.
20846 * elf/tst-order-a4.c: New file.
20847 * elf/tst-order-b1.c: New file.
20848 * elf/tst-order-b2.c: New file.
20849 * elf/tst-order-main.c: New file.
20850 New test case by George Gensure <werkt0@gmail.com>.
20852 2010-10-01 Andreas Schwab <schwab@redhat.com>
20854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20855 decoding ACE if AI_CANONIDN.
20857 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20859 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20861 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20863 * version.h (RELEASE): Bump for 2.13 release.
20864 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20866 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20868 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20870 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20872 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20875 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20877 * posix/getconf.c: Update copyright year.
20878 * catgets/gencat.c: Likewise.
20879 * csu/version.c: Likewise.
20880 * debug/catchsegv.sh: Likewise.
20881 * debug/xtrace.sh: Likewise.
20882 * elf/ldconfig.c: Likewise.
20883 * elf/ldd.bash.in: Likewise.
20884 * elf/sprof.c (print_version): Likewise.
20885 * iconv/iconv_prog.c: Likewise.
20886 * iconv/iconvconfig.c: Likewise.
20887 * locale/programs/locale.c: Likewise.
20888 * locale/programs/localedef.c: Likewise.
20889 * malloc/memusage.sh: Likewise.
20890 * malloc/mtrace.pl: Likewise.
20891 * nscd/nscd.c (print_version): Likewise.
20892 * nss/getent.c: Likewise.
20894 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20895 PF_CAIF, and PF_ALG.
20896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20898 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20900 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20901 (modules-names): Use them.
20902 (ifunc-test-modules, ifunc-pie-tests): Define.
20903 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20904 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20905 (test-extras): Likewise.
20906 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20907 $(compile-command.c).
20908 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20909 (all-built-dso): Define.
20910 (check-textrel.out, check-execstack.out): Depend on it.
20912 * configure.in: Don't override --enable-multi-arch.
20914 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20917 * nscd/hstcache.c (tryagain): Define.
20918 (cache_addhst): Return tryagain not notfound for temporary errors.
20919 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20922 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20925 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20926 to make the syscall.
20927 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20930 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20931 and fall back to matching as normal character if the string ends before
20932 the matching ']' is found. This is what POSIX requires.
20933 * posix/testfnm.c: Adjust test result.
20934 * posix/globtest.sh: Adjust test result. Add new test.
20935 * posix/tst-fnmatch.input: Likewise.
20936 * posix/tst-fnmatch2.c: Add new test.
20938 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20940 * elf/Makefile (check-execstack): Revert last change. Depend on
20942 (check-execstack.h): New target.
20943 (generated): Add check-execstack.h.
20944 * elf/check-execstack.c: Include "check-execstack.h".
20945 (main): Revert last change.
20946 (handle_file): Return zero if GNU_STACK is absent and
20947 DEFAULT_STACK_PERMS doesn't include PF_X.
20949 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20951 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20952 in child fails because the descriptor is already closed.
20953 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20954 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20955 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20958 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20962 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20963 temporary buffer used to handle multi lookups locally.
20964 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20966 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20968 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20971 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20973 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20974 alignment for SSE2.
20976 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20979 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20980 characters. When rounding increased number of integer digits recompute
20982 * stdio-common/tst-grouping.c: New file.
20983 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20985 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20987 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20988 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20990 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20992 * bits/select.h: Likewise.
20994 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20996 * po/ja.po: Update from translation team.
20998 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21001 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21002 implementation just like for lxstat, fxstatat, et al.
21004 2010-12-27 Jim Meyering <meyering@redhat.com>
21007 * posix/regexec.c (build_trtable): Return failure indication upon
21008 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21010 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21013 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21014 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21015 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21016 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21019 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21022 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21023 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21025 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21027 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21028 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21029 script has SORT_BY_INIT_PRIORITY.
21030 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21031 NO_CTORS_DTORS_SECTIONS is defined.
21032 * elf/soinit.c: Likewise.
21033 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21034 NO_CTORS_DTORS_SECTIONS is defined.
21035 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21036 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21037 * sysdeps/sh/init-first.c: Likewise.
21038 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21040 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21042 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21043 always use the slow path.
21045 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21047 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21048 similar rule which adds the sysdep directories to the header search in
21049 order to pick up the correct platform stackinfo.h.
21050 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21051 perform test if it is, otherwise return successfully without testing.
21052 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21053 DEFAULT_STACK_PERMS define in stackinfo.h.
21054 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21055 defined in stackinfo.h.
21056 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21057 DEFAULT_STACK_PERMS defined in stackinfo.h.
21058 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21059 * sysdeps/ia64/stackinfo.h: Likewise.
21060 * sysdeps/s390/stackinfo.h: Likewise.
21061 * sysdeps/sh/stackinfo.h: Likewise.
21062 * sysdeps/sparc/stackinfo.h: Likewise.
21063 * sysdeps/x86_64/stackinfo.h: Likewise.
21064 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21065 PF_X for powerpc64. Retain PF_X for powerpc32.
21067 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21069 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21071 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21072 GETDENTS_64BIT_ALIGNED.
21074 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21076 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21078 2010-12-10 Andreas Schwab <schwab@redhat.com>
21080 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21083 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21084 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21086 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21087 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21089 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21092 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21095 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21097 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21099 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21101 * po/it.po: Update from translation team.
21103 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21108 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21110 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21112 2010-11-24 Andreas Schwab <schwab@redhat.com>
21114 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21116 (gaih_getanswer_slice): Likewise.
21118 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21122 2010-05-31 Petr Baudis <pasky@suse.cz>
21125 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21126 silently even in the chroot mode.
21128 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21130 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21131 last patch a bit. Pretty printing
21133 2010-05-31 Petr Baudis <pasky@suse.cz>
21136 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21137 initialization of skip_initgroups_dyn.
21139 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21141 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21144 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21146 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21148 2010-11-11 Andreas Schwab <schwab@redhat.com>
21150 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21151 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21152 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21153 ($(objpfx)tst-fnmatch-mem): New rule.
21154 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21155 * posix/tst-fnmatch.c (main): Call mtrace.
21157 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21160 Support Intel processor model 6 and model 0x2c.
21162 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21164 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21167 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21170 * string/test-strncasecmp.c (check_result): New function.
21171 (do_one_test): Use it.
21172 (check1): New function.
21173 (test_main): Use it.
21174 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21175 Support strcasecmp and strncasecmp.
21177 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21180 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21183 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21185 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21189 * sysdeps/x86_64/multiarch/bzero.S: New file.
21190 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21191 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21192 * sysdeps/x86_64/multiarch/memset.S: New file.
21193 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21195 Set bit_Prefer_SSE_for_memop for Intel processors.
21196 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21198 (index_Prefer_SSE_for_memop): Define.
21199 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21201 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21203 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21204 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21206 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21209 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21210 (__x86_64_raw_data_cache_size_half): Likewise.
21211 (__x86_64_raw_shared_cache_size): Likewise.
21212 (__x86_64_raw_shared_cache_size_half): Likewise.
21214 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21215 (__x86_64_raw_data_cache_size_half): Likewise.
21216 (__x86_64_raw_shared_cache_size): Likewise.
21217 (__x86_64_raw_shared_cache_size_half): Likewise.
21218 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21219 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21220 and __x86_64_raw_shared_cache_size_half. Round
21221 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21222 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21223 to multiple of 256 bytes.
21225 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21228 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21229 of inacessible symlinks. Verify result of symlink before returning it.
21230 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21231 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21233 2010-10-28 Erich Ritz <erichritz@gmail.com>
21235 * math/math.h (isinf): Fix typo in comment.
21237 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21239 * po/da.po: Update from translation team.
21241 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21243 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21244 is added to the list.
21246 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21247 Ulrich Drepper <drepper@gmail.com>
21249 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21250 the global list here. Move code to...
21251 (_dl_add_to_namespace_list): ...here. New function.
21252 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21253 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21254 * elf/dl-load.c (lose): Don't remove the element from the list.
21255 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21256 (_dl_map_object): Likewise.
21258 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21261 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21262 into all bytes of SSE register.
21263 Patch by Richard Li <richardpku@gmail.com>.
21265 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21268 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21271 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21273 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21274 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21275 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21276 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21281 2010-10-22 Andreas Schwab <schwab@redhat.com>
21283 * include/dlfcn.h (__RTLD_SECURE): Define.
21284 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21285 mode & __RTLD_SECURE instead.
21286 (open_path): Rename preloaded parameter to secure.
21287 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21288 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21289 * elf/dl-deps.c (openaux): Likewise.
21290 * elf/rtld.c (struct map_args): Remove is_preloaded.
21291 (map_doit): Don't use it.
21292 (dl_main): Likewise.
21293 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21294 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21296 2010-09-09 Andreas Schwab <schwab@redhat.com>
21298 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21299 (sysd-rules-targets): Remove duplicates.
21300 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21301 rtld-%.$o dependency.
21303 2010-10-18 Andreas Schwab <schwab@redhat.com>
21305 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21306 _dl_map_object do it.
21308 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21310 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21311 fast fma builtins, define the macros in the C99 standard.
21312 (FP_FAST_FMAF): Likewise.
21313 (FP_FAST_FMAL): Likewise.
21314 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21316 * bits/mathdef.h: Update copyright year.
21317 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21319 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21321 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21322 builtins, define the macros in the C99 standard.
21323 (FP_FAST_FMAF): Likewise.
21324 (FP_FAST_FMAL): Likewise.
21325 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21327 (FP_FAST_FMAF): Likewise.
21329 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21332 * math/libm-test.inc (fma_test): Some new testcases.
21333 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21334 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21335 y and infinite z. Do multiplication by C already in long double.
21336 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21338 y and infinite z. Do bitwise or of inexact bit into u.d.
21339 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21340 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21341 * sysdeps/i386/fpu/s_fma.S: Removed.
21342 * sysdeps/i386/fpu/s_fmal.S: Removed.
21344 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21347 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21349 computation is not scheduled after fetestexcept. Fix value
21350 of minimum denormal long double.
21352 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21355 * math/libm-test.inc (fma_test): Add some more tests.
21356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21359 2010-10-15 Andreas Schwab <schwab@redhat.com>
21361 * scripts/data/localplt-s390-linux-gnu.data: New file.
21362 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21364 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21367 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21368 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21370 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21372 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21374 if one of x and y is very large and the other is subnormal.
21375 * sysdeps/s390/fpu/s_fmaf.c: New file.
21376 * sysdeps/s390/fpu/s_fma.c: New file.
21377 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21378 * sysdeps/powerpc/fpu/s_fma.S: New file.
21379 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21380 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21381 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21383 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21386 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21388 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21389 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21390 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21391 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21392 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21393 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21396 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21399 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21400 * posix/bug-regex31.input: Add test case.
21402 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21404 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21405 * posix/bug-regex31.input: New file.
21408 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21409 (parse_sub_exp): Fix last change, use postorder.
21411 * posix/bug-regex31.c: New file.
21412 * posix/Makefile: Add rules to build and run bug-regex31.
21414 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21417 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21420 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21421 to have entries in sys_siglist.
21424 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21427 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21430 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21431 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21432 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21433 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21434 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21435 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21436 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21437 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21438 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21439 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21440 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21441 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21442 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21443 * math/ftestexcept.c (fetestexcept): Likewise.
21444 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21445 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21446 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21447 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21448 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21449 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21450 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21452 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21455 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21458 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21460 * string/bug-strstr1.c: New file.
21461 * string/Makefile: Add rules to build and run bug-strstr1.
21463 2010-10-05 Eric Blake <eblake@redhat.com>
21466 * string/str-two-way.h (two_way_long_needle): Always clear memory
21467 when skipping input due to the shift table.
21469 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21472 * malloc/mcheck.c: Handle large requests.
21475 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21476 for strncmp and strncasecmp.
21477 * string/stratcliff.c: Add tests for strcmp and strncmp.
21478 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21480 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21482 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21485 2010-09-30 Andreas Jaeger <aj@suse.de>
21487 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21488 (CGROUP_SUPER_MAGIC): Define.
21489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21490 Handle btrfs and cgroup file systems.
21491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21494 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21496 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21497 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21499 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21502 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21503 trying to locate the ELF header.
21505 2010-09-27 Andreas Schwab <schwab@redhat.com>
21508 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21509 Mask out sign-bit copies when constructing f_fsid.
21511 2010-09-24 Petr Baudis <pasky@suse.cz>
21513 * debug/stack_chk_fail_local.c: Add missing licence exception.
21514 * debug/warning-nop.c: Likewise.
21516 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21519 implementing getdents64 using getdents syscall, set d_type if
21520 __ASSUME_GETDENTS32_D_TYPE.
21522 2010-09-16 Andreas Schwab <schwab@redhat.com>
21524 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21525 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21527 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21530 * posix/unistd.h: Undo change of feature selection for ftruncate from
21533 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21535 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21538 2010-09-20 Andreas Schwab <schwab@redhat.com>
21540 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21542 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21544 2010-09-14 Andreas Schwab <schwab@redhat.com>
21546 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21547 variables after CHECK_SP call.
21548 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21550 2010-09-13 Andreas Schwab <schwab@redhat.com>
21551 Ulrich Drepper <drepper@redhat.com>
21553 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21554 re-relocationg ld.so.
21555 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21556 _dl_init_paths call.
21557 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21560 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21562 * resolv/res_init.c (__res_vinit): Count the default server we added.
21564 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21565 Ulrich Drepper <drepper@redhat.com>
21568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21569 (____longjmp_chk): Use %ebx for saving value across system call.
21572 2010-09-06 Andreas Schwab <schwab@redhat.com>
21574 * manual/Makefile: Don't mix pattern rules with normal rules.
21576 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21578 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21580 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21581 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21582 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21583 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21587 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21590 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21591 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21593 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21595 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21596 * sysdeps/x86_64/addmul_1.S: Likewise.
21597 * sysdeps/x86_64/lshift.S: Likewise.
21598 * sysdeps/x86_64/mul_1.S: Likewise.
21599 * sysdeps/x86_64/rshift.S: Likewise.
21600 * sysdeps/x86_64/sub_n.S: Likewise.
21601 * sysdeps/x86_64/submul_1.S: Likewise.
21603 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21605 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21606 Define __sched_param instead of SCHED_* and sched_param when
21607 <bits/sched.h> is included with __need_schedparam defined.
21608 * bits/sched.h [__need_schedparam]
21609 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21610 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21611 (__defined_schedparam): Define to 1.
21612 (__sched_param): New structure, identical to sched_param.
21613 (__need_schedparam): Undefine.
21615 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21618 (epoll_create1): Declare.
21620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21622 2010-08-31 Andreas Schwab <schwab@redhat.com>
21625 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21626 shifting retval into place.
21628 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21630 * nis/rpcsvc/nis.h: Update copyright notice.
21631 * nis/rpcsvc/nis.x: Likewise.
21632 * nis/rpcsvc/nis_callback.h: Likewise.
21633 * nis/rpcsvc/nis_callback.x: Likewise.
21634 * nis/rpcsvc/nis_object.x: Likewise.
21635 * nis/rpcsvc/nis_tags.h: Likewise.
21636 * nis/rpcsvc/yp.h: Likewise.
21637 * nis/rpcsvc/yp.x: Likewise.
21638 * nis/rpcsvc/ypupd.h: Likewise.
21639 * nis/yp_xdr.c: Likewise.
21640 * nis/ypupdate_xdr.c: Likewise.
21642 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21643 mainly the body of pmap_getport. Add parameters to specify timeouts.
21644 (pmap_getport): Use __libc_rpc_getport.
21645 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21646 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21647 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21649 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21654 2010-08-27 Roland McGrath <roland@redhat.com>
21656 * sysdeps/i386/i686/multiarch/Makefile
21657 (CFLAGS-varshift.c): New variable.
21659 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21661 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21662 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21666 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21668 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21670 * sysdeps/x86_64/strlen.S: Unroll the loop.
21671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21672 strlen-sse2 strlen-sse2-bsf.
21673 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21674 __strlen_no_bsf if bit_Slow_BSF is set.
21675 (__strlen_sse42): Removed.
21676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21677 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21679 2010-08-25 Roland McGrath <roland@redhat.com>
21681 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21682 * sysdeps/x86_64/multiarch/varshift.c: New file.
21683 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21684 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21685 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21686 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21688 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21691 strlen-sse2 strlen-sse2-bsf.
21692 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21693 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21694 (__strlen_sse2): Removed.
21695 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21696 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21698 bit_Slow_BSF for Atom.
21699 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21700 (index_Slow_BSF): Define.
21701 (HAS_SLOW_BSF): Define.
21703 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21706 * resolv/res_init.c (__res_vinit): When no server address at all
21707 is given default to loopback.
21709 2010-08-24 Roland McGrath <roland@redhat.com>
21711 * configure.in: Remove config-name.h generation.
21712 * configure: Regenerated.
21713 * config-name.in: File removed.
21714 * scripts/config-uname.sh: New file.
21715 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21716 ($(objdir)config-name.h): New target.
21718 * sunrpc/rpc_parse.h: Avoid nested comment.
21720 2010-08-24 Richard Henderson <rth@redhat.com>
21721 Ulrich Drepper <drepper@redhat.com>
21722 H.J. Lu <hongjiu.lu@intel.com>
21724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21726 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21727 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21728 _mm_alignr_epi8 with _mm_loadu_si128.
21729 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21730 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21731 (__m128i_shift_right): Removed.
21732 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21733 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21734 * sysdeps/x86_64/multiarch/varshift.h: New file.
21735 * sysdeps/x86_64/multiarch/varshift.S: New file.
21737 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21739 * configure.in: Move assembler checks to before sysdep dir checking.
21741 2010-08-20 Petr Baudis <pasky@suse.cz>
21743 * LICENSES: Sync the sunrpc license.
21745 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21747 * sunrpc/auth_des.c: Update copyright notice once again.
21748 * sunrpc/auth_none.c: Likewise.
21749 * sunrpc/auth_unix.c: Likewise.
21750 * sunrpc/authdes_prot.c: Likewise.
21751 * sunrpc/authuxprot.c: Likewise.
21752 * sunrpc/bindrsvprt.c: Likewise.
21753 * sunrpc/clnt_gen.c: Likewise.
21754 * sunrpc/clnt_perr.c: Likewise.
21755 * sunrpc/clnt_raw.c: Likewise.
21756 * sunrpc/clnt_simp.c: Likewise.
21757 * sunrpc/clnt_tcp.c: Likewise.
21758 * sunrpc/clnt_udp.c: Likewise.
21759 * sunrpc/clnt_unix.c: Likewise.
21760 * sunrpc/des_crypt.c: Likewise.
21761 * sunrpc/des_soft.c: Likewise.
21762 * sunrpc/get_myaddr.c: Likewise.
21763 * sunrpc/getrpcport.c: Likewise.
21764 * sunrpc/key_call.c: Likewise.
21765 * sunrpc/key_prot.c: Likewise.
21766 * sunrpc/openchild.c: Likewise.
21767 * sunrpc/pm_getmaps.c: Likewise.
21768 * sunrpc/pm_getport.c: Likewise.
21769 * sunrpc/pmap_clnt.c: Likewise.
21770 * sunrpc/pmap_prot.c: Likewise.
21771 * sunrpc/pmap_prot2.c: Likewise.
21772 * sunrpc/pmap_rmt.c: Likewise.
21773 * sunrpc/rpc/auth.h: Likewise.
21774 * sunrpc/rpc/auth_unix.h: Likewise.
21775 * sunrpc/rpc/clnt.h: Likewise.
21776 * sunrpc/rpc/des_crypt.h: Likewise.
21777 * sunrpc/rpc/key_prot.h: Likewise.
21778 * sunrpc/rpc/netdb.h: Likewise.
21779 * sunrpc/rpc/pmap_clnt.h: Likewise.
21780 * sunrpc/rpc/pmap_prot.h: Likewise.
21781 * sunrpc/rpc/pmap_rmt.h: Likewise.
21782 * sunrpc/rpc/rpc.h: Likewise.
21783 * sunrpc/rpc/rpc_des.h: Likewise.
21784 * sunrpc/rpc/rpc_msg.h: Likewise.
21785 * sunrpc/rpc/svc.h: Likewise.
21786 * sunrpc/rpc/svc_auth.h: Likewise.
21787 * sunrpc/rpc/types.h: Likewise.
21788 * sunrpc/rpc/xdr.h: Likewise.
21789 * sunrpc/rpc_clntout.c: Likewise.
21790 * sunrpc/rpc_cmsg.c: Likewise.
21791 * sunrpc/rpc_common.c: Likewise.
21792 * sunrpc/rpc_cout.c: Likewise.
21793 * sunrpc/rpc_dtable.c: Likewise.
21794 * sunrpc/rpc_hout.c: Likewise.
21795 * sunrpc/rpc_main.c: Likewise.
21796 * sunrpc/rpc_parse.c: Likewise.
21797 * sunrpc/rpc_parse.h: Likewise.
21798 * sunrpc/rpc_prot.c: Likewise.
21799 * sunrpc/rpc_sample.c: Likewise.
21800 * sunrpc/rpc_scan.c: Likewise.
21801 * sunrpc/rpc_scan.h: Likewise.
21802 * sunrpc/rpc_svcout.c: Likewise.
21803 * sunrpc/rpc_tblout.c: Likewise.
21804 * sunrpc/rpc_util.c: Likewise.
21805 * sunrpc/rpc_util.h: Likewise.
21806 * sunrpc/rpcinfo.c: Likewise.
21807 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21808 * sunrpc/rpcsvc/key_prot.x: Likewise.
21809 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21810 * sunrpc/rpcsvc/mount.x: Likewise.
21811 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21812 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21813 * sunrpc/rpcsvc/rex.x: Likewise.
21814 * sunrpc/rpcsvc/rstat.x: Likewise.
21815 * sunrpc/rpcsvc/rusers.x: Likewise.
21816 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21817 * sunrpc/rpcsvc/spray.x: Likewise.
21818 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21819 * sunrpc/rtime.c: Likewise.
21820 * sunrpc/svc.c: Likewise.
21821 * sunrpc/svc_auth.c: Likewise.
21822 * sunrpc/svc_authux.c: Likewise.
21823 * sunrpc/svc_raw.c: Likewise.
21824 * sunrpc/svc_run.c: Likewise.
21825 * sunrpc/svc_simple.c: Likewise.
21826 * sunrpc/svc_tcp.c: Likewise.
21827 * sunrpc/svc_udp.c: Likewise.
21828 * sunrpc/svc_unix.c: Likewise.
21829 * sunrpc/svcauth_des.c: Likewise.
21830 * sunrpc/xcrypt.c: Likewise.
21831 * sunrpc/xdr.c: Likewise.
21832 * sunrpc/xdr_array.c: Likewise.
21833 * sunrpc/xdr_float.c: Likewise.
21834 * sunrpc/xdr_mem.c: Likewise.
21835 * sunrpc/xdr_rec.c: Likewise.
21836 * sunrpc/xdr_ref.c: Likewise.
21837 * sunrpc/xdr_sizeof.c: Likewise.
21838 * sunrpc/xdr_stdio.c: Likewise.
21840 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21843 2010-08-19 Andreas Schwab <schwab@redhat.com>
21845 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21847 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21849 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21850 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21851 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21852 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21853 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21854 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21855 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21856 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21857 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21858 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21859 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21860 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21861 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21862 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21864 2010-07-26 Anton Blanchard <anton@samba.org>
21866 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21867 * malloc/arena.c (heap_trim): Likewise.
21869 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21871 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21874 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21876 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21878 * sysdeps/i386/elf/Makefile: New file.
21880 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21882 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21883 from fanotify_init.
21884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21887 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21889 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21891 * sysdeps/multiarch/strcmp.S: Likewise.
21893 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21895 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21896 strncase_l-nonascii.
21897 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21898 Add strncase_l-ssse3.
21899 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21900 * sysdeps/x86_64/strcmp.S: Likewise.
21901 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21902 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21903 * sysdeps/x86_64/strncase.S: New file.
21904 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21905 * sysdeps/x86_64/strncase_l.S: New file.
21906 * string/Makefile (strop-tests): Add strncasecmp.
21907 * string/test-strncasecmp.c: New file.
21909 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21912 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21915 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21917 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21919 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21921 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21923 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21925 2010-05-01 Alan Modra <amodra@gmail.com>
21927 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21928 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21929 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21930 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21931 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21932 tidying. Don't tail-call __sigjmp_save for static lib.
21933 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21935 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21936 (CALL_MCOUNT): Add eh info, and nop after bl.
21937 (TAIL_CALL_SYSCALL_ERROR): New macro.
21938 (PSEUDO_RET): Use it.
21939 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21940 Correct save location of integer regs and cr.
21941 (_dl_profile_resolve): Correct cr save location. Delete nops
21942 after bl when SHARED. Reduce cfi size a little by better
21943 placement of cfi directives.
21944 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21945 make a stack frame. Instead use parm save area as a temp.
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21947 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21949 Don't make a stack frame for parent, use parm save area.
21950 Increase child stack frame to 112 bytes. Don't save unused reg,
21951 and adjust reg usage. Set up cfi on error recovery and
21952 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21954 (__makecontext): Add dummy nop after jump to exit.
21955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21956 Use correct parm save area and cr save, reduce stack frame.
21957 Correct cfi for possible PSEUDO_RET frame setup.
21958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21959 Branch to local label emitted by PSEUDO_RET rather than
21962 2010-08-12 Andreas Schwab <schwab@redhat.com>
21965 * locale/programs/locale.c (print_assignment): New function.
21966 (show_locale_vars): Use it.
21968 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21970 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21972 (struct statfs64): Likewise.
21973 (_STATFS_F_FLAGS): Define.
21974 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21976 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21977 (ST_VALID): Define locally.
21978 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21979 __statvfs_getflags, use the provided value.
21980 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21981 __ASSUME_STATFS_F_FLAGS.
21983 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21985 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21986 Add sys/fanotify.h.
21987 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21988 fanotify_mask for GLIBC_2.13.
21989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21990 fanotify_init and fanotify_mark.
21991 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21992 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21994 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21996 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21997 prlimit64 for GLIBC_2.13.
21998 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22000 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22003 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22004 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22005 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22006 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22008 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22011 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22012 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22014 * nss/Makefile: Add rules to build and run tst-nss-test1.
22015 * shlib-versions: Add entry for libnss_test1.
22016 * nss/nss_test1.c: New file.
22017 * nss/tst-nss-test1.c: New file.
22019 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22020 (__nss_configure_lookup): Set appropriate entry in
22021 __nss_configure_lookup to true.
22022 * nss/nsswitch.h: Define enum with indeces of databases in
22023 databases and __nss_database_custom arrays. Declare
22024 __nss_database_custom.
22025 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22026 to avoid using nscd when custom rules are installed.
22027 * nss/getXXbyYY_r.c: Likewise.
22028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22030 * nss/nss_files/files-parse.c: Whitespace fixes.
22032 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22035 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22036 * posix/fnmatch_loop.c: Likewise.
22038 2010-07-17 Andi Kleen <ak@linux.intel.com>
22040 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22041 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22042 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22043 * Versions.def [GLIBC_2.13]: Add.
22045 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22048 Also fail if tpwd after pwuid call is NULL.
22050 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22052 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22053 when converting to ms.
22055 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22057 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22058 EOPNOTSUPP errors with ENOTTY.
22059 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22060 EOPNOTSUPP errors with ENOTTY.
22062 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22064 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22065 Add strcasecmp_l-ssse3.
22066 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22068 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22069 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22070 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22072 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22074 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22076 * string/Makefile (strop-tests): Add strcasecmp.
22077 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22078 strcasecmp_l-nonascii.
22079 (gen-as-const-headers): Add locale-defines.sym.
22080 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22081 * sysdeps/x86_64/strcasecmp.S: New file.
22082 * sysdeps/x86_64/strcasecmp_l.S: New file.
22083 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22084 * sysdeps/x86_64/locale-defines.sym: New file.
22085 * string/test-strcasecmp.c: New file.
22087 * string/test-strcasestr.c: Test both ends of the range of characters.
22088 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22090 2010-07-29 Roland McGrath <roland@redhat.com>
22093 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22095 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22097 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22100 2010-07-27 Andreas Schwab <schwab@redhat.com>
22102 * manual/memory.texi (Malloc Tunable Parameters): Document
22105 2010-07-26 Roland McGrath <roland@redhat.com>
22108 * configure.in (-fgnu89-inline check): Set and substitute
22109 gnu89_inline, not libc_cv_gnu89_inline.
22110 * configure: Regenerated.
22111 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22113 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22115 * string/test-strnlen.c: New file.
22116 * string/Makefile (strop-tests): Add strnlen.
22117 * string/tester.c (test_strnlen): Add a few more test cases.
22118 * string/tst-strlen.c: Better error reporting.
22120 * sysdeps/x86_64/strnlen.S: New file.
22122 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22124 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22125 lower-latency instructions.
22127 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22129 * string/test-strcasestr.c: New file.
22130 * string/test-strstr.c: New file.
22131 * string/Makefile (strop-tests): Add strstr and strcasestr.
22132 * string/str-two-way.h: Don't undefine MAX.
22133 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22135 2010-07-21 Andreas Schwab <schwab@redhat.com>
22137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22138 strcasestr-nonascii.
22139 (CFLAGS-strcasestr-nonascii.c): Define.
22140 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22141 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22142 Remove unused attribute.
22144 2010-07-20 Roland McGrath <roland@redhat.com>
22146 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22147 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22148 ld.so.cache was broken. With it, there is no way to disable dsocaps
22149 like LD_HWCAP_MASK can disable hwcaps.
22151 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22153 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22155 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22157 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22158 call in strcasestr.
22159 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22160 __strcasestr_sse42_nonascii.
22161 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22162 strcasestr-nonascii.c.
22163 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22165 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22168 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22169 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22170 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22172 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22177 2010-07-06 Andreas Schwab <schwab@redhat.com>
22180 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22183 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22185 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22186 _PC_PIPE_BUF using F_GETPIPE_SZ.
22188 2010-07-05 Roland McGrath <roland@redhat.com>
22190 * manual/arith.texi (Rounding Functions): Fix rint description
22191 implicit in round description.
22193 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22195 * elf/Makefile: Fix linking for a few tests to make recent linker
22198 2010-06-30 Andreas Schwab <schwab@redhat.com>
22200 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22201 $(common-objpfx)libc_nonshared.a.
22203 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22205 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22206 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22207 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22208 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22209 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22210 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22211 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22212 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22227 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22228 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22229 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22230 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22231 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22232 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22233 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22234 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22235 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22236 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22237 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22238 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22254 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22256 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22257 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22258 * string/memmove.c (memmove): Renamed to ...
22259 (MEMMOVE): ...this. Default to memmove.
22260 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22261 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22264 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22265 mempcpy-ssse3-back memmove-ssse3-back.
22266 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22269 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22270 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22271 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22272 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22273 * sysdeps/x86_64/multiarch/memmove.c: New file.
22274 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22275 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22276 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22277 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22278 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22281 (index_Fast_Copy_Backward): Define.
22282 (HAS_ARCH_FEATURE): Define.
22283 (HAS_FAST_REP_STRING): Define.
22284 (HAS_FAST_COPY_BACKWARD): Define.
22286 2010-06-21 Andreas Schwab <schwab@redhat.com>
22288 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22289 Restore proper fallback handling.
22291 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22294 * posix/group_member.c (__group_member): Correct checking loop.
22296 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22297 OOM in getpwuid_r correctly. Return error number when the caller
22298 should return, otherwise -1.
22299 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22300 call returning > 0 value.
22301 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22303 2010-06-07 Andreas Schwab <schwab@redhat.com>
22305 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22306 libc_nonshared.a from targets in modules-names.
22308 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22310 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22313 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22316 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22317 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22320 2010-06-02 Andreas Schwab <schwab@redhat.com>
22322 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22324 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22326 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22332 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22333 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22335 2010-06-14 Roland McGrath <roland@redhat.com>
22337 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22339 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22341 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22342 __REDIRECT followed by __THROW.
22343 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22344 * posix/getopt.h (getopt): Likewise.
22346 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22348 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22349 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22350 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22352 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22353 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22355 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22357 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22359 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22363 Properly check family and model.
22365 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22367 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22369 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22371 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22373 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22375 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22378 2010-05-19 Andreas Schwab <schwab@redhat.com>
22380 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22383 2010-05-21 Andreas Schwab <schwab@redhat.com>
22385 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22386 and internal_recvmmsg.
22387 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22388 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22389 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22390 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22392 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22393 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22394 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22396 2010-05-20 Andreas Schwab <schwab@redhat.com>
22398 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22400 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22402 POWER7 optimizations.
22403 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22404 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22406 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22408 * version.h: Update for 2.13 development version.
22410 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22412 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22413 exceptions. Return 0.
22415 2010-05-07 Roland McGrath <roland@redhat.com>
22417 * elf/ldconfig.c (main): Add a const.
22419 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22421 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22422 (args_options): Add no-idn option.
22423 (ahosts_keys_int): Add idn_flags to ai_flags.
22424 (parse_option): Handle 'i' option to clear idn_flags.
22426 * malloc/malloc.c (_int_free): Possible race in the most recently
22427 added check. Only act on the data if no current modification
22430 See ChangeLog.17 for earlier changes.