1 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5 (_IO_new_file_xsputn): Also return EOF if none of the input
6 data was written when overflow failed.
7 * libio/iopadn.c (_IO_padn): Likewise.
8 * libio/iowpadn.c (_IO_wpadn): Likewise.
9 * stdio-common/tst-put-error.c: Add copyright notice.
10 (do_test): Add case for printing padded string.
11 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12 _IO_padn returned error.
13 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19 * libio/libioP.h: Add comment note that the references to C++
20 bits are now obsolete.
22 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24 * math/libm-test.inc (check_complex): Use asprintf.
26 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28 * debug/pcprofiledump.c (print_version): Update copyright year.
29 * malloc/memusagestat.c (print_version): Likewise.
31 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34 * elf/Makefile (tests): Add tst-audit8.
35 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36 ($(objpfx)tst-audit8.out): New target.
37 (tst-audit8-ENV): New variable.
38 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39 audit if l_reloc_result is NULL.
40 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42 * elf/tst-audit8.c: New file.
44 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47 * misc/Makefile (CFLAGS-select.c): Define.
48 * posix/Makefile (CFLAGS-pause.c): Define.
50 2012-11-13 David S. Miller <davem@davemloft.net>
52 * crypt/Makefile: Move test targets after toplevel Rules
53 inclusion. Grab any necessary sysdep routines when linking.
54 * crypt/md5.c (md5_process_block): Remove define, we will always
55 name it __md5_process_block.
56 (md5_finish_ctx): Update md5_process_block call.
57 (md5_stream): Likewise.
58 (md5_process_bytes): Likewise.
59 (md5_process_block): Rename to __md5_process_block and move to ...
60 * crypt/md5-block.c: ... here.
61 * crypt/sha256.c (sha256_process_block): Move to ...
62 * crypt/sha256-block.c: ... here.
63 * crypt/sha512.c (sha512_process_block): Move to ...
64 * crypt/sha512-block.c: ... here.
65 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68 * sysdeps/sparc/sparc64/multiarch/Makefile
69 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71 (localedef-aux): Add md5 crypto assembler when in locale subdir.
72 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
75 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
76 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
77 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
78 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
79 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
80 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
81 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
82 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
84 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
85 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
87 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
89 2012-11-13 Joseph Myers <joseph@codesourcery.com>
91 * timezone/tzselect.ksh: Update from tzcode git revision
92 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
93 * timezone/zdump.c: Likewise.
94 * timezone/zic.c: Likewise.
95 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
96 in TZVERSION setting, not $(PKGVERSION).
97 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
98 REPORT_BUGS_TO settings.
101 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
104 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
106 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
107 detection to immediately after _FP_ROUND().
108 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
111 2012-11-11 David S. Miller <davem@davemloft.net>
113 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
115 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
116 __close rather than their public counterparts.
118 2012-11-10 Joseph Myers <joseph@codesourcery.com>
120 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
122 [UNIX98] (sem_timedwait): Do not expect.
123 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
124 [XPG4 || UNIX98] (sockatmark): Do not expect.
125 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
126 (clock_getcpuclockid): Do not expect.
127 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
128 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
130 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
131 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
132 [UNIX98] (vwscanf): Likewise.
133 [UNIX98] (vswscanf): Likewise.
135 2012-11-09 Joseph Myers <joseph@codesourcery.com>
137 * timezone/version.h: Remove file.
138 * timezone/README: Do not refer to version.h.
139 * timezone/Makefile ($(objpfx)zic.o): New dependency on
141 ($(objpfx)zdump.o): Likewise.
142 ($(objpfx)version.h): New target.
144 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
146 * timezone/README: Don't mention modification to tzselect.ksh.
147 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
148 work on unmodified tzselect.ksh. Substitute version numbers in
151 * Makefile (format-me): Remove.
152 (INSTALL): Adjust indentation. Use commands directly instead of
155 * aclocal.m4 (ACX_PKGVERSION): New macro.
156 (ACX_BUGURL): Likewise.
157 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
158 (PKGVERSION): New AC_DEFINE_UNQUOTED.
159 (REPORT_BUGS_TO): Likewise.
160 * configure: Regenerated.
161 * config.h.in (PKGVERSION): New macro.
162 (REPORT_BUGS_TO): Likewise.
163 * config.make.in (PKGVERSION): New variable.
164 (PKGVERSION_TEXI): Likewise.
165 (REPORT_BUGS_TO): Likewise.
166 (REPORT_BUGS_TEXI): Likewise.
167 * Makefile (format-me): Use -I$(common-objpfx)manual.
168 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
169 ($(common-objpfx)manual/%): New target.
170 (manual/%): Remove target.
171 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
172 (print_version): Use PKGVERSION.
173 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
174 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
176 ($(objpfx)xtrace): Likewise.
177 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
178 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
179 (print_version): Use PKGVERSION.
180 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
181 (do_version): Use PKGVERSION.
182 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
184 (common-ldd-rewrite): Likewise.
185 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
186 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
187 (print_version): Use PKGVERSION.
188 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
189 * elf/pldd.c (argp_program_bug_address): Remove variable.
190 (more_help): New function.
191 (argp): Use more_help.
192 (print_version): Use PKGVERSION.
193 * elf/sln.c (main): Use PKGVERSION.
194 (usage): Use REPORT_BUGS_TO.
195 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
196 (top level): Use PKGVERSION.
197 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
198 (print_version): Use PKGVERSION.
199 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
200 (print_version): Use PKGVERSION.
201 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
202 (print_version): Use PKGVERSION.
203 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
204 (print_version): Use PKGVERSION.
205 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
206 (print_version): Use PKGVERSION.
207 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
208 (print_version): Use PKGVERSION.
209 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
211 ($(objpfx)memusage): Likewise.
212 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
213 (do_version): Use PKGVERSION.
214 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
215 (print_version): Use PKGVERSION.
216 * malloc/mtrace.pl ($PACKAGE): Remove variable.
217 ($PKGVERSION): New variable.
218 ($REPORT_BUGS_TO): Likewise.
219 (usage): Use $REPORT_BUGS_TO.
220 (top level): Use $PKGVERSION.
221 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
222 ($(objpfx)pkgvers.texi): New rule.
223 ($(objpfx)stamp-pkgvers): Likewise.
224 * manual/install.texi: Include pkgvers.texi.
225 (--with-pkgversion): Document new configure option.
226 (--with-bugurl): Likewise.
227 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
228 than necessarily for this particular distribution. Use
229 REPORT_BUGS_TO for where to report bugs.
230 * INSTALL: Regenerated.
231 * manual/libc.texinfo: Include pkgvers.texi.
232 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
233 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
234 (print_version): Use PKGVERSION.
235 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
236 (print_version): Use PKGVERSION.
237 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
238 (print_version): Use PKGVERSION.
239 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
240 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
242 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
243 (print_version): Use PKGVERSION.
244 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
245 (print_version): Use PKGVERSION.
246 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
249 * timezone/checktab.awk: Update from tzcode 2012i.
250 * timezone/ialloc.c: Likewise.
251 * timezone/private.h: Likewise.
252 * timezone/scheck.c: Likewise.
253 * timezone/tzfile.h: Likewise.
254 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
255 (TZVERSION): Hardcode tzcode version number.
256 * timezone/zdump.c: Update from tzcode 2012i.
257 * timezone/zic.c: Likewise.
258 * timezone/version.h: New file.
259 * timezone/README: Describe version.h. Update upstream location.
262 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
263 (mktemp): Enable declaration.
264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
281 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
282 offset in buffer as u_int32_t not u_long. Consistently use memcpy
283 for copies of such integer values.
284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
287 2012-11-09 Andreas Jaeger <aj@suse.de>
289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
290 definitions and declarations that are provided by
291 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
293 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
295 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
296 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
297 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
300 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
302 * elf/elf.h: Update comment before AArch64 relocations.
304 2012-11-07 David S. Miller <davem@davemloft.net>
306 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
307 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
308 (__start_context): Declare.
309 (__makecontext_ret): Delete.
310 (__makecontext): Hook up __start_context instead of
312 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
313 (sysdep_routines): Add __start_context when in stdlib.
315 2012-11-07 Joseph Myers <joseph@codesourcery.com>
317 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
318 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
319 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
321 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
322 (READELF): New variable. Use it instead of hardcoded "readelf".
324 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
326 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
327 * sysdeps/x86/Makefile: Here.
328 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
329 * sysdeps/x86/tst-xmmymm.sh: This.
331 2012-11-07 Joseph Myers <joseph@codesourcery.com>
333 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
335 [UNIX98] (pthread_barrier_t): Do not expect.
336 [UNIX98] (pthread_barrierattr_t): Likewise.
337 [UNIX98] (pthread_spinlock_t): Likewise.
338 [UNIX98] (pthread_barrier_destroy): Likewise.
339 [UNIX98] (pthread_barrier_init): Likewise.
340 [UNIX98] (pthread_barrier_wait): Likewise.
341 [UNIX98] (pthread_barrierattr_destroy): Likewise.
342 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
343 [UNIX98] (pthread_barrierattr_init): Likewise.
344 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
345 [UNIX98] (pthread_getcpuclockid): Likewise.
346 [UNIX98] (pthread_mutex_timedlock): Likewise.
347 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
348 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
349 [UNIX98] (pthread_sigmask): Likewise.
350 [UNIX98] (pthread_spin_destroy): Likewise.
351 [UNIX98] (pthread_spin_init): Likewise.
352 [UNIX98] (pthread_spin_lock): Likewise.
353 [UNIX98] (pthread_spin_trylock): Likewise.
354 [UNIX98] (pthread_spin_unlock): Likewise.
355 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
357 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
358 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
359 [XPG3 || XPG4] (pthread_cond_t): Likewise.
360 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
361 [XPG3 || XPG4] (pthread_key_t): Likewise.
362 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
363 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
364 [XPG3 || XPG4] (pthread_once_t): Likewise.
365 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
366 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
367 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
368 [XPG3 || XPG4] (pthread_t): Likewise.
370 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
372 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
374 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
375 Change function return type to int.
377 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
378 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
379 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
380 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
381 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
382 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
383 [!POSIX] (posix_madvise): Likewise.
384 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
386 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
387 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
389 (posix_mem_offset): Likewise.
390 (posix_typed_mem_get_info): Likewise.
391 (posix_typed_mem_open): Likewise.
393 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
394 Change condition to [XOPEN2K8].
396 * conform/conformtest.pl: Preprocess allow-header data with -x c
397 instead of from stdin.
398 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
399 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
400 [C99-based standards] (cerfc): Likewise.
401 [C99-based standards] (cexp2): Likewise.
402 [C99-based standards] (cexpm1): Likewise.
403 [C99-based standards] (clog10): Likewise.
404 [C99-based standards] (clog1p): Likewise.
405 [C99-based standards] (clog2): Likewise.
406 [C99-based standards] (clgamma): Likewise.
407 [C99-based standards] (ctgamma): Likewise.
408 [C99-based standards] (cerff): Likewise.
409 [C99-based standards] (cerfcf): Likewise.
410 [C99-based standards] (cexp2f): Likewise.
411 [C99-based standards] (cexpm1f): Likewise.
412 [C99-based standards] (clog10f): Likewise.
413 [C99-based standards] (clog1pf): Likewise.
414 [C99-based standards] (clog2f): Likewise.
415 [C99-based standards] (clgammaf): Likewise.
416 [C99-based standards] (ctgammaf): Likewise.
417 [C99-based standards] (cerfl): Likewise.
418 [C99-based standards] (cerfcl): Likewise.
419 [C99-based standards] (cexp2l): Likewise.
420 [C99-based standards] (cexpm1l): Likewise.
421 [C99-based standards] (clog10l): Likewise.
422 [C99-based standards] (clog1pl): Likewise.
423 [C99-based standards] (clog2l): Likewise.
424 [C99-based standards] (clgammal): Likewise.
425 [C99-based standards] (ctgammal): Likewise.
426 * conform/data/inttypes.h-data [C99-based standards]: Include
427 stdint.h-data. Remove all expectations for stdint.h contents.
428 [C99-based standards] (PRI*): Do not allow.
429 [C99-based standards] (SCN*): Likewise.
430 [C99-based standards] (*_t): Likewise.
431 [C99-based-standards] (PRId8): Expect macro.
432 [C99-based-standards] (PRIi8): Likewise.
433 [C99-based-standards] (PRIo8): Likewise.
434 [C99-based-standards] (PRIu8): Likewise.
435 [C99-based-standards] (PRIx8): Likewise.
436 [C99-based-standards] (PRIX8): Likewise.
437 [C99-based-standards] (SCNd8): Likewise.
438 [C99-based-standards] (SCNi8): Likewise.
439 [C99-based-standards] (SCNo8): Likewise.
440 [C99-based-standards] (SCNu8): Likewise.
441 [C99-based-standards] (SCNx8): Likewise.
442 [C99-based-standards] (PRIdLEAST8): Likewise.
443 [C99-based-standards] (PRIiLEAST8): Likewise.
444 [C99-based-standards] (PRIoLEAST8): Likewise.
445 [C99-based-standards] (PRIuLEAST8): Likewise.
446 [C99-based-standards] (PRIxLEAST8): Likewise.
447 [C99-based-standards] (PRIXLEAST8): Likewise.
448 [C99-based-standards] (SCNdLEAST8): Likewise.
449 [C99-based-standards] (SCNiLEAST8): Likewise.
450 [C99-based-standards] (SCNoLEAST8): Likewise.
451 [C99-based-standards] (SCNuLEAST8): Likewise.
452 [C99-based-standards] (SCNxLEAST8): Likewise.
453 [C99-based-standards] (PRIdFAST8): Likewise.
454 [C99-based-standards] (PRIiFAST8): Likewise.
455 [C99-based-standards] (PRIoFAST8): Likewise.
456 [C99-based-standards] (PRIuFAST8): Likewise.
457 [C99-based-standards] (PRIxFAST8): Likewise.
458 [C99-based-standards] (PRIXFAST8): Likewise.
459 [C99-based-standards] (SCNdFAST8): Likewise.
460 [C99-based-standards] (SCNiFAST8): Likewise.
461 [C99-based-standards] (SCNoFAST8): Likewise.
462 [C99-based-standards] (SCNuFAST8): Likewise.
463 [C99-based-standards] (SCNxFAST8): Likewise.
464 [C99-based-standards] (PRId16): Likewise.
465 [C99-based-standards] (PRIi16): Likewise.
466 [C99-based-standards] (PRIo16): Likewise.
467 [C99-based-standards] (PRIu16): Likewise.
468 [C99-based-standards] (PRIx16): Likewise.
469 [C99-based-standards] (PRIX16): Likewise.
470 [C99-based-standards] (SCNd16): Likewise.
471 [C99-based-standards] (SCNi16): Likewise.
472 [C99-based-standards] (SCNo16): Likewise.
473 [C99-based-standards] (SCNu16): Likewise.
474 [C99-based-standards] (SCNx16): Likewise.
475 [C99-based-standards] (PRIdLEAST16): Likewise.
476 [C99-based-standards] (PRIiLEAST16): Likewise.
477 [C99-based-standards] (PRIoLEAST16): Likewise.
478 [C99-based-standards] (PRIuLEAST16): Likewise.
479 [C99-based-standards] (PRIxLEAST16): Likewise.
480 [C99-based-standards] (PRIXLEAST16): Likewise.
481 [C99-based-standards] (SCNdLEAST16): Likewise.
482 [C99-based-standards] (SCNiLEAST16): Likewise.
483 [C99-based-standards] (SCNoLEAST16): Likewise.
484 [C99-based-standards] (SCNuLEAST16): Likewise.
485 [C99-based-standards] (SCNxLEAST16): Likewise.
486 [C99-based-standards] (PRIdFAST16): Likewise.
487 [C99-based-standards] (PRIiFAST16): Likewise.
488 [C99-based-standards] (PRIoFAST16): Likewise.
489 [C99-based-standards] (PRIuFAST16): Likewise.
490 [C99-based-standards] (PRIxFAST16): Likewise.
491 [C99-based-standards] (PRIXFAST16): Likewise.
492 [C99-based-standards] (SCNdFAST16): Likewise.
493 [C99-based-standards] (SCNiFAST16): Likewise.
494 [C99-based-standards] (SCNoFAST16): Likewise.
495 [C99-based-standards] (SCNuFAST16): Likewise.
496 [C99-based-standards] (SCNxFAST16): Likewise.
497 [C99-based-standards] (PRId32): Likewise.
498 [C99-based-standards] (PRIi32): Likewise.
499 [C99-based-standards] (PRIo32): Likewise.
500 [C99-based-standards] (PRIu32): Likewise.
501 [C99-based-standards] (PRIx32): Likewise.
502 [C99-based-standards] (PRIX32): Likewise.
503 [C99-based-standards] (SCNd32): Likewise.
504 [C99-based-standards] (SCNi32): Likewise.
505 [C99-based-standards] (SCNo32): Likewise.
506 [C99-based-standards] (SCNu32): Likewise.
507 [C99-based-standards] (SCNx32): Likewise.
508 [C99-based-standards] (PRIdLEAST32): Likewise.
509 [C99-based-standards] (PRIiLEAST32): Likewise.
510 [C99-based-standards] (PRIoLEAST32): Likewise.
511 [C99-based-standards] (PRIuLEAST32): Likewise.
512 [C99-based-standards] (PRIxLEAST32): Likewise.
513 [C99-based-standards] (PRIXLEAST32): Likewise.
514 [C99-based-standards] (SCNdLEAST32): Likewise.
515 [C99-based-standards] (SCNiLEAST32): Likewise.
516 [C99-based-standards] (SCNoLEAST32): Likewise.
517 [C99-based-standards] (SCNuLEAST32): Likewise.
518 [C99-based-standards] (SCNxLEAST32): Likewise.
519 [C99-based-standards] (PRIdFAST32): Likewise.
520 [C99-based-standards] (PRIiFAST32): Likewise.
521 [C99-based-standards] (PRIoFAST32): Likewise.
522 [C99-based-standards] (PRIuFAST32): Likewise.
523 [C99-based-standards] (PRIxFAST32): Likewise.
524 [C99-based-standards] (PRIXFAST32): Likewise.
525 [C99-based-standards] (SCNdFAST32): Likewise.
526 [C99-based-standards] (SCNiFAST32): Likewise.
527 [C99-based-standards] (SCNoFAST32): Likewise.
528 [C99-based-standards] (SCNuFAST32): Likewise.
529 [C99-based-standards] (SCNxFAST32): Likewise.
530 [C99-based-standards] (PRId64): Likewise.
531 [C99-based-standards] (PRIi64): Likewise.
532 [C99-based-standards] (PRIo64): Likewise.
533 [C99-based-standards] (PRIu64): Likewise.
534 [C99-based-standards] (PRIx64): Likewise.
535 [C99-based-standards] (PRIX64): Likewise.
536 [C99-based-standards] (SCNd64): Likewise.
537 [C99-based-standards] (SCNi64): Likewise.
538 [C99-based-standards] (SCNo64): Likewise.
539 [C99-based-standards] (SCNu64): Likewise.
540 [C99-based-standards] (SCNx64): Likewise.
541 [C99-based-standards] (PRIdLEAST64): Likewise.
542 [C99-based-standards] (PRIiLEAST64): Likewise.
543 [C99-based-standards] (PRIoLEAST64): Likewise.
544 [C99-based-standards] (PRIuLEAST64): Likewise.
545 [C99-based-standards] (PRIxLEAST64): Likewise.
546 [C99-based-standards] (PRIXLEAST64): Likewise.
547 [C99-based-standards] (SCNdLEAST64): Likewise.
548 [C99-based-standards] (SCNiLEAST64): Likewise.
549 [C99-based-standards] (SCNoLEAST64): Likewise.
550 [C99-based-standards] (SCNuLEAST64): Likewise.
551 [C99-based-standards] (SCNxLEAST64): Likewise.
552 [C99-based-standards] (PRIdFAST64): Likewise.
553 [C99-based-standards] (PRIiFAST64): Likewise.
554 [C99-based-standards] (PRIoFAST64): Likewise.
555 [C99-based-standards] (PRIuFAST64): Likewise.
556 [C99-based-standards] (PRIxFAST64): Likewise.
557 [C99-based-standards] (PRIXFAST64): Likewise.
558 [C99-based-standards] (SCNdFAST64): Likewise.
559 [C99-based-standards] (SCNiFAST64): Likewise.
560 [C99-based-standards] (SCNoFAST64): Likewise.
561 [C99-based-standards] (SCNuFAST64): Likewise.
562 [C99-based-standards] (SCNxFAST64): Likewise.
563 [C99-based-standards] (PRIdMAX): Likewise.
564 [C99-based-standards] (PRIiMAX): Likewise.
565 [C99-based-standards] (PRIoMAX): Likewise.
566 [C99-based-standards] (PRIuMAX): Likewise.
567 [C99-based-standards] (PRIxMAX): Likewise.
568 [C99-based-standards] (PRIXMAX): Likewise.
569 [C99-based-standards] (SCNdMAX): Likewise.
570 [C99-based-standards] (SCNiMAX): Likewise.
571 [C99-based-standards] (SCNoMAX): Likewise.
572 [C99-based-standards] (SCNuMAX): Likewise.
573 [C99-based-standards] (SCNxMAX): Likewise.
574 [C99-based-standards] (PRIdPTR): Likewise.
575 [C99-based-standards] (PRIiPTR): Likewise.
576 [C99-based-standards] (PRIoPTR): Likewise.
577 [C99-based-standards] (PRIuPTR): Likewise.
578 [C99-based-standards] (PRIxPTR): Likewise.
579 [C99-based-standards] (PRIXPTR): Likewise.
580 [C99-based-standards] (SCNdPTR): Likewise.
581 [C99-based-standards] (SCNiPTR): Likewise.
582 [C99-based-standards] (SCNoPTR): Likewise.
583 [C99-based-standards] (SCNuPTR): Likewise.
584 [C99-based-standards] (SCNxPTR): Likewise.
585 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
587 * conform/data/stdint.h-data: Update comments to clarify
589 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
591 [C99-based standards] (INT8_MAX): Likewise.
592 [C99-based standards] (INT16_MIN): Likewise.
593 [C99-based standards] (INT16_MAX): Likewise.
594 [C99-based standards] (INT32_MIN): Likewise.
595 [C99-based standards] (INT32_MAX): Likewise.
596 [C99-based standards] (INT64_MIN): Likewise.
597 [C99-based standards] (INT64_MAX): Likewise.
598 [C99-based standards] (UINT8_MAX): Likewise.
599 [C99-based standards] (UINT16_MAX): Likewise.
600 [C99-based standards] (UINT32_MAX): Likewise.
601 [C99-based standards] (UINT64_MAX): Likewise.
602 [C99-based standards] (INT_LEAST8_MIN): Likewise.
603 [C99-based standards] (INT_LEAST8_MAX): Likewise.
604 [C99-based standards] (INT_LEAST16_MIN): Likewise.
605 [C99-based standards] (INT_LEAST16_MAX): Likewise.
606 [C99-based standards] (INT_LEAST32_MIN): Likewise.
607 [C99-based standards] (INT_LEAST32_MAX): Likewise.
608 [C99-based standards] (INT_LEAST64_MIN): Likewise.
609 [C99-based standards] (INT_LEAST64_MAX): Likewise.
610 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
611 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
612 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
613 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
614 [C99-based standards] (INT_FAST8_MIN): Likewise.
615 [C99-based standards] (INT_FAST8_MAX): Likewise.
616 [C99-based standards] (INT_FAST16_MIN): Likewise.
617 [C99-based standards] (INT_FAST16_MAX): Likewise.
618 [C99-based standards] (INT_FAST32_MIN): Likewise.
619 [C99-based standards] (INT_FAST32_MAX): Likewise.
620 [C99-based standards] (INT_FAST64_MIN): Likewise.
621 [C99-based standards] (INT_FAST64_MAX): Likewise.
622 [C99-based standards] (UINT_FAST8_MAX): Likewise.
623 [C99-based standards] (UINT_FAST16_MAX): Likewise.
624 [C99-based standards] (UINT_FAST32_MAX): Likewise.
625 [C99-based standards] (UINT_FAST64_MAX): Likewise.
626 [C99-based standards] (INTPTR_MIN): Likewise.
627 [C99-based standards] (INTPTR_MAX): Likewise.
628 [C99-based standards] (UINTPTR_MAX): Likewise.
629 [C99-based standards] (INTMAX_MIN): Likewise.
630 [C99-based standards] (INTMAX_MAX): Likewise.
631 [C99-based standards] (UINTMAX_MAX): Likewise.
632 [C99-based standards] (PTRDIFF_MIN): Likewise.
633 [C99-based standards] (PTRDIFF_MAX): Likewise.
634 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
635 [C99-based standards] (SIZE_MAX): Likewise.
636 [C99-based standards] (WCHAR_MAX): Likewise.
637 [C99-based standards] (WINT_MAX): Likewise.
638 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
640 [C99-based standards] (WCHAR_MIN): Likewise.
641 [C99-based standards] (WINT_MIN): Likewise.
642 [C99-based standards] (*_t): Allow.
643 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
644 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
645 Include math.h-data and complex.h-data. Remove all expectations
646 of math.h and complex.h contents.
647 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
649 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
650 (struct tm): Expect tag.
651 [C99-based-standards] (wcstof): Expect function.
652 [C99-based-standards] (wcstold): Likewise.
653 [C99-based-standards] (wcstoll): Likewise.
654 [C99-based-standards] (wcstoull): Likewise.
655 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
656 macro-int-constant. Specify type.
657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
659 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
661 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
663 [ISO C standards]: Do not allow headers.
664 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
665 wcs[abcdefghijklmnopqrstuvwxyz]*.
666 [ISO C standards] (*_t): Do not allow.
667 * conform/data/wctype.h-data [C99-based standards] (iswblank):
669 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
670 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
672 [ISO C standards]: Do not allow headers.
673 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
674 is[abcdefghijklmnopqrstuvwxyz]*.
675 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
676 to[abcdefghijklmnopqrstuvwxyz]*.
677 [ISO C standards] (*_t): Do not allow.
678 * conform/data/stdalign.h-data: New file.
679 * conform/data/stdbool.h-data: Likewise.
680 * conform/data/stdnoreturn.h-data: Likewise.
682 2012-11-07 Andreas Jaeger <aj@suse.de>
685 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
686 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
687 guards are changed. Only define if not yet defined, #undef back
688 after including linux/sysctl.h if defined here.
690 2012-11-07 Roland McGrath <roland@hack.frob.com>
693 * manual/filesys.texi (Directory Entries): Typo fix.
694 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
696 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
698 * elf/elf.h (EM_AARCH64): New macro.
699 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
700 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
701 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
702 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
703 (R_AARCH64_TLSDESC): Likewise.
704 (NT_ARM_TLS): Likewise.
705 (NT_ARM_HW_BREAK): Likewise.
706 (NT_ARM_HW_WATCH): Likewise.
708 2012-11-07 Joseph Myers <joseph@codesourcery.com>
711 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
712 (__ieee754_powl): Saturate nonzero exponents with absolute value
713 below 0x1p-79 to +/- 0x1p-79.
714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
715 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
716 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
717 nonzero exponents with absolute value below 0x1p-32 to +/-
719 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
720 (__ieee754_powl): Saturate nonzero exponents with absolute value
721 below 0x1p-79 to +/- 0x1p-79.
722 * math/libm-test.inc (pow_test): Add more tests.
724 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
726 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
727 _dl_s390_cap_flags with kernel. Increase string length.
728 (_dl_s390_platforms): Add z196 and zEC12.
730 2012-11-07 Joseph Myers <joseph@codesourcery.com>
732 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
733 Change XOPEN21K to XOPEN2K.
735 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
737 * string/memmove.c: Use memcpy when possible.
739 2012-11-06 Andreas Jaeger <aj@suse.de>
741 * po/eo.po: Update from translation team.
743 2012-11-06 Joseph Myers <joseph@codesourcery.com>
746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
747 exponent and small x and y exponents, scale x or y up. Increase
748 by 2 the exponent used in scaling up.
749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
751 * math/libm-test.inc (fma_test): Add more tests.
752 (fma_test_towardzero): Likewise.
753 (fma_test_downward): Likewise.
754 (fma_test_upward): Likewise.
756 2012-11-05 Joseph Myers <joseph@codesourcery.com>
759 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
763 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
764 namespace for names of struct fields.
765 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
767 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
768 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
770 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
773 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
775 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
777 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
781 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
784 2012-11-04 Joseph Myers <joseph@codesourcery.com>
787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
788 definitely overflow as x * y not x * y + z.
789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
790 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
791 * math/libm-test.inc (fma_test): Add more tests.
792 (fma_test_towardzero): Likewise.
793 (fma_test_downward): Likewise.
794 (fma_test_upward): Likewise.
796 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
800 * include/stub-tag.h: Remove file.
801 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
803 * manual/maint.texi (Porting): Don't reference it.
804 * Makerules ($(objpfx)stubs): Likewise.
805 * dirent/closedir.c: Don't include <stub-tag.h>.
806 * dirent/dirfd.c: Likewise.
807 * dirent/fdopendir.c: Likewise.
808 * dirent/getdents.c: Likewise.
809 * dirent/getdents64.c: Likewise.
810 * dirent/opendir.c: Likewise.
811 * dirent/readdir.c: Likewise.
812 * dirent/readdir64.c: Likewise.
813 * dirent/readdir64_r.c: Likewise.
814 * dirent/readdir_r.c: Likewise.
815 * dirent/rewinddir.c: Likewise.
816 * dirent/seekdir.c: Likewise.
817 * dirent/telldir.c: Likewise.
818 * gmon/profil.c: Likewise.
819 * grp/setgroups.c: Likewise.
820 * inet/if_index.c: Likewise.
821 * io/access.c: Likewise.
822 * io/chdir.c: Likewise.
823 * io/chmod.c: Likewise.
824 * io/chown.c: Likewise.
825 * io/close.c: Likewise.
826 * io/dup.c: Likewise.
827 * io/dup2.c: Likewise.
828 * io/dup3.c: Likewise.
829 * io/euidaccess.c: Likewise.
830 * io/faccessat.c: Likewise.
831 * io/fchdir.c: Likewise.
832 * io/fchmod.c: Likewise.
833 * io/fchmodat.c: Likewise.
834 * io/fchown.c: Likewise.
835 * io/fchownat.c: Likewise.
836 * io/fcntl.c: Likewise.
837 * io/flock.c: Likewise.
838 * io/fstatfs.c: Likewise.
839 * io/fstatfs64.c: Likewise.
840 * io/fstatvfs.c: Likewise.
841 * io/fstatvfs64.c: Likewise.
842 * io/futimens.c: Likewise.
843 * io/fxstat.c: Likewise.
844 * io/fxstat64.c: Likewise.
845 * io/fxstatat.c: Likewise.
846 * io/fxstatat64.c: Likewise.
847 * io/getcwd.c: Likewise.
848 * io/isatty.c: Likewise.
849 * io/lchmod.c: Likewise.
850 * io/lchown.c: Likewise.
851 * io/link.c: Likewise.
852 * io/linkat.c: Likewise.
853 * io/lseek.c: Likewise.
854 * io/lseek64.c: Likewise.
855 * io/lxstat64.c: Likewise.
856 * io/mkdir.c: Likewise.
857 * io/mkdirat.c: Likewise.
858 * io/mkfifo.c: Likewise.
859 * io/mkfifoat.c: Likewise.
860 * io/open.c: Likewise.
861 * io/open64.c: Likewise.
862 * io/openat.c: Likewise.
863 * io/openat64.c: Likewise.
864 * io/pipe.c: Likewise.
865 * io/pipe2.c: Likewise.
866 * io/poll.c: Likewise.
867 * io/posix_fadvise.c: Likewise.
868 * io/posix_fadvise64.c: Likewise.
869 * io/posix_fallocate.c: Likewise.
870 * io/posix_fallocate64.c: Likewise.
871 * io/read.c: Likewise.
872 * io/readlink.c: Likewise.
873 * io/readlinkat.c: Likewise.
874 * io/rmdir.c: Likewise.
875 * io/sendfile.c: Likewise.
876 * io/sendfile64.c: Likewise.
877 * io/statfs.c: Likewise.
878 * io/statfs64.c: Likewise.
879 * io/statvfs.c: Likewise.
880 * io/statvfs64.c: Likewise.
881 * io/symlink.c: Likewise.
882 * io/symlinkat.c: Likewise.
883 * io/ttyname.c: Likewise.
884 * io/ttyname_r.c: Likewise.
885 * io/umask.c: Likewise.
886 * io/unlink.c: Likewise.
887 * io/unlinkat.c: Likewise.
888 * io/utime.c: Likewise.
889 * io/utimensat.c: Likewise.
890 * io/write.c: Likewise.
891 * io/xmknod.c: Likewise.
892 * io/xmknodat.c: Likewise.
893 * io/xstat.c: Likewise.
894 * io/xstat64.c: Likewise.
895 * login/getpt.c: Likewise.
896 * login/grantpt.c: Likewise.
897 * login/unlockpt.c: Likewise.
898 * math/e_acoshl.c: Likewise.
899 * math/e_acosl.c: Likewise.
900 * math/e_asinl.c: Likewise.
901 * math/e_atan2l.c: Likewise.
902 * math/e_atanhl.c: Likewise.
903 * math/e_coshl.c: Likewise.
904 * math/e_expl.c: Likewise.
905 * math/e_fmodl.c: Likewise.
906 * math/e_gammal_r.c: Likewise.
907 * math/e_hypotl.c: Likewise.
908 * math/e_j0l.c: Likewise.
909 * math/e_j1l.c: Likewise.
910 * math/e_jnl.c: Likewise.
911 * math/e_lgammal_r.c: Likewise.
912 * math/e_log10l.c: Likewise.
913 * math/e_log2l.c: Likewise.
914 * math/e_logl.c: Likewise.
915 * math/e_powl.c: Likewise.
916 * math/e_rem_pio2l.c: Likewise.
917 * math/e_sinhl.c: Likewise.
918 * math/e_sqrtl.c: Likewise.
919 * math/fclrexcpt.c: Likewise.
920 * math/fedisblxcpt.c: Likewise.
921 * math/feenablxcpt.c: Likewise.
922 * math/fegetenv.c: Likewise.
923 * math/fegetexcept.c: Likewise.
924 * math/fegetround.c: Likewise.
925 * math/feholdexcpt.c: Likewise.
926 * math/fesetenv.c: Likewise.
927 * math/fesetround.c: Likewise.
928 * math/feupdateenv.c: Likewise.
929 * math/fgetexcptflg.c: Likewise.
930 * math/fraiseexcpt.c: Likewise.
931 * math/fsetexcptflg.c: Likewise.
932 * math/ftestexcept.c: Likewise.
933 * math/k_cosl.c: Likewise.
934 * math/k_rem_pio2l.c: Likewise.
935 * math/k_sinl.c: Likewise.
936 * math/k_tanl.c: Likewise.
937 * math/s_asinhl.c: Likewise.
938 * math/s_atanl.c: Likewise.
939 * math/s_cbrtl.c: Likewise.
940 * math/s_erfl.c: Likewise.
941 * math/s_expm1l.c: Likewise.
942 * math/s_log1pl.c: Likewise.
943 * math/s_tanhl.c: Likewise.
944 * misc/acct.c: Likewise.
945 * misc/brk.c: Likewise.
946 * misc/chflags.c: Likewise.
947 * misc/chroot.c: Likewise.
948 * misc/fchflags.c: Likewise.
949 * misc/fgetxattr.c: Likewise.
950 * misc/flistxattr.c: Likewise.
951 * misc/fremovexattr.c: Likewise.
952 * misc/fsetxattr.c: Likewise.
953 * misc/fsync.c: Likewise.
954 * misc/ftruncate.c: Likewise.
955 * misc/futimes.c: Likewise.
956 * misc/futimesat.c: Likewise.
957 * misc/getdomain.c: Likewise.
958 * misc/getdtsz.c: Likewise.
959 * misc/gethostid.c: Likewise.
960 * misc/gethostname.c: Likewise.
961 * misc/getloadavg.c: Likewise.
962 * misc/getpagesize.c: Likewise.
963 * misc/getsysstats.c: Likewise.
964 * misc/getxattr.c: Likewise.
965 * misc/gtty.c: Likewise.
966 * misc/ioctl.c: Likewise.
967 * misc/lgetxattr.c: Likewise.
968 * misc/listxattr.c: Likewise.
969 * misc/llistxattr.c: Likewise.
970 * misc/lremovexattr.c: Likewise.
971 * misc/lsetxattr.c: Likewise.
972 * misc/lutimes.c: Likewise.
973 * misc/madvise.c: Likewise.
974 * misc/mincore.c: Likewise.
975 * misc/mlock.c: Likewise.
976 * misc/mlockall.c: Likewise.
977 * misc/mmap.c: Likewise.
978 * misc/mprotect.c: Likewise.
979 * misc/msync.c: Likewise.
980 * misc/munlock.c: Likewise.
981 * misc/munlockall.c: Likewise.
982 * misc/munmap.c: Likewise.
983 * misc/preadv.c: Likewise.
984 * misc/preadv64.c: Likewise.
985 * misc/ptrace.c: Likewise.
986 * misc/pwritev.c: Likewise.
987 * misc/pwritev64.c: Likewise.
988 * misc/readv.c: Likewise.
989 * misc/reboot.c: Likewise.
990 * misc/remap_file_pages.c: Likewise.
991 * misc/removexattr.c: Likewise.
992 * misc/revoke.c: Likewise.
993 * misc/select.c: Likewise.
994 * misc/setdomain.c: Likewise.
995 * misc/setegid.c: Likewise.
996 * misc/seteuid.c: Likewise.
997 * misc/sethostid.c: Likewise.
998 * misc/sethostname.c: Likewise.
999 * misc/setregid.c: Likewise.
1000 * misc/setreuid.c: Likewise.
1001 * misc/setxattr.c: Likewise.
1002 * misc/sstk.c: Likewise.
1003 * misc/stty.c: Likewise.
1004 * misc/swapoff.c: Likewise.
1005 * misc/swapon.c: Likewise.
1006 * misc/sync.c: Likewise.
1007 * misc/syncfs.c: Likewise.
1008 * misc/syscall.c: Likewise.
1009 * misc/truncate.c: Likewise.
1010 * misc/ualarm.c: Likewise.
1011 * misc/usleep.c: Likewise.
1012 * misc/ustat.c: Likewise.
1013 * misc/utimes.c: Likewise.
1014 * misc/vhangup.c: Likewise.
1015 * misc/writev.c: Likewise.
1016 * posix/_exit.c: Likewise.
1017 * posix/alarm.c: Likewise.
1018 * posix/execve.c: Likewise.
1019 * posix/fexecve.c: Likewise.
1020 * posix/fork.c: Likewise.
1021 * posix/fpathconf.c: Likewise.
1022 * posix/getaddrinfo.c: Likewise.
1023 * posix/getegid.c: Likewise.
1024 * posix/geteuid.c: Likewise.
1025 * posix/getgid.c: Likewise.
1026 * posix/getgroups.c: Likewise.
1027 * posix/getlogin.c: Likewise.
1028 * posix/getlogin_r.c: Likewise.
1029 * posix/getpgid.c: Likewise.
1030 * posix/getpid.c: Likewise.
1031 * posix/getppid.c: Likewise.
1032 * posix/getresgid.c: Likewise.
1033 * posix/getresuid.c: Likewise.
1034 * posix/getsid.c: Likewise.
1035 * posix/getuid.c: Likewise.
1036 * posix/glob64.c: Likewise.
1037 * posix/nanosleep.c: Likewise.
1038 * posix/pathconf.c: Likewise.
1039 * posix/pause.c: Likewise.
1040 * posix/posix_madvise.c: Likewise.
1041 * posix/pread.c: Likewise.
1042 * posix/pread64.c: Likewise.
1043 * posix/pwrite.c: Likewise.
1044 * posix/pwrite64.c: Likewise.
1045 * posix/sched_getaffinity.c: Likewise.
1046 * posix/sched_getp.c: Likewise.
1047 * posix/sched_gets.c: Likewise.
1048 * posix/sched_primax.c: Likewise.
1049 * posix/sched_primin.c: Likewise.
1050 * posix/sched_rr_gi.c: Likewise.
1051 * posix/sched_setaffinity.c: Likewise.
1052 * posix/sched_setp.c: Likewise.
1053 * posix/sched_sets.c: Likewise.
1054 * posix/sched_yield.c: Likewise.
1055 * posix/setgid.c: Likewise.
1056 * posix/setlogin.c: Likewise.
1057 * posix/setpgid.c: Likewise.
1058 * posix/setresgid.c: Likewise.
1059 * posix/setresuid.c: Likewise.
1060 * posix/setsid.c: Likewise.
1061 * posix/setuid.c: Likewise.
1062 * posix/sleep.c: Likewise.
1063 * posix/spawni.c: Likewise.
1064 * posix/sysconf.c: Likewise.
1065 * posix/times.c: Likewise.
1066 * posix/wait.c: Likewise.
1067 * posix/wait3.c: Likewise.
1068 * posix/wait4.c: Likewise.
1069 * posix/waitpid.c: Likewise.
1070 * resolv/gai_sigqueue.c: Likewise.
1071 * resource/getpriority.c: Likewise.
1072 * resource/getrlimit.c: Likewise.
1073 * resource/getrusage.c: Likewise.
1074 * resource/nice.c: Likewise.
1075 * resource/setpriority.c: Likewise.
1076 * resource/setrlimit.c: Likewise.
1077 * resource/ulimit.c: Likewise.
1078 * rt/aio_cancel.c: Likewise.
1079 * rt/aio_fsync.c: Likewise.
1080 * rt/aio_read.c: Likewise.
1081 * rt/aio_sigqueue.c: Likewise.
1082 * rt/aio_suspend.c: Likewise.
1083 * rt/aio_write.c: Likewise.
1084 * rt/clock_getres.c: Likewise.
1085 * rt/clock_gettime.c: Likewise.
1086 * rt/clock_nanosleep.c: Likewise.
1087 * rt/clock_settime.c: Likewise.
1088 * rt/lio_listio.c: Likewise.
1089 * rt/mq_close.c: Likewise.
1090 * rt/mq_getattr.c: Likewise.
1091 * rt/mq_notify.c: Likewise.
1092 * rt/mq_open.c: Likewise.
1093 * rt/mq_receive.c: Likewise.
1094 * rt/mq_send.c: Likewise.
1095 * rt/mq_setattr.c: Likewise.
1096 * rt/mq_timedreceive.c: Likewise.
1097 * rt/mq_timedsend.c: Likewise.
1098 * rt/mq_unlink.c: Likewise.
1099 * rt/shm_open.c: Likewise.
1100 * rt/shm_unlink.c: Likewise.
1101 * rt/timer_create.c: Likewise.
1102 * rt/timer_delete.c: Likewise.
1103 * rt/timer_getoverr.c: Likewise.
1104 * rt/timer_gettime.c: Likewise.
1105 * rt/timer_settime.c: Likewise.
1106 * setjmp/__longjmp.c: Likewise.
1107 * setjmp/setjmp.c: Likewise.
1108 * signal/kill.c: Likewise.
1109 * signal/killpg.c: Likewise.
1110 * signal/raise.c: Likewise.
1111 * signal/sigaction.c: Likewise.
1112 * signal/sigaltstack.c: Likewise.
1113 * signal/sigblock.c: Likewise.
1114 * signal/sigignore.c: Likewise.
1115 * signal/sigintr.c: Likewise.
1116 * signal/signal.c: Likewise.
1117 * signal/sigpause.c: Likewise.
1118 * signal/sigpending.c: Likewise.
1119 * signal/sigqueue.c: Likewise.
1120 * signal/sigreturn.c: Likewise.
1121 * signal/sigset.c: Likewise.
1122 * signal/sigsetmask.c: Likewise.
1123 * signal/sigstack.c: Likewise.
1124 * signal/sigsuspend.c: Likewise.
1125 * signal/sigtimedwait.c: Likewise.
1126 * signal/sigvec.c: Likewise.
1127 * signal/sigwait.c: Likewise.
1128 * signal/sigwaitinfo.c: Likewise.
1129 * signal/sysv_signal.c: Likewise.
1130 * socket/accept.c: Likewise.
1131 * socket/accept4.c: Likewise.
1132 * socket/bind.c: Likewise.
1133 * socket/connect.c: Likewise.
1134 * socket/getpeername.c: Likewise.
1135 * socket/getsockname.c: Likewise.
1136 * socket/getsockopt.c: Likewise.
1137 * socket/isfdtype.c: Likewise.
1138 * socket/listen.c: Likewise.
1139 * socket/recv.c: Likewise.
1140 * socket/recvfrom.c: Likewise.
1141 * socket/recvmsg.c: Likewise.
1142 * socket/send.c: Likewise.
1143 * socket/sendmsg.c: Likewise.
1144 * socket/sendto.c: Likewise.
1145 * socket/setsockopt.c: Likewise.
1146 * socket/shutdown.c: Likewise.
1147 * socket/sockatmark.c: Likewise.
1148 * socket/socket.c: Likewise.
1149 * socket/socketpair.c: Likewise.
1150 * stdio-common/ctermid.c: Likewise.
1151 * stdio-common/cuserid.c: Likewise.
1152 * stdio-common/remove.c: Likewise.
1153 * stdio-common/rename.c: Likewise.
1154 * stdio-common/renameat.c: Likewise.
1155 * stdio-common/tempname.c: Likewise.
1156 * stdlib/getcontext.c: Likewise.
1157 * stdlib/makecontext.c: Likewise.
1158 * stdlib/setcontext.c: Likewise.
1159 * stdlib/swapcontext.c: Likewise.
1160 * stdlib/system.c: Likewise.
1161 * streams/fattach.c: Likewise.
1162 * streams/fdetach.c: Likewise.
1163 * streams/getmsg.c: Likewise.
1164 * streams/getpmsg.c: Likewise.
1165 * streams/putmsg.c: Likewise.
1166 * streams/putpmsg.c: Likewise.
1167 * sysdeps/unix/bsd/getpt.c: Likewise.
1168 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1169 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1170 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1173 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1174 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1175 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1176 * sysvipc/msgctl.c: Likewise.
1177 * sysvipc/msgget.c: Likewise.
1178 * sysvipc/msgrcv.c: Likewise.
1179 * sysvipc/msgsnd.c: Likewise.
1180 * sysvipc/semctl.c: Likewise.
1181 * sysvipc/semget.c: Likewise.
1182 * sysvipc/semop.c: Likewise.
1183 * sysvipc/semtimedop.c: Likewise.
1184 * sysvipc/shmat.c: Likewise.
1185 * sysvipc/shmctl.c: Likewise.
1186 * sysvipc/shmdt.c: Likewise.
1187 * sysvipc/shmget.c: Likewise.
1188 * termios/tcdrain.c: Likewise.
1189 * termios/tcflow.c: Likewise.
1190 * termios/tcflush.c: Likewise.
1191 * termios/tcgetattr.c: Likewise.
1192 * termios/tcgetpgrp.c: Likewise.
1193 * termios/tcsendbrk.c: Likewise.
1194 * termios/tcsetattr.c: Likewise.
1195 * termios/tcsetpgrp.c: Likewise.
1196 * time/adjtime.c: Likewise.
1197 * time/clock.c: Likewise.
1198 * time/getitimer.c: Likewise.
1199 * time/gettimeofday.c: Likewise.
1200 * time/setitimer.c: Likewise.
1201 * time/settimeofday.c: Likewise.
1202 * time/stime.c: Likewise.
1203 * time/time.c: Likewise.
1205 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1207 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1210 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1212 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1214 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1218 FE_TONEAREST before applying Dekker multiplication and Knuth
1219 addition. Clear inexact exceptions and check for exact zero
1221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1222 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1224 * math/libm-test.inc (fma_test): Add more tests.
1225 (fma_test_towardzero): Likewise.
1226 (fma_test_downward): Likewise.
1227 (fma_test_upward): Likewise.
1228 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1230 (libc_fesetround): New macro.
1231 (libc_fesetroundf): Likewise.
1232 (libc_fesetroundl): Likewise.
1233 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1235 (libc_fesetround_387): Likewise.
1236 (libc_fesetroundf): New macro.
1237 (libc_fesetround): Likewise.
1238 (libc_fesetroundl): Likewise.
1239 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1241 (libc_fesetroundf): New macro.
1242 (libc_fesetround): Likewise.
1243 (libc_fesetroundl): Likewise.
1244 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1245 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1246 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1248 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1249 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1251 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1252 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1254 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1258 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1259 integer constant usable in #if and use that to give value to enum
1261 (FE_DIVBYZERO): Likewise.
1262 (FE_UNDERFLOW): Likewise.
1263 (FE_OVERFLOW): Likewise.
1264 (FE_INVALID): Likewise.
1265 (FE_INVALID_SNAN): Likewise.
1266 (FE_INVALID_ISI): Likewise.
1267 (FE_INVALID_IDI): Likewise.
1268 (FE_INVALID_ZDZ): Likewise.
1269 (FE_INVALID_IMZ): Likewise.
1270 (FE_INVALID_COMPARE): Likewise.
1271 (FE_INVALID_SOFTWARE): Likewise.
1272 (FE_INVALID_SQRT): Likewise.
1273 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1274 (FE_TONEAREST): Likewise.
1275 (FE_TOWARDZERO): Likewise.
1276 (FE_UPWARD): Likewise.
1277 (FE_DOWNWARD): Likewise.
1278 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1279 (FE_DIVBYZERO): Likewise.
1280 (FE_OVERFLOW): Likewise.
1281 (FE_UNDERFLOW): Likewise.
1282 (FE_INEXACT): Likewise.
1283 (FE_TONEAREST): Likewise.
1284 (FE_DOWNWARD): Likewise.
1285 (FE_UPWARD): Likewise.
1286 (FE_TOWARDZERO): Likewise.
1287 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1288 (FE_UNDERFLOW): Likewise.
1289 (FE_OVERFLOW): Likewise.
1290 (FE_DIVBYZERO): Likewise.
1291 (FE_INVALID): Likewise.
1292 (FE_TONEAREST): Likewise.
1293 (FE_TOWARDZERO): Likewise.
1294 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1295 (FE_OVERFLOW): Likewise.
1296 (FE_UNDERFLOW): Likewise.
1297 (FE_DIVBYZERO): Likewise.
1298 (FE_INEXACT): Likewise.
1299 (FE_TONEAREST): Likewise.
1300 (FE_TOWARDZERO): Likewise.
1301 (FE_UPWARD): Likewise.
1302 (FE_DOWNWARD): Likewise.
1303 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1304 (FE_DIVBYZERO): Likewise.
1305 (FE_OVERFLOW): Likewise.
1306 (FE_UNDERFLOW): Likewise.
1307 (FE_INEXACT): Likewise.
1308 (FE_TONEAREST): Likewise.
1309 (FE_DOWNWARD): Likewise.
1310 (FE_UPWARD): Likewise.
1311 (FE_TOWARDZERO): Likewise.
1313 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1315 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1317 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1319 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1320 commands. Quote $PWD.
1321 (blacklist_exports): Don't use remove_newlines. Replace "declare
1323 (remove_newlines): Remove.
1325 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1327 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1328 * stdlib/stdlib.h (atof): Moved to ...
1329 * include/bits/stdlib-float.h: Here. New file.
1330 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1331 * stdlib/bits/stdlib-float.h: New file.
1332 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1334 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1337 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1339 * conform/conformtest.pl (@headers): Add fenv.h.
1340 * conform/data/fenv.h-data: New file.
1341 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1342 include of <math/fenv.h>.
1344 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1345 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1346 && !UNIX98]. Enables tests for XOPEN2K8.
1347 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1348 POSIX2008]: Likewise.
1350 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1351 (struct rusage): Do not expect type or its members.
1354 * math/math.h (FP_NAN): Define macro to integer constant usable in
1355 #if and use that to give value to enum constant.
1356 (FP_INFINITE): Likewise.
1357 (FP_ZERO): Likewise.
1358 (FP_SUBNORMAL): Likewise.
1359 (FP_NORMAL): Likewise.
1361 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1363 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1364 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1367 2012-11-02 Roland McGrath <roland@hack.frob.com>
1369 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1370 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1371 autoconf-time if not.
1372 * configure.in: Remove AC_PREREQ.
1374 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1376 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1377 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1378 of the internal implementation.
1380 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1382 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1383 except include of <misc/sys/syslog.h>.
1385 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1388 function returns with a NULL context exit with zero.
1390 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1394 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1396 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1397 (run_program_cmd): This.
1398 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1399 (tst_langinfo): New variable. Use it.
1401 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1403 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1404 floating point opcodes.
1406 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1408 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1411 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1413 * sysdeps/mach/hurd/powerpc: Remove directory.
1414 * sysdeps/mach/powerpc: Likewise.
1416 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1418 * scripts/check-local-headers.sh: Ignore c++ headers.
1420 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1422 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1423 __libc_cleanup_region_start argument.
1425 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1430 x * y using scaling, not as x * y + z.
1431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1433 * math/libm-test.inc (fma_test): Add more tests.
1434 (fma_test_towardzero): Likewise.
1435 (fma_test_downward): Likewise.
1436 (fma_test_upward): Likewise.
1438 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1440 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1442 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1444 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1447 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1449 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1451 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1458 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1461 Fix the order of the list for glibc 2.17.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1465 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1469 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1472 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1473 for low part of x being zero before using __atanl (y).
1474 * math/libm-test.inc (atan2_test): Add another test.
1476 * manual/install.texi (Configuring and compiling): Document
1477 general use of test-wrapper and test-wrapper-env.
1478 * INSTALL: Regenerated.
1480 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1481 (__fma): Do not extract and scale down low bits on after-rounding
1482 systems when result rounded to normal precision would have normal
1484 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1485 (__fmal): Do not extract and scale down low bits on after-rounding
1486 systems when result rounded to normal precision would have normal
1488 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1489 (__fmal): Do not extract and scale down low bits on after-rounding
1490 systems when result rounded to normal precision would have normal
1492 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1494 (fma_test): Add more tests.
1495 (fma_test_towardzero): Likewise.
1496 (fma_test_downward): Likewise.
1497 (fma_test_upward): Likewise.
1499 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1501 * sysdeps/i386/tininess.h: Renamed to ...
1502 * sysdeps/x86/tininess.h: This.
1503 * sysdeps/x86_64/tininess.h: Removed.
1505 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1507 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1508 input. Use $(build-program-cmd).
1509 ($(objpfx)tst-array1-static.out): Likewise.
1510 ($(objpfx)tst-array2.out): Likewise.
1511 ($(objpfx)tst-array3.out): Likewise.
1512 ($(objpfx)tst-array4.out): Likewise.
1513 ($(objpfx)tst-array5.out): Likewise.
1514 ($(objpfx)tst-array5-static.out): Likewise.
1516 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1518 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1521 * nss/nsswitch.h (nss_interface_function): Provide new
1522 macro for use with NSS functions.
1523 * grp/initgroups.c: Use new macro.
1524 * nss/getXXbyYY.c: Likewise.
1525 * nss/getXXbyYY_r.c: Likewise.
1526 * nss/getXXent.c: Likewise.
1527 * nss/getXXent_r.c: Likewise.
1528 * sysdeps/posix/getaddrinfo.c: Likewise.
1530 2012-10-30 Andreas Jaeger <aj@suse.de>
1532 * po/ru.po: Update Russion translation from translation project.
1534 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1539 result and shift together with sticky bit instead of replicating
1540 round-to-nearest rounding.
1541 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1542 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1543 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1544 missing underflow exceptions.
1545 (fma_test_towardzero): Add more tests.
1546 (fma_test_downward): Likewise.
1547 (fma_test_upward): Likewise.
1550 * sysdeps/generic/tininess.h: New file.
1551 * sysdeps/i386/tininess.h: Likewise.
1552 * sysdeps/sh/tininess.h: Likewise.
1553 * sysdeps/x86_64/tininess.h: Likewise.
1554 * stdlib/tst-strtod-underflow.c: Likewise.
1555 * stdlib/tst-tininess.c: Likewise.
1556 * stdlib/strtod_l.c: Include <tininess.h>.
1557 (round_and_return): Do not set errno for exact underflow cases.
1558 Force an underflow exception when setting errno for underflow.
1559 Determine underflow based on rounding to normal precision if
1560 TININESS_AFTER_ROUNDING.
1561 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1562 ERANGE for exact underflow cases.
1563 * stdlib/Makefile (tests): Add tst-tininess and
1564 tst-strtod-underflow.
1565 ($(objpfx)tst-tininess): Use $(link-libm).
1566 ($(objpfx)tst-strtod-underflow): Likewise.
1568 2012-10-30 Andreas Jaeger <aj@suse.de>
1571 * elf/Makefile (tests): Remove conditional for have-initfini-array
1572 since this is now always required and the variable does not exist
1574 (tests-static): Likewise.
1575 (modules-names): Likewise.
1577 * po/eo.po: Add Esperanto translation from translation project.
1579 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1580 merged with constructor/destructor.
1581 (init_array): Likewise.
1582 * elf/tst-array2dep.c (fini_array): Likewise.
1583 (init_array): Likewise.
1585 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1587 * manual/message.texi: Delete @cartouche tags.
1589 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1591 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1593 * sysdeps/mach/hurd/fsync.c: Likewise.
1595 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1596 [_POSIX_REALTIME_SIGNALS]: Change condition to
1597 [_POSIX_REALTIME_SIGNALS > 0].
1599 2012-10-27 Andreas Jaeger <aj@suse.de>
1601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1602 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1604 [__WORDSIZE != 64]: Likewise.
1606 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1608 * iconvdata/tst-table.sh: Remove ${SHELL}.
1609 * iconvdata/tst-tables.sh: Likewise.
1611 2012-10-25 David S. Miller <davem@davemloft.net>
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1614 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1619 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1620 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1621 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1624 2012-10-25 Roland McGrath <roland@hack.frob.com>
1626 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1627 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1630 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1631 Jim Blandy <jimb@codesourcery.com>
1633 * scripts/cross-test-ssh.sh: New file.
1634 * manual/install.texi (Configuring and compiling): Document use of
1636 * INSTALL: Regenerated.
1638 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1640 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1643 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1645 * Makeconfig (run-program-prefix): Fix comment.
1647 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1648 Jim Blandy <jimb@codesourcery.com>
1650 * Makeconfig (test-wrapper): New variable,
1651 (test-wrapper-env): Likewise.
1652 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1653 (run-built-tests): Define to yes.
1654 (run-program-prefix): Use $(test-wrapper).
1655 (built-program-cmd): Likewise.
1656 * Rules (make-test-out): Use $(test-wrapper-env) and
1657 $(host-built-program-cmd).
1658 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1659 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1661 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1662 $(test-wrapper-env) to tst-rtld-load-self.sh.
1663 ($(objpfx)order2.out): Use $(test-wrapper).
1664 ($(objpfx)tst-initorder.out): Likewise.
1665 ($(objpfx)tst-initorder2.out): Likewise.
1666 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1667 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1668 (test_wrapper_env): New variable. Use it to run ld.so.
1669 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1670 Use it to run ld.so.
1671 (test_wrapper_env): Likewise.
1672 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1673 $(test-wrapper) to run-iconv-test.sh.
1674 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1675 (ICONV): Use $test_wrapper.
1676 * posix/Makefile ($(objpfx)globtest.out): Pass
1677 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1678 globtest.sh, not $(run-program-prefix).
1679 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1680 (test_wrapper): Likewise.
1681 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1682 set together with run_via_rtld_prefix.
1683 (run_program_prefix): Define in terms of test_wrapper and
1684 run_via_rtld_prefix.
1686 2012-10-24 Roland McGrath <roland@hack.frob.com>
1688 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1689 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1693 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1694 Declare __clock_getres, __clock_gettime, __clock_settime,
1695 __clock_nanosleep, and __clock_getcpuclockid.
1696 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1697 Remove librt_hidden_def (clock_gettime).
1698 * sysdeps/unix/clock_gettime.c: Likewise.
1699 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1700 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1701 * rt/clock_getres.c: Define __clock_getres as an alias.
1702 * sysdeps/posix/clock_getres.c: Likewise.
1703 * rt/clock_settime.c: Define __clock_settime as an alias.
1704 * sysdeps/unix/clock_settime.c: Likewise.
1705 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1706 * sysdeps/unix/clock_nanosleep.c: Likewise.
1707 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1708 * rt/clock-compat.c: New file.
1709 * rt/Makefile (librt-routines): Add clock-compat and move
1710 $(clock-routines) to ...
1711 (routines): ... here, new variable.
1712 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1713 Don't add get_clockfreq here.
1714 * rt/Versions (libc: GLIBC_2.17): New version set.
1715 Add clock_* symbols here.
1716 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1718 (GLIBC_2.17): Add clock_* symbols.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1730 * NEWS: Mention the move.
1732 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1733 Use __open, __read, __close rather than their public counterparts.
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1735 (__get_clockfreq_via_cpuinfo): Likewise.
1736 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1737 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1739 * config.h.in (HAVE_IFUNC): New #undef.
1740 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1742 * configure: Regenerated.
1744 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1746 * configure.in: Move READELF check to start of file.
1747 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1748 libc_cv_asm_gnu_indirect_function in the process.
1749 * configure: Regenerated.
1751 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1753 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1754 send the output to /dev/null.
1755 (libc_cv_cc_with_libunwind): Likewise.
1756 (libc_cv_as_noexecstack): Likewise.
1757 * configure: Regenerate.
1759 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1761 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1763 * posix/globtest.sh (TMPDIR): Do not set.
1764 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1765 (testout): Likewise.
1767 2012-10-24 Andreas Jaeger <aj@suse.de>
1769 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1770 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1771 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1772 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1773 posix_fadvise64, posix_fallocate64.
1775 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1776 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1777 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1779 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1781 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1784 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1785 <bits/fcntl-linux.h>.
1786 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1789 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1790 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1791 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1792 [__WORDSIZE != 64]: Likewise.
1794 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1796 * Makeconfig (run-built-tests): New variable.
1797 * Rules [$(cross-compiling) = yes]: Change condition to
1798 [$(run-built-tests) = no].
1799 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1800 to [$(run-built-tests) = yes].
1801 * elf/Makefile [$(cross-compiling) = no]: Likewise
1802 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1803 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1804 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1805 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1806 * io/Makefile [$(cross-compiling) = no]: Likewise.
1807 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1808 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1809 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1810 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1811 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1812 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1813 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1814 * string/Makefile [$(cross-compiling) = no]: Likewise.
1816 * posix/Makefile ($(objpfx)globtest.out): Pass
1817 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1818 $(rtld-installed-name).
1819 * posix/globtest.sh (elf_objpfx): Remove variable.
1820 (rtld_installed_name): Likewise.
1821 (library_path): Likewise.
1822 (run_program_prefix): New variable. Use for running globtest
1825 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1826 Joseph Myers <joseph@codesourcery.com>
1828 * Makeconfig (host-built-program-cmd): New variable.
1829 * elf/Makefile (tst-stackguard1-ARGS): Use
1830 $(host-built-program-cmd).
1831 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1832 (tst-spawn-ARGS): Likewise.
1833 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1835 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1836 Jim Blandy <jimb@codesourcery.com>
1838 * Makeconfig (run-via-rtld-prefix): New variable.
1839 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1840 (built-program-cmd): Likewise.
1842 2012-10-22 Andreas Jaeger <aj@suse.de>
1844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1845 __O_RSYNC if it exists, otherwise to O_SYNC.
1847 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1848 Joseph Myers <joseph@codesourcery.com>
1850 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1852 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1854 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1857 2012-10-22 Andreas Jaeger <aj@suse.de>
1859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1867 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1869 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1874 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1875 Joseph Myers <joseph@codesourcery.com>
1877 * config.make.in (NM): New variable.
1879 2012-10-21 Andreas Jaeger <aj@suse.de>
1881 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1882 definitions and declarations that are provided by
1883 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1885 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1888 * elf/Makefile (tests-static): Add tst-leaks1-static.
1889 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1890 ($(objpfx)tst-leaks1-static): New rule.
1891 ($(objpfx)tst-leaks1-static-mem): Likewise.
1892 (tst-leaks1-static-ENV): New macro.
1893 * elf/dl-open.c (dl_open_worker): Check the main application
1894 only if SHARED is defined.
1895 * elf/tst-leaks1-static.c: New file.
1897 2012-10-20 Andreas Jaeger <aj@suse.de>
1899 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1900 generic values for Linux.
1901 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1902 and declarations that are provided by <bits/fcntl-linux.h> and
1903 include <bits/fcntl-linux.h>.
1904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1907 2012-10-20 Roland McGrath <roland@hack.frob.com>
1909 * io/fcntl.h: Move include of <bits/types.h> to the top and
1910 include it unconditionally.
1912 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1914 * wcsmbs/Makefile (tests-ifunc): New variable.
1915 (tests): Add $(tests-ifunc).
1916 * wcsmbs/test-wcschr-ifunc.c: New file.
1917 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1918 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1919 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1920 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1921 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1923 * string/Makefile (tests-ifunc): New variable.
1924 (tests): Add $(tests-ifunc).
1925 * string/test-memccpy.c (TEST_NAME): New macro.
1926 * string/test-memchr.c (TEST_NAME): Likewise.
1927 * string/test-memcmp.c (TEST_NAME): Likewise.
1928 * string/test-memcpy.c (TEST_NAME): Likewise.
1929 * string/test-memmem.c (TEST_NAME): Likewise.
1930 * string/test-memmove.c (TEST_NAME): Likewise.
1931 * string/test-memset.c (TEST_NAME): Likewise.
1932 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1933 * string/test-stpcpy.c (TEST_NAME): Likewise.
1934 * string/test-stpncpy.c (TEST_NAME): Likewise.
1935 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1936 * string/test-strcasestr.c (TEST_NAME): Likewise.
1937 * string/test-strcat.c (TEST_NAME): Likewise.
1938 * string/test-strchr.c (TEST_NAME): Likewise.
1939 * string/test-strcmp.c(TEST_NAME): Likewise.
1940 * string/test-strcpy.c (TEST_NAME): Likewise.
1941 * string/test-strcspn.c (TEST_NAME): Likewise.
1942 * string/test-strlen.c (TEST_NAME): Likewise.
1943 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1944 * string/test-strncmp.c (TEST_NAME): Likewise.
1945 * string/test-strncpy.c (TEST_NAME): Likewise.
1946 * string/test-strnlen.c (TEST_NAME): Likewise.
1947 * string/test-strpbrk.c (TEST_NAME): Likewise.
1948 * string/test-strrchr.c (TEST_NAME): Likewise.
1949 * string/test-strspn.c (TEST_NAME): Likewise.
1950 * string/test-strstr.c (TEST_NAME): Likewise.
1951 * string/test-bcopy-ifunc.c: New file.
1952 * string/test-bzero-ifunc.c: Likewise.
1953 * string/test-memccpy-ifunc.c: Likewise.
1954 * string/test-memchr-ifunc.c: Likewise.
1955 * string/test-memcmp-ifunc.c: Likewise.
1956 * string/test-memcpy-ifunc.c: Likewise.
1957 * string/test-memmem-ifunc.c: Likewise.
1958 * string/test-memmove-ifunc.c: Likewise.
1959 * string/test-mempcpy-ifunc.c: Likewise.
1960 * string/test-memset-ifunc.c: Likewise.
1961 * string/test-rawmemchr-ifunc.c: Likewise.
1962 * string/test-stpcpy-ifunc.c: Likewise.
1963 * string/test-stpncpy-ifunc.c: Likewise.
1964 * string/test-strcasecmp-ifunc.c: Likewise.
1965 * string/test-strcasestr-ifunc.c: Likewise.
1966 * string/test-strcat-ifunc.c: Likewise.
1967 * string/test-strchr-ifunc.c: Likewise.
1968 * string/test-strchrnul-ifunc.c: Likewise.
1969 * string/test-strcmp-ifunc.c: Likewise.
1970 * string/test-strcpy-ifunc.c: Likewise.
1971 * string/test-strcspn-ifunc.c: Likewise.
1972 * string/test-strlen-ifunc.c: Likewise.
1973 * string/test-strncasecmp-ifunc.c: Likewise.
1974 * string/test-strncat-ifunc.c: Likewise.
1975 * string/test-strncmp-ifunc.c: Likewise.
1976 * string/test-strncpy-ifunc.c: Likewise.
1977 * string/test-strnlen-ifunc.c: Likewise.
1978 * string/test-strpbrk-ifunc.c: Likewise.
1979 * string/test-strrchr-ifunc.c: Likewise.
1980 * string/test-strspn-ifunc.c: Likewise.
1981 * string/test-strstr-ifunc.c: Likewise.
1983 * debug/Makefile (tests-ifunc): New variable.
1984 (tests): Add $(tests-ifunc).
1985 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1986 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1987 * debug/test-stpcpy_chk-ifunc.c: New file.
1988 * debug/test-strcpy_chk-ifunc.c: Likewise.
1990 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1993 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1994 header is not read in.
1996 2012-10-19 Joseph Myers <joseph@codesourcery.com>
1998 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1999 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2000 directly. Pass built executable to script as
2001 $(built-program-cmd).
2002 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2003 $testprogram without using LD_LIBRARY_PATH and $ldso.
2005 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2006 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2007 $(rtld-installed-name).
2008 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2009 (rtld_installed_name): Likewise.
2010 (library_path): Likewise.
2011 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2012 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2013 $(run-program-prefix) to tst-tables.sh.
2014 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2015 it to run tst-table-from and tst-table-to.
2016 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2017 Pass it to tst-table.sh.
2018 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2019 $(run-program-prefix) to tst-gettext.sh.
2020 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2022 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2024 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2026 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2027 to run tst-gettext2.
2028 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2029 to run tst-translit.
2030 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2031 $(run-program-prefix) to tst-mtrace.sh.
2032 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2034 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2035 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2036 $(rtld-installed-name).
2037 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2038 (rtld_installed_name): Likewise.
2039 (run_program_prefix): New variable. Use it to run wordexp-test.
2041 * Makeconfig (ARCH): Remove all definitions.
2042 (machine): Likewise.
2043 [ARCH]: Remove conditional code.
2044 [!objdir]: Give error.
2045 [!objdir] (objpfx): Remove.
2046 [!objdir] (common-objpfx): Likewise.
2047 [!objdir] (common-objdir): Likewise.
2048 * configure.in (config_makefile): Remove. Hardcode Makefile in
2049 AC_CONFIG_FILES call.
2050 * configure: Regenerated.
2053 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2055 (testout): Likewise.
2057 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2058 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2059 $(rtld-installed-name).
2060 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2061 (rtld_installed_name): Likwise.
2062 (runit): Remove function.
2063 (run_getconf): New variable, Use it for running getconf binary.
2065 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2068 * string/test-memmem.c (check_result): New function.
2069 (do_one_test): Use it.
2070 (check1): New function.
2071 (test_main): Use it.
2073 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2075 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2077 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2079 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2080 (_G_LSEEK64): Likewise.
2081 (_G_MMAP64): Likewise.
2082 (_G_FSTAT64): Likewise.
2083 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2084 (_G_LSEEK64): Likewise.
2085 (_G_MMAP64): Likewise.
2086 (_G_FSTAT64): Likewise.
2087 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2088 unconditional. Call __mmap64 directly.
2089 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2090 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2092 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2093 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2095 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2096 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2098 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2099 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2101 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2102 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2104 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2105 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2106 __fxstat64 directly.
2107 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2108 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2110 (freopen64) [!_G_OPEN64]: Remove conditional code.
2111 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2113 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2114 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2116 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2117 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2119 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2120 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2122 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2123 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2125 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2126 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2128 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2129 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2131 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2133 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2136 * manual/memory.texi (Malloc Tunable Parameters): Add note
2137 about free list pointers overwriting some perturb bytes.
2138 Wording suggested by Roland McGrath.
2140 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2142 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2143 (lgamma_test): Likewise.
2144 (tgamma_test): Likewise.
2146 2012-10-16 Florian Weimer <fweimer@redhat.com>
2149 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2150 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2152 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2154 * NEWS: Mention BZ #14716.
2155 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2156 when removing AVAILABLE1_USES_J macro.
2158 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2161 (__bswap_64): __uint64_t for unsigned 64-bit int.
2163 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2165 * include/string.h (memmem): Declare libc hidden alias.
2166 * string/memmem.c (memmem): Define libc hidden alias.
2167 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2168 __read, __close instead of open, read, close.
2170 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2173 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2175 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2176 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2177 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2179 (__rawmemchr_sse2): Likewise.
2180 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2181 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2182 (__strchr_sse2): Likewise.
2183 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2184 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2185 (__strcasecmp_sse2): Likewise.
2186 (__strncasecmp_sse2): Likewise.
2187 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2188 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2189 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2190 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2191 (__strrchr_sse2): Likewise.
2192 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2194 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2195 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2196 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2197 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2198 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2199 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2200 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2201 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2202 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2203 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2204 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2205 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2206 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2207 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2208 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2209 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2210 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2211 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2212 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2213 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2214 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2215 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2216 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2217 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2218 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2219 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2220 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2221 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2222 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2223 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2225 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2227 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2228 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2229 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2230 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2232 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2234 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2235 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2236 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2237 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2239 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2257 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2273 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2281 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2282 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2283 * include/ifunc-impl-list.h: New file.
2284 * misc/ifunc-impl-list.c: Likewise.
2285 * misc/Makefile (routines): Add ifunc-impl-list.
2286 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2287 * string/test-string.h: Include <ifunc-impl-list.h>.
2288 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2289 impl_array): New variables.
2290 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2292 (test_init): Call __libc_ifunc_impl_list to initialize
2293 func_list if TEST_IFUNC and TEST_NAME are defined.
2295 * string/Makefile (strop-tests): Add bcopy and bzero.
2296 * string/test-bcopy.c: New file.
2297 * string/test-bzero.c: Likewise.
2298 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2300 * string/test-memset.c: Support bzero test if TEST_BZERO is
2302 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2304 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2306 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2309 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2311 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2312 * configure: Regenerated.
2314 * Makeconfig (+link-static-before-libc): Don't include
2315 $(link-static-libc).
2317 * libio/libio.h (_IO_pos_t): Remove.
2319 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2321 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2324 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2326 * crypt/crypt-entry.c: Include fips-private.h.
2327 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2328 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2329 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2330 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2332 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2334 * crypt/crypt-private.h: Include stdbool.h.
2335 (_ufc_setup_salt_r): Return bool.
2336 * crypt/crypt-entry.c: Include errno.h.
2337 (__crypt_r): Return NULL with EINVAL for bad salt.
2338 * crypt/crypt_util.c (bad_for_salt): New.
2339 (_ufc_setup_salt_r): Check that salt is long enough and within
2340 the specified alphabet.
2341 * crypt/badsalttest.c: New file.
2342 * crypt/Makefile (tests): Add it.
2343 ($(objpfx)badsalttest): New.
2345 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2347 * NEWS: Add entry for BZ #14602.
2349 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2351 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2353 * math/libm-test.inc: Update comment listing what functions and
2355 (isgreater_test): New function.
2356 (isgreaterequal_test): Likewise.
2357 (isless_test): Likewise.
2358 (islessequal_test): Likewise.
2359 (islessgreater_test): Likewise.
2360 (isunordered_test): Likewise.
2361 (main): Call the new functions.
2363 2012-10-09 Roland McGrath <roland@hack.frob.com>
2365 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2366 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2367 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2368 * sysdeps/i386/configure: Regenerated.
2369 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2370 * sysdeps/mach/configure: Regenerated.
2371 * sysdeps/mach/hurd/configure: Regenerated.
2372 * sysdeps/powerpc/configure: Regenerated.
2373 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2374 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2375 * sysdeps/s390/s390-32/configure: Regenerated.
2376 * sysdeps/s390/s390-64/configure: Regenerated.
2377 * sysdeps/sh/configure: Regenerated.
2378 * sysdeps/sparc/configure: Regenerated.
2379 * sysdeps/unix/sysv/linux/configure: Regenerated.
2380 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2381 * sysdeps/x86_64/configure: Regenerated.
2383 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2384 defined. Don't check if MAP is NULL.
2386 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2388 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2389 (_G_stat64): Likewise.
2390 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2391 (_G_stat64): Likewise.
2392 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2393 instead of struct _G_stat64.
2394 * libio/fileops.c (mmap_remap_check): Likewise.
2395 (decide_maybe_mmap): Likewise.
2396 (_IO_new_file_seekoff): Likewise.
2397 (_IO_file_stat): Likewise.
2398 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2400 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2401 instead of struct _G_stat64.
2402 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2404 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2407 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2409 (CHECK_EOL): New macro.
2410 (two_way_short_needle): Check beginning of haystack for EOL. Use
2412 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2413 Replace with CHECK_EOL.
2414 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2415 Replace with CHECK_EOL.
2417 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2419 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2421 * math/libm-test.inc: Update comment listing what functions and
2423 (finite_test): New function.
2424 (isinf_test): Likewise.
2425 (isnan_test): Likewise.
2426 (fpclassify_test): Test subnormal input.
2427 (isfinite_test): Likewise.
2428 (isnormal_test): Likewise.
2429 (main): Call the new functions.
2431 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2434 * Makerules (%.dynsym): Force C locale when running
2435 $(OBJDUMP) --dynamic-syms.
2437 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2439 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2442 2012-10-06 David S. Miller <davem@davemloft.net>
2444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2445 upper 32-bits of the length value in %o2 since we use branch-on-register
2446 tests which consider the entire 64-bit register.
2448 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2450 * string/test-strstr.c (check2): Add a test for page boundary.
2452 2012-10-05 David S. Miller <davem@davemloft.net>
2454 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2457 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2459 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2460 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2461 and bzero when HWCAP_SPARC_CRYPTO is present.
2463 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2466 * string/test-strstr.c (check2): New function.
2467 (test_main): Call check2.
2469 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2471 * string/bug-strcasestr1.c (do_test): Moved to ...
2472 * string/test-strcasestr.c (check1): Here. New function.
2473 (do_one_test): Break out result checking code into ...
2474 (check_result): This. New function.
2475 (do_one_test): Call check_result.
2476 (test_main): Call check1.
2477 * string/bug-strchr1.c (do_test): Moved to ...
2478 * string/test-strchr.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-strstr1.c (main): 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-strcasestr1.c: Removed.
2490 * string/bug-strchr1.c: Likewise.
2491 * string/bug-strstr1.c: Likewise.
2493 * elf/Makefile (dl-routines): Add hwcaps.
2494 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2495 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2496 (_dl_important_hwcaps): Moved to ...
2497 * elf/dl-hwcaps.c: Here. New file.
2498 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2501 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2502 if IS_IN_rtld isn't defined.
2504 * elf/dl-support.c (_dl_sysinfo_map): New.
2505 Include "get-dynamic-info.h" and "setup-vdso.h".
2506 (_dl_non_dynamic_init): Call setup_vdso.
2507 * elf/dynamic-link.h: Don't include <assert.h>.
2508 (elf_get_dynamic_info): Moved to ...
2509 * elf/get-dynamic-info.h: Here. New file.
2510 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2511 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2512 * elf/setup-vdso.h: Here. New file.
2513 * elf/rtld.c: Include "setup-vdso.h".
2514 (dl_main): Call setup_vdso.
2516 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2518 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2519 creal in comment listing functions tested. List finite, isinf,
2520 isnan, isless, islessequal, isgreater, isgreaterequal,
2521 islessgreater, isunordered, lgamma_r and pow10 as functions and
2522 macros not tested. Mention which functions not tested are aliases
2523 for other functions. Fix typo. Note that signs of NaNs are not
2526 * scripts/config.guess: Update from config.git.
2527 * scripts/config.sub: Likewise.
2529 2012-10-04 Roland McGrath <roland@hack.frob.com>
2531 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2532 * misc/madvise.c (madvise): Renamed to __madvise.
2533 Make madvise a weak alias.
2534 * include/sys/mman.h: Declare __madvise.
2535 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2536 * sysdeps/unix/syscalls.list
2537 (madvise): Make __madvise the strong name, and madvise a weak alias.
2538 * sysdeps/unix/sysv/linux/syscalls.list
2539 (madvise, mmap): Remove redundant entries.
2540 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2541 * malloc/malloc.c (mtrim): Likewise.
2542 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2544 2012-10-03 Roland McGrath <roland@hack.frob.com>
2546 * sysdeps/mach/hurd/dl-cache.c: File removed.
2547 * config.h.in (USE_LDCONFIG): New #undef.
2548 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2549 * configure: Regenerated.
2550 * elf/Makefile (dl-routines): Add dl-cache only under
2551 [$(use-ldconfig) = yes].
2552 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2553 cache on [USE_LDCONFIG].
2554 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2556 * elf/rtld.c (dl_main): Likewise.
2558 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2560 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2561 _SC_LEVEL4_CACHE_LINESIZE.
2563 2012-10-03 Roland McGrath <roland@hack.frob.com>
2565 * sysdeps/unix/bsd/confstr.h: File removed.
2567 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2569 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2572 2012-10-02 Roland McGrath <roland@hack.frob.com>
2574 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2575 Make 'mapoff' field ElfW(Off) rather than off_t.
2577 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2579 * nscd/Makefile: Remove nscd-cflags and all its users.
2580 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2581 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2584 * malloc.c (malloc_printerr): Clarify error message.
2586 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2590 Set bit_FMA_Usable if FMA is supported.
2591 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2593 (bit_FMA4_Usable): Updated.
2594 (index_FMA_Usable): New macro.
2595 (CPUID_FMA): Likewise
2596 (HAS_FMA): Defined with bit_FMA_Usable.
2598 2012-10-01 Roland McGrath <roland@hack.frob.com>
2600 * bits/types.h (__swblk_t): Type removed.
2601 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2602 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2604 (__SWBLK_T_TYPE): Likewise.
2605 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2606 (__SWBLK_T_TYPE): Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2608 (__SWBLK_T_TYPE): Likewise.
2609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2610 (__SWBLK_T_TYPE): Likewise.
2612 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2613 Honza Horak <hhorak@redhat.com>
2615 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2616 (xdr_mapname): Use YPMAXMAP as maxsize.
2617 (xdr_peername): Use YPMAXPEER as maxsize.
2618 (xdr_keydat): Use YPAXRECORD as maxsize.
2619 (xdr_valdat): Use YPMAXRECORD as maxsize.
2621 2012-10-01 Roland McGrath <roland@hack.frob.com>
2623 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2625 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2626 * csu/init-first.c: ... here.
2627 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2628 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2629 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2630 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2631 * sysdeps/i386/init-first.c: File removed.
2632 * sysdeps/sh/init-first.c: File removed.
2634 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2638 if x * y might underflow to zero and z is zero.
2639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2641 * math/libm-test.inc (min_subnorm_value): New variable.
2642 (fma_test): Add more tests.
2643 (fma_test_towardzero): Likewise.
2644 (fma_test_downward): Likewise
2645 (fma_test_upward): Likewise.
2646 (initialize): Set min_subnorm_value.
2648 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2654 mode for addition resulting in exact zero.
2655 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2660 * math/libm-test.inc (fma_test): Add more tests.
2661 (fma_test_towardzero): New function.
2662 (fma_test_downward): Likewise.
2663 (fma_test_upward): Likewise.
2664 (main): Call the new functions.
2666 2012-09-28 David S. Miller <davem@davemloft.net>
2668 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2670 2012-09-28 Roland McGrath <roland@hack.frob.com>
2672 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2675 * sysdeps/gnu/_G_config.h: Moved to ...
2676 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2677 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2678 * sysdeps/generic/_G_config.h: ... here.
2680 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2682 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2684 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2685 Conditionalize target on [libnss_test1.so-version].
2687 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2689 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2690 (elfobjdir): Move out of conditionals.
2692 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2693 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2694 (__nss_lookup_function): Conditionalize label remove_from_tree on
2695 [!DO_STATIC_NSS || SHARED], matching its only use.
2697 2012-09-28 David S. Miller <davem@davemloft.net>
2699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2700 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2702 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2704 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2705 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2706 when HWCAP_SPARC_CRYPTO is present.
2708 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2710 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2712 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2715 * stdio-common/vfprintf.c (process_string_arg): Revert
2718 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2720 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2722 * stdio-common/tst-sprintf.c: Include <locale.h>
2723 (main): Test sprintf's handling of incomplete multibyte
2726 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2728 * elf/dl-runtime.c (VERSYMIDX): Removed.
2729 * elf/dl-version.c (VERSYMIDX): Likewise.
2730 * elf/do-rel.h (VERSYMIDX): Likewise.
2732 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2733 * elf/rtld.c (VALIDX): Likewise.
2734 (ADDRIDX): Likewise.
2735 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2736 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2737 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2738 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2740 (ADDRIDX): Likewise.
2742 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2744 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2746 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2749 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2751 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2752 addresses are in the same scope as 192.0.2/24.
2753 * posix/gai.conf: Document new scope table defaults.
2755 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2758 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2759 for ftell. Compute offsets from write pointers instead.
2760 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2762 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2765 * libio/Makefile (tests): New test case tst-fseek.
2766 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2767 combination works in wide mode.
2768 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2769 state when the external buffer state changes.
2771 2012-09-27 David S. Miller <davem@davemloft.net>
2774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2775 pass reloc->r_addend in as the 'high' argument to
2776 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2780 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2782 * rt/tst-aio2.c: Include <pthread.h>.
2783 * rt/tst-aio3.c: Likewise.
2785 2012-09-27 Steve Ellcey <sellcey@mips.com>
2787 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2789 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2791 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2792 contents on [SHARED].
2794 2012-09-26 Marek Polacek <polacek@redhat.com>
2798 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2799 for C++ and GCC <4.3 as well as for non GCC compilers.
2801 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2805 2012-09-25 Roland McGrath <roland@hack.frob.com>
2807 * Makefile.in (all, install): Declare with .PHONY.
2808 Reported by Michael Hope <michael.hope@linaro.org>.
2810 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2812 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2813 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2815 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2817 (sydep_routines): Add the new and the internal functions.
2818 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2819 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2821 (GLIBC_2.17): Add the new function.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2823 (GLIBC_2.17): Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2825 (GLIBC_2.17): Likewise.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2827 (GLIBC_2.17): Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2830 2012-09-25 Alan Modra <amodra@gmail.com>
2832 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2833 Add release barrier before setting once_control to say
2834 initialisation is done. Add hints on lwarx. Use macro in
2836 (clear_once_control): Add release barrier.
2838 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2841 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2843 * math/s_clog10.c (__clog10): Likewise.
2844 * math/s_clog10f.c (__clog10f): Likewise.
2845 * math/s_clog10l.c (__clog10l): Likewise.
2846 * math/s_clogf.c (__clogf): Likewise.
2847 * math/s_clogl.c (__clogl): Likewise.
2848 * math/Makefile (libm-calls): Add x2y2m1.
2849 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2850 (__x2y2m1): Likewise.
2851 (__x2y2m1l): Likewise.
2852 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2853 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2856 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2857 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2858 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2859 * sysdeps/i386/fpu/libm-test-ulps: Update.
2860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2863 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2864 int as type of variable DEPTH.
2865 (glob): Use size_t instead of int as type of variables NEWCOUNT
2868 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2870 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2872 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2873 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2874 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2875 macros for using routine as __sincosf_ia32.
2876 Use macro for function declaration and weak_alias.
2877 * sysdeps/i386/fpu/libm-test-ulps: Update.
2879 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2882 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2884 * math/s_cexpf.c (__cexpf): Likewise.
2885 * math/s_csinf.c (__csinf): Likewise.
2886 * math/s_csinhf.c (__csinhf): Likewise.
2887 * math/s_ctanf.c (__ctanf): Likewise.
2888 * math/s_ctanhf.c (__ctanhf): Likewise.
2889 * math/s_ccosh.c (__ccoshf): Likewise.
2890 * math/s_cexp.c (__cexpl): Likewise.
2891 * math/s_csin.c (__csin): Likewise.
2892 * math/s_csinh.c (__csinh): Likewise.
2893 * math/s_ctan.c (__ctan): Likewise.
2894 * math/s_ctanh.c (ctanh): Likewise.
2895 * math/s_ccoshl.c (__ccoshl): Likewise.
2896 * math/s_cexpl.c (__cexpl): Likewise.
2897 * math/s_csinl.c (__csinl): Likewise.
2898 * math/s_csinhl.c (__csinhl): Likewise.
2899 * math/s_ctanl.c (__ctanl): Likewise.
2900 * math/s_ctanhl.c (__ctanhl): Likewise.
2902 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2904 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2905 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2906 (_IO_off_t): Define to __off_t, not _G_off_t.
2907 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2908 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2909 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2910 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2911 type of __dummy and __dummy2 fields.
2912 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2913 (_G_ssize_t): Likewise.
2914 (_G_off_t): Likewise.
2915 (_G_pid_t): Likewise.
2916 (_G_uid_t): Likewise.
2917 (_G_wchar_t): Likewise.
2918 (_G_wint_t): Likewise.
2919 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2920 (_G_ssize_t): Likewise.
2921 (_G_off_t): Likewise.
2922 (_G_pid_t): Likewise.
2923 (_G_uid_t): Likewise.
2924 (_G_wchar_t): Likewise.
2925 (_G_wint_t): Likewise.
2926 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2927 (_G_ssize_t): Likewise.
2928 (_G_off_t): Likewise.
2929 (_G_pid_t): Likewise.
2930 (_G_uid_t): Likewise.
2931 (_G_wchar_t): Likewise.
2932 (_G_wint_t): Likewise.
2934 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2936 * malloc/arena.c: Include malloc-sysdep.h.
2937 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2938 is sufficient to shrink the heap or an unmap is needed.
2939 * sysdeps/generic/malloc-sysdep.h: New file. Define
2940 new function check_may_shrink_heap.
2941 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2942 new function check_may_shrink_heap.
2944 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2949 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2951 * catgets/test-gencat.sh: Add "set -e".
2952 * elf/tst-pathopt.sh: Likewise.
2953 * grp/tst_fgetgrent.sh: Likewise.
2954 * iconvdata/run-iconv-test.sh: Likewise.
2955 * intl/tst-gettext.sh: Likewise.
2956 * intl/tst-gettext2.sh: Likewise.
2957 * intl/tst-gettext4.sh: Likewise.
2958 * intl/tst-gettext6.sh: Likewise.
2959 * intl/tst-translit.sh: Likewise.
2960 * io/ftwtest-sh: Likewise.
2961 * libio/test-freopen.sh: Likewise.
2962 * malloc/tst-mtrace.sh: Likewise.
2963 * posix/globtest.sh: Likewise.
2964 * posix/tst-getconf.sh: Likewise.
2965 * posix/wordexp-tst.sh: Likewise.
2966 * stdio-common/tst-printf.sh: Likewise.
2967 * stdio-common/tst-unbputc.sh: Likewise.
2968 * stdlib/tst-fmtmsg.sh: Likewise.
2969 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2970 * catgets/Makefile: Do not specify -e option when running
2971 testsuite shell scripts.
2972 * elf/Makefile: Likewise.
2973 * grp/Makefile: Likewise.
2974 * iconvdata/Makefile: Likewise.
2975 * intl/Makefile: Likewise.
2976 * io/Makefile: Likewise.
2977 * libio/Makefile: Likewise.
2978 * malloc/Makefile: Likewise.
2979 * posix/Makefile: Likewise.
2980 * stdio-common/Makefile: Likewise.
2981 * stdlib/Makefile: Likewise.
2982 * sysdeps/x86_64/Makefile: Likewise.
2984 * io/ftwtest-sh: Add copyright header.
2985 * posix/globtest.sh: Likewise.
2986 * posix/tst-getconf.sh: Likewise.
2987 * posix/wordexp-tst.sh: Likewise.
2988 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2990 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2993 * Makeconfig (+link): Defined as $(+link-static) if
2994 $(build-shared) isn't yes.
2995 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2997 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2999 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3002 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3003 new chunk size with MALLOC_ALIGN_MASK.
3005 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3008 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3010 (__printf_fphex): Determine rounding using get_rounding_mode and
3012 * stdio-common/tst-printf-round.c (struct hex_test): New
3014 (hex_tests): New variable.
3015 (test_hex_in_one_mode): New function.
3016 (do_test): Also run tests for hex float output.
3018 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3020 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3021 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3022 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3023 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3024 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3025 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3026 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3027 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3029 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3031 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3032 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3033 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3034 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3036 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3039 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3041 * elf/tst-rtld-load-self.sh: New test.
3042 * elf/Makefile: Run it.
3044 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3046 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3047 (tst-writev-ENV): Remove.
3048 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3050 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3052 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3054 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3056 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3058 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3060 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3061 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3062 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3065 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3068 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3069 * config.make.in (have-cpp-asm-debuginfo): Removed.
3070 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3071 * configure: Regenerated.
3073 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3076 * stdio-common/printf_fp.c: Include <stdbool.h> and
3078 (___printf_fp): Determine rounding using get_rounding_mode and
3080 * stdio-common/tst-printf-round.c: New file.
3081 * stdio-common/Makefile (tests): Add tst-printf-round.
3082 (link-libm): New variable.
3083 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3085 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3088 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3089 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3091 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3094 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3096 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3097 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3098 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3099 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3101 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3104 * include/rounding-mode.h: New file.
3105 * sysdeps/generic/get-rounding-mode.h: Likewise.
3106 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3107 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3108 (MAX_VALUE): New macro.
3109 (MIN_VALUE): Likewise.
3110 (overflow_value): New function.
3111 (underflow_value): Likewise.
3112 (round_and_return): Use overflow_value and underflow_value to
3113 determine return values in overflow and underflow cases. Use
3114 round_away to determine rounding depending on rounding mode.
3115 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3116 determine return values in overflow and underflow cases.
3117 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3118 (struct test_results): New structure.
3119 (struct test): Use struct test_results to store expected results
3120 for all rounding modes.
3121 (TEST): Include expected results for all rounding modes.
3122 (test_in_one_mode): New function.
3123 (do_test): Use test_in_one_mode to compute and check results.
3124 Check results for all rounding modes.
3125 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3128 2012-12-09 Allan McRae <allan@archlinux.org>
3130 * sysdeps/i386/fpu/libm-test-ulps: Update
3132 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3135 (_G_int32_t): Likewise.
3136 (_G_uint16_t): Likewise.
3137 (_G_uint32_t): Likewise.
3138 (_G_HAVE_BOOL): Likewise.
3139 (_G_HAVE_ATEXIT): Likewise.
3140 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3141 (_G_HAVE_IO_FILE_OPEN): Likewise.
3142 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3143 (_G_int32_t): Likewise.
3144 (_G_uint16_t): Likewise.
3145 (_G_uint32_t): Likewise.
3146 (_G_HAVE_BOOL): Likewise.
3147 (_G_HAVE_ATEXIT): Likewise.
3148 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3149 (_G_HAVE_IO_FILE_OPEN): Likewise.
3150 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3151 (_G_int32_t): Likewise.
3152 (_G_uint16_t): Likewise.
3153 (_G_uint32_t): Likewise.
3154 (_G_HAVE_BOOL): Likewise.
3155 (_G_HAVE_ATEXIT): Likewise.
3156 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3157 (_G_HAVE_IO_FILE_OPEN): Likewise.
3159 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3161 * csu/libc-tls.c: Update copyright years.
3163 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3165 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3166 [!_G_USING_THUNKS]: Remove conditional code.
3167 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3168 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3170 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3171 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3172 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3173 (_G_VTABLE_LABEL_PREFIX): Likewise.
3174 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3175 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3176 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3177 (_G_VTABLE_LABEL_PREFIX): Likewise.
3178 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3179 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3180 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3181 (_G_VTABLE_LABEL_PREFIX): Likewise.
3182 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3184 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3186 * libio/Makefile: Include ../Makeconfig before tests.
3187 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3188 only if $(build-shared) is yes.
3190 * iconv/gconv_db.c: Update copyright years.
3192 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3194 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3195 unwind info if defined PIC. Fix special cases description.
3196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3198 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3200 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3202 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3204 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3206 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3209 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3210 (LDLIBS-tst-chk4): This.
3211 (LDFLAGS-tst-chk5): Renamed to ...
3212 (LDLIBS-tst-chk5): This.
3213 (LDFLAGS-tst-chk6): Renamed to ...
3214 (LDLIBS-tst-chk6): This.
3215 (LDFLAGS-tst-lfschk4): Renamed to ...
3216 (LDLIBS-tst-lfschk4): This.
3217 (LDFLAGS-tst-lfschk5): Renamed to ...
3218 (LDLIBS-tst-lfschk5): This.
3219 (LDFLAGS-tst-lfschk6): Renamed to ...
3220 (LDLIBS-tst-lfschk6): This.
3222 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3223 on $(common-objpfx)soversions.mk.
3225 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3228 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3231 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * malloc/arena.c (arena_get_retry): New function that gets
3234 another arena for the caller to try its request on.
3235 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3236 current arena cannot fulfill the request.
3237 (__libc_memalign): Likewise.
3238 (__libc_memalign): Likewise.
3239 (__libc_pvalloc): Likewise.
3240 (__libc_calloc): Likewise.
3242 2012-09-05 John Tobey <john.tobey@gmail.com>
3245 * manual/arith.texi (Operations on Complex): Fix description
3248 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3251 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3255 * manual/memory.texi (Memory): Make order of menu items match
3258 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3260 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3261 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3262 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3264 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3266 * csu/libc-tls.c (static_dtv): Renamed to ...
3267 (_dl_static_dtv): This. Make it global.
3268 (_dl_initial_dtv): Removed.
3269 (__libc_setup_tls): Updated.
3270 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3271 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3274 2012-09-06 Petr Machata <pmachata@redhat.com>
3276 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3277 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3278 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3279 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3281 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3284 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3285 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3288 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3291 * Makeconfig (link-static-before-libc): Replace $(+prector)
3293 (link-static-after-libc): Replace $(+postctor) with
3295 (link-bounded): Replace $(+prector)/$(+postctor) with
3296 $(+prectorT)/$(+postctorT).
3297 (+prectorT): New macro.
3298 (+postctorT): Likewise.
3300 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3302 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3303 (round_str): Handle values above the maximum for IBM long double
3305 * stdlib/tst-strtod-round.c (tests): Regenerated.
3307 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3309 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3311 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3312 zarch_nohighgprs around the zarch optimized routines.
3313 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3314 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3318 2012-09-05 David S. Miller <davem@davemloft.net>
3320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3322 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3323 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3324 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3325 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3328 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3330 * malloc/arena.c: Fold copyright years.
3331 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3333 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3335 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3337 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3339 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3341 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3343 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3344 change internal state upon failure.
3346 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3348 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3349 * malloc/memusage.c (mmap): Likewise.
3350 (mmap64, mremap): Likewise. Adjust name in comment.
3352 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3354 * libio/fileops.c: Fix typos in comments.
3355 * libio/oldfileops.c: Likewise.
3356 * libio/wfileops.c: Likewise.
3358 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3361 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3362 (tst-malloc-usable-ENV): Set environment for test case.
3363 * malloc/hooks.c (malloc_check_get_size): New function to get
3365 * malloc/malloc.c (musable): Use malloc_check_get_size.
3366 * malloc/tst-malloc-usable.c: New test case.
3368 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3370 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3372 2012-09-05 Allan McRae <allan@archlinux.org>
3375 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3376 determine header location.
3377 * configure: Regenerated.
3379 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3381 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3383 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3384 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3388 2012-09-04 David S. Miller <davem@davemloft.net>
3390 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3391 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3392 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3394 2012-09-04 Florian Weimer <fweimer@redhat.com>
3396 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3399 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3401 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3404 * libio/iogetdelim.c: Include <limits.h>.
3405 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3406 + len + 1 would overflow.
3408 2012-09-03 Andreas Jaeger <aj@suse.de>
3410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3411 * sysdeps/i386/fpu/libm-test-ulps: Update.
3413 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3415 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3416 Add s_sinf-sse2, s_conf-sse2.
3418 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3419 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3420 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3421 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3423 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3424 for using routine as __sinf_ia32.
3425 Use macro for function declaration and weak_alias.
3426 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3427 for using routine as __cosf_ia32.
3428 Use macro for function declaration and weak_alias.
3430 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3431 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3433 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3434 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3437 * math/libm-test.inc (cos_test): Add more test cases.
3438 (sin_test): Likewise.
3439 (sincos_test): Likewise.
3441 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3443 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3444 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3446 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3448 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3451 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3452 first element of the GOT.
3453 (elf_machine_load_address): Return the difference between
3454 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3456 2012-09-01 Allan McRae <allan@archlinux.org>
3459 * configure.in (AWK): Require gawk version 3.0 or later.
3460 * configure: Regenerated.
3462 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3464 * sysdeps/unix/sysv/linux/kernel-features.h
3465 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3467 [__NR_clock_getres]: Make code unconditional.
3468 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3469 (clock_getcpuclockid): Remove code left unreachable by removal of
3471 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3473 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3474 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3475 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3476 Make code unconditional.
3477 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3478 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3479 * sysdeps/unix/sysv/linux/clock_settime.c
3480 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3482 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3483 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3485 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3488 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3489 scripts/test-installation.pl.
3491 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3492 and $ld_so_version if it is set.
3494 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3498 failure if reading from procfs failed.
3499 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3501 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3503 * sysdeps/unix/sysv/linux/kernel-features.h
3504 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3505 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3506 Remove conditional code.
3507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3508 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3509 Remove conditional code.
3510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3511 * sysdeps/unix/sysv/linux/i386/fxstat.c
3512 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3514 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3515 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3516 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3517 * sysdeps/unix/sysv/linux/i386/lxstat.c
3518 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3520 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3521 Remove conditional code.
3522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3523 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3524 Remove conditional code.
3525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3527 <kernel-features.h>.
3528 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3530 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3531 Remove conditional code.
3532 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3533 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3536 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3539 * NEWS: Add fixed bug number.
3541 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3544 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3545 underflowing exponent in case of negative sign.
3546 * stdlib/tst-strtod-round-data: Add more tests.
3547 * stdlib/tst-strtod-round.c (tests): Regenerated.
3550 * stdlib/strtod_l.c (NDIG): Remove.
3551 (HEXNDIG): Likewise.
3552 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3553 smallest representable value.
3554 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3555 lie within an exact representation of 1/2 ulp of the result.
3556 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3558 (TENS_P9_IDX): Define unconditionally.
3559 (TENS_P9_SIZE): Likewise.
3560 (TENS_P10_IDX): Likewise.
3561 (TENS_P10_SIZE): Likewise.
3562 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3563 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3564 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3565 entries for 10^2^13 and 10^2^14.
3566 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3567 (TENS_P13_IDX): Define.
3568 (TENS_P13_SIZE): Likewise.
3569 (TENS_P14_IDX): Likewise.
3570 (TENS_P14_SIZE): Likewise.
3571 (_fpioconst_pow10): Change array size to
3572 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3574 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3575 1024]: Add entries for 10^2^13 and 10^2^14.
3576 [LAST_POW10 > _LAST_POW10]: Remove #error.
3577 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3578 (_fpioconst_pow10): Change array size to
3579 FPIOCONST_POW10_ARRAY_SIZE.
3580 * stdlib/gen-fpioconst.c: New file.
3581 * stdlib/gen-tst-strtod-round.c: Likewise.
3582 * stdlib/tst-strtod-round-data: Likewise.
3583 * stdlib/tst-strtod-round.c: Likewise.
3584 * stdlib/Makefile (tests): Add tst-strtod-round.
3587 * stdlib/strtod_l.c: Include <stdint.h>.
3588 (NDEBUG): Do not define.
3589 (round_and_return): Change EXPONENT parameter to type intmax_t.
3590 Rearrange calculations to avoid internal overflow possibilities.
3591 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3592 Rearrange calculations to avoid internal overflow possibilities.
3593 Assert that number fits inside MPNSIZE limbs.
3594 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3595 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3596 calculations and add assertions to avoid internal overflow
3597 possibilities. Add casts to avoid signed/unsigned operations.
3598 * stdlib/tst-strtod-overflow.c: New file.
3599 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3601 2012-08-25 Marek Polacek <polacek@redhat.com>
3603 * time/time.h: Fix some typos in comments.
3605 2012-08-23 Roland McGrath <roland@hack.frob.com>
3607 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3608 * posix/tst-rfc3484-2.c: Likewise.
3609 * posix/tst-rfc3484-3.c: Likewise.
3611 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3613 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3614 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3616 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3618 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3619 #include of fxstatat64.c.
3621 2012-08-22 Roland McGrath <roland@hack.frob.com>
3623 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3624 * shadow/getspent_r.c: Likewise.
3625 * shadow/getspnam.c: Likewise.
3626 * shadow/getspnam_r.c: Likewise.
3627 * gshadow/getsgent.c: Likewise.
3628 * gshadow/getsgent_r.c: Likewise.
3629 * gshadow/getsgnam.c: Likewise.
3630 * gshadow/getsgnam_r.c: Likewise.
3631 * inet/getnetbyad.c: Likewise.
3632 * inet/getnetbyad_r.c: Likewise.
3633 * inet/getnetbynm.c: Likewise.
3634 * inet/getnetbynm_r.c: Likewise.
3635 * inet/getnetent.c: Likewise.
3636 * inet/getnetent_r.c: Likewise.
3637 * inet/getproto.c: Likewise.
3638 * inet/getproto_r.c: Likewise.
3639 * inet/getprtent.c: Likewise.
3640 * inet/getprtent_r.c: Likewise.
3641 * inet/getprtname.c: Likewise.
3642 * inet/getprtname_r.c: Likewise.
3643 * inet/getrpcbyname.c: Likewise.
3644 * inet/getrpcbyname_r.c: Likewise.
3645 * inet/getrpcbynumber.c: Likewise.
3646 * inet/getrpcbynumber_r.c: Likewise.
3647 * inet/getrpcent.c: Likewise.
3648 * inet/getrpcent_r.c: Likewise.
3649 * inet/getaliasent.c: Likewise.
3650 * inet/getaliasent_r.c: Likewise.
3651 * inet/getaliasname.c: Likewise.
3652 * inet/getaliasname_r.c: Likewise.
3653 * nscd/getgrgid_r.c: Likewise.
3654 * nscd/getgrnam_r.c: Likewise.
3655 * nscd/gethstbyad_r.c: Likewise.
3656 * nscd/gethstbynm3_r.c: Likewise.
3657 * nscd/getpwnam_r.c: Likewise.
3658 * nscd/getpwuid_r.c: Likewise.
3659 * nscd/getsrvbynm_r.c: Likewise.
3660 * nscd/getsrvbypt_r.c: Likewise.
3661 * nscd/gai.c: Likewise.
3663 * configure.in (build_nscd): New substituted variable, set
3664 by --disable-build-nscd and defaults to $use_nscd.
3665 * configure: Regenerated.
3666 * config.make.in (build-nscd): New substituted variable.
3667 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3668 Change conditional to require [$(build-nscd) = yes] as well.
3669 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3672 * configure.in (use_nscd): New substituted variable, set by
3673 --disable-nscd. If enabled, define USE_NSCD.
3674 * configure: Regenerated.
3675 * config.h.in: Add USE_NSCD.
3676 * config.make.in (use-nscd): New substituted variable.
3677 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3678 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3679 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3680 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3681 (CFLAGS-getgrnam_r.c): Likewise.
3682 (CFLAGS-initgroups.c): Likewise.
3683 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3684 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3686 * inet/getnetgrent_r.c
3687 (nscd_setnetgrent): New function, broken out of ...
3688 (setnetgrent): ... here. Call it.
3689 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3690 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3691 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3692 * nscd/Makefile (routines, aux): Move definitions after include of
3693 Makeconfig. Conditionalize on [$(use-nscd) != no].
3694 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3695 Conditionalize on [USE_NSCD].
3696 (is_nscd, nscd_init_cb): Likewise.
3697 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3698 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3699 * nss/nss_db/db-init.c: Likewise.
3700 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3702 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3703 (make_request): Use it.
3704 (cache_valid_p): New function.
3705 (__check_pf): Use it.
3706 * NEWS: Add item for --disable-nscd.
3708 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3710 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3711 to support sed >= 4.2.1-20-ga9bf076.
3712 * configure: Regenerated.
3714 2012-08-22 Roland McGrath <roland@hack.frob.com>
3716 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3717 Conditionalize whole body on [IREL].
3719 2012-08-22 Jeff Law <law@redhat.com>
3722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3723 if the family is PF_UNSPEC.
3725 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3727 * Makerules (lib-version): Rename from V.
3728 (install-lib-nosubdir): Change V to lib-version.
3730 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3733 * powerpc32/power6/wcschr.c: New file.
3734 * powerpc32/power6/wcscpy.c: New file.
3735 * powerpc32/power6/wcsrchr.c: New file.
3736 * powerpc64/power6/wcschr.c: New file.
3737 * powerpc64/power6/wcscpy.c: New file.
3738 * powerpc64/power6/wcsrchr.c: New file.
3740 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3742 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3743 (two_way_short_needle): Use it.
3744 * string/strstr.c (AVAILABLE1_USES_J): Define.
3745 * string/strcasestr.c: Likewise.
3747 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3749 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3752 * NEWS: Add an entry.
3753 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3754 define their defaults.
3755 (two_way_short_needle): Detect end-of-string on-the-fly.
3756 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3757 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3758 * string/bug-strcasestr1.c: New test.
3759 * string/Makefile: Run it.
3761 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3764 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3765 the first character.
3767 2012-08-21 Roland McGrath <roland@hack.frob.com>
3769 * csu/elf-init.c (__libc_csu_irel): Function removed.
3770 * csu/libc-start.c (apply_irel): New function.
3771 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3773 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/unix/sysv/linux/kernel-features.h
3776 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3777 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3778 <kernel-features.h>.
3779 [__NR_fadvise64_64]: Make code unconditional.
3780 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3781 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3782 !__NR_fadvise64_64)]: Likewise.
3783 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3784 !__NR_fadvise64_64))]: Likewise.
3785 [__NR_fadvise64]: Make code unconditional.
3786 [!__NR_fadvise64]: Remove conditional code.
3787 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3788 <kernel-features.h>.
3789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3794 not include <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/s390/s390-32/posix_fadvise64.c: Do not
3800 include <kernel-features.h>.
3801 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3803 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3806 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3809 slight instruction rearrangements per scrollpipe analysis.
3810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3812 2012-08-20 Roland McGrath <roland@hack.frob.com>
3814 * manual/syslog.texi (syslog; vsyslog, closelog):
3815 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3816 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3818 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3819 DSOCAPS to match condition on defining it.
3821 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3823 * sysdeps/unix/sysv/linux/kernel-features.h
3824 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3826 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3827 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3829 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3830 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3832 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3833 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3835 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3836 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3838 * sysdeps/unix/sysv/linux/kernel-features.h
3839 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3840 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3842 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3843 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3844 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3845 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3846 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3847 Make code unconditional.
3848 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3849 (__mmap64) [!__NR_mmap2]: Likewise.
3850 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3851 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3852 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3853 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3854 [__NR_mmap2]: Make code unconditional.
3855 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3856 (__mmap64) [!__NR_mmap2]: Likewise.
3858 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3860 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3862 2012-08-18 Andreas Jaeger <aj@suse.de>
3864 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3866 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3868 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3869 * include/unistd.h (__have_sock_cloexec): Likewise.
3870 (__have_pipe2): Likewise.
3871 (__have_dup3): Likewise.
3873 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3876 * include/unistd.h (__have_pipe2): Change define into an extern int.
3877 (__have_dup3): Likewise.
3878 * socket/have_sock_cloexec.c: Include fcntl.h.
3879 (__have_pipe2): New variable.
3880 (__have_dup3): Likewise.
3882 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3884 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3886 2012-08-17 Marek Polacek <polacek@redhat.com>
3888 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3889 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3891 2012-08-17 Roland McGrath <roland@hack.frob.com>
3893 * configure.in: Add AC_SUBST for sysheaders.
3894 * configure: Regenerated.
3895 * config.make.in (sysheaders): New substituted variable.
3897 * sysdeps/unix/mkfifo.c: Moved ...
3898 * sysdeps/posix/mkfifo.c: ... here.
3899 * sysdeps/unix/mkfifoat.c: Moved ...
3900 * sysdeps/posix/mkfifoat.c: ... here.
3902 * sysdeps/unix/utime.c: Moved ...
3903 * sysdeps/posix/utime.c: ... here.
3905 * sysdeps/unix/time.c: Moved ...
3906 * sysdeps/posix/time.c: ... here.
3907 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3908 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3910 * sysdeps/unix/nice.c: Moved ...
3911 * sysdeps/posix/nice.c: ... here.
3913 * sysdeps/unix/alarm.c: Moved ...
3914 * sysdeps/posix/alarm.c: ... here.
3916 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3918 2012-08-17 Jeff Law <law@redhat.com>
3920 * intl/Makefile (codeset_mo): New variable.
3921 ($(codeset_mo)): New target.
3922 (tst-codeset.out): Depend on that. Remove explicit rule.
3923 (tst-gettext3.out, tst-gettext5.out): Likewise.
3924 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3925 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3926 * intl/tst-codeset.sh: Remove.
3927 * intl/tst-gettext3.sh: Likewise.
3928 * intl/tst-gettext5.sh: Likewise.
3930 2012-08-17 Roland McGrath <roland@hack.frob.com>
3932 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3933 * sysdeps/unix/syscalls.list: ... here.
3935 * sysdeps/posix/getaddrinfo.c
3936 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3937 (gaiconf_init, gaiconf_reload): Use them.
3939 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3940 Define using time_t rather than struct timespec.
3942 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3943 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3945 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3947 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3948 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3951 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3952 __libc_cleanup_push argument.
3954 * bits/param.h: New file.
3955 * misc/sys/param.h: New file.
3956 * include/sys/param.h: New file.
3957 * misc/Makefile (headers): Add bits/param.h.
3958 * sysdeps/generic/sys/param.h: File removed.
3959 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3960 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3961 * sysdeps/mach/hurd/bits/param.h: New file.
3962 * sysdeps/mach/hurd/sys/param.h: File removed.
3964 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3967 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3969 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3970 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3973 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3974 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3975 rather than -D_IO_MTSAFE_IO conditionally.
3976 * stdio-common/Makefile (CPPFLAGS): Likewise.
3977 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3978 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3979 Use $(libio-mtsafe).
3980 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3982 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3983 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3984 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3985 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3986 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3987 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3988 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3989 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3990 (CFLAGS-fread_u_chk.c): Likewise.
3991 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3992 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3993 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3994 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3995 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3996 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3997 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3998 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3999 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4001 * libio/Makefile: Test [$(libc-reentrant) = yes]
4002 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4005 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4006 * sysdeps/pthread/configure: File removed.
4007 * sysdeps/pthread/Makeconfig: New file.
4008 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4009 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4011 2012-08-16 Gary Benson <gbenson@redhat.com>
4013 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4014 unmapping the first object in a namespace.
4016 2012-08-16 Roland McGrath <roland@hack.frob.com>
4018 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4019 (__internal_setnetgrent): ... this. Add internal_function to
4020 definition. Add libc_hidden_def.
4021 (setnetgrent): Update caller.
4022 (internal_endnetgrent): Renamed to ...
4023 (__internal_endnetgrent): ... this. Add internal_function to
4024 definition. Add libc_hidden_def.
4025 (endnetgrent): Update caller.
4026 (internal_getnetgrent_r): Renamed to ...
4027 (__internal_getnetgrent_r): ... this. Add internal_function to
4028 definition. Add libc_hidden_def.
4029 (__getnetgrent_r): Update caller.
4030 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4032 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4034 * stdlib/longlong.h: Update from GCC.
4036 2012-08-16 Roland McGrath <roland@hack.frob.com>
4038 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4039 on _QL, which is set by umul_ppmm but never used.
4040 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4041 variables, which are set by GMP macros but never used.
4042 * stdio-common/_itowa.c (_itowa): Likewise.
4043 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4044 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4046 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4048 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4049 struct La_sh_regs is not constant.
4050 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4051 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4052 and struct La_sparc64_regs are not constant.
4054 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4056 * sysdeps/unix/sysv/linux/kernel-features.h
4057 (__ASSUME_POSIX_TIMERS): Remove.
4058 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4060 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4061 Make code unconditional.
4062 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4063 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4064 Make code unconditional.
4065 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4066 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4067 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4068 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4069 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4070 Make code unconditional.
4071 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4072 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4073 (__libc_missing_posix_timers): Remove.
4075 2012-08-15 Roland McGrath <roland@hack.frob.com>
4077 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4078 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4080 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4082 * elf/dl-sym.c: Include <stdlib.h>.
4084 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4085 constants, which avoids warnings in 32-bit builds.
4087 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4088 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4090 * misc/lseek.c: File moved to ...
4091 * io/lseek.c: ... here.
4093 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4095 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4096 shifting LEN more than 31 bits at once.
4098 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4101 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4102 segmentation fault for a case of two empty input strings.
4103 * string/test-strncasecmp.c (check1): Renamed to...
4105 (bz14195): Add new testcase for two empty input strings and N > 0.
4106 (test_main): Call new testcase, adapt for renamed function.
4108 2012-08-15 Andreas Jaeger <aj@suse.de>
4111 * crypt/md5test2.c: New test, based on test supplied by Serge
4112 Belyshev <belyshev@depni.sinp.msu.ru>.
4113 * crypt/Makefile (xtests): Add md5test-giant..
4114 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4116 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4119 * crypt/md5.c (md5_process_block): Don't assume the buffer
4120 length is less than 2**32.
4121 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4122 length is less than 2**64.
4124 2012-08-15 Roland McGrath <roland@hack.frob.com>
4126 * string/str-two-way.h: Include <sys/param.h>.
4127 (MAX): Macro removed.
4129 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4130 Move #define and #undef of memmove to just before and after
4131 including <string.h>.
4133 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4134 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4135 and after including <string.h>. Move declarations of
4136 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4137 to before #include "string/memmove.c".
4139 * include/dirent.h: Declare __getdirentries.
4141 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4142 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4144 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4146 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4147 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4148 * sysdeps/i386/configure: Regenerated.
4149 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4150 STABS_CURRENT_FILE, and STABS_FUN.
4151 (END): Remove call to STABS_FUN_END.
4152 (STABS_CURRENT_FILE1): Delete.
4153 (STABS_CURRENT_FILE): Likewise.
4154 (STABS_FUN): Likewise.
4155 (STABS_FUN_END): Likewise.
4156 (STABS_FUN2): Likewise.
4157 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4158 * sysdeps/x86_64/configure: Regenerated.
4160 2012-08-14 Roland McGrath <roland@hack.frob.com>
4162 * elf/dl-open.c: Include <atomic.h>.
4163 * elf/dl-lookup.c: Likewise.
4165 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4167 * sysdeps/unix/sysv/linux/kernel-features.h
4168 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4169 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4171 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4173 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4174 condition on __ASSUME_CLONE_THREAD_FLAGS.
4176 2012-08-14 Andreas Jaeger <aj@suse.de>
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4180 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4182 * include/atomic.h (atomic_exchange_and_add): Split into ...
4183 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4186 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4190 2012-08-13 Jeff Law <law@redhat.com>
4192 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4193 null byte in the output string.
4195 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4197 * sysdeps/unix/sysv/linux/kernel-features.h
4198 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4199 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4200 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4201 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4202 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4203 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4204 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4206 2012-08-09 Jeff Law <law@redhat.com>
4209 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4210 When avoid_arena is set, don't retry in the that arena. Pick the
4211 next one, whatever it might be.
4212 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4213 (arena_lock): Pass in new parameter to arena_get2.
4214 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4216 (__libc_malloc): Unify retrying after main arena failure with
4217 __libc_memalign version.
4218 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4220 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4223 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4224 to __redirect_strstr.
4225 (__strstr_sse42): Use typeof __redirect_strstr.
4226 (__strstr_ia32): Likewise.
4227 (__libc_strstr): New prototype.
4228 (strstr): Renamed to ...
4229 (__libc_strstr): This.
4230 (strstr): New strong alias of __libc_strstr.
4231 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4232 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4235 (__libc_time): New prototype.
4236 (time_ifunc): Replace time with __libc_time.
4237 (time): New strong alias and hidden definition of __libc_time.
4238 (__GI_time): Remove strong alias.
4239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4241 (memmove): Redefined to __redirect_memmove.
4242 (__memmove_sse2): Use typeof __redirect_memmove.
4243 (__memmove_ssse3): Likewise.
4244 (__memmove_ssse3_back): Likewise.
4245 (__libc_memmove): New prototype.
4246 (memmove): Renamed to ...
4247 (__libc_memmove): This.
4248 (memmove): New strong alias of __libc_memmove.
4250 2012-08-08 Mark Salter <msalter@redhat.com>
4253 (R_MN10300_TLS_GD): Define.
4254 (R_MN10300_TLS_LD): Likewise.
4255 (R_MN10300_TLS_LDO): Likewise.
4256 (R_MN10300_TLS_GOTIE): Likewise.
4257 (R_MN10300_TLS_IE): Likewise.
4258 (R_MN10300_TLS_LE): Likewise.
4259 (R_MN10300_TLS_DTPMOD): Likewise.
4260 (R_MN10300_TLS_DTPOFF): Likewise.
4261 (R_MN10300_TLS_TPOFF): Likewise.
4262 (R_MN10300_SYM_DIFF): Likewise.
4263 (R_MN10300_ALIGN): Likewise.
4264 (R_MN10300_NUM): Update.
4266 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4271 2012-08-08 Roland McGrath <roland@hack.frob.com>
4273 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4275 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4276 sysdeps/unix -> sysdeps/posix move.
4277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4279 2012-08-07 Allan McRae <allan@archlinux.org>
4282 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4283 (SUNOS_CPP): Likewise.
4284 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4286 (open_input): Call CPP using execvp.
4288 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4290 * sysdeps/unix/sysv/linux/kernel-features.h
4291 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4292 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4293 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4294 (__ASSUME_WAITID_SYSCALL): Likewise.
4295 * sysdeps/unix/sysv/linux/dl-execstack.c
4296 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4298 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4301 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4302 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4304 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4306 [__ASSUME_WAITID_SYSCALL]: Likewise.
4307 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4309 2012-08-07 Roland McGrath <roland@hack.frob.com>
4311 * sysdeps/unix/closedir.c: Renamed to ...
4312 * sysdeps/posix/closedir.c: ... here.
4313 * sysdeps/unix/dirfd.c: Renamed to ...
4314 * sysdeps/posix/dirfd.c: ... here.
4315 * sysdeps/unix/dirstream.h: Renamed to ...
4316 * sysdeps/posix/dirstream.h: ... here.
4317 * sysdeps/unix/fdopendir.c: Renamed to ...
4318 * sysdeps/posix/fdopendir.c: ... here.
4319 * sysdeps/unix/opendir.c: Renamed to ...
4320 * sysdeps/posix/opendir.c: ... here.
4321 * sysdeps/unix/readdir.c: Renamed to ...
4322 * sysdeps/posix/readdir.c: ... here.
4323 * sysdeps/unix/readdir_r.c: Renamed to ...
4324 * sysdeps/posix/readdir_r.c: ... here.
4325 * sysdeps/unix/rewinddir.c: Renamed to ...
4326 * sysdeps/posix/rewinddir.c: ... here.
4327 * sysdeps/unix/seekdir.c: Renamed to ...
4328 * sysdeps/posix/seekdir.c: ... here.
4329 * sysdeps/unix/telldir.c: Renamed to ...
4330 * sysdeps/posix/telldir.c: ... here.
4331 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4332 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4333 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4334 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4336 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4337 * bits/fcntl.h: ... here.
4339 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4341 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4342 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4343 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4344 (struct flock): Move l_start, l_len to the beginning.
4345 Use __pid_t for l_pid.
4346 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4347 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4348 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4349 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4350 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4351 [__USE_LARGEFILE64] (struct flock64): New type.
4352 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4354 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4355 * bits/dirent.h: ... here.
4357 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4358 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4360 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4363 Change from 2.6.0 to 2.6.16.
4364 * sysdeps/unix/sysv/linux/configure: Regenerated.
4365 * sysdeps/unix/sysv/linux/kernel-features.h
4366 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4367 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4369 (__ASSUME_UTIMES): Likewise.
4370 (__ASSUME_CLONE_STOPPED): Remove.
4371 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4372 architectures, not kernel version.
4373 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4374 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4375 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4376 (__ASSUME_WAITID_SYSCALL): Likewise.
4377 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4378 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4379 * README: State 2.6.16 as minimum Linux kernel version. Do not
4380 refer to older versions.
4382 2012-08-06 Roland McGrath <roland@hack.frob.com>
4384 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4385 Define alphasort64 as an alias.
4386 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4387 Define versionsort64 as an alias.
4388 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4389 Define scandir64 as an alias.
4390 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4391 Define scandirat64 as an alias.
4392 * dirent/alphasort64.c (alphasort64):
4393 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4394 * dirent/versionsort64.c: Likewise.
4395 * dirent/scandir64.c: Likewise.
4396 * dirent/scandirat64.c: Likewise.
4397 * sysdeps/wordsize-64/alphasort.c: File removed.
4398 * sysdeps/wordsize-64/alphasort64.c: File removed.
4399 * sysdeps/wordsize-64/scandir.c: File removed.
4400 * sysdeps/wordsize-64/scandir64.c: File removed.
4401 * sysdeps/wordsize-64/scandirat.c: File removed.
4402 * sysdeps/wordsize-64/scandirat64.c: File removed.
4403 * sysdeps/wordsize-64/versionsort.c: File removed.
4404 * sysdeps/wordsize-64/versionsort64.c: File removed.
4405 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4407 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4408 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4409 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4410 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4411 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4412 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4414 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4416 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4418 [defined __arch64__ || defined __sparcv9]
4419 (__INO_T_MATCHES_INO64_T): New macro.
4420 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4421 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4422 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4423 * sysdeps/unix/sysv/linux/bits/dirent.h
4424 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4425 (_DIRENT_MATCHES_DIRENT64): New macro.
4427 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4428 Define lockf64 as an alias.
4429 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4430 Define fseeko64 as an alias.
4431 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4432 Define ftello64 as an alias.
4433 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4434 Define _IO_fgetpos64 and fgetpos64 as aliases.
4435 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4436 Define _IO_fsetpos64 and fsetpos64 as aliases.
4437 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4438 Conditionalize body on this.
4439 * libio/fseeko64.c: Likewise.
4440 * libio/ftello64.c: Likewise.
4441 * libio/iofgetpos64.c: Likewise.
4442 * libio/iofsetpos64.c: Likewise.
4443 * sysdeps/wordsize-64/lockf.c: File removed.
4444 * sysdeps/wordsize-64/lockf64.c: File removed.
4445 * sysdeps/wordsize-64/fseeko.c: File removed.
4446 * sysdeps/wordsize-64/fseeko64.c: File removed.
4447 * sysdeps/wordsize-64/ftello.c: File removed.
4448 * sysdeps/wordsize-64/ftello64.c: File removed.
4449 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4450 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4451 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4452 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4453 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4454 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4455 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4457 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4459 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4460 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4461 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4462 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4464 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4466 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4468 [defined __arch64__ || defined __sparcv9]
4469 (__OFF_T_MATCHES_OFF64_T): New macro.
4470 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4471 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4472 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4473 (__OFF_T_MATCHES_OFF64_T): New macro.
4475 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4477 * stdlib/secure-getenv.c (__secure_getenv): Replace
4478 GLIBC_2_16 with GLIBC_2_17.
4480 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4482 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4485 2012-08-03 David S. Miller <davem@davemloft.net>
4487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4489 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4493 (__ASSUME_CORRECT_SI_PID): Likewise.
4494 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4495 (__ASSUME_TMPFS_NAME): Likewise.
4496 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4497 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4498 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4499 (HAVE_AUX_SECURE): Make definition unconditional.
4500 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4501 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4503 2012-08-03 Roland McGrath <roland@hack.frob.com>
4505 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4506 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4507 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4508 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4509 __eloop_threshold instead of SYMLOOP_MAX.
4511 * sysdeps/generic/eloop-threshold.h: New file.
4512 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4514 * elf/chroot_canon.c (chroot_canon): Likewise.
4516 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4520 Change to 2.6.0 everywhere.
4521 * sysdeps/unix/sysv/linux/configure: Regenerated.
4522 * sysdeps/unix/sysv/linux/kernel-features.h
4523 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4524 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4526 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4527 (__ASSUME_FUTEX_REQUEUE): Remove.
4528 (__ASSUME_STATFS64): Define unconditionally.
4529 (__ASSUME_AT_SECURE): Likewise.
4530 (__ASSUME_CORRECT_SI_PID): Likewise.
4531 (__ASSUME_TGKILL): Define without depending on kernel version for
4533 (__ASSUME_UTIMES): Likewise.
4534 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4536 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4537 (__ASSUME_TMPFS_NAME): Likewise.
4538 * README: Update reference to Linux kernel versions.
4540 2012-08-02 Marek Polacek <polacek@redhat.com>
4543 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4544 libc_cv_asm_type_prefix with %.
4545 * configure: Regenerated.
4546 * include/libc-symbols.h: Remove comment about
4547 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4548 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4549 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4550 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4551 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4552 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4553 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4554 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4555 * elf/tst-unique2mod1.c: Likewise.
4556 * elf/tst-unique1mod2.c: Likewise.
4557 * elf/tst-unique1mod1.c: Likewise.
4558 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4559 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4560 Replace ASM_TYPE_DIRECTIVE with .type.
4561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4562 * sysdeps/i386/sysdep.h: Likewise.
4563 * sysdeps/x86_64/sysdep.h: Likewise.
4564 * sysdeps/sh/sysdep.h: Likewise.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4566 Do not define ASM_TYPE_DIRECTIVE.
4567 * sysdeps/powerpc/sysdep.h: Likewise.
4568 * sysdeps/powerpc/powerpc32/sysdep.h:
4569 Replace ASM_TYPE_DIRECTIVE with .type.
4570 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4571 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4572 * sysdeps/i386/fpu/e_powf.S: Likewise.
4573 * sysdeps/i386/fpu/e_expl.S: Likewise.
4574 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4575 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4576 * sysdeps/i386/fpu/e_pow.S: Likewise.
4577 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4578 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4579 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4580 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4581 * sysdeps/i386/fpu/e_log2.S: Likewise.
4582 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4583 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4584 * sysdeps/i386/fpu/e_powl.S: Likewise.
4585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4587 * sysdeps/i386/fpu/e_logl.S: Likewise.
4588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4589 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4590 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4592 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4593 * sysdeps/i386/fpu/e_log.S: Likewise.
4594 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4595 * sysdeps/i386/fpu/e_logf.S: Likewise.
4596 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4597 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4598 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4599 * sysdeps/i386/fpu/e_log10.S: Likewise.
4600 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4601 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4602 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4603 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4604 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4606 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4607 * sysdeps/i386/i686/strtok.S: Likewise.
4608 * sysdeps/i386/i386-mcount.S: Likewise.
4609 * sysdeps/i386/strtok.S: Likewise.
4610 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4611 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4613 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4614 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4615 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4616 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4617 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4618 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4619 * sysdeps/x86_64/_mcount.S: Likewise.
4620 * sysdeps/x86_64/strtok.S: Likewise.
4621 * sysdeps/sh/_mcount.S: Likewise.
4623 2012-08-01 Roland McGrath <roland@hack.frob.com>
4625 * libio/iofopen.c: Include <fcntl.h>.
4626 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4627 (_IO_fopen64, fopen64): Define as aliases.
4628 * libio/iofopen64.c: Include <fcntl.h>.
4629 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4630 Conditionalize body on this.
4631 * sysdeps/wordsize-64/iofopen.c: File removed.
4632 * sysdeps/wordsize-64/iofopen64.c: File removed.
4634 2012-08-01 Marek Polacek <polacek@redhat.com>
4636 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4637 Use dlfcn directly instead of a variable.
4638 (binfmt-subdir): Do not define.
4641 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4644 Remove all definitions.
4645 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4646 <kernel-features.h>.
4647 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4648 (miss_F_GETOWN_EX): Remove all definitions.
4649 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4651 [!__ASSUME_FCNTL64]: Remove conditional code.
4652 [__ASSUME_FCNTL64]: Make code unconditional.
4653 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4654 <kernel-features.h>.
4655 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4656 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4657 (lockf64) [__NR_fcntl64]: Make code unconditional.
4658 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4660 * sysdeps/unix/sysv/linux/kernel-features.h
4661 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4662 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4663 Make code unconditional.
4664 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4665 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4667 [__NR_vfork]: Make code unconditional.
4668 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4669 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4671 [__NR_vfork]: Make code unconditional.
4672 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4673 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4675 2012-08-01 Roland McGrath <roland@hack.frob.com>
4677 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4678 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4680 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4681 Define mkstemp64 as an alias.
4682 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4683 Define mkstemps64 as an alias.
4684 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4685 Define mkostemp64 as an alias.
4686 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4687 Define mkostemps64 as an alias.
4688 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4689 Conditionalize body on this.
4690 * misc/mkostemp64.c: Likewise.
4691 * misc/mkostemps64.c: Likewise.
4692 * misc/mkstemps64.c: Likewise.
4693 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4694 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4695 * sysdeps/wordsize-64/mkostemp.c: File removed.
4696 * sysdeps/wordsize-64/mkstemp.c: File removed.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4703 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4704 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4705 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4706 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4708 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4709 compat_symbol macros from <shlib-compat.h> rather than the underlying
4710 default_symbol_version and symbol_version macros, so that DEFAULT
4711 lines in shlib-versions are respected.
4712 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4714 2012-08-01 Florian Weimer <fweimer@redhat.com>
4716 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4717 Declare with warn_unused_result.
4718 (setgid, setregid, setegid, setresgid): Likewise.
4719 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4721 * WUR-REPORT: Remove set*id functions.
4723 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4725 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4727 2012-07-31 Roland McGrath <roland@hack.frob.com>
4729 * include/sys/socket.h (__libc_accept, __libc_accept4):
4730 Add attribute_hidden.
4731 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4733 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4735 * inet/getnetgrent_r.c (setup): Likewise.
4737 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4739 2012-07-31 David S. Miller <davem@davemloft.net>
4741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4743 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4746 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4747 value between 1.0 and 2.0 and smaller part has absolute value less
4749 * math/s_clog10.c (__clog10): Likewise.
4750 * math/s_clog10f.c (__clog10f): Likewise.
4751 * math/s_clog10l.c (__clog10l): Likewise.
4752 * math/s_clogf.c (__clogf): Likewise.
4753 * math/s_clogl.c (__clogl): Likewise.
4754 * math/libm-test.inc (clog_test): Add more tests.
4755 (clog10_test): Likewise.
4756 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759 2012-07-31 Florian Weimer <fweimer@redhat.com>
4761 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4762 Exit with zero in case no suitable GID is found, and write a
4763 message to standard error.
4765 2012-07-30 Roland McGrath <roland@hack.frob.com>
4767 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4769 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4770 (MAXPATHLEN): Removed.
4771 (NOGROUP, NODEV): New macros.
4772 (setbit, clrbit, isset, isclr): New macros.
4773 (howmany, roundup, powerof2): New macros.
4774 (DEV_BSIZE): New macro.
4776 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4777 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4779 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4780 definition on [!__NO_LONG_DOUBLE_MATH].
4782 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4783 PTR_MANGLE and PTR_DEMANGLE.
4785 * socket/accept4.c (accept4): Rename to __libc_accept4.
4786 Define accept4 as a weak alias.
4788 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4789 on [_DIRENT_HAVE_D_TYPE].
4790 * io/ftw.c (ftw_dir): Likewise.
4792 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4794 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4796 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4797 Use the BSD numbers rather than the arbitrary ones we had.
4798 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4799 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4800 (SIGXCPU, SIGXFSZ): New macros.
4803 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4804 initializer on [_LIBC_REENTRANT].
4806 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4807 definitions inside [_POSIX_MAPPED_FILES].
4809 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4811 * dirent/opendir.c: Include <fcntl.h>.
4813 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4814 (__libc_getspecific): Likewise.
4815 (__libc_key_create): Likewise.
4817 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4818 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4819 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4820 (tmpfile64): Define as alias.
4821 * sysdeps/wordsize-64/tmpfile.c: File removed.
4822 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4826 * stdio-common/vfscanf.c: Include <stdbool.h>.
4827 * nss/makedb.c: Likewise.
4828 * stdio-common/_i18n_number.h: Likewise.
4829 * argp/argp-help.c: Likewise.
4830 * posix/wordexp.c: Likewise.
4831 * sysdeps/posix/spawni.c: Likewise.
4832 * nss/nss_files/files-initgroups.c: Likewise.
4833 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4834 * nss/nss_files/files-initgroups.c: Likewise.
4835 * nss/nss_db/db-netgrp.c: Likewise.
4836 * nss/nss_db/db-initgroups.c: Likewise.
4837 * io/fchmodat.c: Include <sys/stat.h>.
4839 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4840 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4842 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4845 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4846 Add multiple inclusion protection.
4848 2012-07-27 David S. Miller <davem@davemloft.net>
4850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4852 2012-07-27 Gary Benson <gbenson@redhat.com>
4855 * elf/rtld.c: Include <stap-probe.h>.
4856 (dl_main): Added static probes "init_start" and "init_complete".
4857 * elf/dl-load.c: Include <stap-probe.h>.
4858 (lose): Take new parameter "nsid".
4859 Added static probe "map_failed".
4860 (_dl_map_object_from_fd): Pass namespace id to lose.
4861 Added static probe "map_start".
4862 (open_verify): Pass namespace id to lose.
4863 * elf/dl-open.c: Include <stap-probe.h>.
4864 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4865 and "reloc_complete".
4866 * elf/dl-close.c: Include <stap-probe.h>.
4867 (_dl_close_worker): Added static probes "unmap_start" and
4869 * elf/rtld-debugger-interface.txt: New file documenting the above.
4871 2012-07-26 Roland McGrath <roland@hack.frob.com>
4873 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4874 rather than a string variable.
4875 * sunrpc/rpc_main.c (h_output): Likewise.
4876 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4878 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4880 * inet/check_native.c: New file.
4882 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4885 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4886 if larger part has absolute value 1.0.
4887 * math/s_clog10.c (__clog10): Likewise.
4888 * math/s_clog10f.c (__clog10f): Likewise.
4889 * math/s_clog10l.c (__clog10l): Likewise.
4890 * math/s_clogf.c (__clogf): Likewise.
4891 * math/s_clogl.c (__clogl): Likewise.
4892 * math/libm-test.inc (clog_test): Add more tests.
4893 (clog10_test): Likewise.
4894 * sysdeps/i386/fpu/libm-test-ulps: Update.
4895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4897 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4898 (pltexit): Likewise.
4899 (La_regs): Likewise.
4900 (La_retval): Likewise.
4901 (int_retval): Likewise.
4902 Update #error for removed macros to refer only to definitions in
4904 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4906 (pltexit): Likewise.
4907 (La_regs): Likewise.
4908 (La_retval): Likewise.
4909 (int_retval): Likewise.
4910 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4912 (pltexit): Likewise.
4913 (La_regs): Likewise.
4914 (La_retval): Likewise.
4915 (int_retval): Likewise.
4916 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4918 (pltexit): Likewise.
4919 (La_regs): Likewise.
4920 (La_retval): Likewise.
4921 (int_retval): Likewise.
4922 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4924 (pltexit): Likewise.
4925 (La_regs): Likewise.
4926 (La_retval): Likewise.
4927 (int_retval): Likewise.
4928 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4930 (pltexit): Likewise.
4931 (La_regs): Likewise.
4932 (La_retval): Likewise.
4933 (int_retval): Likewise.
4934 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4936 (pltexit): Likewise.
4937 (La_regs): Likewise.
4938 (La_retval): Likewise.
4939 (int_retval): Likewise.
4940 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4941 macro definitions in tst-audit.h.
4942 * sysdeps/i386/tst-audit.h: New file.
4943 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4944 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4945 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4946 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4947 * sysdeps/sh/tst-audit.h: Likewise.
4948 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4949 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4950 * sysdeps/x86_64/tst-audit.h: Likewise.
4952 2012-07-26 Andreas Jaeger <aj@suse.de>
4954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4957 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4958 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4959 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4961 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4962 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4968 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4970 (si_call_addr, si_syscall, si_arch): Define new macro.
4971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4973 (si_call_addr, si_syscall, si_arch): Define new marcro.
4974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4976 (si_call_addr, si_syscall, si_arch): Define new macro.
4977 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4979 (si_call_addr, si_syscall, si_arch): Define new macro.
4981 2012-07-25 Joseph Myers <joseph@codesourcery.com>
4984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4985 Change to 2.4.21 where previously 2.4.1.
4986 * sysdeps/unix/sysv/linux/configure: Regenerated.
4987 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4988 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4989 Linux kernel version.
4990 (__ASSUME_STD_AUXV): Remove.
4991 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4993 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4994 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4995 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4996 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4997 (__ASSUME_NETLINK_SUPPORT): Likewise.
4998 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4999 (__no_netlink_support): Remove conditional definition.
5000 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5002 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5003 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5004 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5005 (if_nameindex_ioctl): Remove.
5006 (if_nameindex_netlink): Do not handle __no_netlink_support.
5007 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5009 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5010 Remove conditional code.
5011 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5013 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5015 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5016 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5017 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5019 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5020 [!__ASSUME_STD_AUXV]: Remove conditional code.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5022 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5023 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5025 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5026 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5028 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5030 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5031 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5033 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5035 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5038 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5041 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5043 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5045 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5047 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5050 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5052 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5055 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5057 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5059 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5061 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5064 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5066 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5068 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5070 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5073 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5075 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5076 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5078 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5079 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5080 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5081 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5088 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5091 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5093 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5095 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5096 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5097 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5099 2012-07-25 Florian Weimer <fweimer@redhat.com>
5101 * Versions.def: Add GLIBC_2.17.
5102 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5103 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5104 Introduce __libc_secure_getenv.
5105 * stdlib/Versions (2.17): Add secure_getenv
5106 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5107 * stdlib/secure-getenv.c: Rename __secure_getenv to
5108 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5109 symbol __secure_getenv for GLIBC_2.0.
5110 * stdlib/tst-secure-getenv.c: New.
5111 * stdlib/Makefile (tests): Add testcase.
5112 * manual/startup.texi (Environment Access): Document
5114 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5115 __libc_secure_getenv.
5116 * inet/ruserpass.c (ruserpass): Likewise.
5117 * malloc/mtrace.c (mtrace): Likewise.
5118 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5119 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5120 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5121 * sysdeps/posix/tempname.c: Likewise. Evaluate
5123 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5124 __secure_getenv to __libc_secure_getenv.
5125 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5138 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5141 (struct La_i86_retval): Likewise.
5142 (struct La_x86_64_regs): Likewise.
5143 (struct La_x86_64_retval): Likewise.
5144 (struct La_x32_regs): Likewise.
5145 (struct La_x32_retval): Likewise.
5146 (struct La_ppc32_regs): Likewise.
5147 (struct La_ppc32_retval): Likewise.
5148 (struct La_ppc64_regs): Likewise.
5149 (struct La_ppc64_retval): Likewise.
5150 (struct La_sh_regs): Likewise.
5151 (struct La_sh_retval): Likewise.
5152 (struct La_s390_32_regs): Likewise.
5153 (struct La_s390_32_retval): Likewise.
5154 (struct La_s390_64_regs): Likewise.
5155 (struct La_s390_64_retval): Likewise.
5156 (struct La_sparc32_regs): Likewise.
5157 (struct La_sparc32_retval): Likewise.
5158 (struct La_sparc64_regs): Likewise.
5159 (struct La_sparc64_retval): Likewise.
5160 (struct audit_ifaces): Remove architecture-specific pltenter and
5162 * sysdeps/i386/ldsodefs.h: New file.
5163 * sysdeps/powerpc/ldsodefs.h: Likewise.
5164 * sysdeps/s390/ldsodefs.h: Likewise.
5165 * sysdeps/sh/ldsodefs.h: Likewise.
5166 * sysdeps/sparc/ldsodefs.h: Likewise.
5167 * sysdeps/x86_64/ldsodefs.h: Likewise.
5169 2012-07-25 Marek Polacek <polacek@redhat.com>
5172 * math/libm-test.inc (yn_test): Add another test.
5173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5174 to ERANGE when the result is +-Inf.
5175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5176 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5177 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5178 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5180 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5182 * conform/data/time.h-data (NULL): Use macro-constant. Require
5184 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5186 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5188 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5190 * configure.in <sysdeps resolving>: Correct printing
5192 * configure: Regenerate.
5194 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5196 * math/w_ilogb.c: Include <limits.h>.
5197 * math/w_ilogbl.c: Likewise.
5199 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5201 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5202 va_copy. Document allowing for unavailable va_copy only as
5203 pre-C99 compatibility.
5204 * manual/string.texi (Copying and Concatenation): Use va_copy
5205 instead of __va_copy in concat example.
5207 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5209 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5210 (__sendto): Use create_address_port. Initialize APORT and deallocate
5213 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5214 with O_NOLINK passed to __file_name_lookup.
5216 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5217 with O_NOLINK passed to __file_name_lookup.
5219 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5220 negative N or less than NGIDS.
5222 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5223 type to string_t. Set ERANGE as errno and return it if NAME is not big
5224 enough. Use memcpy instead of strncpy.
5226 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5228 * elf/Makefile (check-data): Remove.
5229 (localplt.data): New vpath directive.
5230 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5231 instead of $(check-data).
5232 * scripts/data/localplt-generic.data: Move to ...
5233 * sysdeps/generic/localplt.data: ... here.
5234 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5235 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5236 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5239 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5242 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5245 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5248 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5251 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5255 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5258 PPC32 and PPC64 files.
5259 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5260 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5262 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5264 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5265 __makecontext_ret to ...
5266 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5267 ... here and call exit if uc_link is NULL. New file.
5268 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5269 __makecontext_ret.S.
5270 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5271 __makecontext_ret to ...
5272 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5273 ... here and call exit if uc_link is NULL. New file.
5274 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5275 __makecontext_ret.S.
5277 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5279 * elf/elf.h (R_390_IRELATIVE): New definition.
5280 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5281 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5282 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5283 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5284 (elf_machine_lazy_rel): Likewise.
5285 * sysdeps/s390/dl-irel.h: New file.
5286 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5287 * sysdeps/s390/s390-64/memset.S: New asm code.
5288 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5289 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5290 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5291 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5292 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5293 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5294 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5295 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5296 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5297 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5298 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5299 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5300 * sysdeps/s390/s390-32/memset.S: New asm code.
5301 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5303 2012-07-17 Marek Polacek <polacek@redhat.com>
5306 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5307 * sysdeps/s390/s390-64/configure.in: Likewise.
5308 * sysdeps/sparc/configure.in: Likewise.
5309 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5310 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5311 * sysdeps/i386/configure.in: Likewise.
5312 * sysdeps/x86_64/configure.in: Likewise.
5313 * sysdeps/sh/configure.in: Likewise.
5314 * sysdeps/s390/s390-32/configure: Regenerated.
5315 * sysdeps/s390/s390-64/configure: Likewise.
5316 * sysdeps/x86_64/configure: Likewise.
5317 * sysdeps/sh/configure: Likewise.
5318 * sysdeps/powerpc/powerpc64/configure: Likewise.
5319 * sysdeps/powerpc/powerpc32/configure: Likewise.
5320 * sysdeps/sparc/configure: Likwise.
5321 * sysdeps/i386/configure: Likewise.
5323 * elf/dl-open.c: Comment fixes.
5325 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5327 * Makefile [CXX] (check-data): Remove.
5328 [CXX] (c++-types.data): New vpath directive.
5329 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5330 vpath. Do not allow for C++ type data being missing.
5331 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5332 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5333 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5334 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5335 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5336 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5337 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5340 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5343 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5346 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5349 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5352 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5355 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5358 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5361 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5362 definitions to architecture-specific files.
5366 * sysdeps/i386/tls-macros.h: New file.
5367 * sysdeps/powerpc/tls-macros.h: Likewise.
5368 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5369 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5370 * sysdeps/sh/tls-macros.h: Likewise.
5371 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5372 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5373 * sysdeps/x86_64/tls-macros.h: Likewise.
5375 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5378 zero value for regular exit case.
5380 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5381 (__start_context): Preserve zero value for regular exit case.
5383 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5384 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5386 * manual/setjmp.texi (setcontext): Clarify normal process
5387 termination when uc_link is the null pointer.
5388 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5391 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5393 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5394 preprocessor. Test for each exception mask separately.
5396 2012-07-16 Andreas Jaeger <aj@suse.de>
5398 * po/ru.po: Update from translation team.
5400 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5402 * conform/data/string.h-data (NULL): Use macro-constant. Require
5404 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5405 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5406 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5407 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5410 2012-07-13 Andreas Jaeger <aj@suse.de>
5412 * po/fr.po: Update from translation team.
5414 2012-07-12 Marek Polacek <polacek@redhat.com>
5417 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5421 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5425 Change to 2.4.1 where previously 2.4.0.
5426 * sysdeps/unix/sysv/linux/configure: Regenerated.
5427 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5428 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5430 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5431 (__ASSUME_AT_CLKTCK): Remove.
5432 (__ASSUME_AT_PAGESIZE): Likewise.
5433 (__ASSUME_AT_XID): Likewise.
5434 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5435 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5436 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5438 (HAVE_AUX_PAGESIZE): Likewise.
5439 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5440 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5441 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5443 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5447 the temporary buffer used to invoke __gethostbyname2_r,
5448 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5449 host_data / struct gaih_addrtuple.
5450 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5451 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5452 header file nss/nsswitch.h.
5453 * nss/nsswitch.h (global scope): Add definition of implementation
5454 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5455 resolv/nss_dns/dns-host.c).
5457 2012-07-11 Andreas Jaeger <aj@suse.de>
5459 * po/fr.po: Update from translation team.
5461 * po/sv.po: Update from translation team
5462 * po/fr.po: Another update from translation team.
5464 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5466 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5467 for subnormals or multiply small sinh result by itself.
5468 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5471 2012-07-11 David S. Miller <davem@davemloft.net>
5473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5475 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5478 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5479 (INTERNAL_MARK): Shift it here.
5481 2012-07-10 Marek Polacek <polacek@redhat.com>
5484 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5485 libc_cv_asm_global_directive with .globl.
5486 * configure: Regenerated.
5487 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5489 * sysdeps/i386/configure: Regenerated.
5490 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5492 * sysdeps/x86_64/configure: Regenerated.
5493 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5494 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5495 * elf/tst-unique2mod2.c: Likewise.
5496 * elf/tst-unique2mod1.c: Likewise.
5497 * elf/tst-unique1mod2.c: Likewise.
5498 * elf/tst-unique1mod1.c: Likewise.
5499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5500 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5502 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5503 * sysdeps/mach/sysdep.h: Likewise.
5504 * sysdeps/i386/sysdep.h: Likewise.
5505 * sysdeps/i386/i386-mcount.S: Likewise.
5506 * sysdeps/x86_64/_mcount.S: Likewise.
5507 * sysdeps/x86_64/sysdep.h: Likewise.
5508 * sysdeps/sh/_mcount.S: Likewise.
5509 * sysdeps/sh/sysdep.h: Likewise.
5510 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5511 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5512 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5513 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5514 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5515 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5516 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5517 * locale/localeinfo.h: Likewise.
5518 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5519 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5521 2012-07-09 Roland McGrath <roland@hack.frob.com>
5524 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5526 * manual/message.texi (The Uniforum approach): Likewise.
5527 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5528 (glibc iconv Implementation): Likewise.
5530 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5533 * math/s_clog.c (__clog): Avoid scaling a value down where that
5534 could result in underflow.
5535 * math/s_clog10.c (__clog10): Likewise.
5536 * math/s_clog10f.c (__clog10f): Likewise.
5537 * math/s_clog10l.c (__clog10l): Likewise.
5538 * math/s_clogf.c (__clogf): Likewise.
5539 * math/s_clogl.c (__clogl): Likewise.
5540 * math/libm-test.inc (clog_test): Add more tests.
5541 (clog10_test): Likewise.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5545 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5548 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5549 by 7 not 8 to examine high bit of fractional part.
5552 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5553 for call to __mcount_internal.
5554 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5555 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5556 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5558 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5561 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5562 approximation for values within 0x1p-13f of an odd multiple of
5564 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5565 exception. Add more tests.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5570 inputs and return -1 for them. Do not check for +Inf in case not
5572 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5573 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5575 and return -1 for them. Do not check for +Inf in case not
5577 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5580 and return -1 for them. Do not check for +Inf in case not
5582 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5584 * sysdeps/i386/fpu/libm-test-ulps: Update.
5585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5587 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5589 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5591 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5595 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5596 could result in spurious underflow. Scale down values above
5597 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5598 * math/s_csqrtf.c (__csqrtf): Likewise.
5599 * math/s_csqrtl.c (__csqrtl): Likewise.
5600 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5602 * sysdeps/i386/fpu/libm-test-ulps: Update.
5603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5607 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5609 * catgets/xopen-msg.awk: New file.
5610 * catgets/xopen-msg.sed: Removed.
5612 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5614 * intl/po2test.awk: New file.
5615 * intl/po2test.sed: Removed.
5617 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5620 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5621 or multiply small sinh result by itself.
5622 * math/s_ctanf.c (__ctanf): Likewise.
5623 * math/s_ctanh.c (__ctanh): Likewise.
5624 * math/s_ctanhf.c (__ctanhf): Likewise.
5625 * math/s_ctanhl.c (__ctanhl): Likewise.
5626 * math/s_ctanl.c (__ctanl): Likewise.
5627 * math/libm-test.inc (ctan_test_tonearest): New function.
5628 (ctan_test_towardzero): Likewise.
5629 (ctan_test_downward): Likewise.
5630 (ctan_test_upward): Likewise.
5631 (ctanh_test_tonearest): Likewise.
5632 (ctanh_test_towardzero): Likewise.
5633 (ctanh_test_downward): Likewise.
5634 (ctanh_test_upward): Likewise.
5635 (main): Call these new functions.
5636 * sysdeps/i386/fpu/libm-test-ulps: Update.
5637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5641 * .gitignore: Delete /ports entry.
5643 2012-07-03 Andreas Jaeger <aj@suse.de>
5645 * po/bg.po: Update from translation team.
5646 * po/cs.po: Likewise.
5647 * po/de.po: Likewise.
5648 * po/hr.po: Likewise.
5649 * po/nl.pl: Likewise.
5650 * po/pl.po: Likewise.
5651 * po/vi.po: Likewise.
5653 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5655 * Makeconfig [!+link] (+link-before-libc): New variable.
5656 [!+link] (+link-after-libc): Likewise.
5657 [!+link] (+link-tests): Likewise.
5658 [!+link] (+link): Define in terms of $(+link-before-libc) and
5659 $(+link-after-libc).
5660 [!+link-static] (+link-static-before-libc): New variable.
5661 [!+link-static] (+link-static-after-libc): Likewise.
5662 [!+link-static] (+link-static-tests): Likewise.
5663 [!+link-static] (+link-static): Define in terms of
5664 $(+link-static-before-libc) and $(+link-static-after-libc).
5665 [build-shared] (link-libc-before-gnulib): New variable.
5666 [build-shared] (link-libc-tests): Likewise.
5667 [build-shared] (link-libc): Define in terms of
5668 $(link-libc-before-gnulib).
5669 [!build-shared] (link-libc-tests): New variable.
5670 (link-libc-static-tests): New variable.
5671 [!gnulib] (gnulib-arch): New variable.
5672 [!gnulib] (gnulib-tests): Likewise.
5673 [!gnulib] (static-gnulib-arch): Likewise.
5674 [!gnulib] (static-gnulib-tests): Likewise.
5675 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5676 Define with "=" instead of ":=".
5677 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5678 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5679 * Rules (binaries-all-notests): New variable.
5680 (binaries-all-tests): Likewise.
5681 (binaries-static-notests): Likewise.
5682 (binaries-static-tests): Likewise.
5683 (binaries-all): Define using $(binaries-all-notests) and
5684 $(binaries-all-tests).
5685 (binaries-static): Define using $(binaries-static-notests) and
5686 $(binaries-static-tests).
5687 (binaries-shared-tests): New variable.
5688 (binaries-shared-notests): Likewise.
5689 (binaries-shared): Remove variable.
5690 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5691 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5692 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5693 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5694 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5695 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5696 * elf/Makefile (sln-modules): New variable.
5697 (extra-objs): Add $(sln-modules:=.o).
5698 (ldconfig-modules): Add static-stubs.
5699 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5700 * elf/static-stubs.c: New file.
5703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5704 by 7 not 8 to examine high bit of fractional part. Use volatile
5705 variables when splitting into final array of floats if
5706 __FLT_EVAL_METHOD__ != 0.
5707 * math/libm-test.inc (cos_test): Add another test.
5708 (sin_test): Likewise.
5709 * sysdeps/i386/fpu/libm-test-ulps: Update.
5712 * math/libm-test.inc (cosh_test): Add more tests.
5714 * version.h (RELEASE): Set to "development".
5715 (VERSION): Set to "2.16.90".
5717 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5719 * NEWS: Update copyright. Remove last-updated date.
5720 Mention math library bug fixes and timezone data changes.
5721 * README: Mention GNU/Hurd, x32, and HPPA support status.
5723 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5725 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5727 2012-06-27 Andreas Jaeger <aj@suse.de>
5729 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5731 2012-06-25 Andreas Jaeger <aj@suse.de>
5733 * sysdeps/s390/fpu/libm-test-ulps: Update.
5735 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5736 Thomas Schwinge <thomas@codesourcery.com>
5738 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5739 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5743 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5745 * sysdeps/mach/start.c: Remove file.
5746 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5747 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5748 * sysdeps/sh/init-first.c: Likewise.
5750 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5751 registers for frame unwinding purposes, add CFI directives.
5752 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5754 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5757 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5758 __fortify_fail returning.
5759 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5761 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5762 sysdeps/sh/____longjmp_chk.S.
5763 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5764 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5765 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5766 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5768 * sysdeps/sh/abort-instr.h: New file.
5769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5770 process in case exit returns.
5772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5773 initialize the GOT register before use.
5775 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5776 calculation of ARGC > 4.
5778 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5779 meaningful names to some local labels.
5781 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5782 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5784 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5785 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5786 (__arch_compare_and_exchange_val_16_acq): Likewise.
5787 (__arch_compare_and_exchange_val_32_acq): Likewise.
5788 (atomic_exchange_and_add): Fix gUSA sequence.
5789 (atomic_add): Likewise.
5790 (atomic_add_negative): Likewise.
5791 (atomic_add_zero): Likewise.
5792 (atomic_bit_test_set): Likewise.
5794 2012-06-22 Andreas Schwab <schwab@redhat.com>
5797 * include/link.h (struct link_map): Add l_free_initfini.
5798 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5800 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5801 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5802 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5805 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5807 * configure.in: Use AC_LANG_SOURCE.
5808 * configure: Regenerate.
5810 2012-06-22 Roland McGrath <roland@hack.frob.com>
5812 * configure.in (libc_cv_localstatedir): New substituted variable.
5813 * configure: Regenerated.
5814 * config.make.in (localstatedir): New variable, substituted from
5815 libc_cv_localstatedir.
5816 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5817 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5818 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5819 * sysdeps/gnu/configure: Regenerated.
5821 2012-06-21 Jeff Law <law@redhat.com>
5824 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5825 free. Simplify list management for _LIBC case.
5827 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5830 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5831 Clear sign bit of 64-bit integer value before comparing against
5834 * sysdeps/mach/configure: Regenerated.
5836 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5839 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5841 2012-06-21 Jeff Law <law@redhat.com>
5844 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5845 uint16_t for elements in the "seen" array to avoid char overflows.
5846 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5847 * elf/dl-open.c (dl_open_worker): Likewise.
5849 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5851 * scripts/list-sources.sh: Scan PORTS for translations.
5852 * po/libc.pot: Regenerated.
5854 2012-06-21 Andreas Jaeger <aj@suse.de>
5857 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5859 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5860 * bits/byteswap-16.h (__bswap_16): Likewise.
5861 * bits/byteswap.h (__bswap_constant_16): Likewise.
5863 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5866 * sysdeps/i386/fpu_control.h: Removed.
5867 * sysdeps/x86_64/fpu_control.h: Moved to ...
5868 * sysdeps/x86/fpu_control.h: Here.
5870 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5871 (_FPU_SETCW): Likewise.
5873 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5876 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5877 * sysdeps/x86/fpu/bits/mathinline.h: This.
5878 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5882 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5883 functions if __x86_64__ is defined.
5885 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5887 * string/endian.h: Add !__ASSEMBLER__ condition for including
5888 conversion interfaces.
5890 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5894 of ABS(x) in calculating zero to negative powers other than odd
5896 * math/libm-test.inc (pow_test): Add more tests.
5898 2012-06-15 Andreas Jaeger <aj@suse.de>
5900 * manual/contrib.texi (Contributors): Update entry of Liubov
5901 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5904 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5906 * string/string.h: Add __wur to GNU version of strerror_r.
5908 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5911 * string/Makefile (tests): Add tst-strtok_r.
5912 * string/tst-strtok_r.c: New file.
5913 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5914 RAX_LP/RDX_LP on SAVE_PTR.
5916 2012-06-14 Roland McGrath <roland@hack.frob.com>
5918 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5920 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5922 * libm_test.inc (csqrt_test): Allow more spurious underflow
5924 (j0_test): Likewise.
5925 (j1_test): Likewise.
5926 (y0_test): Likewise.
5927 (y1_test): Likewise.
5929 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5931 * po/Makefile (libc.pot): Use UTF-8 charset.
5933 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5936 Suppress sign-conversion warning from FD_SET.
5937 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5938 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5939 not unsigned long int.
5940 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5942 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5946 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5947 __extern_always_inline instead of __extern_inline.
5948 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5949 (__signbit): Likewise.
5950 (__signbitl): Support C++ namespace.
5951 (lrintf): New inline function.
5953 (llrintf): Likewise.
5965 (nearbyint): Likewise.
5966 (nearbyintf): Likewise.
5968 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5970 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5971 non-default versions.
5973 2012-06-11 Roland McGrath <roland@hack.frob.com>
5976 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5978 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5980 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5981 (FE_UPWARD, FE_DOWNWARD): Don't define.
5982 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5985 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5987 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5990 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5995 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5997 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6000 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6001 * sysdeps/i386/fpu/Implies: New file.
6002 * sysdeps/x86_64/fpu/Implies: Likewise.
6003 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6004 * sysdeps/x86/fpu/bits/fenv.h: This.
6006 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6009 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6012 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6013 character 0xffff that matches the last element of the
6016 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6021 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6024 values higher than 25.6283.
6026 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6029 subnormal exponent extraction and add some __builtin_expect.
6030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6031 Fix for subnormal mantissa calculation.
6033 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6035 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6036 cpu2 is -1 and errno is not ENOSYS.
6038 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6041 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6042 * sysdeps/x86/bits/string.h: This.
6043 * sysdeps/x86_64/bits/string.h: Removed.
6045 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6046 if not compiling for x86-64, but compiling for >= i486.
6048 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6049 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6051 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6052 New macro from Linux kernel 3.4.0.
6053 (FP_XSTATE_MAGIC2): Likewise.
6054 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6055 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6056 (struct _fpx_sw_bytes): New struct.
6057 (struct _xsave_hdr): Likewise.
6058 (struct _ymmh_state): Likewise.
6059 (struct _xstate): Likewise.
6061 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6062 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6064 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6066 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6068 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6069 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6070 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6071 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6072 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6073 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6075 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6078 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6079 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6080 (sysdep_headers): Include sys/platform/ppc.h.
6081 * sysdeps/powerpc/test-gettimebase.c: Test for
6082 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6083 * manual/Makefile (appendices): Include platform.texi.
6084 * manual/contrib.texi (Contributors): Update @node pointers.
6085 * manual/maint.texi (Maintenance): Likewise.
6086 (Platform): New node.
6087 * manual/platform.texi: New file. Document the new features.
6089 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6090 Jakub Jelinek <jakub@redhat.com>
6093 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6094 where __builtin_expect is unavailable.
6096 2012-06-03 David S. Miller <davem@davemloft.net>
6098 * stdlib/longlong.h: Updated from GCC.
6100 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6103 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6104 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6107 (GLIBC_2.16): Likewise.
6109 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6111 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6113 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6116 (default-abi): New variable.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6118 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6120 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6122 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6124 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6127 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6128 definition. Document in comment.
6130 2012-06-01 David S. Miller <davem@davemloft.net>
6132 * stdlib/longlong.h: Updated from GCC.
6134 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6137 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6138 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6139 sys/debugreg.h sys/io.h here.
6140 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6141 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6143 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6144 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6145 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6146 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6147 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6148 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6150 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6151 Define only if __x86_64__ is defined.
6153 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6156 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6157 Use int64_t for variable i.
6158 * math/libm-test.inc (fmod_test): Add more tests.
6160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6161 z computation is not scheduled after fetestexcept.
6162 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6163 Use math_force_eval instead of asm to ensure calculation scheduled
6164 before exception test.
6165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6166 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6168 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6171 computation is not scheduled after fetestexcept.
6173 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6176 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6177 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6179 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6182 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6184 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6187 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6189 (__WCHAR_MIN): Support __WORDSIZE == 64.
6190 (__WCHAR_MAX): Likewise.
6192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6196 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6197 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6200 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6201 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6204 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6206 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6207 Defined to 1 if __x86_64__ isn't defined.
6208 (_STAT_VER_LINUX_OLD): New.
6209 (st_atime): Remove duplicate.
6210 (st_mtime): Likewise.
6211 (st_ctime): Likewise.
6213 2012-05-31 David S. Miller <davem@davemloft.net>
6215 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6218 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6220 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6224 * elf/dl-reloc.c: Include <_itoa.h>.
6225 (_dl_reloc_bad_type): Remove use of INTUSE.
6226 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6227 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6228 * stdio-common/psiginfo.c (psiginfo): Likewise.
6229 * stdio-common/psignal.c (psignal): Likewise.
6230 * string/strsignal.c (strsignal): Likewise.
6231 * include/signal.h (_sys_siglist): Declare hidden proto.
6232 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6233 INTVARDEF with libc_hidden_data_def.
6234 * stdio-common/itoa-udigits.c: Likewise.
6235 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6236 (_itoa_lower_digits_internal): Remove declaration.
6237 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6238 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6239 (_sys_sigabbrev_internal): Remove aliases.
6240 (_sys_siglist): Define hidden alias.
6242 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6247 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6250 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6251 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6253 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6254 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6255 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6256 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6258 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6260 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6261 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6262 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6272 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6276 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6277 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6279 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6280 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6281 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6283 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6284 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6286 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6287 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6293 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6294 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6296 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6298 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6299 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6300 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6302 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6304 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6306 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6308 * math/math.h (M_El): Use two more decimal places.
6309 (M_LOG2El): Likewise.
6310 (M_LOG10El): Likewise.
6312 (M_LN10l): Likewise.
6314 (M_PI_2l): Likewise.
6315 (M_PI_4l): Likewise.
6316 (M_1_PIl): Likewise.
6317 (M_2_PIl): Likewise.
6318 (M_2_SQRTPIl): Likewise.
6319 (M_SQRT2l): Likewise.
6320 (M_SQRT1_2l): Likewise.
6322 2012-05-31 David S. Miller <davem@davemloft.net>
6324 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6325 values between float registers.
6326 * sysdeps/sparc/sparc64/memset.S: Likewise.
6327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6329 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6331 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6332 -D_FORTIFY_SOURCE=1.
6333 (CPPFLAGS-tst-longjmp_chk.c): Define.
6334 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6335 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6336 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6337 CFLAGS-tst-wchar-h.c.
6339 2012-05-31 Marek Polacek <polacek@redhat.com>
6342 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6343 __endmntent_internal): Remove declaration.
6344 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6345 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6346 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6348 2012-05-30 David S. Miller <davem@davemloft.net>
6350 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6351 (___Q_simulate_exceptions): Use real FP ops rather than writing
6353 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6356 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6359 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6360 * sysdeps/x86/bits/xtitypes.h: This.
6362 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6363 * sysdeps/x86/bits/wordsize.h: This.
6365 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6366 * sysdeps/x86/bits/huge_vall.h: This.
6368 * sysdeps/i386/bits/select.h: Removed.
6369 * sysdeps/x86_64/bits/select.h: Renamed to ...
6370 * sysdeps/x86/bits/select.h: This.
6372 * sysdeps/i386/bits/setjmp.h: Removed.
6373 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6374 * sysdeps/x86/bits/setjmp.h: This.
6376 * sysdeps/i386/bits/mathdef.h: Removed.
6377 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6378 * sysdeps/x86/bits/mathdef.h: This.
6380 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6383 * include/sys/socket.h (__connect_internal)
6384 (__libc_sa_len_internal): Remove declaration.
6385 (__connect, __libc_sa_len): Declare hidden_proto.
6386 (SA_LEN): Remove use of INTUSE.
6387 * socket/connect.c: Add libc_hidden_def.
6388 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6389 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6390 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6392 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6394 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6395 of adding _internal alias.
6397 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6400 * sysdeps/i386/bits/link.h: Removed.
6401 * sysdeps/i386/bits/linkmap.h: Likewise.
6402 * sysdeps/x86_64/bits/link.h: Renamed to ...
6403 * sysdeps/x86/bits/link.h: This.
6404 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6405 * sysdeps/x86/bits/linkmap.h: This.
6407 * sysdeps/i386/bits/endian.h: Removed.
6408 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6409 * sysdeps/x86/bits/endian.h: This.
6411 * sysdeps/i386/bits/byteswap.h: Removed.
6412 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6413 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6414 * sysdeps/x86/bits/byteswap.h: This.
6415 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6416 * sysdeps/x86/bits/byteswap-16.h: This.
6417 * sysdeps/i386/Implies: Add x86.
6418 * sysdeps/x86_64/Implies: Likewise.
6420 2012-05-30 David S. Miller <davem@davemloft.net>
6422 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6423 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6424 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6425 (FP_TRAPPING_EXCEPTIONS): Define.
6426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6427 (FP_TRAPPING_EXCEPTIONS): Define.
6428 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6429 subnormals only when inexact has been signalled or underflow
6430 exceptions are enabled.
6431 (_FP_PACK_CANONICAL): Likewise.
6433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6437 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6439 2012-05-30 Richard Henderson <rth@twiddle.net>
6441 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6442 with #ifndef NOT_IN_libc.
6444 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6445 marked to avoid plt entry.
6447 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6450 * Makeconfig (default-abi): New macro.
6451 (abi-includes): Likewise.
6452 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6453 $(abi-$(default-abi)-lib-soname) for soname if defined.
6454 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6456 * Makefile (installed-stubs): Likewise.
6457 * include/stubs-biarch.h: Removed.
6458 * scripts/lib-names.awk: Only handle one library at a time.
6459 * scripts/soversions.awk: Remove WORDSIZE support.
6460 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6462 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6464 (syscall-list-default-condition): Likewise.
6465 (syscall-list-default-condition): Likewise.
6466 (syscall-list-includes): Likewise.
6467 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6468 syscall-list-* with abi-*. Handle undefined abi-variants.
6469 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6470 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6471 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6472 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6473 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6474 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6476 (syscall-list-32-options): Likewise.
6477 (syscall-list-32-condition): Likewise.
6478 (syscall-list-64-options): Likewise.
6479 (syscall-list-64-condition): Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6482 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6485 (abi-64-ld-soname): New macro.
6486 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6487 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6490 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6491 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6493 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6495 * sysdeps/unix/sysv/linux/kernel-features.h
6496 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6497 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6498 include <kernel-features.h>.
6499 [!__NR_ftruncate64]: Remove conditional code.
6500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6501 [__NR_ftruncate64]: Make code unconditional.
6502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6503 * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
6522 * configure.in (libc_cv_fpie): Weaken to a compile test using
6524 * configure: Regenerated.
6526 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6541 2012-05-27 David S. Miller <davem@davemloft.net>
6543 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6545 (__Q_simulate_exceptions): Return void. Change to simulate
6546 exceptions by writing into the %fsr.
6547 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6548 (__Qp_handle_exceptions): Likewise.
6550 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6551 __Qp_handle_exceptions.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6553 __Qp_handle_exceptions.
6554 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6555 as unused and give dummy FP_RND_NEAREST initializer.
6556 (FP_INHIBIT_RESULTS): Define.
6557 (___Q_simulate_exceptions): Update declaration.
6558 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6561 as unused and give dummy FP_RND_NEAREST initializer.
6562 (__Qp_handle_exceptions): Update declaration.
6563 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6566 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6568 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6569 the temporary FPU control word.
6570 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6571 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6572 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6573 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6574 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6576 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6578 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6579 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6580 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6582 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6587 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6589 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6590 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6591 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6592 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6594 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6595 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6598 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6600 * po/h.po: Update from translation team.
6602 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6604 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6606 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6607 handling of denormals.
6608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6609 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6610 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6611 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6617 2012-05-26 Marek Polacek <polacek@redhat.com>
6620 * math/libm-test.inc (fma_test): Don't always expect underflow
6623 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6626 * elf/tst-execstack.c: Include stackinfo.h.
6627 (do_test): Adjust test case to ensure that pthread_getattr_np
6628 behaviour remains the same after marking stack executable.
6630 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6632 * sysdeps/unix/sysv/linux/kernel-features.h
6633 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6634 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6636 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6637 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6638 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6640 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6641 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6643 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6645 * configure.in: Define the default includes to being none.
6646 * configure: Regenerated.
6648 2012-05-25 Roland McGrath <roland@hack.frob.com>
6650 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6651 * sysdeps/x86_64/setjmp.S: Likewise.
6652 * sysdeps/i386/bsd-setjmp.S: Likewise.
6653 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6654 * sysdeps/i386/setjmp.S: Likewise.
6655 * sysdeps/i386/__longjmp.S: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6657 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6659 * include/stap-probe.h: New file.
6660 * configure.in: Handle --enable-systemtap.
6661 * configure: Regenerated.
6662 * config.h.in (USE_STAP_PROBE): New #undef.
6663 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6664 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6665 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6667 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6671 to 2.4.0 where earlier.
6672 * sysdeps/unix/sysv/linux/configure: Regenerated.
6673 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6674 <kernel-features.h>.
6675 [__ASSUME_32BITUIDS]: Make code unconditional.
6676 [!__ASSUME_32BITUIDS]: Remove conditional code.
6677 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6678 <kernel-features.h>.
6679 [__ASSUME_32BITUIDS]: Make code unconditional.
6680 [!__ASSUME_32BITUIDS]: Remove conditional code.
6681 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6682 [__ASSUME_32BITUIDS]: Make code unconditional.
6683 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6684 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6685 <kernel-features.h>.
6686 [__ASSUME_32BITUIDS]: Make code unconditional.
6687 [!__ASSUME_32BITUIDS]: Remove conditional code.
6688 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6689 <kernel-features.h>.
6690 [__ASSUME_32BITUIDS]: Make code unconditional.
6691 [!__ASSUME_32BITUIDS]: Remove conditional code.
6692 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6693 <kernel-features.h>.
6694 [__ASSUME_32BITUIDS]: Make code unconditional.
6695 [!__ASSUME_32BITUIDS]: Remove conditional code.
6696 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6697 <kernel-features.h>.
6698 [__ASSUME_32BITUIDS]: Make code unconditional.
6699 [!__ASSUME_32BITUIDS]: Remove conditional code.
6700 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6701 <kernel-features.h>.
6702 [__ASSUME_32BITUIDS]: Make code unconditional.
6703 [!__ASSUME_32BITUIDS]: Remove conditional code.
6704 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6705 <kernel-features.h>.
6706 [__ASSUME_32BITUIDS]: Make code unconditional.
6707 [!__ASSUME_32BITUIDS]: Remove conditional code.
6708 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6709 <kernel-features.h>.
6710 [__ASSUME_32BITUIDS]: Make code unconditional.
6711 [!__ASSUME_32BITUIDS]: Remove conditional code.
6712 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6713 <kernel-features.h>.
6714 [__ASSUME_32BITUIDS]: Make code unconditional.
6715 [!__ASSUME_32BITUIDS]: Remove conditional code.
6716 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6717 <kernel-features.h>.
6718 [__ASSUME_32BITUIDS]: Make code unconditional.
6719 [!__ASSUME_32BITUIDS]: Remove conditional code.
6720 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6721 <kernel-features.h>.
6722 [__ASSUME_32BITUIDS]: Make code unconditional.
6723 [!__ASSUME_32BITUIDS]: Remove conditional code.
6724 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6725 <kernel-features.h>.
6726 [__NR_setresgid] (__setresgid): Do not declare.
6727 [__ASSUME_32BITUIDS]: Make code unconditional.
6728 [!__ASSUME_32BITUIDS]: Remove conditional code.
6729 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6730 <kernel-features.h>.
6731 [__NR_setresuid] (__setresuid): Do not declare.
6732 [__ASSUME_32BITUIDS]: Make code unconditional.
6733 [!__ASSUME_32BITUIDS]: Remove conditional code.
6734 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6735 <kernel-features.h>.
6736 [__ASSUME_32BITUIDS]: Make code unconditional.
6737 [!__ASSUME_32BITUIDS]: Remove conditional code.
6738 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6739 <kernel-features.h>.
6740 [__ASSUME_32BITUIDS]: Make code unconditional.
6741 [!__ASSUME_32BITUIDS]: Remove conditional code.
6742 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6743 <kernel-features.h>.
6744 [__ASSUME_32BITUIDS]: Make code unconditional.
6745 [!__ASSUME_32BITUIDS]: Remove conditional code.
6746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6747 <kernel-features.h>.
6748 [__ASSUME_32BITUIDS]: Make code unconditional.
6749 [!__ASSUME_32BITUIDS]: Remove conditional code.
6750 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6751 <kernel-features.h>.
6752 [__ASSUME_32BITUIDS]: Make code unconditional.
6753 [!__ASSUME_32BITUIDS]: Remove conditional code.
6754 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6755 <kernel-features.h>.
6756 [__ASSUME_32BITUIDS]: Make code unconditional.
6757 [!__ASSUME_32BITUIDS]: Remove conditional code.
6758 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6759 <kernel-features.h>.
6760 [__ASSUME_32BITUIDS]: Make code unconditional.
6761 [!__ASSUME_32BITUIDS]: Remove conditional code.
6762 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6763 <kernel-features.h>.
6764 [__ASSUME_32BITUIDS]: Make code unconditional.
6765 [!__ASSUME_32BITUIDS]: Remove conditional code.
6766 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6767 <kernel-features.h>.
6768 [__ASSUME_32BITUIDS]: Make code unconditional.
6769 [!__ASSUME_32BITUIDS]: Remove conditional code.
6770 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6771 <kernel-features.h>.
6772 [__ASSUME_32BITUIDS]: Make code unconditional.
6773 [!__ASSUME_32BITUIDS]: Remove conditional code.
6774 * sysdeps/unix/sysv/linux/kernel-features.h
6775 (__ASSUME_SETRESUID_SYSCALL): Remove.
6776 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6777 (__ASSUME_32BITUIDS): Likewise.
6778 (__ASSUME_LDT_WORKS): Likewise.
6779 (__ASSUME_O_DIRECTORY): Likewise.
6780 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6781 architecture but not kernel version.
6782 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6783 (__ASSUME_MMAP2_SYSCALL): Likewise.
6784 (__ASSUME_STAT64_SYSCALL): Likewise.
6785 (__ASSUME_IPC64): Likewise.
6786 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6787 <kernel-features.h>.
6788 [__ASSUME_32BITUIDS]: Make code unconditional.
6789 [!__ASSUME_32BITUIDS]: Remove conditional code.
6790 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6791 <kernel-features.h>.
6792 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6793 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6794 132096]: Remove conditional code.
6795 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6796 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6797 <kernel-features.h>.
6798 [__ASSUME_32BITUIDS]: Make code unconditional.
6799 [!__ASSUME_32BITUIDS]: Remove conditional code.
6800 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6801 <kernel-features.h>.
6802 [__ASSUME_32BITUIDS]: Make code unconditional.
6803 [!__ASSUME_32BITUIDS]: Remove conditional code.
6804 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6805 <kernel-features.h>.
6806 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6808 (__setresgid): Do not declare.
6809 [__ASSUME_32BITUIDS]: Make code unconditional.
6810 [!__ASSUME_32BITUIDS]: Remove conditional code.
6811 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6812 <kernel-features.h>.
6813 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6815 (__setresuid): Do not declare.
6816 [__ASSUME_32BITUIDS]: Make code unconditional.
6817 [!__ASSUME_32BITUIDS]: Remove conditional code.
6818 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6819 <kernel-features.h>.
6820 [__ASSUME_32BITUIDS]: Make code unconditional.
6821 [!__ASSUME_32BITUIDS]: Remove conditional code.
6822 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6823 <kernel-features.h>.
6824 [__ASSUME_32BITUIDS]: Make code unconditional.
6825 [!__ASSUME_32BITUIDS]: Remove conditional code.
6827 2012-05-25 Richard Henderson <rth@twiddle.net>
6829 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6830 dl_hwcap to ifunc resolver.
6831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6833 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6834 dl_hwcap to ifunc resolver.
6835 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6837 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6840 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6841 for |x| <= 2**-26, not 2**-57.
6842 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6845 2012-05-24 Jeff Law <law@redhat.com>
6847 * stdio-common/Makefile (tests): Add bug25.
6848 * stdio-common/bug25.c: New test.
6850 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6853 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6854 multiple of MALLOC_ALIGNMENT in size.
6855 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6857 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6859 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6861 (FILENAME_MAX): Use macro-int-constant.
6862 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6863 (_IOFBF): Use macro-int-constant.
6866 (SEEK_CUR): Likewise.
6867 (SEEK_END): Likewise.
6868 (SEEK_SET): Likewise.
6869 (TMP_MAX): Likewise.
6870 (EOF): Use macro-int-constant. Require < 0.
6871 (NULL): Use macro-constant. Require == 0.
6872 (stdin): Require type to be FILE *.
6875 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6877 (EXIT_SUCCESS): Likewise.
6878 (NULL): Use macro-constant. Require == 0.
6879 (RAND_MAX): Use macro-int-constant.
6880 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6881 [C99-based standards] (strtof): Require function.
6882 [C99-based standards] (strtold): Likewise.
6883 [C99-based standards] (strtoll): Likewise.
6884 [C99-based standards] (strtoull): Likewise.
6885 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6886 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6887 [ISO || ISO99 || ISO11] (math.h): Likewise.
6888 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6889 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6892 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6895 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6896 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6897 * intl/dgettext.c (DCGETTEXT): Likewise.
6898 * intl/gettext.c (DCGETTEXT): Likewise.
6899 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6900 * posix/regex_internal.h (gettext): Likewise.
6901 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6903 * include/argz.h (__argz_count_internal)
6904 (__argz_stringify_internal): Remove declaration.
6905 (__argz_count, __argz_stringify): Declare hidden proto.
6906 * intl/dcgettext.c: Remove use of INTDEF.
6907 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6908 * string/argz-stringify.c: Likewise.
6909 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6910 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6911 Declare hidden proto.
6912 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6913 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6914 Declare hidden proto.
6915 * include/stdio.h (__asprintf_internal): Don't declare.
6916 (__asprintf): Don't define as macro. Declare hidden proto.
6917 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6918 (__fsetlocking): Declare hidden proto.
6919 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6920 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6922 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6923 (_IO_setlinebuf): Remove use of INTUSE.
6924 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6925 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6926 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6928 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6929 (_IO_do_flush): Remove use of INTUSE.
6930 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6931 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6932 (_IO_adjust_column, _IO_least_wmarker)
6933 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6934 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6935 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6936 (_IO_default_doallocate, _IO_wdefault_doallocate)
6937 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6938 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6939 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6940 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6941 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6942 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6943 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6944 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6945 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6946 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6947 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6948 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6949 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6951 (_IO_flush_all_internal, _IO_adjust_column_internal)
6952 (_IO_default_uflow_internal, _IO_default_finish_internal)
6953 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6954 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6955 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6956 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6957 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6958 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6959 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6960 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6961 (_IO_file_close_internal, _IO_file_close_it_internal)
6962 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6963 (_IO_file_init_internal, _IO_file_attach_internal)
6964 (_IO_file_fopen_internal, _IO_file_read_internal)
6965 (_IO_file_sync_internal, _IO_file_seek_internal)
6966 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6967 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6968 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6969 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6970 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6971 (_IO_list_all_internal, _IO_link_in_internal)
6972 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6973 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6974 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6975 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6976 (_IO_do_write_internal, _IO_padn_internal)
6977 (_IO_getline_info_internal, _IO_getline_internal)
6978 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6979 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6980 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6981 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6982 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6983 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6984 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6985 with libc_hidden_ver, remove use of INTUSE.
6986 * libio/genops.c: Likewise.
6987 * libio/freopen.c: Likewise.
6988 * libio/freopen64.c: Likewise.
6989 * libio/iofclose.c: Likewise.
6990 * libio/iofdopen.c: Likewise.
6991 * libio/iofflush.c: Likewise.
6992 * libio/iofflush_u.c: Likewise.
6993 * libio/iofgets.c: Likewise.
6994 * libio/iofgets_u.c: Likewise.
6995 * libio/iofopen.c: Likewise.
6996 * libio/iofopncook.c: Likewise.
6997 * libio/iofread.c: Likewise.
6998 * libio/iofread_u.c: Likewise.
6999 * libio/ioftell.c: Likewise.
7000 * libio/iofwrite.c: Likewise.
7001 * libio/iogetline.c: Likewise.
7002 * libio/iogets.c: Likewise.
7003 * libio/iogetwline.c: Likewise.
7004 * libio/iopadn.c: Likewise.
7005 * libio/iopopen.c: Likewise.
7006 * libio/ioseekoff.c: Likewise.
7007 * libio/ioseekpos.c: Likewise.
7008 * libio/iosetbuffer.c: Likewise.
7009 * libio/iosetvbuf.c: Likewise.
7010 * libio/ioungetc.c: Likewise.
7011 * libio/ioungetwc.c: Likewise.
7012 * libio/iovdprintf.c: Likewise.
7013 * libio/iovsprintf.c: Likewise.
7014 * libio/iovsscanf.c: Likewise.
7015 * libio/memstream.c: Likewise.
7016 * libio/obprintf.c: Likewise.
7017 * libio/oldfileops.c: Likewise.
7018 * libio/oldiofclose.c: Likewise.
7019 * libio/oldiofdopen.c: Likewise.
7020 * libio/oldiofopen.c: Likewise.
7021 * libio/oldiopopen.c: Likewise.
7022 * libio/oldstdfiles.c: Likewise.
7023 * libio/putc.c: Likewise.
7024 * libio/setbuf.c: Likewise.
7025 * libio/setlinebuf.c: Likewise.
7026 * libio/stdfiles.c: Likewise.
7027 * libio/strops.c: Likewise.
7028 * libio/vasprintf.c: Likewise.
7029 * libio/vscanf.c: Likewise.
7030 * libio/vsnprintf.c: Likewise.
7031 * libio/vswprintf.c: Likewise.
7032 * libio/wfiledoalloc.c: Likewise.
7033 * libio/wfileops.c: Likewise.
7034 * libio/wgenops.c: Likewise.
7035 * libio/wmemstream.c: Likewise.
7036 * libio/wstrops.c: Likewise.
7037 * libio/__fpurge.c: Likewise.
7038 * libio/__fsetlocking.c: Likewise.
7039 * assert/assert.c: Likewise.
7040 * debug/fgets_chk.c: Likewise.
7041 * debug/fgets_u_chk.c: Likewise.
7042 * debug/fread_chk.c: Likewise.
7043 * debug/fread_u_chk.c: Likewise.
7044 * debug/gets_chk.c: Likewise.
7045 * debug/obprintf_chk.c: Likewise.
7046 * debug/vasprintf_chk.c: Likewise.
7047 * debug/vdprintf_chk.c: Likewise.
7048 * debug/vsnprintf_chk.c: Likewise.
7049 * debug/vsprintf_chk.c: Likewise.
7050 * malloc/mtrace.c: Likewise.
7051 * misc/error.c: Likewise.
7052 * misc/syslog.c: Likewise.
7053 * stdio-common/asprintf.c: Likewise.
7054 * stdio-common/fxprintf.c: Likewise.
7055 * stdio-common/getw.c: Likewise.
7056 * stdio-common/isoc99_fscanf.c: Likewise.
7057 * stdio-common/isoc99_scanf.c: Likewise.
7058 * stdio-common/isoc99_vfscanf.c: Likewise.
7059 * stdio-common/isoc99_vscanf.c: Likewise.
7060 * stdio-common/isoc99_vsscanf.c: Likewise.
7061 * stdio-common/printf-prs.c: Likewise.
7062 * stdio-common/printf_fp.c: Likewise.
7063 * stdio-common/printf_fphex.c: Likewise.
7064 * stdio-common/printf_size.c: Likewise.
7065 * stdio-common/putw.c: Likewise.
7066 * stdio-common/scanf.c: Likewise.
7067 * stdio-common/sprintf.c: Likewise.
7068 * stdio-common/tmpfile.c: Likewise.
7069 * stdio-common/vfprintf.c: Likewise.
7070 * stdio-common/vfscanf.c: Likewise.
7071 * stdlib/strfmon_l.c: Likewise.
7072 * sunrpc/openchild.c: Likewise.
7073 * sunrpc/xdr_stdio.c: Likewise.
7074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7075 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7077 2012-05-24 Roland McGrath <roland@hack.frob.com>
7079 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7081 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7082 in the third column, to generate for the shared library an IFUNC
7083 that uses _dl_vdso_vsym.
7084 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7085 * Makeconfig (object-suffixes-noshared): New variable.
7087 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7088 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7089 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7090 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7093 * include/sys/time.h (__gettimeofday): Remove macro.
7094 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7095 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7097 (__gettimeofday): Add libc_hidden_def.
7098 (gettimeofday): Add libc_hidden_weak.
7099 * sysdeps/mach/gettimeofday.c: Likewise.
7100 * sysdeps/posix/gettimeofday.c: Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7102 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7104 (__gettimeofday_internal): Remove strong_alias.
7105 (__gettimeofday): Add libc_hidden_def.
7106 (gettimeofday): Add libc_hidden_weak.
7107 * sysdeps/unix/syscalls.list (gettimeofday):
7108 Remove __gettimeofday_internal alias.
7110 2012-05-24 Daniel Jacobowitz <drow@false.org>
7111 H.J. Lu <hongjiu.lu@intel.com>
7114 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7115 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7116 (largebin_index_32_big): New.
7117 (largebin_index): Use it for 16-byte alignment.
7118 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7119 correction with front_misalign.
7121 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7149 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7150 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7152 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7156 * math/libm-test.inc (exp_test): Add test from bug 14036.
7157 (pow_test): Add test from bug 10846.
7159 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7161 (special_function): Do not include flags in test name.
7162 (parse_args): Likewise.
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7165 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7169 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7171 * math/libm-test.inc ("Philosophy"): Update comment about
7173 (UNDERFLOW_EXCEPTION): New macro.
7174 (UNDERFLOW_EXCEPTION_OK): Likewise.
7175 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7176 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7177 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7178 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7179 (INVALID_EXCEPTION_OK): Update value.
7180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7181 (OVERFLOW_EXCEPTION_OK): Likewise.
7182 (IGNORE_ZERO_INF_SIGN): Likewise.
7183 (test_exceptions): Handle underflow exceptions.
7184 (acos_test): Update for underflow exception expectations.
7185 (cexp_test): Likewise.
7186 (clog_test): Likewise.
7187 (clog10_test): Likewise.
7188 (csqrt_test): Likewise.
7189 (ctan_test): Likewise.
7190 (ctanh_test): Likewise.
7191 (exp_test): Likewise.
7192 (exp10_test): Likewise.
7193 (exp2_test): Likewise.
7194 (expm1_test): Likewise.
7195 (fma_test): Likewise.
7196 (j0_test): Likewise.
7197 (jn_test): Likewise.
7198 (nexttoward_test): Likewise.
7199 (pow_test): Likewise.
7200 (scalbn_test): Likewise.
7201 (scalbln_test): Likewise.
7202 (tan_test): Likewise.
7203 (y1_test): Likewise.
7204 * sysdeps/i386/fpu/libm-test-ulps: Update.
7205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7207 2012-05-23 David S. Miller <davem@davemloft.net>
7209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7210 (__libc_sigaction): Remove unused local variables.
7212 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7214 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7216 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7218 mktime: avoid signed integer overflow
7219 * time/mktime.c (__mktime_internal): Do not mishandle the case
7220 where diff == INT_MIN.
7222 mktime: simplify computation of average
7223 * time/mktime.c (ranged_convert): Use new time_t_avg function
7224 instead of rolling our own (probably-slower) code.
7226 mktime: do not assume signed right shift propagates sign bit
7227 * time/mktime.c (isdst_differ): New static function.
7228 (__mktime_internal): No need to normalize tm_isdst now.
7229 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7232 mktime: merge another wrapv change from gnulib
7233 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7234 from some compilers.
7236 mktime: remove incorrect attempt at unusual arithmetics
7237 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7238 The code didn't really work on such machines anyway.
7239 (TYPE_MINIMUM): Assume two's complement.
7240 (twos_complement_arithmetic): Verify that long_int and time_t
7241 are two's complement (or unsigned, in the latter case).
7243 mktime: check signed shifts on long_int and time_t, too
7244 * time/mktime.c (SHR): Check that shifts work as desired
7245 on the types long_int and time_t too, as SHR is used on
7248 mktime: do not assume 'long' is wide enough
7249 * time/mktime.c (verify): Move decl up.
7250 (long_int): New type.
7251 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7252 to remove assumption in the code that 'long' is wide enough to
7253 store year values. This assumption is not true on x32 and on
7254 some non-glibc platforms.
7256 mktime: merge wrapv change from gnulib
7257 * time/mktime.c (WRAPV): New macro.
7258 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7259 (guess_time_tm, __mktime_internal): Do not assume that signed
7260 integer overflow wraps around; modern compilers generate code
7261 where this assumption is no longer valid.
7263 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7265 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7266 Replace "jmp L(pseudo_end)" with "ret".
7267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7270 2012-05-23 Andreas Jaeger <aj@suse.de>
7272 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7273 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7275 2012-05-23 Andreas Jaeger <aj@suse.de>
7276 Maximilian Attems <max@stro.at>
7278 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7281 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7283 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7284 code so that pseudo_end is just ret and the stack pointer is
7285 correct also for static library in error case.
7287 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7289 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7290 move to syscalls.list.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7296 * manual/install.texi (Running make install): Do not mention Linux
7297 kernel version for which pt_chown is not needed.
7298 (Linux): Do not mention problems with nscd with 2.0 kernels.
7299 * INSTALL: Regenerated.
7301 2012-05-23 Andreas Jaeger <aj@suse.de>
7303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7304 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7306 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7308 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7310 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7311 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7313 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7315 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7316 * sysdeps/unix/sysv/linux/bits/in.h
7317 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7319 2012-05-22 Roland McGrath <roland@hack.frob.com>
7321 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7322 (PREPARE_VERSION): Just use assert instead, it will be elided
7323 under [NDEBUG] anyway.
7325 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7327 * sysdeps/unix/sysv/linux/Makefile: Include
7328 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7329 (sysdep_routines): Remove sysctl.
7330 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7331 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7332 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7333 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7334 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7336 2012-05-22 Andreas Jaeger <aj@suse.de>
7338 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7339 that pseudo_end is just ret and the stack pointer is correct also
7340 for static library in error case.
7342 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7345 * nss/nsswitch.c (defconfig_entries): New variable.
7346 (__nss_database_lookup): Don't leak defconfig entries.
7347 (nss_parse_service_list): Don't leak on error paths.
7348 (free_database_entries): New function.
7349 (free_defconfig): New function.
7350 (free_mem): Move common code to free_database_entries.
7352 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7354 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7356 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7358 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7359 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7362 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7363 (INTERNAL_SYSCALL_TYPES): Likewise.
7364 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7365 (LOAD_REGS_TYPES_[1-6]): Likewise.
7366 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7367 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7369 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7372 copysignl for GLIBC_2_0.
7373 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7374 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7376 logbl for GLIBC_2_0.
7377 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7380 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7383 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7385 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7388 * time/mktime.c: Update copyright years.
7390 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7392 mktime: merge comment-quoting-style change from gnulib
7393 * time/mktime.c: Quote 'like this' in comments.
7394 The GNU coding standards suggest that we no longer quote `like this',
7395 as "`" and "'" are typically rendered asymmetrically nowadays.
7396 The typical gnulib style is to quote 'like this' when quoting
7397 code, and "like this" when quoting English.
7399 * time/mktime.c (compile-command): Add "-I.".
7401 mktime: merge mktime-internal.h change from gnulib
7402 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7404 mktime: merge time_r change from gnulib
7405 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7407 mktime: merge DEBUG change from gnulib
7408 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7409 case system <time.h> has a #define.
7411 mktime: merge <sys/types.h> change from gnulib
7412 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7413 since <time.t> is now guaranteed to define time_t.
7415 mktime: merge HAVE_CONFIG_H change from gnulib
7416 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7418 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7423 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7425 (struct rusage): Use anonymous union to pad each field to
7428 2012-05-21 David S. Miller <davem@davemloft.net>
7430 * Makefules (o-iterator): Remove .s cases.
7431 (compile-command.s): Delete.
7432 (COMPILE.s): Delete.
7433 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7435 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7437 * configure.in (libc_cv_predef_stack_protector): Only consider
7438 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7439 * configure: Regenerated.
7441 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7444 New macro. Use R*LP on int and pointer.
7445 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7446 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7447 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7448 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7450 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7451 [__WORDSIZE_TIME64_COMPAT32] instead of
7452 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7453 (struct utmp): Likewise.
7454 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7455 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7457 (__WORDSIZE_TIME64_COMPAT32): This.
7458 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7459 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7460 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7462 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7463 (__WORDSIZE_TIME64_COMPAT32): New macro.
7465 2012-05-21 Andreas Jaeger <aj@suse.de>
7467 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7468 only if [SHARED]. Add prototype for __wcschr_ia32.
7470 2012-05-21 Roland McGrath <roland@hack.frob.com>
7472 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7473 of %rbp unmolested in the jmp_buf while mangling the low bits.
7474 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7475 unmolested high bits of %rbp while demangling the low bits.
7476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7478 2012-05-21 Andreas Jaeger <aj@suse.de>
7480 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7481 * sunrpc/svc_simple.c: Use it for registerrpc.
7482 * sunrpc/xcrypt.c: Use it for passwd2des.
7484 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7488 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7489 Don't define if [__SYSCALL_WORDSIZE != 32].
7490 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7493 2012-05-21 Bruno Haible <bruno@clisp.org>
7494 Andreas Jaeger <aj@suse.de>
7496 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7497 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7498 inptr and inend for must_buffer_ch.
7499 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7500 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7501 * stdio-common/Makefile (tests): Remove bug15.
7502 (bug15-ENV): Remove macro.
7503 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7506 2012-05-19 Andreas Jaeger <aj@suse.de>
7507 Roland McGrath <roland@hack.frob.com>
7509 * manual/contrib.texi: Completely rewritten. It contains now an
7510 alphabetical list of contributors and their contributions.
7512 2012-05-21 Richard Henderson <rth@twiddle.net>
7514 * misc/getauxval.c (__getauxval): Use unsigned long int.
7515 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7516 (getauxval): Use unsigned long int.
7518 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7520 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7522 2012-05-21 Roland McGrath <roland@hack.frob.com>
7524 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7525 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7526 __alignof__ (long double).
7528 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7532 2012-05-20 Richard Henderson <rth@twiddle.net>
7534 * misc/getauxval.c: New file.
7535 * misc/sys/auxv.h: New file.
7536 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7537 (routines): Add getauxval.
7538 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7539 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7540 * elf/dl-sysdep.c (_dl_auxv): Remove.
7541 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7542 * elf/dl-support.c (_dl_auxv): New variable.
7543 (_dl_aux_init): Initialize it.
7544 * manual/startup.texi (Auxiliary Vector): New node.
7545 * sysdeps/generic/bits/hwcap.h: New file.
7546 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7547 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7548 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7549 * sysdeps/sparc/sysdep.h: ... here. Include it.
7550 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7563 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7567 2012-05-19 David S. Miller <davem@davemloft.net>
7569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7571 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7574 * math/s_ccosh.c: Include <float.h>
7575 (__ccosh): Avoid internal overflow calculating sinh and cosh
7576 values before multiplying by sin and cos values.
7577 * math/s_ccoshf.c: Likewise.
7578 * math/s_ccoshl.c: Likewise.
7579 * math/s_csin.c: Likewise.
7580 * math/s_csinf.c: Likewise.
7581 * math/s_csinl.c: Likewise.
7582 * math/s_csinh.c: Likewise.
7583 * math/s_csinhf.c: Likewise.
7584 * math/s_csinhl.c: Likewise.
7585 * math/libm-test.inc (ccos_test): Add more tests.
7586 (ccosh_test): Likewise.
7587 (csin_test): Likewise.
7588 (csinh_test): Likewise.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7594 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7595 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7597 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7599 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7601 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7602 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7603 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7604 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7605 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7606 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7607 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7608 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7609 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7610 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7611 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7612 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7613 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7614 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7615 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7616 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7617 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7618 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7619 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7620 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7621 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7622 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7623 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7624 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7625 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7626 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7627 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7628 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7629 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7630 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7631 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7633 2012-05-18 Andreas Jaeger <aj@suse.de>
7635 * csu/.gitignore: Delete.
7637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7639 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7640 (timex): Use __syscall_slong_t.
7642 2012-05-18 Andreas Jaeger <aj@suse.de>
7643 Carlos O'Donell <carlos_odonell@mentor.com>
7645 * manual/install.texi (Configuring and compiling): Update
7646 description about files modified in the source directory.
7647 * INSTALL: Regenerated.
7649 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7651 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7652 value. Use "or" to set return value to -1.
7653 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7654 negate return value.
7656 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7658 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7659 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7660 failure if the compiler has Graphite support disabled.
7661 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7663 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7664 CFLAGS-memmove.c): Likewise.
7665 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7668 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7670 * sysdeps/x86_64/x32/_itoa.h: New file.
7672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7673 getdents system call only if kernel and user dirents have the
7674 same d_ino and d_off.
7676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7677 LLONG_MAX != LONG_MAX.
7678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7679 (_fitoa_word): Likewise.
7681 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7684 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7685 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7688 include <bits/wordsize.h>. Check __x86_64__ instead of
7690 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7691 if __x86_64__ is defined. Use anonymous union on fpstate.
7693 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7696 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7698 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7699 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7700 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7701 Refer to _rtld_local_ro instead of _rtld_global_ro.
7702 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7704 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7706 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7708 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7709 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7710 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7712 * sysdeps/powerpc/powerpc32/dl-machine.c
7713 (__elf_machine_runtime_setup) [PROF]: Don't reference
7716 2012-05-18 Andreas Jaeger <aj@suse.de>
7718 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7719 function only available for GCCs before 3.4 since GCC 3.4
7720 introduced a builtin.
7722 (llrintf): Likewise.
7730 (nearbyint): Likewise.
7731 (nearbyintf): Likewise.
7737 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7739 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7740 on both fields and cast pointer to __syscall_ulong_t.
7742 * bits/types.h (__fsword_t): New type.
7743 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7744 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7746 (__FSWORD_T_TYPE): Likewise.
7747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7748 (__FSWORD_T_TYPE): Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7750 (__FSWORD_T_TYPE): Likewise.
7751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7752 (__FSWORD_T_TYPE): Likewise.
7753 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7754 __SWORD_TYPE with __fsword_t.
7755 (statfs64): Likewise.
7757 2012-05-17 David S. Miller <davem@davemloft.net>
7759 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7761 2012-05-17 Andreas Jaeger <aj@suse.de>
7763 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7766 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7770 2012-05-17 Andreas Jaeger <aj@suse.de>
7772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7775 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7777 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7779 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7781 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7782 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7784 2012-05-17 Andreas Jaeger <aj@suse.de>
7785 Carlos O'Donell <carlos_odonell@mentor.com>
7788 * sysdeps/x86_64/multiarch/init-arch.h
7789 (bit_YMM_Usable): Rename to...
7790 (bit_AVX_Usable): ... this.
7791 (bit_FMA4_Usable): New macro.
7792 (bit_XMM_state): New macro.
7793 (bit_YMM_state): New macro.
7794 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7795 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7796 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7797 (CPUID_OSXSAVE): New macro.
7798 (CPUID_AVX): New macro.
7799 (CPUID_FMA4): New macro.
7800 (index_YMM_Usable): Rename to...
7801 (index_AVX_Usable): ... this.
7802 (HAS_AVX): Use HAS_ARCH_FEATURE.
7803 (HAS_FMA4): Likewise.
7804 (HAS_YMM_USABLE): Remove.
7805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7806 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7808 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7809 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7810 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7811 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7812 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7814 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7816 * math/libm-test.c: Support platforms without multiple rounding modes.
7817 * math/bug-nextafter.c: Support platforms without FP exceptions.
7818 * math/bug-nexttoward.c: Likewise.
7819 * math/test-fenv.c: Likewise.
7820 * math/test-misc.c: Likewise.
7821 * stdlib/bug-getcontext.c: Likewise.
7823 2012-05-17 Andreas Jaeger <aj@suse.de>
7825 * manual/examples/search.c (critter_cmp): Change signature to
7827 * manual/string.texi (Collation Functions): Likewise.
7829 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7831 * bits/types.h: Fold copyright years.
7832 * bits/typesizes.h: Likewise.
7833 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7837 * time/time.h: Likewise.
7839 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7842 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7843 in instead of returning them. Return void.
7844 (__libc_mallinfo): Accumulate over all arenas.
7845 (__malloc_stats): Adjust for change in int_mallinfo interface.
7847 2012-05-16 Roland McGrath <roland@hack.frob.com>
7850 * configure.in (NM): Add AC_CHECK_TOOL for it.
7851 (libc_extra_cflags): New substituted variable.
7852 Check for -fstack-protector being used implicitly.
7853 * configure: Regenerated.
7854 * config.make.in (config-extra-cflags): New variable,
7855 gets @libc_extra_cflags@.
7856 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7859 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7860 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7861 * configure: Regenerated.
7862 * config.make.in (CPPUNDEFS): New substituted variable.
7863 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7864 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7865 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7869 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7870 (mq_attr): Use __syscall_slong_t.
7872 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7874 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7875 Check __x86_64__ instead of __WORDSIZE.
7876 (_STAT_VER_LINUX): Likewise.
7877 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7878 __syscall_ulong_t and __syscall_slong_t.
7881 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7885 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7887 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7889 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7891 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7894 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7895 include <bits/wordsize.h>. Check __x86_64__ instead of
7897 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7899 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7902 include <bits/wordsize.h>. Check __x86_64__ instead of
7904 (user_regs_struct): Use "__extension__ unsigned long long"
7905 instead of "unsigned long" if __x86_64__ is defined.
7906 (user): Likewise. Pad after pointer field if __ILP32__ is
7909 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7911 * configure.in (makeinfo): Require version 4.5 or later. Allow
7913 * configure: Regenerated.
7914 * manual/install.texi (texinfo): Increase version requirement to
7916 * INSTALL: Regenerated.
7918 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7920 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7922 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7924 * sysdeps/x86_64/x32/ffs.c: New file.
7926 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7928 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7929 defined. Use __syscall_ulong_t.
7930 (shminfo): Use __syscall_ulong_t.
7931 (shm_info): Likewise.
7933 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7936 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7938 (msgqnum_t): Use __syscall_ulong_t.
7939 (msglen_t): Likewise.
7940 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7943 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7944 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7946 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7948 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7949 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7951 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7955 include <bits/wordsize.h>. Check __x86_64__ instead of
7958 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7959 "unsigned long long int" if __x86_64__ is defined.
7960 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7962 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7963 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7964 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7968 (GET_PC): Cast to uintptr_t first.
7969 (GET_FRAME): Likewise.
7970 (GET_STACK): Likewise.
7972 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7973 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7974 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7975 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7977 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7978 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7981 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7982 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7984 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7986 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7987 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7988 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7993 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7995 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7996 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7998 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8002 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8004 * Makerules (+depfiles): Also collect depfiles from .oS in
8006 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8007 .oS, $(libnldbl-routines)).
8009 * Makerules (native-compile-mkdep-flags): Define.
8010 * sunrpc/Makefile (extra-objs): Add $(addprefix
8011 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8012 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8013 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8014 calling $(make-target-directory).
8016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8018 * bits/types.h (__snseconds_t): Removed.
8019 * time/time.h (struct timespec): Replace __snseconds_t with
8021 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8022 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8025 (__SNSECONDS_T_TYPE): Likewise.
8026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8027 (__SNSECONDS_T_TYPE): Likewise.
8028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8029 (__SNSECONDS_T_TYPE): Likewise.
8031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8033 * sysdeps/mach/hurd/bits/typesizes.h
8034 (__SYSCALL_SLONG_TYPE): New macro.
8035 (__SYSCALL_ULONG_TYPE): Likewise.
8037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8039 * bits/types.h (__syscall_slong_t): New type.
8040 (__syscall_ulong_t): Likewise.
8042 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8043 (__SYSCALL_ULONG_TYPE): Likewise.
8044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8045 (__SYSCALL_SLONG_TYPE): Likewise.
8046 (__SYSCALL_ULONG_TYPE): Likewise.
8047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8048 (__SYSCALL_SLONG_TYPE): Likewise.
8049 (__SYSCALL_ULONG_TYPE): Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8051 (__SYSCALL_SLONG_TYPE): Likewise.
8052 (__SYSCALL_ULONG_TYPE): Likewise.
8054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8056 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8057 Add sigaltstack-offsets.sym.
8058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8059 <sigaltstack-offsets.h>.
8060 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8061 longjmp_msg pointer.
8062 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8063 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8065 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8067 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8069 * elf/stackguard-macros.h: Remove file.
8070 * sysdeps/generic/stackguard-macros.h: New file.
8071 * sysdeps/i386/stackguard-macros.h: Likewise.
8072 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8073 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8074 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8075 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8076 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8077 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8078 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8079 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8080 <elf/stackguard-macros.h>.
8083 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8084 __aligned__ in attribute.
8085 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8086 (gregset_t): Likewise.
8088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8090 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8091 * sysdeps/x86_64/64/Implies-after: Here. New file.
8092 * sysdeps/x86_64/x32/Implies-after: New file.
8094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8096 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8097 and access return value for _dl_profile_fixup. Use R10_LP to
8100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8102 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8106 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8107 * sysdeps/x86_64/x32/sysdep.h: New file.
8109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8111 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8112 * sysdeps/x86_64/setjmp.S: Likewise.
8114 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8117 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8118 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8119 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8120 remove unused global constant.
8122 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8124 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8125 include of <not-cancel.h>.
8127 2012-05-15 Roland McGrath <roland@hack.frob.com>
8129 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8131 2012-05-15 Jeff Law <law@redhat.com>
8132 Andreas Jaeger <aj@suse.de>
8135 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8137 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8138 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8139 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8140 code changing __hst_map_handle.map.
8142 2012-05-15 Roland McGrath <roland@hack.frob.com>
8144 * configure.in (sysnames): Look for Implies-before and Implies-after
8146 * configure: Regenerated.
8148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8150 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8151 8-byte data alignment with LP_SIZE alignment.
8153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8155 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8160 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8164 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8165 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8166 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8168 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8172 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8173 (stackinfo_sub_sp): Likewise.
8175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8190 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8192 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8196 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8197 into R11_LP and load __x86_64_shared_cache_size_half into
8200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8205 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8213 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8214 powerpc32/power7/fpu/s_logb.c via #include.
8215 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8216 powerpc32/power7/fpu/s_logbf.c via #include.
8217 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8218 powerpc32/power7/fpu/s_logbl.c via #include.
8220 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8222 * README.libm: Remove file.
8224 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8226 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8227 count for x32. Use R*_LP and omit operand-size suffix.
8229 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8231 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8232 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8233 * sysdeps/x86_64/x32/shlib-versions: New file.
8235 2012-05-14 Roland McGrath <roland@hack.frob.com>
8237 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8238 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8239 Use _dl_fatal_printf instead.
8241 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8243 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8244 set if not set by the user. Do not allow for being unset.
8245 * sysdeps/unix/sysv/linux/configure: Regenerated.
8247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8249 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8250 the `q' suffix from lea and replace .quad with ASM_ADDR.
8252 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8255 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8257 (PTR_DEMANGLE): Likewise.
8259 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8261 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8263 (ASM_ADDR): Likewise.
8281 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8283 * sysdeps/x86_64/x32/dl-machine.h: New file.
8285 2012-05-14 Andreas Jaeger <aj@suse.de>
8287 * manual/Makefile (subdir): Remove export of subdir.
8288 (all): Remove target.
8289 (.PHONY): Remove all from list.
8290 (mkinstalldirs): Remove.
8291 (.PHONY): Remove installdirs from list.
8292 ($(inst_infodir)/libc.info): Use make-target-directory.
8293 (installdirs): Remove.
8295 (glibc-targets): Remove.
8298 ($(objpfx)stubs ../po/manual.pot): Remove.
8299 ($(objpfx)stamp%): Remove.
8300 (make-target-directory): Remove.
8301 (subdir_install): Remove.
8309 * manual/.gitignore: Remove, it's not needed anymore.
8310 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8312 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8314 (texis): Renamed to $(objpfx)texis.
8315 (texis-path): New, contains path to generated files.
8316 (chapters.%): Use texis-path for complete path, add extra argument
8318 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8319 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8320 (summary,texi, stamp-summary): Use complete path of
8321 files. Generate files in build dir.
8322 (dir-add.texi): Build in build dir.
8323 (libm-err.texi,stamp-libm-err): Likewise.
8324 (version.texi, stamp-version): Likewise.
8325 (.%c.texi): Likewise.
8326 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8327 (mostlyclean): Remove target.
8328 (realclean): Remove target.
8329 (generated): Add new variable with contents from mostlyclean and
8330 realclean, remove entries duplicated in common-mostlyclean, add
8331 stamp-libm-err and stamp-version.
8332 (generated-dirs): Add libc directory.
8333 ($(inst_infodir)/libc.info): Install files from build dir.
8335 * manual/install.texi (Configuring and compiling): Adjust since
8336 the info files are not part of the tar ball anymore.
8338 2012-05-14 Andreas Jaeger <aj@suse.de>
8340 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8343 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8347 to 2.2.0 where earlier.
8348 * sysdeps/unix/sysv/linux/configure: Regenerated.
8349 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8350 Remove conditional code.
8351 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8352 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8353 Remove conditional code.
8354 [!__NR_lchown]: Likewise.
8355 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8356 [__NR_lchown]: Likewise.
8357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8358 comment referencing __ASSUME_LCHOWN_SYSCALL.
8359 * sysdeps/unix/sysv/linux/i386/sigaction.c
8360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8362 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8363 Remove conditional code.
8364 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8365 (__protocol_available): Remove #if 0 code.
8366 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8368 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8369 * sysdeps/unix/sysv/linux/kernel-features.h
8370 (__ASSUME_GETCWD_SYSCALL): Don't define.
8371 (__ASSUME_REALTIME_SIGNALS): Likewise.
8372 (__ASSUME_PREAD_SYSCALL): Likewise.
8373 (__ASSUME_PWRITE_SYSCALL): Likewise.
8374 (__ASSUME_POLL_SYSCALL): Likewise.
8375 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8376 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8378 (__ASSUME_SIOCGIFNAME): Don't define.
8379 (__ASSUME_MSG_NOSIGNAL): Likewise.
8380 (__ASSUME_SENDFILE): Define unconditionally.
8381 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8382 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8384 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8385 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8386 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8387 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8388 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8389 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8390 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8404 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8407 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8410 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8415 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8416 Remove conditional code.
8417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8418 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8419 Remove conditional code.
8420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8421 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8422 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8423 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8424 Remove conditional code.
8425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8426 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8427 Remove conditional code.
8428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8429 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8430 Remove conditional code.
8431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8432 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8433 Remove conditional code.
8434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8436 Remove conditional code.
8437 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8438 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8439 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8441 * sysdeps/unix/sysv/linux/sigaction.c
8442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8444 * sysdeps/unix/sysv/linux/sigpending.c
8445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8447 * sysdeps/unix/sysv/linux/sigprocmask.c
8448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8450 * sysdeps/unix/sysv/linux/sigsuspend.c
8451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8454 (__libc_missing_rt_sigs): Remove.
8455 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8456 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8457 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8458 Remove conditional code.
8459 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8460 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8463 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8465 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8467 2012-05-14 Andreas Jaeger <aj@suse.de>
8469 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8470 it's not used in glibc.
8471 (__coshm1): Likewise.
8472 (__acosh1p): Likewise.
8475 * manual/string.texi (Copying and Concatenation): Add missing
8476 variable in concat example.
8477 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8483 __builtin_clzl with __builtin_clzll.
8485 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8488 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8491 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8493 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8494 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8495 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8496 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8498 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8500 * NEWS: Update ia64 info.
8502 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8504 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8507 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8509 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8510 * sysdeps/unix/syscalls.list (dup3): Likewise.
8511 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8512 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8514 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8516 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8517 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8519 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8521 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8523 (TLS_IE): Use mov/add instead of movq/addq to load thread
8525 (TLS_GD_PREFIX): New.
8528 2012-05-11 David S. Miller <davem@davemloft.net>
8530 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8531 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8532 (_FPU_SETCW): Likewise.
8534 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8536 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8539 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8542 * iconvdata/gb18030.c: Update tables.
8543 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8544 characters specially.
8545 (BODY for TO_LOOP): Add encoding of missing ranges.
8547 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8550 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8551 * sysdeps/mach/hurd/dup3.c: Likewise.
8552 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8553 * sysdeps/powerpc/memmove.c:: Likewise.
8555 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8557 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8558 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8560 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8562 * elf/elf.h (R_X86_64_RELATIVE64): New.
8563 (R_X86_64_NUM): Updated.
8564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8565 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8566 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8567 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8568 tst-quad1pie tst-quad2pie
8569 (modules-names): Add tst-quadmod1 tst-quadmod2.
8570 ($(objpfx)tst-quad1): New dependency.
8571 ($(objpfx)tst-quad2): Likewise.
8572 ($(objpfx)tst-quad1pie): Likewise.
8573 ($(objpfx)tst-quad2pie): Likewise.
8574 * sysdeps/x86_64/tst-quad1.c: New file.
8575 * sysdeps/x86_64/tst-quad1pie.c: New file.
8576 * sysdeps/x86_64/tst-quad2.c: Likewise.
8577 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8578 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8579 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8580 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8581 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8585 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8586 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8587 * streams/stropts.h (t_scalar_t): Define type.
8589 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8590 (_PATH_PRESERVE): Set to "/var/lib".
8591 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8593 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8596 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8597 if __dir_mkfile succeeded.
8599 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8600 checking for _hurd_dtablesize. Unlock it right after having
8601 finished _hurd_dtable allocation.
8603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8605 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8606 * sysdeps/mach/hurd/configure: Regenerated.
8607 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8608 special-casing to...
8609 * sysdeps/gnu/configure.in: ... this new file.
8610 * sysdeps/unix/sysv/linux/configure: Regenerated.
8611 * sysdeps/gnu/configure: New generated file.
8613 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8614 for Linux: use nsec instead of usec, as well as:
8615 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8616 members of type struct timespec.
8617 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8619 (struct stat64): Likewise.
8620 (_STATBUF_ST_NSEC): New macro.
8621 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8623 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8624 __strtoul_internal rather than strtoul.
8626 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8628 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8633 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8634 which preserves existing values.
8635 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8637 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8639 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8640 TIMEOUT values. Return EINVAL for NFDS values either negative or
8641 greater than FD_SETSIZE.
8643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8645 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8646 allocated, call __vm_protect to finish enabling the existing space, and
8647 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8648 allocate the remainder.
8650 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8652 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8653 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8657 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8658 sysdeps/mach/hurd/readlink.c.
8660 * posix/tst-sysconf.c (posix_options): Only use
8661 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8662 _POSIX_SYNCHRONIZED_IO when they are defined
8663 * sysdeps/mach/hurd/bits/posix_opt.h:
8664 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8665 (_XOPEN_REALTIME): Undefine macro.
8666 (_XOPEN_REALTIME_THREADS): Undefine macro.
8667 (_XOPEN_SHM): Undefine macro.
8668 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8670 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8672 (_POSIX_ASYNC_IO): Undefine macro.
8673 (_POSIX_PRIORITIZED_IO): Undefine macro.
8674 (_POSIX_SPIN_LOCKS): Define macro to -1.
8676 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8677 SA_NODEFER, SA_RESETHAND.
8678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8679 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8684 * elf/Makefile (pldd-modules): Define unconditionally.
8686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8688 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8692 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8693 Return ENOENT when name is empty.
8694 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8696 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8698 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8700 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8702 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8704 Fix mlock in all cases except non-readable pages.
8705 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8706 instead of VM_PROT_ALL as parameter to __vm_wire function.
8708 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8709 (__mkdir): When path is `/', just fail with EEXIST.
8710 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8714 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8715 <sys/uio.h> (for writev).
8716 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8717 and <sys/param.h> (for MIN).
8719 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8721 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8722 REQUESTED_TIME. Properly set the remaining time and return EINTR
8725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8727 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8728 Depend on against $(link-rpcuserlibs).
8730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8732 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8733 (__libc_stack_end): Do not use attribute_relro.
8734 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8735 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8736 to libthread-provided value.
8737 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8743 * bits/libc-lock.h (__libc_once_get): New macro.
8744 * sysdeps/mach/bits/libc-lock.h: Likewise.
8745 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8747 instead of using implementation details.
8749 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8750 * libio/freopen.c: Likewise.
8751 * libio/freopen64.c: Likewise.
8752 * misc/syslog.c: Likewise.
8753 * nscd/connections.c: Likewise.
8754 * nscd/netgroupcache.c: Likewise.
8755 * sysdeps/posix/getcwd.c: Likewise.
8757 2012-05-10 Roland McGrath <roland@hack.frob.com>
8759 * math/w_ilogbf.c: Add #include <limits.h>.
8761 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8763 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8764 path instead of returning without unlocking.
8766 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8767 immediate-write ioctls.
8768 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8772 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8773 __builtin_frame_address instead of making assumptions about the
8774 location of the return address relative to DATA. Force early load of
8776 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8777 __builtin_frame_address.
8780 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8781 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8782 implement dup3 and do some further code clean-ups.
8783 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8784 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8788 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8790 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8791 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8792 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8793 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8794 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8797 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8798 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8799 when handler == SIG_ERR, not when handler != SIG_ERR.
8801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8803 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8804 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8807 accept4 for GNU Hurd.
8808 * include/sys/socket.h (__libc_accept4): New prototype.
8809 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8810 to implement __libc_accept4.
8811 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8813 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8815 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8816 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8817 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8822 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8826 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8827 assertion on O_CLOEXEC flag.
8828 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8829 * hurd/intern-fd.c: Likewise.
8830 * hurd/port2fd.c: Likewise.
8832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8835 * bits/in.h (IPV6_PKTINFO): Define new macro.
8836 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8838 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8845 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8846 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8848 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8849 * math/libm-test.inc (logb_test) : Additional logb tests.
8851 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8852 Andreas Jaeger <aj@suse.de>
8854 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8855 * configure: Regenerated.
8856 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8857 * config.make.in (link-obsolete-rpc): New substituted variable.
8858 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8859 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8860 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8861 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8862 so that libc.a contains the symbols.
8863 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8864 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8865 * sunrpc/auth_none.c: Likewise.
8866 * sunrpc/auth_unix.c: Likewise.
8867 * sunrpc/authdes_prot.c: Likewise.
8868 * sunrpc/authuxprot.c: Likewise.
8869 * sunrpc/clnt_gen.c: Likewise.
8870 * sunrpc/clnt_perr.c: Likewise.
8871 * sunrpc/clnt_raw.c: Likewise.
8872 * sunrpc/clnt_simp.c: Likewise.
8873 * sunrpc/clnt_tcp.c: Likewise.
8874 * sunrpc/clnt_udp.c: Likewise.
8875 * sunrpc/clnt_unix.c: Likewise.
8876 * sunrpc/des_crypt.c: Likewise.
8877 * sunrpc/des_soft.c: Likewise.
8878 * sunrpc/get_myaddr.c: Likewise.
8879 * sunrpc/key_call.c: Likewise.
8880 * sunrpc/key_prot.c: Likewise.
8881 * sunrpc/netname.c: Likewise.
8882 * sunrpc/pm_getmaps.c: Likewise.
8883 * sunrpc/pm_getport.c: Likewise.
8884 * sunrpc/pmap_clnt.c: Likewise.
8885 * sunrpc/pmap_prot.c: Likewise.
8886 * sunrpc/pmap_prot2.c: Likewise.
8887 * sunrpc/pmap_rmt.c: Likewise.
8888 * sunrpc/publickey.c: Likewise.
8889 * sunrpc/rpc_cmsg.c: Likewise.
8890 * sunrpc/rpc_common.c: Likewise.
8891 * sunrpc/rpc_dtable.c: Likewise.
8892 * sunrpc/rpc_prot.c: Likewise.
8893 * sunrpc/rpc_thread.c: Likewise.
8894 * sunrpc/rtime.c: Likewise.
8895 * sunrpc/svc.c: Likewise.
8896 * sunrpc/svc_auth.c: Likewise.
8897 * sunrpc/svc_raw.c: Likewise.
8898 * sunrpc/svc_run.c: Likewise.
8899 * sunrpc/svc_tcp.c: Likewise.
8900 * sunrpc/svc_udp.c: Likewise.
8901 * sunrpc/svc_unix.c: Likewise.
8902 * sunrpc/svcauth_des.c: Likewise.
8903 * sunrpc/xcrypt.c: Likewise.
8904 * sunrpc/xdr.c: Likewise.
8905 * sunrpc/xdr_array.c: Likewise.
8906 * sunrpc/xdr_float.c: Likewise.
8907 * sunrpc/xdr_intXX_t.c: Likewise.
8908 * sunrpc/xdr_mem.c: Likewise.
8909 * sunrpc/xdr_rec.c: Likewise.
8910 * sunrpc/xdr_ref.c: Likewise.
8911 * sunrpc/xdr_sizeof.c: Likewise.
8912 * sunrpc/xdr_stdio.c: Likewise.
8914 2012-05-10 Roland McGrath <roland@hack.frob.com>
8916 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8917 change. Update copyright years.
8919 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8921 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8923 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8924 Joseph Myers <joseph@codesourcery.com>
8925 Paul Pluzhnikov <ppluzhnikov@google.com>
8928 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8930 [cross-compiling] (extra-libs): Likewise.
8931 [cross-compiling] (extra-libs-others): Likewise.
8932 [cross-compiling] (librpcsvc-routines): Likewise.
8933 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8934 [cross-compiling] (omit-deps): Likewise.
8935 (sunrpc-CPPFLAGS): New variable.
8936 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8937 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8938 (cross-rpcgen-objs): New variable.
8939 (extra-objs): Append $(cross-rpcgen-objs).
8940 ($(cross-rpcgen-objs)): New rule.
8941 ($(objpfx)cross-rpcgen): Likewise.
8942 (rpcgen-cmd): Define to use $(built-program-file). Expand
8944 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8945 ($(objpfx)x%.stmp): Likewise.
8946 * sunrpc/proto.h [IS_IN_build] (_): Define.
8947 [IS_IN_build] (_libc_intl_domainname): Likewise.
8949 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8952 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8953 and R_X86_64_TPOFF64.
8955 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8957 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8958 sysdeps/unix/sysv/syscalls.list.
8961 * sysdeps/unix/sysv/syscalls.list: Remove file.
8963 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8966 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8967 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8968 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8969 (__LC_IDENTIFICATION): Make these macros useful in #if
8970 expressions, as required by C99.
8972 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8974 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8975 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8978 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8980 * stdlib/longlong.h: Updated from GCC.
8982 2012-05-09 Andreas Jaeger <aj@suse.de>
8984 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8985 default is first entry.
8986 (run_mode): Set type.
8987 (main): Remove informal message about syslog.
8988 (options): Fix typo.
8991 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8994 (llrintf): Likewise.
8998 (nearbyint): Likewise.
8999 (nearbyintf): Likewise.
9001 2012-05-09 Andreas Jaeger <aj@suse.de>
9002 Pedro Alves <palves@redhat.com>
9004 * nscd/nscd.c (run_mode): Use enum.
9005 (main): Cleanup coding style issue.
9007 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9008 Andreas Jaeger <aj@suse.de>
9010 * nscd/nscd.c (go_background): Replaced with...
9011 (run_mode): ... this.
9012 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9013 (options): Add -F --foreground.
9014 (main): Implement it.
9015 (parse_opt): Parse it.
9017 2012-05-09 Andreas Jaeger <aj@suse.de>
9020 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9021 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9022 -Wconversion warning.
9023 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9026 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9028 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9030 (LC_ALL): Use macro-int-constant.
9031 (LC_COLLATE): Likewise.
9032 (LC_CTYPE): Likewise.
9033 (LC_MESSAGES): Likewise.
9034 (LC_MONETARY): Likewise.
9035 (LC_NUMERIC): Likewise.
9036 (LC_TIME): Likewise.
9037 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9038 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9039 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9040 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9042 [C99-based standards] (float_t): Expect type.
9043 [C99-based standards] (double_t): Expect type.
9044 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9046 [C99-based standards] (HUGE_VALL): Likewise.
9047 [C99-based standards] (INFINITY): Likewise.
9048 [C99-based standards] (NAN): Likewise.
9049 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9050 [C99-based standards] (FP_NAN): Likewise.
9051 [C99-based standards] (FP_NORMAL): Likewise.
9052 [C99-based standards] (FP_SUBNORMAL): Likewise.
9053 [C99-based standards] (FP_ZERO): Likewise.
9054 [C99-based standards] (FP_FAST_FMA): Use
9055 optional-macro-int-constant. Specify type. Require == 1.
9056 [C99-based standards] (FP_FAST_FMAF): Likewise.
9057 [C99-based standards] (FP_FAST_FMAL): Likewise.
9058 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9059 [C99-based standards] (FP_ILOGBNAN): Likewise.
9060 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9062 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9063 [C99-based standards] (math_errhandling): Specify type.
9064 [ISO99 || ISO11] (signgam): Do not allow.
9065 [non-C99-based standards] (copysignf): Do not allow.
9066 [non-C99-based standards] (exp2f): Likewise.
9067 [non-C99-based standards] (log2f): Likewise.
9068 [non-C99-based standards] (modff): Allow.
9069 [non-C99-based standards] (erff): Do not allow.
9070 [non-C99-based standards] (erfcf): Likewise.
9071 [non-C99-based standards] (gammaf): Likewise.
9072 [non-C99-based standards] (hypotf): Likewise.
9073 [non-C99-based standards] (j0f): Likewise.
9074 [non-C99-based standards] (j1f): Likewise.
9075 [non-C99-based standards] (jnf): Likewise.
9076 [non-C99-based standards] (lgammaf): Likewise.
9077 [non-C99-based standards] (tgammaf): Likewise.
9078 [non-C99-based standards] (y0f): Likewise.
9079 [non-C99-based standards] (y1f): Likewise.
9080 [non-C99-based standards] (ynf): Likewise.
9081 [non-C99-based standards] (isnanf): Likewise.
9082 [non-C99-based standards] (acoshf): Likewise.
9083 [non-C99-based standards] (asinhf): Likewise.
9084 [non-C99-based standards] (atanhf): Likewise.
9085 [non-C99-based standards] (cbrtf): Likewise.
9086 [non-C99-based standards] (expm1f): Likewise.
9087 [non-C99-based standards] (ilogbf): Likewise.
9088 [non-C99-based standards] (log1pf): Likewise.
9089 [non-C99-based standards] (logbf): Likewise.
9090 [non-C99-based standards] (nextafterf): Likewise.
9091 [non-C99-based standards] (remainderf): Likewise.
9092 [non-C99-based standards] (rintf): Likewise.
9093 [non-C99-based standards] (scalbf): Likewise.
9094 [non-C99-based standards] (copysignl): Likewise.
9095 [non-C99-based standards] (exp2l): Likewise.
9096 [non-C99-based standards] (log2l): Likewise.
9097 [non-C99-based standards] (modfl): Allow.
9098 [non-C99-based standards] (erfl): Do not allow.
9099 [non-C99-based standards] (erfcl): Likewise.
9100 [non-C99-based standards] (gammal): Likewise.
9101 [non-C99-based standards] (hypotl): Likewise.
9102 [non-C99-based standards] (j0l): Likewise.
9103 [non-C99-based standards] (j1l): Likewise.
9104 [non-C99-based standards] (jnl): Likewise.
9105 [non-C99-based standards] (lgammal): Likewise.
9106 [non-C99-based standards] (tgammal): Likewise.
9107 [non-C99-based standards] (y0l): Likewise.
9108 [non-C99-based standards] (y1l): Likewise.
9109 [non-C99-based standards] (ynl): Likewise.
9110 [non-C99-based standards] (isnanl): Likewise.
9111 [non-C99-based standards] (acoshl): Likewise.
9112 [non-C99-based standards] (asinhl): Likewise.
9113 [non-C99-based standards] (atanhl): Likewise.
9114 [non-C99-based standards] (cbrtl): Likewise.
9115 [non-C99-based standards] (expm1l): Likewise.
9116 [non-C99-based standards] (ilogbl): Likewise.
9117 [non-C99-based standards] (log1pl): Likewise.
9118 [non-C99-based standards] (logbl): Likewise.
9119 [non-C99-based standards] (nextafterl): Likewise.
9120 [non-C99-based standards] (remainderl): Likewise.
9121 [non-C99-based standards] (rintl): Likewise.
9122 [non-C99-based standards] (scalbl): Likewise.
9123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9124 [non-C99-based standards] (FP_*): Do not allow.
9125 [C99-based standards] (FP_*): Change to
9126 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9127 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9129 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9130 (SIG_ERR): Likewise.
9131 [X/Open-based standards] (SIG_HOLD): Likewise.
9132 (SIG_IGN): Likewise.
9133 (SIGABRT): Use macro-int-constant. Specify type. Require
9138 (SIGSEGV): Likewise.
9140 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9141 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9142 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9143 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9144 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9145 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9146 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9147 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9148 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9149 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9150 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9151 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9152 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9153 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9154 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9155 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9156 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9157 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9158 [X/Open-based standards] (SIGTRAP): Likewise.
9159 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9160 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9161 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9163 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9166 2012-05-08 Ian Wienand <ianw@vmware.com>
9169 * time/tzset.c (__tzset_parse_tz): Update default rules for
9170 daylight time changes in the Energy Policy Act of 2005.
9172 2012-05-09 Andreas Jaeger <aj@suse.de>
9175 * elf/ldconfig.c (parse_conf): Change string to make clear that
9176 ldconfig only issued a warning if ld.so.conf does not exist.
9178 2012-05-08 David S. Miller <davem@davemloft.net>
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9181 movxtod instead of popping the value on the stack.
9183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9185 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9187 * config.h.in: Add HAVE_ARM_PCS_VFP.
9189 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9192 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9193 checking but the checks are disabled for any reason.
9195 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9197 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9198 and ELF64_R_TYPE with ELFW(R_TYPE).
9200 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9202 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9205 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9206 (settimeofday): Likewise.
9208 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9210 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9211 a struct th_u2 inside the union, and move tu_block/tu_code into
9212 a new th_u3 union of tu_block/tu_code inside of that. Move
9213 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9214 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9215 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9216 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9217 (th_stuff): Change to th_u1.tu_stuff.
9219 (th_msg): Change to th_u1.th_u2.tu_data.
9221 2012-05-07 David S. Miller <davem@davemloft.net>
9223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9226 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9227 (SETUP_PIC_REG): Use it.
9228 (SETUP_PIC_REG_LEAF): Use it.
9230 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9236 (EXPL_FINITE): Likewise.
9238 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9239 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9241 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9243 (EXPL_FINITE): Likewise.
9245 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9246 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9248 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9249 test of -max_value argument for long double.
9250 * sysdeps/i386/fpu/libm-test-ulps: Update.
9251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9253 2012-05-06 David S. Miller <davem@davemloft.net>
9255 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9256 quad soft-float symbols whose references which are compiler
9258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9260 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9266 (EXPL_FINITE): Likewise.
9270 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9271 Adjust comments for base varying.
9272 (__expl_finite): Change alias to EXPL_FINITE.
9273 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9275 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9276 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9278 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9279 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9281 (EXPL_FINITE): Likewise.
9285 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9286 Adjust comments for base varying.
9287 (__expl_finite): Change alias to EXPL_FINITE.
9288 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9293 * math/libm-test.inc (check_float_internal): Correct ulp
9294 calculation for subnormal expected results.
9296 2012-05-06 Andreas Jaeger <aj@suse.de>
9298 * Makeconfig (+math-flags): New, set to -frounding-math.
9299 (+cflags): Add +math-flags so that all of glibc gets compiled with
9302 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9304 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9306 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9312 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9313 (__ieee754_expl): Allow for and saturate large arguments.
9314 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9315 (u_threshold): Likewise.
9316 (__exp): Call __ieee754_exp before checking for overflow and
9318 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9319 (u_threshold): Likewise.
9320 (__expf): Call __ieee754_expf before checking for overflow and
9322 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9323 (u_threshold): Likewise.
9324 (__expl): Call __ieee754_expl before checking for overflow and
9326 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9327 (__ieee754_expl): Allow for and saturate large arguments.
9328 * math/libm-test.inc (exp_test): Add another test. Do not allow
9329 missing overflow exception on overflow.
9330 (expm1_test): Do not allow missing overflow exception on overflow.
9332 * sysdeps/i386/fpu/e_expl.c: Move to ...
9333 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9334 rather than using inline asm.
9335 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9336 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9337 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9339 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9346 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9348 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9349 sysdeps/unix/common/syscalls.list.
9352 (ftruncate): Likewise.
9353 (getrusage): Likewise.
9354 (gettimeofday): Likewise.
9355 (setpgid): Likewise.
9356 (setregid): Likewise.
9357 (setreuid): Likewise.
9358 (sigaction): Likewise.
9359 (truncate): Likewise.
9360 (vhangup): Likewise.
9361 * sysdeps/unix/common/syscalls.list: Remove file.
9362 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9363 * sysdeps/unix/sysv/linux/Implies: Likewise.
9365 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9367 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9369 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9373 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9376 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9379 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9382 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9385 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9388 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9391 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9395 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9399 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9402 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9406 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9410 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9412 * sysdeps/unix/common/bits/dirent.h: Remove file.
9413 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9415 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9416 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9417 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9418 * sysdeps/unix/bsd/isatty.c: Likewise.
9419 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9420 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9421 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9423 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9427 long double comparison inaccuracies.
9428 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9431 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9433 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9436 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9440 nonzero digits before rounding a hex value.
9441 * stdlib/tst-strtod.c (tests): Add another test.
9443 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9445 * sysdeps/s390/fpu/libm-test-ulps: Update.
9447 2012-05-03 Andreas Jaeger <aj@suse.de>
9449 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9450 does not get optimized out.
9451 (malloc_opt_barrier): New.
9453 2012-05-03 Andreas Jaeger <aj@suse.de>
9454 Roland McGrath <roland@hack.frob.com>
9456 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9457 intermediate file deletion.
9458 (generated): Add .symlist files.
9460 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9463 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9464 Redirect under this condition.
9465 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9466 [__USE_GNU] (__dprintf_chk): Not under this condition.
9467 [__USE_GNU] (__vdprintf_chk): Likewise.
9468 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9469 under this condition.
9470 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9471 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9472 [__USE_XOPEN2K8] (vdprintf): Likewise.
9473 [__USE_GNU] (__dprintf_chk): Not under this condition.
9474 [__USE_GNU] (__vdprintf_chk): Likewise.
9475 [__USE_GNU] (dprintf): Likewise.
9476 [__USE_GNU] (vdprintf): Likewise.
9478 2012-05-03 Roland McGrath <roland@hack.frob.com>
9480 * elf/Makefile (common-generated): Set this instead of generated for
9481 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9482 $(all-built-dso)-derived lists.
9484 2012-05-03 Andreas Jaeger <aj@suse.de>
9486 * sysdeps/i386/fpu/libm-test-ulps: Update.
9490 * scripts/gen-FAQ.pl: Likewise.
9491 * manual/install.texi (Installation): Point to online location of
9493 * Makefile (files-for-dist): Remove FAQ.
9496 2012-05-02 Allan McRae <allan@archlinux.org>
9498 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9499 (LDFLAGS-reldepmod5.so): Likewise.
9500 (LDFLAGS-reldep6mod1.so): Likewise.
9501 (LDFLAGS-reldep6mod4.so): Likewise.
9502 (LDFLAGS-reldep8mod3.so): Likewise.
9503 (LDFLAGS-unload4mod1.so): Likewise.
9504 (LDFLAGS-unload4mod2.so): Likewise.
9505 (LDFLAGS-tst-initorder): Likewise.
9506 (LDFLAGS-tst-initordera2.so): Likewise.
9507 (LDFLAGS-tst-initordera3.so): Likewise.
9508 (LDFLAGS-tst-initordera4.so): Likewise.
9509 (LDFLAGS-tst-initorderb2.so): Likewise.
9510 (LDFLAGS-noload): Likewise.
9511 (LDFLAGS-next): Likewise.
9512 (LDFLAGS-order2mod1.so): Likewise.
9513 (LDFLAGS-order2mod2.so): Likewise.
9514 (LDFLAGS-tst-initorder2): Likewise.
9515 (LDFLAGS-tst-initorder2a.so): Likewise.
9516 (LDFLAGS-tst-initorder2b.so): Likewise.
9517 (LDFLAGS-tst-initorder2c.so): Likewise.
9518 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9520 2012-05-02 David S. Miller <davem@davemloft.net>
9522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9524 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9527 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9529 2012-05-02 Andreas Jaeger <aj@suse.de>
9531 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9532 since we manipulate rounding mode.
9533 (CPPFLAGS-test-idouble.c): Likewise.
9534 (CPPFLAGS-test-ifloat.c): Likewise.
9535 (CFLAGS-test-ldouble.c): Likewise.
9536 (CFLAGS-test-double.c): Likewise.
9537 (CFLAGS-test-float.c): Likewise.
9538 (CFLAGS-test-misc.c): Likewise.
9539 (CFLAGS-test-test-fenv.c): Likewise.
9541 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9546 comparisons to determine direction to adjust input.
9548 2012-05-01 Roland McGrath <roland@hack.frob.com>
9550 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9551 output to the target.
9553 * scripts/localplt.awk: New file.
9554 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9555 (check-localplt-CFLAGS): Variable removed.
9556 ($(all-built-dso:=.jmprel)): New static pattern rule.
9557 (generated): Add those targets.
9558 (localplt-built-dso): New variable.
9559 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9561 * elf/check-localplt.c: File removed.
9563 * scripts/check-execstack.awk: New file.
9564 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9565 (check-execstack-CFLAGS): Variable removed.
9566 ($(objpfx)check-execstack.h): Target removed.
9567 ($(objpfx)execstack-default): New target.
9568 (generated): Add that instead of check-execstack.h.
9569 ($(all-built-dso:=.phdr)): New static pattern rule.
9570 (generated): Add those targets.
9571 * elf/check-execstack.c: File removed.
9573 * scripts/check-textrel.awk: New file.
9574 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9575 (check-textrel-CFLAGS): Variable removed.
9576 (all-built-dso): Use := to define.o
9577 ($(all-built-dso:=.dyn)): New static pattern rule.
9578 (generated): Add those targets.
9579 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9580 * config.make.in (READELF): New substituted variable.
9581 * elf/check-textrel.c: File removed.
9583 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9585 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9587 * conform/data/ctype.h-data [C99-based standards] (isblank):
9589 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9590 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9592 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9593 Specify type. Require positive value.
9596 [ISO || POSIX] (EILSEQ): Do not expect.
9597 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9598 Specify type. Require positive value.
9599 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9600 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9604 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9605 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9611 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9612 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9613 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9614 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9615 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9617 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9619 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9626 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9627 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9628 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9629 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9632 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9633 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9634 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9635 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9648 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9649 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9673 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9674 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9675 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9677 (FLT_ROUNDS): Expect as macro, not constant.
9678 (FLT_MANT_DIG): Use macro-int-constant.
9679 (DBL_MANT_DIG): Likewise.
9680 (LDBL_MANT_DIG): Likewise.
9681 (FLT_DIG): Likewise.
9682 (DBL_DIG): Likewise.
9683 (LDBL_DIG): Likewise.
9684 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9685 (DBL_MIN_EXP): Likewise.
9686 (LDBL_MIN_EXP): Likewise.
9687 (FLT_MAX_EXP): Use macro-int-constant.
9688 (DBL_MAX_EXP): Likewise.
9689 (LDBL_MAX_EXP): Likewise.
9690 (FLT_MAX_10_EXP): Likewise.
9691 (DBL_MAX_10_EXP): Likewise.
9692 (LDBL_MAX_10_EXP): Likewise.
9693 (FLT_MAX): Use macro-constant.
9694 (DBL_MAX): Likewise.
9695 (LDBL_MAX): Likewise.
9696 (FLT_EPSILON): Use macro-constant. Give upper bound.
9697 (DBL_EPSILON): Likewise.
9698 (LDBL_EPSILON): Likewise.
9699 (FLT_MIN): Likewise.
9700 (DBL_MIN): Likewise.
9701 (LDBL_MIN): Likewise.
9702 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9703 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9704 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9705 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9706 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9707 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9708 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9709 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9710 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9711 [ISO11] (FLT_TRUE_MIN): Likewise.
9712 [ISO11] (LDBL_TRUE_MIN): Likewise.
9713 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9714 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9715 (SCHAR_MIN): Use macro-int-constant. Specify type.
9716 (SCHAR_MAX): Likewise.
9717 (UCHAR_MAX): Likewise.
9718 (CHAR_MIN): Likewise.
9719 (CHAR_MAX): Likewise.
9720 (MB_LEN_MAX): Use macro-int-constant.
9721 (SHRT_MIN): Use macro-int-constant. Specify type.
9722 (SHRT_MAX): Likewise.
9723 (USHRT_MAX): Likewise.
9724 (INT_MAX): Likewise.
9725 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9727 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9729 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9731 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9732 bound negative. Suffix upper bound with "L".
9733 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9735 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9737 [C99-based standards] (LLONG_MAX): Likewise.
9738 [C99-based standards] (ULLONG_MAX): Likewise.
9739 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9741 [ISO11] (max_align_t): Require type.
9742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9744 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9745 from $CFLAGS, without defining away __attribute__ calls.
9746 (checknamespace): Use $CFLAGS_namespace.
9748 * conform/conformtest.pl (@keywords): Only include C99 keywords
9749 for standards based on C99 or C11.
9751 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9753 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9756 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9757 usability of symbols in #if.
9759 * conform/conformtest.pl: If macro or constant types start
9760 "promoted:", expect the symbol to be of the following type
9761 promoted by the integer promotions.
9763 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9764 in one place. Also handle "macro-constant".
9766 * conform/conformtest.pl: Only accept expected macro values with
9767 "==". Parse all "macro" lines in one place.
9768 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9770 * conform/conformtest.pl: Handle braced types on "constant" lines
9771 instead of handling "typed-constant".
9772 * conform/data/signal.h-data: Use "constant" instead of
9775 * conform/conformtest.pl: Handle "optional-" at start of lines in
9776 one place rather than duplicating several cases. Handle each
9777 format of "macro" line with initial "optional-".
9779 * conform/conformtest.pl: Only accept expected constant or
9780 optional-constant values with "==". Parse all "constant" lines in
9781 one place. Parse all "optional-constant" lines in one place.
9782 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9783 * conform/data/fmtmsg.h-data: Likewise.
9784 * conform/data/netinet/in.h-data: Likewise.
9785 * conform/data/tar.h-data: Likewise.
9786 * conform/data/limits.h-data: Use "==" form on "constant" and
9787 "optional-constant" lines.
9789 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9790 Use -std=c99 for XOPEN2K.
9791 (@knownproblems): Remove.
9792 (newtoken): Don't check %isknown.
9794 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9795 Do not expect macro.
9796 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9801 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9802 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9803 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9804 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9805 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9806 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9807 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9808 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9809 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9812 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9813 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9821 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9822 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9823 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9826 [XPG3] (acosh): Likewise.
9827 [XPG3] (asinh): Likewise.
9828 [XPG3] (atanh): Likewise.
9829 [XPG3] (cbrt): Likewise.
9830 [XPG3] (expm1): Likewise.
9831 [XPG3] (ilogb): Likewise.
9832 [XPG3] (log1p): Likewise.
9833 [XPG3] (logb): Likewise.
9834 [XPG3] (nextafter): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9837 [XPG3] (remainder): Likewise.
9838 [XPG3] (rint): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9846 [UNIX98 || XOPEN2K] (scalb): Expect.
9847 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9848 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9887 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9898 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9899 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9907 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9908 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9909 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9985 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9986 _XOPEN_SOURCE_EXTENDED for XPG4.
9988 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9990 * Makeconfig (localtime): Remove variable.
9991 (inst_localtime-file): Likewise.
9993 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10014 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10018 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10019 comparisons to determine direction to adjust input.
10020 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10021 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10028 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10031 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10033 * math/libm-test.inc (nexttoward_test): Add more tests.
10035 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10039 in version GLIBC_2.1, not GLIBC_2.0.
10040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10043 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10048 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10049 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10050 * math/libm-test.inc (acos_test): Add more tests.
10051 (asin_test): Likewise.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10056 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10058 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10059 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10060 * math/libm-test.inc (acos_test_tonearest): New function.
10061 (acos_test_towardzero): Likewise.
10062 (acos_test_downward): Likewise.
10063 (acos_test_upward): Likewise.
10064 (asin_test_tonearest): Likewise.
10065 (asin_test_towardzero): Likewise.
10066 (asin_test_downward): Likewise.
10067 (asin_test_upward): Likewise.
10068 (main): Call the new functions.
10069 * sysdeps/i386/fpu/libm-test-ulps: Update.
10070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10074 * math/e_exp10.c: Include <float.h>.
10075 (__ieee754_exp10): Handle underflow here rather than multiplying
10076 large negative argument by M_LN10.
10077 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10079 * math/e_exp10l.c: Include <float.h>.
10080 (__ieee754_exp10l): Handle underflow here rather than multiplying
10081 large negative argument by M_LN10l.
10082 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10083 spurious overflow exception on underflow.
10085 2012-04-29 Marek Polacek <polacek@redhat.com>
10087 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10088 (__fortify_function): New macro.
10089 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10090 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10091 __extern_always_inline.
10092 * libio/bits/stdio2.h: Likewise.
10093 * libio/bits/stdio.h: Likewise.
10094 * string/string.h: Likewise.
10095 * string/bits/string3.h: Likewise.
10096 * include/stdio.h: Likewise.
10097 * stdlib/bits/stdlib.h: Likewise.
10098 * stdlib/stdlib.h: Likewise.
10099 * rt/bits/mqueue2.h: Likewise.
10100 * rt/mqueue.h: Likewise.
10101 * posix/bits/unistd.h: Likewise.
10102 * posix/unistd.h: Likewise.
10103 * io/bits/poll2.h: Likewise.
10104 * io/bits/fcntl2.h: Likewise.
10105 * io/fcntl.h: Likewise.
10106 * io/sys/poll.h: Likewise.
10107 * misc/bits/syslog.h: Likewise.
10108 * misc/bits/syslog-ldbl.h: Likewise.
10109 * misc/sys/syslog.h: Likewise.
10110 * socket/bits/socket2.h: Likewise.
10111 * socket/sys/socket.h: Likewise.
10112 * debug/tst-chk1.c: Likewise.
10113 * wcsmbs/bits/wchar2.h: Likewise.
10114 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10115 * wcsmbs/wchar.h: Likewise.
10117 2012-04-29 Andreas Jaeger <aj@suse.de>
10119 * Makerules (tests): Remove enable-check-abi protection.
10120 (check-abi-warn): Remove.
10121 (check-abi-%): Remove check-abi-warn usage.
10123 * configure.in: Remove check-abi configure option.
10124 * configure: Regenerated.
10125 * config.make.in (enable-check-abi): Remove.
10127 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10130 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10131 double functions to double *_finite functions.
10134 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10135 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10137 * stdio-common/Makefile (tests): Add tst-sprintf3.
10138 * stdio-common/tst-sprintf3.c: New file.
10140 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10141 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10143 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10145 * conform/conformtest.pl: Remove duplicate typed-constant
10148 2012-04-28 David S. Miller <davem@davemloft.net>
10150 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10151 (check-abi-%): Remove AWK script prerequisite and explicit
10153 (check-abi): Rewrite to just diff the symlist with the abilist.
10154 (config-tls, config-abi-config): Delete, no longer used.
10155 (update-abi-%): Remove AWK script and explicit abilist directory.
10156 (update-abi): Rewrite to simply compare and conditionally copy the
10157 symlist and the sysdep abilist file. Remove update-abi-config
10159 * abilist/ld.abilist: Remove.
10160 * abilist/libBrokenLocale.abilist: Remove.
10161 * abilist/libanl.abilist: Remove.
10162 * abilist/libcrypt.abilist: Remove.
10163 * abilist/libdl.abilist: Remove.
10164 * abilist/librt.abilist: Remove.
10165 * abilist/libthread_db.abilist: Remove.
10166 * abilist/libutil.abilist: Remove.
10167 * scripts/extract-abilist.awk: Remove.
10168 * scripts/merge-abilist.awk: Remove.
10169 * sysdeps/generic/libcidn.abilist: New file.
10170 * sysdeps/generic/libnss_compat.abilist: New file.
10171 * sysdeps/generic/libnss_db.abilist: New file.
10172 * sysdeps/generic/libnss_dns.abilist: New file.
10173 * sysdeps/generic/libnss_files.abilist: New file.
10174 * sysdeps/generic/libnss_hesiod.abilist: New file.
10175 * sysdeps/generic/libnss_nis.abilist: New file.
10176 * sysdeps/generic/libnss_nisplus.abilist: New file.
10177 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10178 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10179 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10181 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10182 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10183 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10184 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10185 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10186 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10187 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10188 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10189 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10191 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10193 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10196 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10197 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10199 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10200 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10201 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10203 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10204 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10205 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10207 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10310 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10311 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10312 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10315 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10316 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10317 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10318 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10319 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10320 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10321 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10322 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10323 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10375 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10377 * conform/conformtest.pl: Fix typo in handling typed-constant from
10380 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10382 * README: Cut down references to pre-2.6 Linux kernels and
10383 Linuxthreads. Update lists of configurations in libc and ports
10384 and sort alphabetically. Say "or newer" with Linux kernel version
10387 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10389 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10392 * math/libm-test.inc (logb_test_downward): New test to expose
10393 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10396 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10399 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10401 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10402 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10404 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10406 * sysdeps/unix/i386/brk.S: Remove file.
10407 * sysdeps/unix/i386/dl-brk.S: Likewise.
10408 * sysdeps/unix/i386/pipe.S: Likewise.
10409 * sysdeps/unix/i386/sigreturn.S: Likewise.
10410 * sysdeps/unix/i386/syscall.S: Likewise.
10411 * sysdeps/unix/i386/vfork.S: Likewise.
10412 * sysdeps/unix/i386/wait.S: Likewise.
10414 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10415 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10417 * configure.in (arm*-none*): Do not allow without
10418 --enable-hacker-mode.
10419 (netbsd*): Remove case setting base_os.
10420 (386bsd*): Likewise.
10421 (freebsd*): Likewise.
10424 (sunos*): Likewise.
10425 (ultrix*): Likewise.
10426 (newsos*): Likewise.
10427 (dynix*): Likewise.
10433 (minix*): Likewise.
10434 (irix4*): Likewise.
10435 (irix6*): Likewise.
10436 (solaris[2-9]*): Likewise.
10438 * configure: Regenerated.
10440 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10444 overflow or cancellation in calculating denominator.
10445 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10447 down expression to avoid unexpected rounding in newer GCCs.
10448 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10450 2012-04-26 David S. Miller <davem@davemloft.net>
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10453 long-double compat symbols.
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10468 2012-04-25 David S. Miller <davem@davemloft.net>
10470 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10471 HWCAP_* values only after the memory barriers have been defined.
10472 (atomic_full_barrier): Define.
10473 (atomic_read_barrier): Define.
10474 (atomic_write_barrier): Define.
10476 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * shlib-versions: Add libgcc_s version information.
10479 * sysdeps/generic/libgcc_s.h: Remove.
10480 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10482 * sysdeps/gnu/unwind-resume.c: Likewise.
10483 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10485 2012-04-25 David S. Miller <davem@davemloft.net>
10487 * sysdeps/unix/sparc/brk.S: Delete.
10488 * sysdeps/unix/sparc/dl-brk.S: Delete.
10489 * sysdeps/unix/sparc/pipe.S: Delete.
10490 * sysdeps/unix/sparc/sysdep.S: Delete.
10491 * sysdeps/unix/sparc/sysdep.h: Delete.
10492 * sysdeps/unix/sparc/vfork.S: Delete.
10493 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10494 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10496 ret_ERRVAL, r0, r1, MOVE): Define.
10497 (JUMPTARGET): Remove.
10498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10499 sysdeps/unix/sparc/sysdep.h
10500 (ENTRY, END): Remove.
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10503 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10505 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10506 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10509 * timezone/README: Update upstream location and email address for
10511 * timezone/zdump.c: Update from tzcode 2012b.
10512 * timezone/zic.c: Likewise.
10514 * configure.in (libc_cv_as_needed): Remove test.
10515 * configure: Regenerated.
10516 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10517 conditional definition.
10518 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10519 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10520 * config.make.in (have-as-needed): Remove variable.
10522 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10523 Paul Pluzhnikov <ppluzhnikov@google.com>
10525 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10528 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10530 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10531 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10532 * sysdeps/sh/strlen.S: Likewise.
10534 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10536 * sysdeps/unix/fork.S: Remove file.
10537 * sysdeps/unix/i386/fork.S: Likewise.
10538 * sysdeps/unix/sparc/fork.S: Likewise.
10540 * sysdeps/unix/system.c: Remove file.
10541 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10543 * sysdeps/unix/getegid.S: Remove file.
10544 * sysdeps/unix/geteuid.S: Likewise.
10546 2012-04-24 Roland McGrath <roland@hack.frob.com>
10548 * scripts/check-localplt.awk: New file.
10549 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10551 * scripts/data/localplt-generic.data: Add a comment.
10553 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10554 NODE when __dir_mkfile failed.
10555 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10556 Reported by Ludovic Courtès <ludo@gnu.org>.
10558 2012-04-24 Andreas Jaeger <aj@suse.de>
10560 * Makerules (common-clean): Also remove gen-as-const-headers
10563 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10565 * Makerules (native-compile): Do not change working directory for
10566 build. Use $(OUTPUT_OPTION) in command.
10567 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10569 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10572 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10573 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10574 * math/libm-test.inc (floor_test): Add more tests.
10575 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10577 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10579 * sysdeps/unix/getdents.c: Remove file.
10580 * sysdeps/unix/sysv/getdents.c: Likewise.
10581 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10583 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10584 sysdeps/unix/mman/syscalls.list.
10586 (mprotect): Likewise.
10588 (munmap): Likewise.
10589 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10590 * sysdeps/unix/mman/syscalls.list: Remove.
10591 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10593 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10594 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10595 * configure: Regenerated.
10596 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10597 $(libgcc_s_suffix).
10598 * config.make.in (libgcc_s_suffix): Remove variable.
10600 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10602 * sysdeps/unix/sysv/gethostname.c: Move to ...
10603 * sysdeps/posix/gethostname.c: ... here.
10605 * sysdeps/unix/execve.S: Remove file.
10607 * sysdeps/unix/_exit.S: Remove file.
10609 2012-04-23 Andreas Jaeger <aj@suse.de>
10612 * manual/Makefile: Remove make dist support, there's no
10613 need for a stand-alone documentation tar ball.
10614 (TEXI2DVI): Define always, it's not in Makeconfig.
10617 (edition): Removed.
10618 (glibc-doc-$(edition).tar): Removed
10622 (ETAGS): Remove, it's in Makeconfig.
10623 (move-if-change): Remove, it's in Makeconfig.
10625 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10628 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10629 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10630 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10631 (strtod_l, strtof_l, strtold_l): Remove __wur.
10632 It is not necessarily an error to ignore strtol's return value.
10633 One can reliably look at the stored endptr to decide whether
10634 the number had valid syntax.
10636 2012-04-21 Andreas Jaeger <aj@suse.de>
10639 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10641 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10643 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10644 * sysdeps/unix/sysv/Versions: Remove file.
10646 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10651 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10655 version from __vm86.
10657 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/unix/common/lxstat.c: Remove file.
10660 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10662 * sysdeps/unix/sysv/Makefile: Remove file.
10664 * sysdeps/unix/sysv/direct.h: Remove file.
10666 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10667 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10668 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10669 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10670 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10671 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10672 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10674 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10676 * sysdeps/unix/xmknod.c: Remove file.
10677 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10679 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10681 * sysdeps/unix/sysv/i386/time.S: Remove file.
10683 * sysdeps/unix/fxstat.c: Remove file.
10684 * sysdeps/unix/xstat.c: Likewise.
10685 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10687 * sysdeps/unix/sysv/sigaction.c: Remove file.
10689 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10690 (sysdep_headers): Remove variable.
10691 [termio.h not in sysdep_headers] (generated): Likewise.
10692 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10693 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10694 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10695 * sysdeps/unix/sysv/tcflow.c: Likewise.
10696 * sysdeps/unix/sysv/tcflush.c: Likewise.
10697 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10698 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10699 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10700 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10701 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10703 * sysdeps/unix/siglist.c: Remove file.
10705 * sysdeps/unix/getppid.S: Remove file.
10707 * sysdeps/unix/mkdir.c: Remove file.
10708 * sysdeps/unix/rmdir.c: Likewise.
10710 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10712 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10714 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10715 errlist-compat value.
10717 2012-04-18 David S. Miller <davem@davemloft.net>
10719 * sysdeps/generic/memcopy.h (reg_char): Delete.
10720 * debug/strcat_chk.c: Use char, not reg_char.
10721 * debug/strcpy_chk.c: Likewise.
10722 * debug/strncat_chk.c: Likewise.
10723 * debug/strncpy_chk.c: Likewise.
10724 * string/memchr.c: Likewise.
10725 * string/memrchr.c: Likewise.
10726 * string/rawmemchr.c: Likewise.
10727 * string/strcat.c: Likewise.
10728 * string/strchr.c: Likewise.
10729 * string/strchrnul.c: Likewise.
10730 * string/strcmp.c: Likewise.
10731 * string/strcpy.c: Likewise.
10732 * string/strncat.c: Likewise.
10733 * string/strncmp.c: Likewise.
10734 * string/strncpy.c: Likewise.
10736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10738 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10739 __builtin_memcopy is called when src and dest ranges are known to not
10742 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10744 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10745 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10746 fwd_align_merge macro call.
10747 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10748 bwd_align_merge macro call.
10749 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10751 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10754 bwd_align_merge macros.
10755 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10756 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10757 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10759 2012-04-18 David S. Miller <davem@davemloft.net>
10761 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10763 2012-04-18 Andreas Jaeger <aj@suse.de>
10766 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10767 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10768 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10770 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10771 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10772 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10774 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10775 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10776 Adjust for changed ldbl-128 files.
10778 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10779 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10780 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10782 2012-04-17 David S. Miller <davem@davemloft.net>
10784 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10786 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10788 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10789 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10790 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10791 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10792 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10793 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10795 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10798 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10799 * math/libm-test.inc: Add ilogb errno and exception tests.
10800 * math/w_ilogb.c: New file: ilogb wrapper.
10801 * math/w_ilogbf.c: New file: ilogbf wrapper.
10802 * math/w_ilogbl.c: New file: ilogbl wrapper.
10803 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10804 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10805 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10806 exception being thrown with 0.0 as argument.
10807 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10808 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10809 exception being thrown with 0.0 as argument.
10810 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10811 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10812 exception being thrown with 0.0 as argument.
10813 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10814 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10815 exception being thrown with 0.0 as argument.
10816 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10817 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10818 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10819 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10821 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10822 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10823 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10824 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10826 2012-04-17 Petr Baudis <pasky@ucw.cz>
10828 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10831 2012-04-16 Marek Polacek <polacek@redhat.com>
10833 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10835 2012-04-16 Marek Polacek <polacek@redhat.com>
10837 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10838 operands of fdivp instruction.
10840 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10842 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10843 * elf/tst-auditmod3b.c: Likewise.
10844 * elf/tst-auditmod4b.c: Likewise.
10845 * elf/tst-auditmod5b.c: Likewise.
10846 * elf/tst-auditmod6b.c: Likewise.
10847 * elf/tst-auditmod6c.c: Likewise.
10848 * elf/tst-auditmod7b.c: Likewise.
10849 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10850 * sysdeps/x86_64/preconfigure.in: Likewise.
10851 * sysdeps/x86_64/preconfigure: Regenerated.
10853 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10855 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10858 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10861 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10863 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10866 * locale/iso-639.def: Fix gl language name. Spotted by
10869 2012-04-12 Roland McGrath <roland@hack.frob.com>
10872 * libio/libio.h (__io_write_fn): Update comment.
10874 2012-04-12 Petr Baudis <pasky@ucw.cz>
10877 * stdio.texi (Hook Functions): The user provided writer function
10878 is not allowed to return -1.
10880 2012-04-11 David S. Miller <davem@davemloft.net>
10882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10884 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10886 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10887 Add a leading slash to rtkaio.
10889 2012-04-11 Jim Meyering <meyering@redhat.com>
10892 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10893 It is not necessarily an error to ignore fwrite's return
10894 value. One can reliably use ferror to test for errors after
10897 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10899 * bits/types.h (__snseconds_t): New type.
10900 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10902 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10904 (__SNSECONDS_T_TYPE): Likewise.
10905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10906 (__SNSECONDS_T_TYPE): Likewise.
10907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10908 (__SNSECONDS_T_TYPE): Likewise.
10910 2012-04-10 Andreas Jaeger <aj@suse.de>
10913 * manual/time.texi (Processor Time): Return type of times is
10914 elapsed real time since an arbitrary point in the past.
10915 (CPU Time): Move CLK_TCK from here...
10916 (Processor Time): ...to here. Correct description.
10917 * manual/conf.texi (Constants for Sysconf): Correct description of
10920 2012-04-10 David S. Miller <davem@davemloft.net>
10923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10924 where the is a gap between DT_REL(A) and DT_JMPREL.
10926 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10928 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10929 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10930 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10932 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10934 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10935 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10936 (dl_main): Handle --inhibit-cache.
10937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10939 * elf/dl-load.c (_dl_map_object): Use it.
10940 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10942 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10945 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10946 (__ieee754_powl): Saturate large exponents rather than testing for
10947 overflow of y*log2(x).
10948 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10949 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10953 * math/s_ctan.c: Include <float.h>.
10954 (__ctan): Avoid internal overflow or cancellation in calculating
10956 * math/s_ctanf.c: Likewise.
10957 * math/s_ctanl.c: Likewise.
10958 * math/s_ctanh.c: Likewise.
10959 * math/s_ctanhf.c: Likewise.
10960 * math/s_ctanhl.c: Likewise.
10961 * math/libm-test.inc (ctan_test): Add more tests.
10962 (ctanh_test): Likewise.
10963 * sysdeps/i386/fpu/libm-test-ulps: Update.
10964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966 2012-04-09 Andreas Jaeger <aj@suse.de>
10969 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10970 is an optional BSD extension.
10973 * manual/stdio.texi (Opening Streams): Document additional fopen
10976 2012-04-09 Roland McGrath <roland@hack.frob.com>
10978 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10979 %eax without telling the compiler.
10981 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10984 * manual/install.texi: Use sourceware.org.
10986 2012-04-09 Joseph Myers <joseph@codesourcery.com>
10989 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10990 (__ieee754_pow): Generate overflow and underflow using huge*huge
10991 and tiny*tiny rather than just returning constant infinity or zero
10992 for large exponents.
10993 * math/libm-test.inc (pow_test): Require overflow exceptions for
10994 applicable cases of large exponents.
10997 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10998 (__ieee754_pow): Use iterative multiplication algorithm only for
10999 integer exponents with absolute value below 1024. Check for odd
11000 integer exponents when using algorithm for real exponents.
11001 * math/libm-test.inc (pow_test): Add more tests.
11002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11004 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11007 * math/libm-test.inc (exp_test): Do not allow overflow exception
11010 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11013 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11014 instead of __kernel_standard_f.
11016 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11018 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11019 * sysdeps/x86_64/memset_chk.S: Likewise.
11021 2012-04-08 Andreas Jaeger <aj@suse.de>
11024 * manual/startup.texi (Environment Access): Describe return value
11025 for putenv and setenv.
11028 * manual/filesys.texi (Directory Entries): Add description for
11032 * manual/filesys.texi (Directory Entries): Clarify that it's file
11033 system not operating system in the description of DT_UNKNOWN.
11036 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11038 2012-04-08 Stephen Compall <s11@member.fsf.org>
11041 * manual/llio.texi (Opening and Closing Files): Add cross
11042 reference to explain mode argument.
11044 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11046 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11047 * sysdeps/x86_64/memset_chk.S: Likewise.
11049 2012-04-07 David S. Miller <davem@davemloft.net>
11051 * elf/elf.h (R_SPARC_WDISP10): Define.
11052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11055 R_SPARC_SIZE64 and R_SPARC_H34.
11057 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11059 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11060 conditions and remove no longer applicable assertion.
11062 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11064 * bits/byteswap.h: Include <features.h>.
11065 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11066 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11068 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11070 * bits/byteswap.h (__bswap_16): Removed.
11071 Include <bits/byteswap-16.h> to get __bswap_16.
11072 * sysdeps/i386/bits/byteswap.h: Likewise.
11073 * sysdeps/s390/bits/byteswap.h: Likewise.
11074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11075 * bits/byteswap-16.h: New file.
11076 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11077 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11078 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11079 * string/Makefile (headers): Add bits/byteswap-16.h.
11081 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11084 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11086 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11087 * nss/tst-nss-static.c: New.
11089 2012-04-06 Robert Millan <rmh@gnu.org>
11092 * manual/llio.texi (File Position Primitive): lseek
11093 refers to WHENCE when it really means OFFSET.
11095 2012-04-06 Andreas Jaeger <aj@suse.de>
11097 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11098 strncmp declarations.
11100 * abilist/libc.abilist: Add __poll and __ppoll.
11102 2012-04-05 David S. Miller <davem@davemloft.net>
11104 * scripts/check-local-headers.sh: Accept a host triplet in the
11105 path matched by the exclude regexp.
11107 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11109 * sysdeps/powerpc/powerpc32/dl-machine.h
11110 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11111 * sysdeps/s390/s390-32/dl-machine.h
11112 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11113 * sysdeps/sparc/sparc32/dl-machine.h
11114 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11115 * sysdeps/sparc/sparc64/dl-machine.h
11116 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11118 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11120 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11121 undefined symbol errors.
11123 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11126 2012-04-05 Michael Matz <matz@suse.de>
11129 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11131 2012-04-05 Andreas Jaeger <aj@suse.de>
11134 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11140 which ROUND is no valid rounding mode.
11142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11144 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11146 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11148 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11150 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11151 an exception using FPU order intentionally.
11153 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11155 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11156 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11157 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11158 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11160 2012-04-05 Simon Josefsson <simon@josefsson.org>
11163 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11164 EINVAL when BUFLEN is too smal.
11166 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11169 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11170 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11172 2012-04-03 Andreas Jaeger <aj@suse.de>
11175 * manual/setjmp.texi (System V contexts): Fix sentence.
11178 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11179 New macro for this case.
11180 [!__GNUC__] (__bswap_64): New inline function for this case.
11181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11182 * bits/byteswap.h: Likewise.
11183 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11184 ull, guard with __GLIBC_HAVE_LONG_LONG.
11186 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11187 __GLIBC_HAVE_LONG_LONG.
11189 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11190 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11192 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11195 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11196 inptr and inend, rather than using last_ch.
11198 2012-04-02 David S. Miller <davem@davemloft.net>
11200 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11201 * stdio-common/printf-parse.h (read_int): Change return type to
11202 'int', return -1 on INT_MAX overflow.
11203 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11204 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11205 overflows INT_MAX. Check for overflow of in-format-string precision
11206 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11207 SIZE_MAX not INT_MAX for integer overflow test.
11208 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11209 skip the construct in the format string but do not record anything.
11210 * stdio-common/bug22.c: Adjust to test both width/prevision
11211 INT_MAX overflow as well as total length INT_MAX overflow. Check
11212 explicitly for proper errno values.
11214 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11216 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11218 * string/test-strcmp.c [! WIDE]: Likewise.
11219 * time/tst-mktime2.c: Likewise for INT_MAX.
11220 * string/test-string.h: #include <sys/param.h> for MIN.
11222 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11223 * sysdeps/i386/init-first.c (init): Likewise.
11224 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11225 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11226 * sysdeps/sh/init-first.c (init): Likewise.
11228 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11230 * po/ru.po: Update from translation team.
11231 * po/vi.po: Likewise.
11233 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11235 * resolv/nss_dns/dns-host.c: Merge copyright years.
11237 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11240 Optimize memcpy with prefetch if
11241 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11242 src, dst pointers have unequal 16 byte alignments.
11244 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11247 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11248 from a CNAME entry and return the minimum ttl for the query.
11249 (gaih_getanswer_slice): Likewise.
11251 2012-03-30 Jeff Law <law@redhat.com>
11253 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11255 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11256 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11258 * resolv/nss_dns/dns-host.c: Update copyright year.
11260 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11262 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11263 requests to save a system call. Fix check that all bytes are sent.
11265 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11266 comments for sendmmsg.
11268 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11271 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11272 with only 1 character between 0x0041 and 0x01b0.
11273 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11274 * wcsmbs/tst-mbsnrtowcs.c: New file.
11276 2012-03-29 David S. Miller <davem@davemloft.net>
11278 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11279 small copies by hand.
11281 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11285 _nss_compat_initgroups_dyn): Fall back to malloc/free
11286 for large group memberships.
11288 2012-03-28 David S. Miller <davem@davemloft.net>
11290 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11291 that branches into memcpy.
11292 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11294 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11295 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11298 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11299 implementation too.
11300 * sysdeps/sparc/mempcpy.S: New file.
11302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11303 the IFUNC routine in the libc case.
11304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11306 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11307 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11308 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11309 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11310 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11311 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11312 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11313 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11315 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11316 loop to 256 bytes instead of 64 bytes and fix test signedness.
11318 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11319 * sysdeps/sparc/sparc32/Makefile: rather than here...
11320 * sysdeps/sparc/sparc64/Makefile: and here.
11322 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11324 * malloc/mallocbug.c: Avoid warnings about unused variables.
11326 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11329 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11330 in the right place. Discard and retry query if response is
11331 larger than input buffer size.
11333 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11338 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11339 x for large integer exponent.
11340 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11341 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11342 sign of result as needed afterwards.
11343 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11344 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11345 result for underflowing pow the same as for overflow.
11346 (__kernel_standard_l): Handle powl overflow and underflow here
11347 rather than calling __kernel_standard.
11348 * math/libm-test.inc (pow_test): Add more tests.
11363 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11364 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11365 (__kernel_standard_l): New function.
11366 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11368 * math/w_acosl.c (__acosl): Likewise.
11369 * math/w_asinl.c (__asinl): Likewise.
11370 * math/w_atan2l.c (__atan2l): Likewise.
11371 * math/w_atanhl.c (__atanhl): Likewise.
11372 * math/w_coshl.c (__coshl): Likewise.
11373 * math/w_exp10l.c (__exp10l): Likewise.
11374 * math/w_exp2l.c (__exp2l): Likewise.
11375 * math/w_fmodl.c (__fmodl): Likewise.
11376 * math/w_hypotl.c (__hypotl): Likewise.
11377 * math/w_j0l.c (__j0l, __y0l): Likewise.
11378 * math/w_j1l.c (__j1l, __y1l): Likewise.
11379 * math/w_jnl.c (__jnl, __ynl): Likewise.
11380 * math/w_lgammal.c (__lgammal): Likewise.
11381 * math/w_log10l.c (__log10l): Likewise.
11382 * math/w_log2l.c (__log2l): Likewise.
11383 * math/w_logl.c (__logl): Likewise.
11384 * math/w_powl.c (__powl): Likewise.
11385 * math/w_remainderl.c (__remainderl): Likewise.
11386 * math/w_scalbl.c (sysv_scalbl): Likewise.
11387 * math/w_sinhl.c (__sinhl): Likewise.
11388 * math/w_sqrtl.c (__sqrtl): Likewise.
11389 * math/w_tgammal.c (__tgammal): Likewise.
11390 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11391 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11392 * math/libm-test.inc (acos_test): Add more tests.
11393 (acosh_test): Likewise.
11394 (asin_test): Likewise.
11395 (atanh_test): Likewise.
11396 (exp_test): Likewise.
11397 (exp10_test): Likewise.
11398 (exp2_test): Likewise.
11399 (expm1_test): Likewise.
11400 (lgamma_test): Likewise.
11401 (log_test): Likewise.
11402 (log10_test): Likewise.
11403 (log1p_test): Likewise.
11404 (log2_test): Likewise.
11405 (pow_test): Do not allow some spurious overflow exceptions.
11406 (sqrt_test): Add more tests.
11407 (tgamma_test): Likewise.
11408 (y0_test): Likewise.
11409 (y1_test): Likewise.
11410 (yn_test): Likewise.
11412 2012-03-27 Anton Blanchard <anton@samba.org>
11414 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11416 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11417 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11420 2012-03-27 David S. Miller <davem@davemloft.net>
11422 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11424 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11425 have-as-vis3 check.
11427 2012-03-27 Andreas Jaeger <aj@suse.de>
11429 * sysdeps/x86_64/elf/configure.in: Moved to ...
11430 * sysdeps/x86_64/configure.in: ... here.
11431 * sysdeps/x86_64/elf/start.S: Moved to ...
11432 * sysdeps/x86_64/start.S: ... here.
11433 * sysdeps/x86_64/elf/configure: Delete.
11435 * sysdeps/x86_64/configure.in: Merge contents from
11436 sysdeps/i386/configure.in (without i686 check).
11438 * sysdeps/i386/elf/Versions: Merge into ...
11439 * sysdeps/i386/Versions: ... this.
11440 * sysdeps/i386/elf/Versions: Delete file.
11441 * sysdeps/i386/elf/start.S: Moved to ...
11442 * sysdeps/i386/start.S: ...here.
11443 * sysdeps/i386/elf/configure.in: Merge into...
11444 * sysdeps/i386/configure.in: ...here.
11445 * sysdeps/i386/elf/configure.in: Delete file.
11446 * sysdeps/i386/elf/configure: Delete file.
11448 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11449 * debug/backtracesyms.c: ... here.
11450 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11451 * debug/backtracesymsfd.c: ... here.
11452 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11453 * sysdeps/generic/ifunc-sel.h: ... here.
11455 * sysdeps/unix/i386/start.c: Delete file.
11456 * sysdeps/unix/sparc/start.c: Delete file.
11457 * sysdeps/unix/start.c: Delete file.
11459 * sysdeps/sh/elf/configure.in: Moved to ...
11460 * sysdeps/sh/configure.in: ... here.
11461 * sysdeps/sh/elf/start.S: Moved to ...
11462 * sysdeps/sh/start.S: ... here.
11463 * sysdeps/sh/elf/configure: Delete file.
11465 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11466 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11467 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11468 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11469 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11470 * sysdeps/powerpc/powerpc64/start.S: here.
11471 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11472 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11473 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11474 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11475 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11477 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11478 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11479 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11480 * sysdeps/powerpc/powerpc32/start.S: ... here.
11481 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11482 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11483 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11485 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11486 * sysdeps/powerpc/ifunc-sel.h: ... here.
11487 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11488 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11490 * sysdeps/sparc/elf/configure.in: Moved to ...
11491 * sysdeps/sparc/configure.in: ... here.
11492 * sysdeps/sparc/elf/configure: Delete file.
11493 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11494 * sysdeps/sparc/sparc32/start.S: ... here.
11495 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11496 * sysdeps/sparc/sparc64/start.S: ... here.
11497 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11498 * sysdeps/sparc/sparc32/Makefile: ... this.
11499 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11500 * sysdeps/sparc/sparc64/Makefile: ... this.
11502 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11503 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11504 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11505 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11506 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11507 * sysdeps/s390/s390-32/setjmp.S: ... here.
11508 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11509 * sysdeps/s390/s390-32/configure.in: ... here.
11510 * sysdeps/s390/s390-32/elf/configure: Delete file.
11511 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11512 * sysdeps/s390/s390-32/start.S: ... here.
11514 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11515 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11516 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11517 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11518 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11519 * sysdeps/s390/s390-64/setjmp.S: ... here.
11520 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11521 * sysdeps/s390/s390-64/configure.in: ... here
11522 * sysdeps/s390/s390-64/elf/configure: Delete file.
11523 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11524 * sysdeps/s390/s390-64/start.S: ... here.
11525 * sysdeps/s390/s390-64/elf/configure: Delete.
11527 * configure.in: Remove support for elf directories in sysdeps.
11529 * configure: Regenerated.
11530 * sysdeps/i386/configure: Regenerated.
11531 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11532 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11533 * sysdeps/s390/s390-32/configure: Regenerated.
11534 * sysdeps/s390/s390-64/configure: Regenerated.
11535 * sysdeps/sh/configure: Regenerated.
11536 * sysdeps/sparc/configure: Regenerated.
11537 * sysdeps/x86_64/configure: Regenerated.
11539 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11544 denormal result into account.
11546 2012-03-25 Roland McGrath <roland@hack.frob.com>
11548 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11549 Reported by Allan McRae <allan@archlinux.org>.
11551 2012-03-23 Jeff Law <law@redhat.com>
11553 * nss/getnssent.c (__nss_getent): Fix typo.
11555 2012-03-23 David S. Miller <davem@davemloft.net>
11557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11559 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11561 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11562 to pad to uint64_t for each field.
11563 (dl_tls_index): Replace unsigned long with uint64_t.
11565 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11566 Paul Pluzhnikov <ppluzhnikov@google.com>
11569 * grp/Makefile (otherlibs): Don't set it.
11570 * inet/Makefile (otherlibs): Likewise.
11571 * login/Makefile (otherlibs): Likewise.
11572 * nscd/Makefile (otherlibs): Likewise.
11573 * posix/Makefile (otherlibs): Likewise.
11574 * pwd/Makefile (otherlibs): Likewise.
11575 * rt/Makefile (otherlibs): Likewise.
11576 * sunrpc/Makefile (otherlibs): Likewise.
11577 * nss/Makefile (otherlibs): Likewise.
11578 Add libnss_files to routines and static-only-routines.
11579 ($(objpfx)getent): Remove rule.
11580 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11581 static-only-routines.
11583 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11586 * math/s_cexp.c: Include <float.h>.
11587 (__cexp): Handle exp result overflowing not necessarily
11588 overflowing both real and imaginary parts of result.
11589 * math/s_cexpf.c: Likewise.
11590 * math/s_cexpl.c: Likewise.
11591 * math/libm-test.inc (cexp_test): Add more tests.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11597 * include/link.h (ELFW): New macro.
11598 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11599 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11601 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11603 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11610 (struct La_x32_retval): Likewise.
11612 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11614 * sysdeps/x86_64/preconfigure.in: New file.
11615 * sysdeps/x86_64/preconfigure: New generated file.
11617 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11620 * math/e_exp2l.c: Include <float.h>.
11621 (__ieee754_exp2l): Handle overflow and underflow cases
11622 separately. Only pass fractional part of argument to
11624 * math/libm-test.inc (exp2_test): Add more tests.
11626 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11627 negating x to take absolute value.
11628 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11630 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11633 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11634 computing low part if x was negated.
11635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11637 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11639 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11640 la_x32_gnu_pltexit.
11641 (pltexit): Cast int_retval to ptrdiff_t.
11642 * elf/tst-auditmod3b.c: Likewise.
11643 * elf/tst-auditmod4b.c: Likewise.
11644 * elf/tst-auditmod5b.c: Likewise.
11645 * elf/tst-auditmod6b.c: Likewise.
11646 * elf/tst-auditmod6c.c: Likewise.
11647 * elf/tst-auditmod7b.c: Likewise.
11649 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11650 and x32_gnu_pltexit.
11652 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11653 __ELF_NATIVE_CLASS.
11654 (La_x32_regs): New macro.
11655 (La_x32_retval): Likewise.
11656 (la_x32_gnu_pltenter): New function prototype.
11657 (la_x32_gnu_pltexit): Likewise.
11659 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11666 * configure.in (libc_cv_cc_nofma): Check for option to disable
11667 generation of FMA instructions.
11668 * configure: Regenerate.
11669 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11670 * sysdeps/ieee754/dbl-64/Makefile: New file.
11671 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11672 Remove brandred-fma4.
11673 (CFLAGS-brandred-fma4.c): Remove.
11674 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11675 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11677 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11680 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11682 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11683 LLONG_MAX != LONG_MAX.
11684 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11685 (_fitoa_word): Likewise.
11686 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11687 LLONG_MAX != LONG_MAX.
11688 * stdio-common/_itowa.h: Include <_itoa.h>.
11689 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11690 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11691 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11692 only if not defined.
11693 (_ITOA_WORD_TYPE): Likewise.
11694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11695 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11697 2012-03-21 David S. Miller <davem@davemloft.net>
11699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11701 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11703 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11704 of x86_64 when setting libc_cv_slibdir, libdir and
11706 * sysdeps/unix/sysv/linux/configure: Regenerated.
11708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11710 * manual/lang.texi (Old Varargs): Remove section.
11711 (How Variadic): Update menu.
11712 (va_start): Do not mention varargs.h.
11714 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11715 Joseph Myers <joseph@codesourcery.com>
11717 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11719 * configure: Regenerated.
11721 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11723 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11724 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11727 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11730 * Makefile (files-for-dist): Remove NOTES.
11731 (NOTES): Remove rule.
11732 * README: Don't refer to NOTES.
11733 * manual/creature.texi: Don't include macros.texi.
11734 * manual/intro.texi (creature.texi): Remove comment referring to
11737 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11738 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11739 * configure: Regenerated.
11740 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11741 LIBC_TRY_CC_OPTION.
11742 (libc_cv_as_i686): Likewise.
11743 (libc_cv_cc_avx): Likewise.
11744 (libc_cv_cc_sse2avx): Likewise.
11745 (libc_cv_cc_fma4): Likewise.
11746 (libc_cv_cc_novzeroupper): Likewise.
11747 * sysdeps/i386/configure: Regenerated.
11750 * sysdeps/i386/fpu/s_cexp.S: Remove.
11751 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11752 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11753 * math/libm-test.inc (cexp_test): Add more tests.
11754 * sysdeps/i386/fpu/libm-test-ulps: Update.
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11757 2012-03-21 Allan McRae <allan@archlinux.org>
11759 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11761 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11764 * math/w_exp2.c: Do not include <float.h>.
11765 (o_threshold, u_threshold): Remove.
11766 (__exp2): Calculate result before checking finiteness and calling
11768 * math/w_exp2f.c: Likewise.
11769 * math/w_exp2l.c: Likewise.
11770 * math/libm-test.inc (exp2_test): Require overflow exception for
11774 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11775 range of signed 64-bit integers before using fistpll. Remove
11776 checks for whether integers fit in mantissa bits.
11777 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11778 the range of signed 32-bit integers before using fistpl. Remove
11779 checks for whether integers fit in mantissa bits.
11780 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11781 (__ieee754_powl): Test for y outside the range of signed 64-bit
11782 integers before using fistpll. Reduce 64-bit values to 63-bit
11784 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11785 divide-by-zero is raised for zero to large negative powers.
11786 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
11792 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11794 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11795 <stdio-common/_itoa.h>.
11796 * debug/segfault.c: Likewise.
11797 * elf/dl-cache.c: Likewise.
11798 * elf/dl-minimal.c: Likewise.
11799 * elf/dl-misc.c: Likewise.
11800 * elf/dl-sysdep.c: Likewise.
11801 * elf/dl-version.c: Likewise.
11802 * elf/rtld.c: Likewise.
11803 * hurd/hurdsock.c: Likewise.
11804 * hurd/lookup-retry.c: Likewise.
11805 * malloc/malloc.c: Likewise.
11806 * malloc/mtrace.c: Likewise.
11807 * nscd/nscd_getgr_r.c: Likewise.
11808 * nscd/nscd_getpw_r.c: Likewise.
11809 * nscd/nscd_getserv_r.c: Likewise.
11810 * posix/getopt_init.c: Likewise.
11811 * posix/wordexp.c: Likewise.
11812 * stdio-common/_itoa.c: Likewise.
11813 * stdio-common/printf_fphex.c: Likewise.
11814 * stdio-common/vfprintf.c: Likewise.
11815 * string/_strerror.c: Likewise.
11816 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11817 * sysdeps/i386/i686/hp-timing.h: Likewise.
11818 * sysdeps/mach/_strerror.c: Likewise.
11819 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11820 * sysdeps/mach/hurd/sethostid.c: Likewise.
11821 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11822 * sysdeps/mach/xpg-strerror.c: Likewise.
11823 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11824 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11825 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11826 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11827 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11828 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11829 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11830 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11831 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11832 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11833 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11834 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11835 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11836 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11837 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11838 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11841 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11842 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11845 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11847 * stdio-common/_itoa.h: Moved to ...
11848 * sysdeps/generic/_itoa.h: Here.
11850 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11852 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11853 instead of "_itoa.h" and "_itowa.h".
11854 * stdio-common/vfprintf.: Likewise.
11856 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11858 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11860 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11861 (__signbit): Likwise.
11862 (llrintf): Likwise.
11865 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11867 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11870 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11872 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11873 OVERFLOW_EXCEPTION_OK.
11874 * math/libm-test.inc ("Philosophy"): Update comment about
11876 (OVERFLOW_EXCEPTION): Define.
11877 (OVERFLOW_EXCEPTION_OK): Likewise.
11878 (INVALID_EXCEPTION_OK): Renumber.
11879 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11880 (IGNORE_ZERO_INF_SIGN): Likewise.
11881 (test_exceptions): Handle FE_OVERFLOW.
11882 (exp10_test): Expect overflow exceptions.
11883 (exp2_test): Likewise.
11884 (expm1_test): Likewise.
11885 (nextafter_test): Likewise.
11886 (pow_test): Likewise.
11887 (scalbn_test): Likewise.
11888 (scalbln_test): Likewise.
11890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11892 * sysdeps/x86_64/bits/atomic.h
11893 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11895 (atomic_exchange_acq): Likewise.
11896 (__arch_exchange_and_add_body): Likewise.
11897 (__arch_add_body): Likewise.
11898 (atomic_add_negative): Likewise.
11899 (atomic_add_zero): Likewise.
11901 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11903 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11904 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11908 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11909 Check __x86_64__ instead of __WORDSIZE.
11911 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11913 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11915 2012-03-19 David S. Miller <davem@davemloft.net>
11917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11919 * sysdeps/sparc/fpu/fenv_private.h: New file.
11920 * sysdeps/sparc/fpu/math_private.h: Use it.
11921 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11923 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11924 (libc_feholdexcept_setroundl): Remove.
11925 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11927 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11928 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11932 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11933 int64_t instead of long int.
11934 (INSERT_WORDS64): Likwise.
11936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11938 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11939 _Unwind_GetCFA return to _Unwind_Ptr first.
11941 2012-03-19 Joseph Myers <joseph@codesourcery.com>
11944 * math/s_clog.c: Include <float.h>.
11945 (__clog): Scale large or subnormal inputs.
11946 * math/s_clogf.c: Likewise.
11947 * math/s_clogl.c: Likewise.
11948 * math/s_clog10.c: Include <float.h>.
11949 (M_LOG10_2): Define.
11950 (__clog10): Scale large or subnormal inputs.
11951 * math/s_clog10f.c: Likewise.
11952 * math/s_clog10l.c: Likewise.
11953 * math/libm-test.inc (clog_test): Add more tests.
11954 (clog10_test): Likewise.
11955 * sysdeps/i386/fpu/libm-test-ulps: Update.
11956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11959 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11961 * math/libm-test.inc (atan2_test): Add another test.
11963 * Makerules (common-objdir-compile): Remove.
11964 * sysdeps/unix/Makefile (config-generated): Do not add
11965 $(unix-generated) to variable.
11966 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11967 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11969 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11971 [generic bits/local_lim.h] (before-compile): Do not append to
11973 [generic bits/local_lim.h] (common-generated): Likewise.
11974 [generic sys/param.h] (before-compile): Do not append to variable.
11975 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11976 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11977 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11978 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11980 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11981 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11982 [generic sys/param.h] ($(addprefix
11983 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11984 [generic sys/param.h] (common-generated): Do not append to
11986 [generic sys/param.h] (sysdep_headers): Likewise.
11987 [generic bits/errno.h] (before-compile): Do not append to
11989 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11991 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11992 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11993 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11994 [generic bits/errno.h] (common-generated): Do not append to
11996 [generic bits/ioctls.h] (before-compile): Do not append to
11998 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12000 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12001 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12002 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12004 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12005 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12006 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12007 [generic bits/ioctls.h] (common-generated): Do not append to
12009 [generic sys/syscall.h] (syscall.h): Remove variable.
12010 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12012 [generic sys/syscall.h] (before-compile): Do not append to
12014 [generic sys/syscall.h] (common-generated): Likewise.
12015 * sysdeps/unix/errnos-tmpl.c: Remove file.
12016 * sysdeps/unix/errnos.awk: Likewise.
12017 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12018 * sysdeps/unix/ioctls.awk: Likewise.
12019 * sysdeps/unix/mk-local_lim.c: Likewise.
12020 * sysdeps/unix/snarf-ioctls: Likewise.
12022 2012-03-19 Richard Henderson <rth@twiddle.net>
12024 * sysdeps/i386/fpu/fenv_private.h: New file.
12025 * sysdeps/i386/fpu/math_private.h: Use it.
12026 (math_opt_barrier, math_force_eval): Remove.
12027 (libc_feholdexcept_setround_53bit): Remove.
12028 (libc_feupdateenv_53bit): Remove.
12029 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12030 (math_opt_barrier, math_force_eval): Remove.
12031 (libc_feholdexcept): Remove.
12032 (libc_feholdexcept_setround): Remove.
12033 (libc_fetestexcept, libc_fesetenv): Remove.
12034 (libc_feupdateenv_test): Remove.
12035 (libc_feupdateenv, libc_feholdsetround): Remove.
12036 (libc_feresetround): Remove.
12038 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12039 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12041 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12042 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12043 (libc_feupdateenv_testl): New.
12044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12045 (libc_feupdateenv_testf): New.
12046 (libc_feupdateenv): Use libc_feupdateenv_test.
12047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12050 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12051 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12052 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12053 (libc_feresetround_noex): New.
12054 (libc_feresetround_noexf): New.
12055 (libc_feresetround_noexl): New.
12056 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12057 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12058 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12059 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12064 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12065 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12066 SET_RESTORE_ROUND_NOEX.
12067 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12068 SET_RESTORE_ROUND_NOEXF.
12069 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12070 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12071 (libc_feholdsetroundf): New.
12072 (libc_feresetround, libc_feresetroundf): New.
12074 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12075 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12076 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12078 * sysdeps/generic/math_private.h: Include <fenv.h>.
12079 (default_libc_feholdexcept): New.
12080 (default_libc_feholdexcept_setround): New.
12081 (default_libc_fesetenv, default_libc_feupdateenv): New.
12082 (libc_feholdexcept): Only define if undefined.
12083 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12085 (libc_feholdexcept_setroundl): Likewise.
12086 (libc_feholdexcept_setround_53bit): Likewise.
12087 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12090 (libc_feupdateenv_53bit): Likewise.
12091 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12092 (libc_feholdexcept): Convert from macro to inline function.
12093 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12094 (libc_fesetenv, libc_feupdateenv): Likewise.
12096 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12097 not previously defined.
12098 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12099 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12100 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12101 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12102 * sysdeps/ieee754/flt-32/math_private.h: New file.
12103 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12104 math_private.h below SET_FLOAT_WORD.
12105 (__isnan, __isinf_ns, __finite): Remove.
12106 (__isnanf, __isinf_nsf, __finitef): Remove.
12108 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12112 2012-03-17 David S. Miller <davem@davemloft.net>
12115 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12118 2012-03-16 David S. Miller <davem@davemloft.net>
12120 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12124 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12126 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12127 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12128 sysdep_routines when subdir is sysvipc.
12129 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12130 __getshmlba helper.
12132 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12136 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12139 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12142 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12143 (__lround): Renamed to ...
12144 (__llround): This. Replace long int with long long int.
12145 Define lround functions as aliases of llround functions.
12146 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12148 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12150 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12151 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12152 adresses to uintptr_t. Replace "long int" and "unsigned long
12153 int" with "greg_t" on va_arg.
12155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12157 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12158 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12160 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12161 Move e_machine check before EI_CLASS check. Handle x32
12162 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12163 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12164 SKIP_EM_IA_64 and include
12165 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12167 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12168 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12169 (add_system_dir): New macro.
12171 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12172 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12174 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12185 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12187 * math/w_j0f.c (j0f): Likewise.
12189 * math/w_j0l.c (__j0l): Likewise.
12191 * math/w_j1.c (j1): Likewise.
12193 * math/w_j1f.c (j1f): Likewise.
12195 * math/w_j1l.c (__j1l): Likewise.
12197 * math/w_jn.c (jn): Likewise.
12199 * math/w_jnf.c (jnf): Likewise.
12201 * math/w_jnl.c (__jnl): Likewise.
12203 * math/libm-test.inc (j0_test): Add more tests.
12204 (j1_test): Likewise.
12205 (jn_test): Likewise. Add trailing semicolon to existing test.
12206 (y0_test): Likewise.
12207 (y1_test): Likewise.
12208 * sysdeps/i386/fpu/libm-test-ulps: Update.
12209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12214 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12215 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12216 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12217 (__tanl): Set errno for infinite argument.
12218 * sysdeps/i386/fpu/mptan.c: Remove.
12219 * sysdeps/i386/fpu/s_tan.S: Likewise.
12220 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12221 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12222 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12223 * math/libm-test.inc (tan_test): Add more tests and enable more
12224 tests for double and long double.
12225 * sysdeps/i386/fpu/libm-test-ulps: Update.
12226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12228 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12230 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12231 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12233 2012-03-16 Roland McGrath <roland@hack.frob.com>
12235 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12236 * configure.in: Use it for both main tree and add-ons.
12237 * configure: Regenerated.
12239 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12241 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12243 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12245 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12249 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12250 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12251 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12252 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12253 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12255 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12257 != 0 for prec == 2.
12258 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12259 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12260 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12261 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12262 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12263 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12264 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12265 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12266 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12267 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12268 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12269 * math/libm-test.inc (cos_test): Add more tests and enable more
12270 tests for long double.
12271 (sin_test): Likewise.
12272 (sincos_test): Likewise.
12273 * sysdeps/i386/fpu/libm-test-ulps: Update.
12274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12276 2012-03-16 David S. Miller <davem@davemloft.net>
12278 * sysdeps/sparc/fpu/math_private.h: New file.
12280 2012-03-15 David S. Miller <davem@davemloft.net>
12282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12296 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12297 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12299 * sysdeps/sparc/sparc-ifunc.h: New file.
12300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12345 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12347 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12351 2012-03-15 Andreas Jaeger <aj@suse.de>
12354 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12355 ieee754/flt-32 implementation for sin, cos and sincos.
12356 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12357 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12358 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12359 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12360 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12361 ieee754/flt-32 implementation for tan.
12363 * math/libm-test.inc (cos_test): Enable some large input tests for
12365 (sin_test): Likewise.
12366 (sincos_test): Likewise.
12367 (tan_test): Add tests for large input.
12369 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 2012-03-15 Andreas Jaeger <aj@suse.de>
12374 * math/libm-test.inc (cos_test): Add more test cases.
12375 (sin_test): Likewise.
12376 (sincos_test): Likewise.
12378 2012-03-15 Andreas Jaeger <aj@suse.de>
12381 * math/libm-test.inc (cos_test): Add a test case for large input
12383 (sin_test): Likewise.
12384 (sincos_test): Likewise.
12386 2012-03-15 Andreas Jaeger <aj@suse.de>,
12387 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12391 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12392 * sysdeps/i386/fpu/branred.c: Likewise.
12393 * sysdeps/i386/fpu/dosincos.c: Likewise.
12394 * sysdeps/i386/fpu/mpa.c: Likewise.
12395 * sysdeps/i386/fpu/s_cos.S: Likewise.
12396 * sysdeps/i386/fpu/s_sin.S: Likewise.
12397 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12398 * sysdeps/i386/fpu/sincos32.c: Likewise.
12400 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12402 (libc_feupdateenv_53bit): Define.
12403 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12405 (libc_feupdateenv_53bit): Define.
12407 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12408 53 bit (without extend i386 double precision).
12410 * math/libm-test.inc (sincos_test): Add tests for large input.
12414 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12416 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12420 2012-03-15 David S. Miller <davem@davemloft.net>
12422 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12423 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12424 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12425 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12450 fmin/fmax sysdep routines.
12451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12453 2012-03-14 David S. Miller <davem@davemloft.net>
12455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12460 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12461 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12475 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12476 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12477 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12479 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12527 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12532 * sysdeps/sparc/configure.in: New file.
12533 * sysdeps/sparc/configure: Generate.
12534 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12535 * configure: Regenerate.
12536 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12537 * config.make.in (have-as-vis3): New.
12538 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12539 available use -Av9d instead of -Av9a.
12540 * sysdeps/sparc/sparc64/Makefile: Likewise.
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12556 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12557 fzeros/fnegs to load 0x80000000 into a float register instead of
12559 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12561 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12565 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12566 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12567 ($(inst_includedir)/bits/syscall.h): Remove rule.
12568 ($(objpfx)bits/syscall.d): Include instead of
12569 $(objpfx)syscall-list.d.
12570 (generated): Change syscall-list.h and syscall-list.d to
12571 bits/syscall.h and bits/syscall.d.
12573 2012-03-14 Roland McGrath <roland@hack.frob.com>
12576 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12578 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12581 * math/s_csqrt.c: Include <float.h>.
12582 (__csqrt): Scale large or subnormal inputs.
12583 * math/s_csqrtf.c: Likewise.
12584 * math/s_csqrtl.c: Likewise.
12585 * math/libm-test.inc (csqrt_test): Add more tests.
12586 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590 * math/libm-test.inc (hypot_test): Add more tests.
12592 2012-03-13 David S. Miller <davem@davemloft.net>
12595 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12596 double-precision for the calculation instead of scaling.
12598 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12600 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12601 manipulate bits before adding and subtracting TWO52[sx].
12602 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12607 2012-03-13 David S. Miller <davem@davemloft.net>
12609 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12610 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12612 rtld-global-offsets.h
12613 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12615 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12618 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12620 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12621 'err' in the ifdef scope in which it is actually used.
12623 * nss/nss_db/db-init.c: Include string.h
12625 2012-03-12 David S. Miller <davem@davemloft.net>
12627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12628 masking out of the most significant byte of random value used.
12629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12630 Fix coding style in previous change.
12632 * sysdeps/unix/sysv/linux/kernel-features.h
12633 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12634 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12636 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12639 2012-03-11 David S. Miller <davem@davemloft.net>
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12642 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12643 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12644 for 'resultvar' otherwise things get truncated on 64-bit.
12646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12647 Fix masking out of the most significant byte of random value used.
12649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12651 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12655 2012-03-09 David S. Miller <davem@davemloft.net>
12657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12658 variables with appropriate CPP guards.
12659 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12660 frame pointer, not the stack pointer. Correct layout comments. Fix test
12661 on resulting framesize and the management of the outregs buffer for pltexit.
12662 Preserve floating point return values across _dl_call_pltexit call.
12663 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12664 framesize and the management of the outregs buffer for pltexit.
12665 Preserve floating point return values across _dl_call_pltexit
12667 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12668 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12669 (print_exit): Fix format string for return register value.
12671 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12673 * sunrpc/Makefile (others): Add rpcgen.
12674 ($(objpfx)rpcgen): Remove special build rule and dependency on
12676 * sunrpc/rpcgen.c: New file.
12678 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12681 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12682 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12683 * sysdeps/i386/crti.S: Likewise.
12684 * sysdeps/i386/crtn.S: Likewise.
12685 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12686 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12688 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12689 * sysdeps/sh/crti.S: Likewise.
12690 * sysdeps/sh/crtn.S: Likewise.
12691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12694 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12696 * locale/programs/locfile-kw.gperf: Likewise.
12697 * locale/programs/charmap-kw.h: Regenerated.
12698 * locale/programs/locfile-kw.h: Likewise.
12701 * intl/plural.y: Replace FSF snail mail address with URL.
12702 * intl/plural.c: Regenerated.
12704 2012-03-09 Richard Henderson <rth@twiddle.net>
12706 * include/math_private.h: Remove file.
12707 * math/math_private.h: Move file ...
12708 * sysdeps/generic/math_private.h: ... here.
12710 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12711 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12712 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12714 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12715 and <math_private.h>.
12716 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12717 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12718 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12719 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12720 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12804 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12811 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12813 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12814 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12816 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12817 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12818 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12819 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12820 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12821 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12822 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12823 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12824 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12826 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12827 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12828 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12832 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12836 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12837 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12838 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12839 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12840 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12841 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12843 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12845 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12846 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12848 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12849 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12850 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12851 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12852 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12854 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12858 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12859 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12861 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12863 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12864 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12865 * sysdeps/ieee754/k_standard.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12981 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12986 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12988 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12998 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13014 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13015 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13026 * sysdeps/ieee754/s_lib_version.c: Likewise.
13027 * sysdeps/ieee754/s_matherr.c: Likewise.
13028 * sysdeps/ieee754/s_signgam.c: Likewise.
13029 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13030 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13031 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13032 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13033 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13034 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13035 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13036 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13037 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13038 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13039 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13040 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13041 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13042 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13043 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13046 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13049 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13051 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13053 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13054 * sunrpc/rpc_main.c: Likewise.
13055 * sunrpc/rpc_svcout.c: Likewise.
13057 2012-03-09 David S. Miller <davem@davemloft.net>
13059 * include/math_private.h: New file.
13061 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13063 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13064 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13065 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13066 from <bits/socket_type.h>.
13067 (enum __socket_type): Don't define here.
13068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13070 bits/socket_type.h.
13073 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13074 checking __USE_GNU.
13076 * Makerules ($(inst_includedir)/%.h): New rule.
13077 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13078 (install-others): Remove variable setting.
13079 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13081 2012-03-08 Richard Henderson <rth@twiddle.net>
13083 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13084 from macro to inline function; merge with the
13085 !__LIBC_INTERNAL_MATH_INLINES version.
13086 (__ieee754_sqrtf): Likewise.
13088 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13089 to inline function.
13090 (__rintf, __floor, __floorf): Likewise.
13092 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13093 macro to inline function.
13094 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13097 not <math/math_private.h>.
13099 2012-03-08 David S. Miller <davem@davemloft.net>
13101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13103 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13105 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13107 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13109 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13110 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13112 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13114 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13115 be defined individually, they must be defined as a block. Define
13116 S for printing a string instead of hidint the different by using a
13117 macro for adding the 'l'.
13118 * stdio-common/tst-fphex-wide.c: Adjust.
13120 2012-03-07 Marek Polacek <polacek@redhat.com>
13122 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13124 2012-03-08 Marek Polacek <polacek@redhat.com>
13127 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13128 * stdio-common/tst-fphex.c: Define a few macros to make the
13129 test reusable. Use them.
13130 * stdio-common/tst-fphex-wide.c: New file.
13132 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13135 * manual/macros.texi (gnusystems): New macro.
13136 (nongnusystems): Likewise.
13137 (gnulinuxhurdsystems): Likewise.
13138 (gnuhurdsystems): Likewise..
13139 (gnulinuxsystems): Likewise.
13140 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13141 variants of the GNU system, not "GNU system".
13142 * manual/conf.texi: Likewise.
13143 * manual/errno.texi: Likewise. Update example of errno macro
13145 * manual/filesys.texi: Likewise.
13146 (getumask): Document as specific to GNU/Hurd.
13147 * manual/install.texi: Likewise. Reword some references to
13149 * manual/intro.texi: Likewise.
13150 * manual/io.texi: Likewise.
13151 (File Name Portability): Detail which constraints are inapplicable
13152 to all GNU systems and which are only inapplicable to GNU/Hurd.
13153 * manual/job.texi: Likewise.
13154 * manual/llio.texi: Likewise.
13155 (O_NOCTTY): Document as present on GNU/Linux.
13156 * manual/maint.texi: Likewise.
13157 * manual/memory.texi: Likewise.
13158 * manual/pattern.texi: Likewise.
13159 * manual/pipe.texi: Likewise.
13160 * manual/process.texi: Likewise.
13161 * manual/resource.texi: Likewise.
13162 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13164 * manual/setjmp.texi: Likewise.
13165 * manual/signal.texi: Likewise.
13166 * manual/startup.texi: Likewise.
13167 * manual/stdio.texi: Likewise.
13168 * manual/terminal.texi: Likewise.
13169 (ONLCR): Document as POSIX.
13170 (OXTABS): Document availability on GNU/Linux as XTABS.
13171 (ONOEOT): Document availability separately from other bits.
13172 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13173 * manual/time.texi: Likewise.
13174 * manual/users.texi: Likewise.
13175 * INSTALL: Regenerated.
13176 * sysdeps/gnu/errlist.c: Regenerated.
13178 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13179 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13180 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13182 * configure: Regenerated.
13184 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13186 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13187 default includes instead of AC_HEADER_CHECK.
13188 * sysdeps/i386/configure: Regenerated.
13191 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13192 * math/s_cacoshf.c (__cacoshf): Likewise.
13193 * math/s_cacoshl.c (__cacoshl): Likewise.
13194 * math/s_casinh.c (__casinh): Set signs of result from argument.
13195 * math/s_casinhf.c (__casinhf): Likewise.
13196 * math/s_casinhl.c (__casinhl): Likewise.
13197 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13198 (casinh_test): Add more tests.
13199 * sysdeps/i386/fpu/libm-test-ulps: Update.
13200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13202 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13204 * po/zh_TW.po: Update from translation team.
13206 * login/Makefile (distribute): Remove variable.
13207 * catgets/Makefile: Likewise.
13208 * mach/Makefile: Likewise.
13209 * malloc/Makefile: Likewise.
13210 * misc/Makefile: Likewise.
13211 * iconv/Makefile: Likewise.
13212 * nscd/Makefile: Likewise.
13213 * hurd/Makefile: Likewise.
13214 * manual/Makefile: Likewise.
13215 * locale/Makefile: Likewise.
13216 * intl/Makefile: Likewise.
13217 * conform/Makefile: Likewise.
13218 * nss/Makefile: Likewise.
13219 * time/Makefile: Likewise.
13220 * soft-fp/Makefile: Likewise.
13221 * dirent/Makefile: Likewise.
13222 * gmon/Makefile: Likewise.
13223 * po/Makefile: Likewise.
13224 * rt/Makefile: Likewise.
13225 * socket/Makefile: Likewise.
13226 * math/Makefile: Likewise.
13227 * signal/Makefile: Likewise.
13228 * debug/Makefile: Likewise.
13229 * elf/Makefile: Likewise.
13230 * timezone/Makefile: Likewise.
13231 * stdlib/Makefile: Likewise.
13232 * iconvdata/Makefile: Likewise.
13233 * sunrpc/Makefile: Likewise.
13234 * io/Makefile: Likewise.
13235 * argp/Makefile: Likewise.
13236 * inet/Makefile: Likewise.
13237 * hesiod/Makefile: Likewise.
13238 * grp/Makefile: Likewise.
13239 * csu/Makefile: Likewise.
13240 * wctype/Makefile: Likewise.
13241 * crypt/Makefile: Likewise.
13242 * libio/Makefile: Likewise.
13243 * string/Makefile: Likewise.
13244 * nis/Makefile: Likewise.
13245 * resolv/Makefile: Likewise.
13246 * stdio-common/Makefile: Likewise.
13247 * wcsmbs/Makefile: Likewise.
13248 * dlfcn/Makefile: Likewise.
13249 * posix/Makefile: Likewise.
13252 * timezone/Makefile: Don't install timezone files, just the programs
13255 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13257 * nss/databases.def: Add missing gshadow entry.
13259 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13261 2012-03-06 Marek Polacek <polacek@redhat.com>
13264 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13265 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13266 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13267 * stdio-common/tst-long-dbl-fphex.c: New file.
13269 2012-03-06 David S. Miller <davem@davemloft.net>
13271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13272 (set_obp_int): New function.
13273 (get_obp_int): New function.
13274 (__get_clockfreq_via_dev_openprom): Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13276 Avoid unused variable warnings on 'val' and use builtin_expect.
13277 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13279 (INLINE_CLONE_SYSCALL): Likewise.
13281 2012-03-05 David S. Miller <davem@davemloft.net>
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13285 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13290 only for |x| >= 40.
13291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13293 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13296 Replace gettimeofday with __vdso_gettimeofday.
13298 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13299 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13300 __vdso_clock_gettime and __vdso_getcpu.
13302 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13303 time with __vdso_time.
13305 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13307 * manual/lang.texi (size_t): Note types to which size_t may be
13308 equivalent with the GNU C Library, but do not describe when
13309 differences between them are significant.
13311 2012-03-05 Andreas Jaeger <aj@suse.de>
13313 * sysdeps/i386/fpu/libm-test-ulps: Update.
13315 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13318 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13319 (__ieee754_pow): Save and restore rounding mode and use
13320 round-to-nearest for main computations.
13321 * math/libm-test.inc (pow_test_tonearest): New function.
13322 (pow_test_towardzero): Likewise.
13323 (pow_test_downward): Likewise.
13324 (pow_test_upward): Likewise.
13325 (main): Call the new functions.
13326 * sysdeps/i386/fpu/libm-test-ulps: Update.
13327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13330 * math/libm-test.inc (cosh_test_tonearest): New function.
13331 (cosh_test_towardzero): Likewise.
13332 (cosh_test_downward): Likewise.
13333 (cosh_test_upward): Likewise.
13334 (sinh_test_tonearest): Likewise.
13335 (sinh_test_towardzero): Likewise.
13336 (sinh_test_downward): Likewise.
13337 (sinh_test_upward): Likewise.
13338 (main): Call the new functions.
13339 * sysdeps/i386/fpu/libm-test-ulps: Update.
13340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13342 2012-03-05 Tom de Vries <tom@codesourcery.com>
13344 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13345 default stack guard is set in last bytes.
13346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13348 2012-03-05 Kees Cook <keescook@chromium.org>
13350 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13353 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13354 possibly allocate from heap instead of stack.
13355 * stdio-common/bug-vfprintf-nargs.c: New file.
13356 * stdio-common/Makefile (tests): Add nargs overflow test.
13358 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13362 2012-03-03 Marek Polacek <polacek@redhat.com>
13364 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13365 * math/math_private.h: Likewise.
13366 * stdlib/tst-strtod.c: Likewise.
13367 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13368 * sysdeps/x86_64/bits/atomic.h: Likewise.
13370 2012-03-02 David S. Miller <davem@davemloft.net>
13372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13376 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13377 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13378 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13379 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13381 2012-03-02 Roland McGrath <roland@hack.frob.com>
13384 * manual/examples/README: New file, says the example source files
13385 can be used under GPL>=2.
13386 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13387 line containing just "*/".
13388 * manual/examples/add.c: Add copyright header (GPL>=2).
13389 * manual/examples/argp-ex1.c: Likewise.
13390 * manual/examples/argp-ex2.c: Likewise.
13391 * manual/examples/argp-ex3.c: Likewise.
13392 * manual/examples/argp-ex4.c: Likewise.
13393 * manual/examples/atexit.c: Likewise.
13394 * manual/examples/db.c: Likewise.
13395 * manual/examples/dir.c: Likewise.
13396 * manual/examples/dir2.c: Likewise.
13397 * manual/examples/execinfo.c: Likewise.
13398 * manual/examples/filecli.c: Likewise.
13399 * manual/examples/filesrv.c: Likewise.
13400 * manual/examples/fmtmsgexpl.c: Likewise.
13401 * manual/examples/genpass.c: Likewise.
13402 * manual/examples/inetcli.c: Likewise.
13403 * manual/examples/inetsrv.c: Likewise.
13404 * manual/examples/isockad.c: Likewise.
13405 * manual/examples/longopt.c: Likewise.
13406 * manual/examples/memopen.c: Likewise.
13407 * manual/examples/memstrm.c: Likewise.
13408 * manual/examples/mkfsock.c: Likewise.
13409 * manual/examples/mkisock.c: Likewise.
13410 * manual/examples/mygetpass.c: Likewise.
13411 * manual/examples/pipe.c: Likewise.
13412 * manual/examples/popen.c: Likewise.
13413 * manual/examples/rprintf.c: Likewise.
13414 * manual/examples/search.c: Likewise.
13415 * manual/examples/select.c: Likewise.
13416 * manual/examples/setjmp.c: Likewise.
13417 * manual/examples/sigh1.c: Likewise.
13418 * manual/examples/sigusr.c: Likewise.
13419 * manual/examples/stpcpy.c: Likewise.
13420 * manual/examples/strdupa.c: Likewise.
13421 * manual/examples/strftim.c: Likewise.
13422 * manual/examples/strncat.c: Likewise.
13423 * manual/examples/subopt.c: Likewise.
13424 * manual/examples/swapcontext.c: Likewise.
13425 * manual/examples/termios.c: Likewise.
13426 * manual/examples/testopt.c: Likewise.
13427 * manual/examples/testpass.c: Likewise.
13428 * manual/examples/timeval_subtract.c: Likewise.
13431 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13433 * manual/timeval_subtract.c.texi: ... here, new file.
13435 2012-03-02 David S. Miller <davem@davemloft.net>
13437 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13439 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13442 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13443 (__sin): Save and restore rounding mode and use round-to-nearest
13444 for all computations.
13445 (__cos): Save and restore rounding mode and use round-to-nearest
13446 for all computations.
13447 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13449 (tan): Save and restore rounding mode and use round-to-nearest for
13451 * math/libm-test.inc (cos_test_tonearest): New function.
13452 (cos_test_towardzero): Likewise.
13453 (cos_test_downward): Likewise.
13454 (cos_test_upward): Likewise.
13455 (sin_test_tonearest): Likewise.
13456 (sin_test_towardzero): Likewise.
13457 (sin_test_downward): Likewise.
13458 (sin_test_upward): Likewise.
13459 (tan_test_tonearest): Likewise.
13460 (tan_test_towardzero): Likewise.
13461 (tan_test_downward): Likewise.
13462 (tan_test_upward): Likewise.
13463 (main): Call the new functions.
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13469 small n, then large n, before computing and testing k+n.
13470 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13471 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13475 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13476 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13477 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13481 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13482 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13483 * math/libm-test.inc (scalbn_test): Add more tests.
13484 (scalbln_test): Likewise.
13486 * manual/filesys.texi (mode_t): Describe constraints on size and
13487 signedness, not exact equivalence to a particular type.
13489 (ino64_t): Likewise.
13491 (nlink_t): Likewise.
13492 (blkcnt_t): Likewise.
13493 (blkcnt64_t): Likewise.
13494 * manual/llio.texi (off_t): Likewise.
13497 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13498 (__ieee754_exp): Save and restore rounding mode and use
13499 round-to-nearest for all computations.
13500 * math/libm-test.inc (exp_test_tonearest): New function.
13501 (exp_test_towardzero): Likewise.
13502 (exp_test_downward): Likewise.
13503 (exp_test_upward): Likewise.
13504 (main): Call the new functions.
13505 * sysdeps/i386/fpu/libm-test-ulps: Update.
13506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13508 2012-03-01 Chris Demetriou <cgd@google.com>
13510 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13511 have predictable order.
13513 2012-03-01 David S. Miller <davem@davemloft.net>
13515 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13517 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13518 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13519 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13520 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13522 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13523 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13524 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13526 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13527 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13528 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13529 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13530 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13535 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13536 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13538 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13539 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13540 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13541 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13542 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13544 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13545 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13546 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13547 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13548 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13551 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13554 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13555 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13556 * sysdeps/sparc/elf/configure: Regenerated.
13558 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13560 * configure.in (AS, LD): Require binutils 2.20 or later.
13561 * configure: Regenerated.
13562 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13563 as required minimum version.
13564 * INSTALL: Regenerated.
13568 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13569 before squaring exponent.
13570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13571 bottom long double and 27 bits of top long double before squaring
13573 * math/libm-test.inc (erfc_test): Add more tests.
13574 * sysdeps/i386/fpu/libm-test-ulps: Update.
13575 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13578 2012-03-01 Kai Tietz <ktietz@redhat.com>
13580 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13581 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13582 containing bit-fields.
13583 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13584 * soft-fp/single.h (_FP_UNION_S): Likewise.
13585 * soft-fp/double.h (_FP_UNION_D): Likewise.
13587 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13590 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13591 not include ../strcmp.S.
13592 [USE_AS_STRNCASECMP_L]: Likewise.
13593 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13594 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13595 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13596 (__strncasecmp_l_ia32): Define as alias to
13597 __strncasecmp_l_nonascii.
13600 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13601 * sysdeps/i386/fpu/libm-test-ulps: Update.
13602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13604 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607 2012-02-29 Jeff Law <law@redhat.com>
13609 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13610 out of bounds read.
13612 2012-02-29 Marek Polacek <polacek@redhat.com>
13615 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13616 * elf/Makefile: Add rules to run tst-unused-dep.out.
13618 2012-02-28 David S. Miller <davem@davemloft.net>
13620 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13621 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13624 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13625 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13627 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13629 * math/libm-test.inc (llround_test): Move one test from
13630 lround_test. Use TEST_f_L in moved test.
13631 (lround_test): Move misplaced test to llround_test. Add testcase
13634 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13636 * sysdeps/x86_64/fpu/e_expf.S: New file.
13637 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13639 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13642 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13643 of remain_len that may cause incomplete multi-byte character and
13645 * posix/bug-regex33.c: New file.
13646 * posix/Makefile (tests): Add bug-regex33.
13648 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13650 * manual/macros.texi: New file.
13651 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13652 * manual/libc.texinfo: Include macros.texi.
13653 * manual/creatute.texi: Likewise.
13654 * manual/install.texi: Likewise.
13655 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13656 @glibcadj{} in references to the GNU C Library.
13657 * manual/charset.texi: Likewise.
13658 * manual/conf.texi: Likewise.
13659 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13660 when not using those macros.
13661 * manual/creature.texi: Likewise.
13662 * manual/crypt.texi: Likewise.
13663 * manual/errno.texi: Likewise.
13664 * manual/filesys.texi: Likewise.
13665 * manual/header.texi: Likewise.
13666 * manual/install.texi: Likewise.
13667 * manual/intro.texi: Likewise.
13668 * manual/io.texi: Likewise.
13669 * manual/job.texi: Likewise.
13670 * manual/lang.texi: Likewise.
13671 * manual/libc.texiinfo: Likewise.
13672 * manual/llio.texi: Likewise.
13673 * manual/locale.texi: Likewise.
13674 * manual/maint.texi: Likewise.
13675 * manual/math.texi: Likewise.
13676 * manual/memory.texi: Likewise.
13677 * manual/message.texi: Likewise.
13678 * manual/nss.texi: Likewise.
13679 * manual/pattern.texi: Likewise.
13680 * manual/process.texi: Likewise.
13681 * manual/resource.texi: Likewise.
13682 * manual/search.texi: Likewise.
13683 * manual/setjmp.texi: Likewise.
13684 * manual/signal.texi: Likewise.
13685 * manual/socket.texi: Likewise.
13686 * manual/startup.texi: Likewise.
13687 * manual/stdio.texi: Likewise.
13688 * manual/string.texi: Likewise.
13689 * manual/sysinfo.texi: Likewise.
13690 * manual/syslog.texi: Likewise.
13691 * manual/terminal.texi: Likewise.
13692 * manual/time.texi: Likewise.
13693 * manual/users.texi: Likewise.
13694 * INSTALL: Regenerated.
13695 * NOTES: Regenerated.
13696 * sysdeps/gnu/errlist.c: Regenerated.
13698 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13700 * include/dirent.h: Include <dirstream.h> before
13703 2012-02-28 David S. Miller <davem@davemloft.net>
13705 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13706 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13707 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13708 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13710 2012-02-27 David S. Miller <davem@davemloft.net>
13712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13714 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13715 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13718 frame pointer instead of stack pointer relative arg slot.
13719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13723 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13726 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13728 2012-02-27 David S. Miller <davem@davemloft.net>
13730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13734 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13735 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13736 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13737 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13739 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13741 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13742 later. Allow versions 5-9.
13743 * configure: Regenerated.
13744 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13745 required minimum version and 4.6 as recommended version. Do not
13746 mention bugs in GCC 2.7 and 2.8.
13747 * INSTALL: Regenerated.
13749 2012-02-27 David S. Miller <davem@davemloft.net>
13751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13755 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13756 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13757 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13758 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13761 manipulate bits before adding and subtracting TWO112[sx].
13762 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13764 2012-02-27 Roland McGrath <roland@hack.frob.com>
13767 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13768 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13769 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13770 being in POSIX, because they are in 1003.1-2008.
13772 * rt/tst-aio.c: Include <fcntl.h>.
13773 * rt/tst-aio7.c: Likewise.
13774 * rt/tst-aio64.c: Likewise.
13776 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13778 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13780 * manual/install.texi (--with-headers): Describe headers as
13781 interface headers, not private headers.
13782 (Specific advice for GNU/Linux systems): Describe use of headers
13783 from "make headers_install", not private headers from older
13785 * INSTALL: Regenerated.
13786 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13788 * sysdeps/unix/sysv/linux/configure: Regenerated.
13790 * manual/llio.texi (fclean): Remove documentation.
13792 * manual/Makefile (libc-texi-generated): New variable. Include
13794 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13795 $(libc-texi-generated), not duplicated list of files.
13796 (version.texi, stamp-version): New rules.
13797 (realclean): Remove $(libc-texi-generated), not individual files
13798 from that list. Do not remove dir-add.texinfo.
13799 * manual/libc.texinfo: Comment out uses of edition numbers and
13800 references to printed manual. Remove last-updated dates.
13801 (EDITION): Comment out.
13803 (VERSION, UPDATED): Remove.
13804 (version.texi): Include.
13806 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13808 * sysdeps/posix/spawni.c: Include <signal.h>.
13809 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13810 * sysdeps/pthread/aio_fsync.c: Likewise.
13812 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13814 * conform/Makefile (tests): Run only when not cross-compiling and
13815 when fast-check is not defined.
13817 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13818 * conform/data/limits.h-data: Fixes for POSIX2008.
13819 * conform/run-conformtest.sh: Run all tests.
13820 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13822 * include/bits/dlfcn.h: Likewise.
13823 * include/langinfo.h: Likewise.
13824 * include/monetary.h: Likewise.
13825 * include/sys/poll.h: Likewise.
13827 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13829 * posix/spawn.h: Define __need_sigset_t.
13830 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13831 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13832 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13833 to get sigevent_t only.
13834 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13835 only for __USE_GNU.
13836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13837 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13838 process_vm_writev only for __USE_GNU.
13839 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13841 * conform/Makefile: For now ignore errors from run-conformtest.
13842 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13843 POSIX to avoid namespace pollution. Don't prepend headers.
13844 * conform/data/aio.h-data: Fixes for POSIX testing.
13845 * conform/data/fcntl.h-data: Likewise.
13846 * conform/data/glob.h-data: Likewise.
13847 * conform/data/grp.h-data: Likewise.
13848 * conform/data/pthread.h-data: Likewise.
13849 * conform/data/pwd.h-data: Likewise.
13850 * conform/data/signal.h-data: Likewise.
13851 * conform/data/spawn.h-data: Likewise.
13852 * conform/data/stdio.h-data: Likewise.
13853 * conform/data/stdlib.h-data: Likewise.
13854 * conform/data/stropts.h-data: Likewise.
13855 * conform/data/sys/mman.h-data: Likewise.
13856 * conform/data/sys/stat.h-data: Likewise.
13857 * conform/data/sys/types.h-data: Likewise.
13858 * conform/data/sys/wait.h-data: Likewise.
13859 * conform/data/time.h-data: Likewise.
13860 * conform/data/unistd.h-data: Likewise.
13861 * conform/data/utime.h-data: Likewise.
13863 * io/sys/stat.h: fchmod was always in POSIX.
13864 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13865 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13866 * rt/aio.h: Define __need_timespec before including <time.h>.
13867 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13868 struct. Add forward declaration of pthread_attr_t and use it in
13870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13872 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13873 always remove CLK_TCK definition.
13875 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13877 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13879 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13881 * conform/run-conformtest.sh: New file.
13882 * conform/Makefile: Run run-conformtest for tests.
13883 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13886 * conform/data/uchar.h-data: New file.
13887 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13888 * conform/data/arpa/inet.h-data: Likewise.
13889 * conform/data/assert.h-data: Likewise.
13890 * conform/data/complex.h-data: Likewise.
13891 * conform/data/cpio.h-data: Likewise.
13892 * conform/data/ctype.h-data: Likewise.
13893 * conform/data/dirent.h-data: Likewise.
13894 * conform/data/dlfcn.h-data: Likewise.
13895 * conform/data/errno.h-data: Likewise.
13896 * conform/data/fcntl.h-data: Likewise.
13897 * conform/data/float.h-data: Likewise.
13898 * conform/data/fmtmsg.h-data: Likewise.
13899 * conform/data/fnmatch.h-data: Likewise.
13900 * conform/data/ftw.h-data: Likewise.
13901 * conform/data/glob.h-data: Likewise.
13902 * conform/data/grp.h-data: Likewise.
13903 * conform/data/iconv.h-data: Likewise.
13904 * conform/data/inttypes.h-data: Likewise.
13905 * conform/data/langinfo.h-data: Likewise.
13906 * conform/data/libgen.h-data: Likewise.
13907 * conform/data/limits.h-data: Likewise.
13908 * conform/data/locale.h-data: Likewise.
13909 * conform/data/math.h-data: Likewise.
13910 * conform/data/monetary.h-data: Likewise.
13911 * conform/data/mqueue.h-data: Likewise.
13912 * conform/data/ndbm.h-data: Likewise.
13913 * conform/data/net/if.h-data: Likewise.
13914 * conform/data/netdb.h-data: Likewise.
13915 * conform/data/netinet/in.h-data: Likewise.
13916 * conform/data/nl_types.h-data: Likewise.
13917 * conform/data/poll.h-data: Likewise.
13918 * conform/data/pthread.h-data: Likewise.
13919 * conform/data/pwd.h-data: Likewise.
13920 * conform/data/regex.h-data: Likewise.
13921 * conform/data/sched.h-data: Likewise.
13922 * conform/data/search.h-data: Likewise.
13923 * conform/data/semaphore.h-data: Likewise.
13924 * conform/data/setjmp.h-data: Likewise.
13925 * conform/data/signal.h-data: Likewise.
13926 * conform/data/spawn.h-data: Likewise.
13927 * conform/data/stdarg.h-data: Likewise.
13928 * conform/data/stdio.h-data: Likewise.
13929 * conform/data/stdlib.h-data: Likewise.
13930 * conform/data/string.h-data: Likewise.
13931 * conform/data/strings.h-data: Likewise.
13932 * conform/data/stropts.h-data: Likewise.
13933 * conform/data/sys/ipc.h-data: Likewise.
13934 * conform/data/sys/mman.h-data: Likewise.
13935 * conform/data/sys/msg.h-data: Likewise.
13936 * conform/data/sys/resource.h-data: Likewise.
13937 * conform/data/sys/select.h-data: Likewise.
13938 * conform/data/sys/sem.h-data: Likewise.
13939 * conform/data/sys/shm.h-data: Likewise.
13940 * conform/data/sys/socket.h-data: Likewise.
13941 * conform/data/sys/stat.h-data: Likewise.
13942 * conform/data/sys/statvfs.h-data: Likewise.
13943 * conform/data/sys/time.h-data: Likewise.
13944 * conform/data/sys/timeb.h-data: Likewise.
13945 * conform/data/sys/times.h-data: Likewise.
13946 * conform/data/sys/types.h-data: Likewise.
13947 * conform/data/sys/uio.h-data: Likewise.
13948 * conform/data/sys/un.h-data: Likewise.
13949 * conform/data/sys/utsname.h-data: Likewise.
13950 * conform/data/sys/wait.h-data: Likewise.
13951 * conform/data/syslog.h-data: Likewise.
13952 * conform/data/tar.h-data: Likewise.
13953 * conform/data/termios.h-data: Likewise.
13954 * conform/data/utime.h-data: Likewise.
13955 * conform/data/utmpx.h-data: Likewise.
13956 * conform/data/varargs.h-data: Likewise.
13957 * conform/data/wchar.h-data: Likewise.
13958 * conform/data/wctype.h-data: Likewise.
13959 * conform/data/wordexp.h-data: Likewise.
13961 * include/stropts.h: New file.
13962 * include/uchar.h: New file.
13963 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13964 * include/assert.h: Likewise.
13965 * include/ctype.h: Likewise.
13966 * include/dirent.h: Likewise.
13967 * include/dlfcn.h: Likewise.
13968 * include/fcntl.h: Likewise.
13969 * include/fnmatch.h: Likewise.
13970 * include/glob.h: Likewise.
13971 * include/grp.h: Likewise.
13972 * include/libio.h: Likewise.
13973 * include/locale.h: Likewise.
13974 * include/math.h: Likewise.
13975 * include/net/if.h: Likewise.
13976 * include/netdb.h: Likewise.
13977 * include/netinet/in.h: Likewise.
13978 * include/pthread.h: Likewise.
13979 * include/pwd.h: Likewise.
13980 * include/regex.h: Likewise.
13981 * include/sched.h: Likewise.
13982 * include/search.h: Likewise.
13983 * include/setjmp.h: Likewise.
13984 * include/signal.h: Likewise.
13985 * include/stdio.h: Likewise.
13986 * include/stdlib.h: Likewise.
13987 * include/string.h: Likewise.
13988 * include/sys/cdefs.h: Likewise.
13989 * include/sys/mman.h: Likewise.
13990 * include/sys/msg.h: Likewise.
13991 * include/sys/resource.h: Likewise.
13992 * include/sys/select.h: Likewise.
13993 * include/sys/socket.h: Likewise.
13994 * include/sys/stat.h: Likewise.
13995 * include/sys/statvfs.h: Likewise.
13996 * include/sys/time.h: Likewise.
13997 * include/sys/times.h: Likewise.
13998 * include/sys/uio.h: Likewise.
13999 * include/sys/utsname.h: Likewise.
14000 * include/sys/wait.h: Likewise.
14001 * include/termios.h: Likewise.
14002 * include/time.h: Likewise.
14003 * include/ulimit.h: Likewise.
14004 * include/unistd.h: Likewise.
14005 * include/utime.h: Likewise.
14006 * include/wchar.h: Likewise.
14007 * include/wctype.h: Likewise.
14008 * include/wordexp.h: Likewise.
14010 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14012 * time/time.h: TIME_UTC must be a macro.
14013 Make timespec_get available for ISO C11 only as well.
14015 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14017 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14018 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14020 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14022 * configure.in: Use -o not -a in test for unsupported multi-arch.
14024 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14026 * manual/texinfo.tex: Update to version 2012-01-19.16.
14028 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14030 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14032 2012-02-24 Roland McGrath <roland@hack.frob.com>
14035 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14036 * manual/fdl-1.3.texi: New file.
14037 * manual/fdl-1.1.texi: File removed.
14040 * manual/libc.texinfo (FDL_VERSION): New @set.
14041 Use it for mention of FDL in cover text.
14042 (Documentation License): Use it in @include file name.
14044 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14045 Roland McGrath <roland@hack.frob.com>
14048 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14049 not LONG_LONG_MAX and LONG_LONG_MIN.
14050 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14051 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14053 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14055 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14059 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14060 manipulate bits before adding and subtracting TWO23[sx].
14061 * math/libm-test.inc (nearbyint_test): Add more tests.
14063 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14066 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14067 bits before adding and subtracting TWO23[sx].
14068 * math/libm-test.inc (rint_test): Add more tests.
14069 (rint_test_tonearest): Likewise.
14070 (rint_test_towardzero): Likewise.
14071 (rint_test_downward): Likewise.
14072 (rint_test_upward: Likewise.
14074 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14077 * include/stdc-predef.h: New file. Extracted from features.h.
14078 * include/features.h: Include stdc-predef.h.
14079 * Makefile (headers): Add stdc-predef.h.
14080 * CONFORMANCE (Compiler limitations): Update.
14082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14084 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14086 2012-02-21 David S. Miller <davem@davemloft.net>
14088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14091 2012-02-20 David S. Miller <davem@davemloft.net>
14093 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14094 using a normal save/restore sequence, rather than allocating a
14095 dummy stack frame just to store a frame pointer and restore.
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14098 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14100 * manual/install.texi: Fix stray word in line-wrapped comment.
14102 2012-02-20 David S. Miller <davem@davemloft.net>
14104 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14105 both binutils and gcc support GOTDATA.
14107 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14108 "rd %pc" in the PIC register setup sequences.
14110 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14111 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14112 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14113 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14114 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14119 (SYSCALL_ERROR_HANDLER): Likewise.
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14123 (SYSCALL_ERROR_HANDLER): Likewise.
14125 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14126 (HAVE_GCC_GOTDATA): New.
14127 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14128 relocation support in both binutils and gcc.
14129 * sysdeps/sparc/elf/configure: Regenerate.
14131 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14132 * sysdeps/sparc/sparc32/elf/configure: Delete.
14133 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14134 * sysdeps/sparc/sparc64/elf/configure: Delete.
14135 * sysdeps/sparc/elf/configure.in: New file.
14136 * sysdeps/sparc/elf/configure: Generate.
14138 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14139 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14140 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14141 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14142 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14144 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14146 * manual/install.texi: Do not mention specific glibc version
14148 * manual/libc.texinfo (VERSION, UPDATED): Update.
14149 (@copying): Use @copyright{} and range of years.
14151 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14154 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14155 [crti.S not in sysdirs] (generated): Do not append.
14156 [crti.S not in sysdirs] (omit-deps): Likewise.
14157 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14158 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14159 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14160 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14161 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14163 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14164 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14165 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14166 * csu/defs.awk: Remove file.
14167 * sysdeps/generic/initfini.c: Likewise.
14168 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14170 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14173 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14175 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14176 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14177 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14179 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14182 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14183 (__EPOLL_PACKED): Define to empty if not defined by
14185 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14189 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14191 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14192 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14194 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14196 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14200 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14202 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14205 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14206 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14214 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14216 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14217 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14219 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14221 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14224 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14226 * math/w_acos.c: Use non-signaling floating-point comparisons.
14227 * math/w_acosf.c: Likewise.
14228 * math/w_acosh.c: Likewise.
14229 * math/w_acoshf.c: Likewise.
14230 * math/w_acoshl.c: Likewise.
14231 * math/w_acosl.c: Likewise.
14232 * math/w_asin.c: Likewise.
14233 * math/w_asinf.c: Likewise.
14234 * math/w_asinl.c: Likewise.
14235 * math/w_atanh.c: Likewise.
14236 * math/w_atanhf.c: Likewise.
14237 * math/w_atanhl.c: Likewise.
14238 * math/w_exp2.c: Likewise.
14239 * math/w_exp2f.c: Likewise.
14240 * math/w_exp2l.c: Likewise.
14241 * math/w_j0.c: Likewise.
14242 * math/w_j0f.c: Likewise.
14243 * math/w_j0l.c: Likewise.
14244 * math/w_j1.c: Likewise.
14245 * math/w_j1f.c: Likewise.
14246 * math/w_j1l.c: Likewise.
14247 * math/w_jn.c: Likewise.
14248 * math/w_jnf.c: Likewise.
14249 * math/w_log.c: Likewise.
14250 * math/w_log10.c: Likewise.
14251 * math/w_log10f.c: Likewise.
14252 * math/w_log10l.c: Likewise.
14253 * math/w_log2.c: Likewise.
14254 * math/w_log2f.c: Likewise.
14255 * math/w_log2l.c: Likewise.
14256 * math/w_logf.c: Likewise.
14257 * math/w_logl.c: Likewise.
14258 * math/w_sqrt.c: Likewise.
14259 * math/w_sqrtf.c: Likewise.
14260 * math/w_sqrtl.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14263 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14264 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14265 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14270 * manual/string.texi (strnlen): Use correct parameter name in
14271 equivalent expression.
14273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14276 * manual/users.texi (seteuid): Consistently use neweuid for
14279 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14282 * manual/nss.texi (Services in the NSS configuration): Correct
14283 list of services in example configuration file.
14285 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14288 * manual/arith.texi: Remove statements about negative zero
14289 behaving identically to zero.
14291 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14294 * manual/install.texi: Do not document upgrading from libc5.
14296 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14299 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14301 2012-02-18 David S. Miller <davem@davemloft.net>
14303 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14304 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14305 %o7 across the call.
14306 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14309 SETUP_PIC_REG_LEAF.
14310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14311 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14312 * sysdeps/sparc/crtn.S: Likewise.
14314 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14316 * aout/Makefile: Remove.
14318 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14321 * manual/examples/argp-ex1.c (main): Format definition in GNU
14323 * manual/examples/argp-ex2.c (main): Likewise.
14324 * manual/examples/argp-ex3.c (main): Likewise.
14325 * manual/examples/argp-ex4.c (main): Likewise.
14326 * manual/examples/longopt.c (main): Use new-style prototype
14328 * manual/examples/strncat.c (main): Specify return type and use
14329 (void) for arguments.
14330 * manual/examples/subopt.c (main): Use char **argv argument.
14332 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14335 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14338 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14341 * manual/string.texi (strchr): Change when strchrnul is
14344 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14347 * manual/locale.texi (setlocale): Document LOCPATH.
14349 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14352 * manual/process.texi (execle): Move @dots{} before last argument.
14354 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14357 * manual/charset.texi (Generic Charset Conversion): Fix typo
14358 (LC_TYPE -> LC_CTYPE).
14360 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14363 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14364 (scalbnf): Likewise.
14365 (scalbnl): Likewise.
14366 (scalbln): Likewise.
14367 (scalblnf): Likewise.
14368 (scalblnl): Likewise.
14369 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14370 (vwarnx): Likewise.
14373 * manual/filesys.texi (telldir): Use braces around return type.
14374 * manual/llio.texi (mmap): Add space after comma.
14375 (mmap64): Likewise.
14376 * manual/math.texi (jn): Use @var{} on parameter names.
14382 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14384 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14386 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14387 (sched_get_priority_max): Likewise.
14388 * manual/signal.texi (sigvec): Add space after comma.
14389 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14391 (if_indextoname): Likewise.
14392 (if_freenameindex): Likewise.
14393 (sendto): Use ',' instead of '.' in prototype.
14394 * manual/startup.texi (syscall): Use @dots{} instead of literal
14396 * manual/stdio.texi (__fpending): Separate initial words of
14397 paragraph from @deftypefun line.
14398 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14400 (vsyslog): Use @var{} on parameter names.
14401 * manual/terminal.texi (stty): Use @var{} on parameter names.
14402 * manual/users.texi (getutmp): Use @var{} on parameter names.
14403 (getutmpx): Likewise.
14405 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14408 * manual/stdio.texi (fopen): Fix typos in description of
14411 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14414 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14415 get clock_id definition.
14417 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14420 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14421 (madvise): Cast every argument to void on its own.
14423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14426 * manual/startup.texi (Exit Status): Fix typo.
14428 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14431 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14432 * manual/examples/argp-ex2.c: Likewise.
14433 * manual/examples/argp-ex3.c: Likewise.
14435 2012-02-16 Richard Henderson <rth@redhat.com>
14437 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14438 * sysdeps/s390/s390-32/initfini.c: Remove.
14439 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14440 * sysdeps/s390/s390-64/initfini.c: Remove.
14442 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14444 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14445 compiler output for sysdeps/generic/initfini.c.
14446 * sysdeps/sh/elf/initfini.c: Remove file.
14448 2012-02-16 David S. Miller <davem@davemloft.net>
14451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14453 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14454 * sysdeps/sparc/crti.S: New file.
14455 * sysdeps/sparc/crtn.S: New file.
14456 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14457 * sysdeps/sparc/sparc64/Makefile: Likewise.
14459 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14462 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14464 2012-02-15 Roland McGrath <roland@hack.frob.com>
14467 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14469 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14470 (write, read, close): Likewise.
14471 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14473 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14476 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14478 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14480 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14484 2012-02-14 Marek Polacek <polacek@redhat.com>
14486 * sysdeps/x86_64/crti.S: New file.
14487 * sysdeps/x86_64/crtn.S: New file.
14488 * sysdeps/x86_64/elf/initfini.c: Remove file.
14490 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14492 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14493 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14495 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14497 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14501 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14503 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14504 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14505 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14506 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14508 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14512 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14514 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14515 __feraiseexcept instead of feraiseexcept.
14517 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14518 nanosleep invocations.
14519 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14520 strings, and add error checking for a nanosleep invocations.
14522 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14524 Replace FSF snail mail address with URLs, as per GNU coding standards.
14525 Most of the snail mail addresses were wrong anyway, and omitting
14526 them makes the source code easier to maintain. Almost all of the
14527 changes are to license notices and to locale LC_IDENTIFICATION
14528 addresses, except for this one:
14529 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14530 not its snail mail address.
14532 2012-02-09 Richard Henderson <rth@twiddle.net>
14534 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14535 of kernel-features.h.
14537 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14539 2012-02-08 Marek Polacek <polacek@redhat.com>
14541 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14542 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14543 * sysdeps/gnu/_G_config.h: Likewise.
14544 * sysdeps/generic/_G_config.h: Likewise.
14546 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14548 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14552 * sysdeps/powerpc/powerpc32/crti.S: New file.
14553 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14554 * sysdeps/powerpc/powerpc64/crti.S: New file.
14555 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14557 * Makeconfig (have-initfini): Don't set.
14558 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14559 * configure.in (nopic_initfini): Don't substitute.
14560 * config.h.in (HAVE_INITFINI): Don't #undef.
14561 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14562 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14564 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14566 Support crti.S and crtn.S provided directly by architectures.
14567 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14568 [crti.S in sysdirs] (omit-deps): Likewise.
14569 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14570 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14571 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14572 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14573 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14574 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14575 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14576 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14577 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14578 compiler output for sysdeps/generic/initfini.c.
14579 * sysdeps/i386/elf/Makefile: Remove file.
14580 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14582 2012-02-07 Marek Polacek <polacek@redhat.com>
14584 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14585 * sysdeps/gnu/_G_config.h: Likewise.
14586 * sysdeps/mach/hurd/_G_config.h: Likewise.
14588 2012-02-07 Marek Polacek <polacek@redhat.com>
14590 * math/Makefile (tests): Add tst-CMPLX2.
14591 * math/tst-CMPLX2.c: New file.
14593 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14595 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14597 * math/libm-test.inc (jn_test): Add missing L suffix.
14599 2012-02-06 Marek Polacek <polacek@redhat.com>
14601 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14602 * sysdeps/i386/fpu/e_powf.S: Likewise.
14603 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14604 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14605 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14606 * sysdeps/i386/fpu/e_pow.S: Likewise.
14607 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14608 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14609 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14610 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14611 * sysdeps/i386/fpu/e_log2.S: Likewise.
14612 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14613 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14614 * sysdeps/i386/fpu/e_powl.S: Likewise.
14615 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14616 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14617 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14618 * sysdeps/i386/fpu/e_logl.S: Likewise.
14619 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14620 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14621 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14622 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14623 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14624 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14625 * sysdeps/i386/fpu/e_log.S: Likewise.
14626 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14627 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14628 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14629 * sysdeps/i386/fpu/e_logf.S: Likewise.
14630 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14631 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14632 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14633 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14635 * sysdeps/i386/fpu/e_log10.S: Likewise.
14636 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14637 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14638 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14639 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14641 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14642 * sysdeps/i386/asm-syntax.h: Likewise.
14643 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14644 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14646 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14647 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14649 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14650 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14651 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14652 * sysdeps/powerpc/sysdep.h: Likewise.
14653 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14654 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14656 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14659 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14661 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14663 * sysdeps/i386/sysdep.h: Include <features.h>.
14664 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14667 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14669 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14671 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14674 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14676 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14677 (SETUP_PIC_REG): Use GET_PC_THUNK.
14678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14681 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14683 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14684 for non-PIC compilation.
14685 (SETUP_PIC_REG): Add .p2align directive.
14686 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14687 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14688 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14689 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14690 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14691 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14707 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14709 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14724 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14725 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14728 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14730 * math/tst-CMPLX.c: Include <stdio.h>.
14732 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14734 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14736 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14737 * sysdeps/sparc/bits/mathdef.h: Likewise.
14739 2012-01-31 Marek Polacek <polacek@redhat.com>
14741 * libio/libio.h: Don't define _PARAMS.
14742 * locale/programs/config.h: Don't define PARAMS.
14743 * stdlib/strtol_l.c: Likewise.
14744 (__strtol_l): Remove PARAMS from the prototype.
14746 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14748 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14749 names. Just use the correct names. Remove unnecessary wrapper
14751 * malloc/arena.c: Likewise.
14752 * malloc/hooks.c: Likewise.
14754 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14755 ARENA_TEST says not to. Simplify test for creation of a new arena.
14756 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14758 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14760 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14762 (update_get_addr): New function.
14763 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14764 GET_ADDR_MODULE parameter.
14766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14768 * crypt/cert.c: Remove __STDC__ conditionals.
14769 * crypt/crypt-entry.c: Likewise.
14770 * crypt/crypt_util.c: Likewise.
14771 * libio/filedoalloc.c: Likewise.
14772 * libio/fileops.c: Likewise.
14773 * libio/genops.c: Likewise.
14774 * libio/iofclose.c: Likewise.
14775 * libio/iofdopen.c: Likewise.
14776 * libio/iofopen.c: Likewise.
14777 * libio/iofopen64.c: Likewise.
14778 * libio/iogetdelim.c: Likewise.
14779 * libio/iopopen.c: Likewise.
14780 * libio/obprintf.c: Likewise.
14781 * libio/oldfileops.c: Likewise.
14782 * libio/oldiofclose.c: Likewise.
14783 * libio/oldiofdopen.c: Likewise.
14784 * libio/oldiofopen.c: Likewise.
14785 * libio/oldiopopen.c: Likewise.
14786 * libio/wfiledoalloc.c: Likewise.
14787 * libio/wgenops.c: Likewise.
14788 * locale/programs/xmalloc.c: Likewise.
14789 * misc/syslog.c: Likewise.
14790 * stdio-common/xbug.c: Likewise.
14791 * string/memchr.c: Likewise.
14792 * string/memcmp.c: Likewise.
14793 * string/memrchr.c: Likewise.
14794 * string/rawmemchr.c: Likewise.
14795 * sysdeps/posix/getcwd.c: Likewise.
14796 * time/strftime_l.c: Likewise.
14798 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14800 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14801 * config.make.in (config-cflags-sse2avx): Define.
14802 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14805 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14807 * scripts/config.guess: Update from upstream config git repository.
14808 * scripts/config.sub: Likewise.
14810 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14812 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14814 (R_TILEPRO_*, R_TILEGX_*): New macros.
14816 * scripts/firstversions.awk: Fix bug in version range handling.
14818 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14820 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14822 * include/sys/epoll.h: New file.
14823 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14826 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14828 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14829 Avoid unnecessary __WORDSIZE == 64 test.
14830 (fmaxf): Use VEX format if possible.
14835 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14836 * math/math_private.h: Remove libc_fegetround* and
14838 * sysdeps/i386/configure.in: Check for -msse2avx.
14839 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14840 also if SSE2AVX is defined.
14841 Remove libc_fegetround* and libc_fesetround*.
14842 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14843 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14846 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14847 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14848 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14850 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14852 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14854 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14856 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14858 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14860 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14863 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14865 * Makeconfig (libm): Define.
14866 * elf/Makefile: Add rules to build and run tst-relsort1.
14867 * elf/tst-relsort1.c: New file.
14868 * elf/tst-relsort1mod1.c: New file.
14869 * elf/tst-relsort1mod2.c: New file.
14871 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14873 * math/s_ldexp.c: Remove __STDC__ conditionals.
14874 * math/s_ldexpf.c: Likewise.
14875 * math/s_ldexpl.c: Likewise.
14876 * math/s_nextafter.c: Likewise.
14877 * math/s_nexttowardf.c: Likewise.
14878 * math/s_significand.c: Likewise.
14879 * math/s_significandf.c: Likewise.
14880 * math/s_significandl.c: Likewise.
14881 * math/w_jnl.c: Likewise.
14882 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14883 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14884 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14885 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14886 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14901 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14902 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14903 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14904 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14906 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14907 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14909 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14910 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14912 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14914 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14922 * sysdeps/ieee754/k_standard.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14984 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14998 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15002 * sysdeps/ieee754/s_matherr.c: Likewise.
15003 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15008 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15010 * crypt/md5.h: Remove __STDC__ conditionals.
15011 * libio/libioP.h: Likewise.
15012 * locale/programs/config.h: Likewise.
15013 * sysdeps/generic/sysdep.h: Likewise.
15014 * sysdeps/i386/asm-syntax.h: Likewise.
15015 * sysdeps/s390/asm-syntax.h: Likewise.
15016 * sysdeps/unix/sysdep.h: Likewise.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15020 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15022 * libio/libio.h: Remove __STDC__ conditionals.
15023 * malloc/obstack.h: Likewise.
15024 * math/complex.h: Likewise.
15025 * math/math.h: Likewise.
15026 * sysdeps/generic/_G_config.h: Likewise.
15027 * sysdeps/gnu/_G_config.h: Likewise.
15028 * sysdeps/mach/hurd/_G_config.h: Likewise.
15029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15030 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15031 * sysdeps/sparc/bits/mathdef.h: Likewise.
15033 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15037 Clean up HAS_* macros.
15038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15039 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15043 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15044 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15046 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15047 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15049 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15051 * elf/tst-unique3.cc (gets): Remove declaration.
15052 * elf/tst-unique3lib.cc (gets): Likewise.
15053 * elf/tst-unique3lib2.cc (gets): Likewise.
15054 * elf/tst-unique4.cc (gets): Likewise.
15056 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15058 * include/stdio.h: Add C++ protection. Add gets declarations and
15060 * debug/tst-chk1.c: Don't declare gets here.
15061 * stdio-common/tst-gets.c: Likewise.
15063 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15065 * posix/glob: Remove directory.
15067 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15069 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15071 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15073 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15074 of the non-standard EPFNOSUPPORT.
15076 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15078 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15079 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15080 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15082 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15084 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15086 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15088 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15090 * nscd/grpcache.c (cache_addgr): Likewise.
15091 * nscd/hstcache.c (cache_addhst): Likewise.
15092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15093 * nscd/pwdcache.c (cache_addpw): Likewise.
15094 * nscd/servicescache.c (cache_addserv): Likewise.
15096 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15098 * malloc/malloc.c: Various cleanups.
15099 * malloc/hooks.c: Likewise.
15101 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15102 * stdlib/bug-fmtmsg1.c: New file.
15104 * stdlib/fmtmsg.c (init): Add missing unlock.
15105 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15107 2012-01-12 Marek Polacek <polacek@redhat.com>
15109 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15112 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15114 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15116 macro to ensure uniqueness of label name.
15117 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15118 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15120 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15122 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15124 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15125 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15126 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15129 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15131 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15133 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15134 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15135 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15137 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15139 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15140 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15141 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15144 * math/bits/math-finite.h: Add ldexp support.
15146 2012-01-10 Marek Polacek <polacek@redhat.com>
15148 * locale/programs/localedef.h (show_archive_content): Add noreturn
15151 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15153 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15155 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15157 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15159 * io/Makefile (headers): Add bits/poll2.h.
15161 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15164 typo #include statement.
15166 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15168 * include/sys/cdefs.h: Define __attribute_alloc_size.
15169 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15170 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15171 * elf/pldd.c: Likewise.
15172 * iconv/iconv_charmap.c: Likewise.
15173 * iconv/iconvconfig.c: Likewise.
15174 * iconv/strtab.c: Likewise.
15175 * locale/programs/locale.c: Likewise.
15176 * locale/programs/localedef.h: Likewise.
15177 * locale/programs/simple-hash.c: Likewise.
15178 * nscd/nscd.h: Likewise.
15179 * nss/makedb.c: Likewise.
15180 * sysdeps/generic/ldconfig.h: Likewise.
15181 * locale/programs/localedef.c: Remove xmalloc prototype.
15182 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15184 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15186 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15189 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15191 * math/Makefile (tests): Add tst-CMPLX.
15192 * math/tst-CMPLX.c: New file.
15194 * math/complex.h (CMPLXL): Fix typo.
15196 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15197 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15199 * debug/tst-chk1.c: Add poll and ppoll tests.
15200 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15201 * include/sys/poll.h: Add hidden proto for ppoll.
15202 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15203 * sysdeps/mach/hurd/ppoll.c: Likewise.
15204 * io/ppoll.c: Likewise.
15205 * debug/poll_chk.c: New file.
15206 * debug/ppoll_chk.c: New file.
15207 * include/bits/poll2.h: New file.
15208 * io/bits/poll2.h: New file.
15211 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15213 * configure.in: static is always set to yes. Remove.
15214 * config.make.in: Don't set build-static.
15215 * Makeconfig: Remove use of build-static.
15216 * dlfcn/Makefile: Likewise.
15217 * elf/Makefile: Likewise.
15218 * math/Makefile: Likewise.
15219 * misc/Makefile: Likewise.
15220 * nptl/Makefile: Likewise.
15221 * sysdeps/mach/hurd/Makefile: Likewise.
15223 * configure.in: PWD_P is not used anymore.
15224 * config.make.in: Remove PWD_P entry.
15226 * configure.in: Remove last remnants of RANLIB.
15227 No need to check for signed size_t anymore.
15228 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15230 Remove __builtin_expect test because we require at least gcc 3.4.
15231 * aclocal.m4: Likewise.
15233 * wcsmbs/mbrtoc16.c: Implement using towc function.
15234 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15235 * wcsmbs/wcsmbsload.c: Likewise.
15236 * iconv/gconv_simple.c: Likewise.
15237 * iconv/gconv_int.h: Likewise.
15238 * iconv/gconv_builtin.h: Likewise.
15239 * iconv/iconv_prog.c: Remove CHAR16 handling.
15241 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15243 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15245 * configure.in: Remove --with-elf and --enable-bounded options.
15246 Dont set base_machine for ia64. More non-ELF conditions removed.
15247 Remove testing and setting of leading underscore information.
15248 * config.make.in (build-bounded): Set to no.
15249 * config.h.in: Remove NO_UNDERSCORES entry.
15250 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15252 * csu/start.c: Remove !NO_UNDERSCORE code.
15253 * locale/localeinfo.h: Likewise.
15254 * sysdeps/generic/machine-gmon.h: Likewise.
15255 * sysdeps/generic/sysdep.h: Likewise.
15256 * sysdeps/i386/sysdep.h: Likewise.
15257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15258 * sysdeps/mach/sysdep.h: Likewise.
15259 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15261 * sysdeps/sh/sysdep.h: Likewise.
15262 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15263 * sysdeps/unix/i386/sysdep.S: Likewise.
15264 * sysdeps/unix/sparc/start.c: Likewise.
15265 * sysdeps/unix/sparc/sysdep.S: Likewise.
15266 * sysdeps/unix/sparc/sysdep.h: Likewise.
15267 * sysdeps/unix/start.c: Likewise.
15268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15269 * sysdeps/x86_64/sysdep.h: Likewise.
15271 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15274 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15276 * argp/argp-fmtstream.h: Use const instead __const.
15277 * argp/argp.h: Likewise.
15278 * assert/assert.h: Likewise.
15279 * bits/fenv.h: Likewise.
15280 * bits/sched.h: Likewise.
15281 * bits/sigset.h: Likewise.
15282 * bits/sigthread.h: Likewise.
15283 * catgets/nl_types.h: Likewise.
15284 * conform/data/pthread.h-data: Likewise.
15285 * crypt/crypt-private.h: Likewise.
15286 * crypt/crypt.h: Likewise.
15287 * crypt/crypt_util.c: Likewise.
15288 * ctype/ctype.h: Likewise.
15289 * debug/execinfo.h: Likewise.
15290 * debug/mbsnrtowcs_chk.c: Likewise.
15291 * debug/mbsrtowcs_chk.c: Likewise.
15292 * debug/wcsnrtombs_chk.c: Likewise.
15293 * debug/wcsrtombs_chk.c: Likewise.
15294 * debug/wcstombs_chk.c: Likewise.
15295 * dirent/dirent.h: Likewise.
15296 * dlfcn/dlfcn.h: Likewise.
15297 * elf/neededtest4.c: Likewise.
15298 * grp/grp.h: Likewise.
15299 * gshadow/gshadow.h: Likewise.
15300 * iconv/gconv.h: Likewise.
15301 * iconv/gconv_int.h: Likewise.
15302 * iconv/gconv_simple.c: Likewise.
15303 * iconv/iconv.h: Likewise.
15304 * iconv/loop.c: Likewise.
15305 * iconv/skeleton.c: Likewise.
15306 * include/aio.h: Likewise.
15307 * include/aliases.h: Likewise.
15308 * include/argz.h: Likewise.
15309 * include/arpa/inet.h: Likewise.
15310 * include/assert.h: Likewise.
15311 * include/dirent.h: Likewise.
15312 * include/dlfcn.h: Likewise.
15313 * include/execinfo.h: Likewise.
15314 * include/fcntl.h: Likewise.
15315 * include/fenv.h: Likewise.
15316 * include/glob.h: Likewise.
15317 * include/grp.h: Likewise.
15318 * include/libintl.h: Likewise.
15319 * include/mntent.h: Likewise.
15320 * include/netdb.h: Likewise.
15321 * include/pwd.h: Likewise.
15322 * include/rpc/netdb.h: Likewise.
15323 * include/sched.h: Likewise.
15324 * include/search.h: Likewise.
15325 * include/shadow.h: Likewise.
15326 * include/signal.h: Likewise.
15327 * include/stdio.h: Likewise.
15328 * include/stdlib.h: Likewise.
15329 * include/string.h: Likewise.
15330 * include/sys/socket.h: Likewise.
15331 * include/sys/stat.h: Likewise.
15332 * include/sys/statfs.h: Likewise.
15333 * include/sys/statvfs.h: Likewise.
15334 * include/sys/syslog.h: Likewise.
15335 * include/sys/time.h: Likewise.
15336 * include/sys/uio.h: Likewise.
15337 * include/time.h: Likewise.
15338 * include/unistd.h: Likewise.
15339 * include/utmp.h: Likewise.
15340 * include/wchar.h: Likewise.
15341 * include/wctype.h: Likewise.
15342 * inet/aliases.h: Likewise.
15343 * inet/arpa/inet.h: Likewise.
15344 * inet/netinet/ether.h: Likewise.
15345 * inet/netinet/in.h: Likewise.
15346 * intl/libintl.h: Likewise.
15347 * io/bits/fcntl2.h: Likewise.
15348 * io/fcntl.h: Likewise.
15349 * io/ftw.h: Likewise.
15350 * io/sys/poll.h: Likewise.
15351 * io/sys/stat.h: Likewise.
15352 * io/sys/statfs.h: Likewise.
15353 * io/sys/statvfs.h: Likewise.
15354 * io/utime.h: Likewise.
15355 * libio/bits/stdio.h: Likewise.
15356 * libio/bits/stdio2.h: Likewise.
15357 * libio/libio.h: Likewise.
15358 * libio/libioP.h: Likewise.
15359 * libio/stdio.h: Likewise.
15360 * locale/lc-ctype.c: Likewise.
15361 * locale/locale.h: Likewise.
15362 * login/utmp.h: Likewise.
15363 * malloc/arena.c: Likewise.
15364 * malloc/malloc.c: Likewise.
15365 * malloc/malloc.h: Likewise.
15366 * malloc/mcheck.c: Likewise.
15367 * malloc/mtrace.c: Likewise.
15368 * math/bits/mathcalls.h: Likewise.
15369 * math/fenv.h: Likewise.
15370 * math/math_private.h: Likewise.
15371 * misc/bits/error.h: Likewise.
15372 * misc/bits/syslog.h: Likewise.
15373 * misc/err.h: Likewise.
15374 * misc/error.h: Likewise.
15375 * misc/fstab.h: Likewise.
15376 * misc/mntent.h: Likewise.
15377 * misc/regexp.h: Likewise.
15378 * misc/search.h: Likewise.
15379 * misc/sgtty.h: Likewise.
15380 * misc/sys/mman.h: Likewise.
15381 * misc/sys/syslog.h: Likewise.
15382 * misc/sys/uio.h: Likewise.
15383 * misc/sys/xattr.h: Likewise.
15384 * misc/ttyent.h: Likewise.
15385 * nis/rpcsvc/ypclnt.h: Likewise.
15386 * nss/nss.h: Likewise.
15387 * posix/bits/unistd.h: Likewise.
15388 * posix/fnmatch.h: Likewise.
15389 * posix/glob.h: Likewise.
15390 * posix/sched.h: Likewise.
15391 * posix/spawn.h: Likewise.
15392 * posix/sys/wait.h: Likewise.
15393 * posix/unistd.h: Likewise.
15394 * posix/wordexp.h: Likewise.
15395 * pwd/pwd.h: Likewise.
15396 * resolv/netdb.h: Likewise.
15397 * resource/sys/resource.h: Likewise.
15398 * rt/aio.h: Likewise.
15399 * rt/bits/mqueue2.h: Likewise.
15400 * rt/mqueue.h: Likewise.
15401 * shadow/shadow.h: Likewise.
15402 * signal/signal.h: Likewise.
15403 * socket/send.c: Likewise.
15404 * socket/sendto.c: Likewise.
15405 * socket/sys/socket.h: Likewise.
15406 * stdio-common/printf.h: Likewise.
15407 * stdlib/bits/stdlib.h: Likewise.
15408 * stdlib/fmtmsg.h: Likewise.
15409 * stdlib/monetary.h: Likewise.
15410 * stdlib/stdlib.h: Likewise.
15411 * stdlib/ucontext.h: Likewise.
15412 * streams/stropts.h: Likewise.
15413 * string/argz.h: Likewise.
15414 * string/bits/string2.h: Likewise.
15415 * string/string.h: Likewise.
15416 * string/strings.h: Likewise.
15417 * sunrpc/rpc/auth.h: Likewise.
15418 * sunrpc/rpc/auth_des.h: Likewise.
15419 * sunrpc/rpc/clnt.h: Likewise.
15420 * sunrpc/rpc/netdb.h: Likewise.
15421 * sunrpc/rpc/pmap_clnt.h: Likewise.
15422 * sunrpc/rpc/xdr.h: Likewise.
15423 * sysdeps/generic/inttypes.h: Likewise.
15424 * sysdeps/generic/net/if.h: Likewise.
15425 * sysdeps/generic/sys/swap.h: Likewise.
15426 * sysdeps/gnu/net/if.h: Likewise.
15427 * sysdeps/gnu/utmpx.h: Likewise.
15428 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15429 * sysdeps/i386/i486/bits/string.h: Likewise.
15430 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15431 * sysdeps/s390/bits/string.h: Likewise.
15432 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15433 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15434 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15435 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15436 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15437 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15438 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15439 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15440 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15441 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15442 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15443 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15444 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15445 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15446 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15447 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15448 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15451 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15454 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15455 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15456 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15457 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15458 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15460 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15462 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15463 * sysvipc/sys/ipc.h: Likewise.
15464 * sysvipc/sys/msg.h: Likewise.
15465 * sysvipc/sys/sem.h: Likewise.
15466 * sysvipc/sys/shm.h: Likewise.
15467 * termios/termios.h: Likewise.
15468 * time/sys/time.h: Likewise.
15469 * time/time.h: Likewise.
15470 * wcsmbs/bits/wchar2.h: Likewise.
15471 * wcsmbs/uchar.h: Likewise.
15472 * wcsmbs/wchar.h: Likewise.
15473 * wctype/wctype.h: Likewise.
15476 * Makeconfig: Remove all but ELF support including AIX support.
15477 * Makerules: Likewise.
15478 * config.h.in: Likewise.
15479 * config.make.in: Likewise.
15480 * configure: Likewise.
15481 * configure.in: Likewise.
15482 * csu/Makefile: Likewise.
15483 * csu/version.c: Likewise.
15484 * debug/Makefile: Likewise.
15485 * dlfcn/Makefile: Likewise.
15486 * elf/Makefile: Likewise.
15487 * extra-lib.mk: Likewise.
15488 * iconv/Makefile: Likewise.
15489 * include/libc-symbols.h: Likewise.
15490 * include/shlib-compat.h: Likewise.
15491 * resolv/Makefile: Likewise.
15492 * resolv/res_libc.c: Likewise.
15493 * rt/Makefile: Likewise.
15494 * sysdeps/i386/asm-syntax.h: Likewise.
15495 * sysdeps/i386/sysdep.h: Likewise.
15496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15497 * sysdeps/mach/sysdep.h: Likewise.
15498 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15499 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15500 * sysdeps/s390/asm-syntax.h: Likewise.
15501 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15503 * sysdeps/sh/sysdep.h: Likewise.
15504 * sysdeps/unix/sparc/sysdep.h: Likewise.
15505 * sysdeps/wordsize-32/divdi3.c: Likewise.
15506 * sysdeps/x86_64/sysdep.h: Likewise.
15508 * argp/Versions: Remove _argp_unlock_xxx.
15511 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15512 * abilist/libBrokenLocale.abilist: Likewise.
15513 * abilist/libanl.abilist: Likewise.
15514 * abilist/libc.abilist: Likewise.
15515 * abilist/libcrypt.abilist: Likewise.
15516 * abilist/libdl.abilist: Likewise.
15517 * abilist/libm.abilist: Likewise.
15518 * abilist/libnsl.abilist: Likewise.
15519 * abilist/libpthread.abilist: Likewise.
15520 * abilist/libresolv.abilist: Likewise.
15521 * abilist/librt.abilist: Likewise.
15522 * abilist/libthread_db.abilist: Likewise.
15523 * abilist/libutil.abilist: Likewise.
15524 * abilist/libnss_db.abilist: New file.
15526 * scripts/abilist.awk: Add support for indirect functions.
15528 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15530 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15532 * shlib-versions: Remove entries for ports architectures.
15534 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15536 * elf/stackguard-macros.h: Remove support for IA-64.
15537 * elf/tst-auditmod1.c: Likewise.
15538 * sysdeps/generic/ldsodefs.h: Likewise.
15540 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15541 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15545 * configure.in: Remove --enable-omitfp support.
15547 * config.make.in: Likewise.
15548 * Makeconfig: Likewise.
15549 * manual/install.texi: Likewise.
15551 In case anyone cares, the IA-64 architecture could move to ports.
15552 * sysdeps/ia64/*: Removed.
15553 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15554 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15557 * configure.in: Remove entries for unsupported architectures.
15560 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15561 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15563 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15564 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15565 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15566 fall back to using wcrtomb.
15567 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15568 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15570 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15571 * wcsmbs/tst-c16c32-1.c: New file.
15573 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15576 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15578 * elf/tst-unique3.cc: Add explicit declaration of gets.
15579 * elf/tst-unique3lib.cc: Likewise.
15580 * elf/tst-unique3lib2.cc: Likewise.
15581 * elf/tst-unique4.cc: Likewise.
15583 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15585 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15588 * assert/assert.h (static_assert): Don't define for C++.
15589 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15590 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15592 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15594 * iconv/loop.c (single loop): Fix assertion in storing of
15597 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15599 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15601 * posix/getconf.c: Update copyright year.
15602 * nss/getent.c: Likewise.
15603 * nss/makedb.c: Likewise.
15604 * iconv/iconvconfig.c: Likewise.
15605 * iconv/iconv_prog.c: Likewise.
15606 * elf/ldconfig.c: Likewise.
15607 * elf/pldd.c: Likewise.
15608 * elf/sotruss.ksh: Likewise.
15609 * catgets/gencat.c: Likewise.
15610 * csu/version.c: Likewise.
15611 * elf/ldd.bash.in: Likewise.
15612 * elf/sprof.c (print_version): Likewise.
15613 * locale/programs/locale.c: Likewise.
15614 * locale/programs/localedef.c: Likewise.
15615 * login/programs/pt_chown.c: Likewise.
15616 * nscd/nscd.c (print_version): Likewise.
15617 * debug/xtrace.sh: Likewise.
15618 * malloc/memusage.sh: Likewise.
15619 * malloc/mtrace.pl: Likewise.
15620 * debug/catchsegv.sh: Likewise.
15622 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15624 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15627 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15630 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15631 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15633 * iconv/gconv_int.h: Likewise.
15634 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15635 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15636 from libc for GLIBC_2.16.
15637 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15638 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15639 * wcsmbs/uchar.h: Really define mbstate_t.
15640 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15641 * wcsmbs/c16rtomb.c: New file.
15642 * wcsmbs/mbrtoc16.c: New file.
15643 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15644 for C/POSIX locale.
15645 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15646 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15648 * wcsmbs/wchar.h: Add missing __restrict.
15650 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15653 * time/Makefile (routines): Add timespec_get.
15654 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15655 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15656 timespec for ISO C11.
15657 * time/timespec_get.c: New file.
15658 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15659 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15662 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15663 * stdlib/stdlib.h: Declare aligned_alloc.
15664 * Versions.def: Add GLIBC_2.16 for libc.
15665 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15668 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15671 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15675 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15678 * assert/assert.h (static_assert): Define.
15680 * version.h: Update for 2.16 development version.
15683 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15686 * version.h (RELEASE): Bump for 2.15 release.
15687 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15689 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15690 Patch by Marek Polacek <mpolacek@redhat.com>.
15692 * bits/byteswap.h: Protect long long constants with __extension__.
15693 * sysdeps/i386/bits/byteswap.h: Likewise.
15694 * sysdeps/ia64/bits/byteswap.h: Likewise.
15695 * sysdeps/s390/bits/byteswap.h: Likewise.
15696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15698 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15702 destination buffer.
15703 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15705 2011-12-23 Marek Polacek <polacek@redhat.com>
15707 * elf/dl-addr.c (determine_info): Add inline keyword.
15708 * elf/tst-auditmod4b.c (check_avx): Likewise.
15709 * elf/tst-auditmod6b.c (check_avx): Likewise.
15710 * elf/tst-auditmod6c.c (check_avx): Likewise.
15711 * elf/tst-auditmod7b.c (check_avx): Likewise.
15713 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15715 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15718 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15721 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15722 processing for last bytes.
15724 2011-08-06 Bruno Haible <bruno@clisp.org>
15727 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15728 U+0385, not to U+1FEE.
15731 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15732 entry for U+00A5 U+0301.
15734 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15737 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15738 buffer for the output is too small.
15740 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15744 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15745 SSE flags if possible.
15747 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15751 processing for last bytes.
15753 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15755 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15756 (syscall-list-default-options, syscall-list-default-condition)
15757 (syscall-list-includes): Define.
15758 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15759 list of ABIs and options and #if conditions for each ABI. Do not
15760 handle common syscalls between ABIs specially.
15761 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15763 (syscall-list-variants, syscall-list-32bit-options)
15764 (syscall-list-32bit-condition, syscall-list-64bit-options)
15765 (syscall-list-64bit-condition): Define.
15766 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15767 (syscall-list-variants, syscall-list-32bit-options)
15768 (syscall-list-32bit-condition, syscall-list-64bit-options)
15769 (syscall-list-64bit-condition): Define.
15770 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15772 (syscall-list-variants, syscall-list-32bit-options)
15773 (syscall-list-32bit-condition, syscall-list-64bit-options)
15774 (syscall-list-64bit-condition): Define.
15775 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15777 (syscall-list-variants, syscall-list-32bit-options)
15778 (syscall-list-32bit-condition, syscall-list-64bit-options)
15779 (syscall-list-64bit-condition): Define.
15781 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15783 * locale/iso-639.def: Add brx entry.
15786 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15787 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15789 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15790 __feraiseexcept_renamed.
15792 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15795 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15796 EPOLLET with unsigned values.
15797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15800 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15801 to large cancellation.
15802 * math/s_cacoshf.c: Likewise.
15803 * math/s_cacoshl.c: Likewise.
15805 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15809 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15810 * math/s_cacoshf.c: Likewise.
15811 * math/s_cacoshl.c: Likewise.
15813 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15816 * iconv/gconv.h: Define __GCONV_SWAP.
15817 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15818 * iconvdata/utf-16.c: Likewise.
15819 * iconvdata/utf-32.c: Likewise.
15821 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15825 numerator after shifting it by one limb.
15827 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15829 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15830 under [__USE_EXTERN_INLINES].
15832 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15835 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15837 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15839 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15840 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15842 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15843 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15844 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15845 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15846 for strncasecmp/strncasecmp_l compilation.
15847 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15848 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15850 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15853 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15856 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15859 * time/tzfile.c (__tzfile_read): Check values from file header.
15861 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15863 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15864 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15865 * powerpc/powerpc32/dl-start.S: Likewise.
15866 * powerpc/powerpc32/elf/start.S: Likewise.
15867 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15868 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15869 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15870 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15871 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15872 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15873 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15874 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15875 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15876 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15877 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15878 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15879 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15880 * powerpc/powerpc32/memset.S: Likewise.
15881 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15882 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15883 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15884 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15885 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15886 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15887 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15888 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15889 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15890 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15891 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15892 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15893 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15895 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897 * math/libm-test.inc: Added more nearbyint tests.
15898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15899 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15900 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15901 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15903 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15905 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15908 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15910 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15911 Add wcscpy-ssse3 wcscpy-c.
15912 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15913 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15914 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15915 * sysdeps/x86_64/wcschr.S: New file.
15916 * sysdeps/x86_64/wcsrchr.S: New file.
15917 * string/test-strcmp.c: Remove checking of wcscmp function for
15919 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15920 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15921 wcsrchr-sse2 wcsrchr-c.
15922 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15923 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15924 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15925 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15926 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15927 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15928 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15929 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15930 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15931 * wcsmbc/wcschr.c (WCSCHR): New macro.
15933 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15935 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15936 * wcsmbs/test-wcsrchr.c: New file.
15937 * string/test-strrchr.c: Add wcsrchr support.
15939 * wcsmbs/test-wcscpy.c: New file.
15940 * string/test-strcpy.c: Add wcscpy support.
15943 2011-12-10 Ulrich Drepper <drepper@gmail.com>
15945 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15948 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15951 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15953 2011-12-04 Ulrich Drepper <drepper@gmail.com>
15955 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15956 Minor optimizations.
15958 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15959 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15960 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15962 2011-12-03 Ulrich Drepper <drepper@gmail.com>
15964 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15965 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15966 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15967 for gcc to avoid warnings.
15968 * inet/Makefile (tests): Add tst-checks.
15969 * inet/tst-checks.c: New file.
15971 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15974 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15977 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15978 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15980 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15982 2011-12-02 Ulrich Drepper <drepper@gmail.com>
15984 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15987 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15989 2011-11-29 Joseph Myers <joseph@codesourcery.com>
15991 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15992 conditional on GCC version.
15993 (__arch_compare_and_exchange_val_8_acq)
15994 (__arch_compare_and_exchange_val_16_acq)
15995 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15996 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15997 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15999 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/sh/backtrace.c: New file.
16003 2011-12-02 Andreas Schwab <schwab@redhat.com>
16005 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16008 2011-12-01 Andreas Schwab <schwab@redhat.com>
16010 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16011 falling back to utime.
16013 2011-11-30 Andreas Schwab <schwab@redhat.com>
16015 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16016 expectations for float.
16018 2011-11-29 Andreas Schwab <schwab@redhat.com>
16020 * locale/weight.h (findidx): Add parameter len.
16021 * locale/weightwc.h (findidx): Likewise.
16022 * posix/fnmatch_loop.c (FCT): Adjust caller.
16023 * posix/regcomp.c (build_equiv_class): Likewise.
16024 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16025 * posix/regexec.c (check_node_accept_bytes): Likewise.
16026 * string/strcoll_l.c (STRCOLL): Likewise.
16027 * string/strxfrm_l.c (STRXFRM): Likewise.
16029 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16031 * Makefile.in: Remove CVSOPT handling.
16032 * configure.in: Remove use of AC_REVISION.
16033 * iconvdata/Makefile (distribute): No need to filter out CVS.
16034 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16037 2011-11-16 Andreas Schwab <schwab@redhat.com>
16039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16040 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16041 [USE_AS_STRNCASECMP_L]: Likewise.
16042 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16043 NO_TLS_DIRECT_SEG_REFS.
16044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16045 Fix argument offsets for non-PIC.
16046 [USE_AS_STRNCASECMP_L]: Likewise.
16047 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16048 NO_TLS_DIRECT_SEG_REFS.
16050 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16052 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16054 * locale/loadlocale.c (_nl_load_locale): Likewise.
16056 2011-11-15 Andreas Schwab <schwab@redhat.com>
16058 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16059 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16061 (SYSCALL_GETTIME): Set errno on error.
16063 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16064 count references to noai6ai_cached.
16066 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16068 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16070 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16071 FD_CLOEXEC for /proc/self/maps.
16073 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16074 FD_CLOEXEC for /proc/meminfo.
16076 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16079 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16080 FD_CLOEXEC for given file.
16082 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16084 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16085 FD_CLOEXEC for /etc/hosts.
16086 (_gethtent): Likewise.
16088 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16090 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16091 cancellation and set FD_CLOEXEC for /etc/netgroup.
16093 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16094 reading /etc/publickey.
16096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16097 allow cancellation when reading /etc/group.
16099 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16101 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16103 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16104 when using data file.
16106 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16108 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16109 (write_nis_obj): Use "c" and "e" in fopen.
16111 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16113 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16115 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16117 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16119 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16122 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16124 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16126 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16128 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16129 file parsing and set FD_CLOEXEC.
16131 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16133 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16135 2011-11-14 Andreas Schwab <schwab@redhat.com>
16137 * malloc/arena.c (arena_get2): Don't call reused_arena when
16138 _int_new_arena failed.
16140 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16142 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16143 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16145 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16146 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16148 to compile strcasecmp and strncasecmp.
16149 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16150 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16154 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16156 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16157 locale-defines.sym to gen-as-const-headers.
16158 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16159 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16161 to compile strcasecmp and strncasecmp.
16162 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16163 strcasecmp_l and strncasecmp_l.
16164 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16165 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16166 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16167 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16168 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16169 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16170 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16171 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16172 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16173 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16174 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16176 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16178 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16179 result of SYSDEP_GETTIME_CPU to retval.
16180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16181 parameter list to macro. Remove trailing semicolon. Adjust users.
16183 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16186 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16190 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16191 from unused variable.
16193 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16195 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16198 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16201 * sunrpc/rpc_prot.c (rejected): Fix case value.
16203 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16204 unsigned long long int to avoid warnings in shift.
16206 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16208 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16212 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16213 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16215 * nis/nis_table.c (nis_list): Use variable of correct type for
16216 result of __follow_path call.
16218 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16220 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16221 of math functions ceil, trunc, floor, round, and sqrt, when
16222 avaliable on the platform.
16223 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16225 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16226 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16227 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16229 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16231 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16234 2011-11-11 Roland McGrath <roland@hack.frob.com>
16236 * include/unistd.h: Fix __readlink return type.
16237 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16239 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16241 * stdlib/ucontext.h: Undo last change for makecontext.
16243 2011-11-11 Andreas Schwab <schwab@redhat.com>
16245 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16247 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16248 * setjmp/setjmp.h: Mark functions as non-leaf.
16249 * setjmp/bits/setjmp2.h: Likewise.
16250 * stdlib/ucontext.h: Likewise.
16252 2011-11-10 Andreas Schwab <schwab@redhat.com>
16254 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16255 (reused_arena): Don't check arena limit.
16256 (arena_get2): Atomically check arena limit.
16258 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16260 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16261 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16266 2011-11-07 Andreas Schwab <schwab@redhat.com>
16268 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16269 handler when locking.
16271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16272 Fix size of allocated buffer.
16274 2011-11-04 Andreas Schwab <schwab@redhat.com>
16277 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16278 declarations for long double functions.
16279 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16281 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16283 2011-11-03 Andreas Schwab <schwab@redhat.com>
16285 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16288 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16291 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16293 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16295 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16297 * include/alloca.h (stackinfo_alloca_round): Define.
16298 (extend_alloca): Use it.
16299 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16300 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16303 * scripts/check-local-headers.sh: Ignore libaudit.h.
16305 * nscd/Makefile (extra-objs): Make recursively expanded.
16307 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16309 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16312 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16313 * posix/tst-rfc3484-2.c: Likewise.
16314 * posix/tst-rfc3484-3.c: Likewise.
16316 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16318 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16320 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16321 process_vm_writev from libc using GLIBC_2.15 version.
16323 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16325 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16327 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16330 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16333 * nss/getent.c (initgroups_keys): Show error message in case no group
16336 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16337 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16338 __bump_nl_timestamp.
16339 * nscd/connections (nscd_init): When host database is served open
16340 netlink socket and request notification about configuration changes.
16341 (main_loop_poll): Track netlink file descriptor and bump timestamp
16342 in case data becomes available.
16343 (main_loop_epoll): Likewise.
16344 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16345 (database_pers_head): Add extra_data fileds.
16346 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16348 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16351 in6ai data, call __free_in6ai.
16352 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16353 Add -DHAVE_NETLINK.
16354 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16355 interface information. Reuse previous data if netlink timestamp
16357 (__bump_nl_timestamp): New function.
16358 (__free_in6ai): New function.
16360 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16363 close_not_cancel_no_status here.
16364 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16366 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16369 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16372 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16373 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16374 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16376 2011-07-03 Andreas Jaeger <aj@suse.de>
16379 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16380 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16381 * math/libm-test.inc (sin_test): Add test case.
16383 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16386 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16387 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16389 * elf/chroot_canon.c (chroot_canon): Cleanups.
16391 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16394 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16395 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16397 * string/test-strchr.c: Make usable for strchrnul testing.
16398 * string/test-strchrnul.c: New file.
16399 * string/Makefile (strop-tests): Add strchrnul.
16401 * po/it.po: Update from translation team.
16402 * po/es.po: Likewise.
16404 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16407 the three constants needed as parameters. Drop the others.
16408 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16409 __m128i_strloadu_tolower.
16410 Create and initialize variable zero and use it in all the places
16411 where _mm_setzero_si128 was used.
16413 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16414 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16415 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16416 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16418 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16419 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16420 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16421 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16422 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16423 __mpranred, __mptan.
16424 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16425 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16426 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16427 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16428 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16429 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16431 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16432 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16434 2011-10-28 Andreas Schwab <schwab@redhat.com>
16436 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16437 redefine if SHARED.
16438 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16441 wide char related routines to wcsmbs subdir.
16443 2011-10-27 Andreas Schwab <schwab@redhat.com>
16446 * misc/sys/cdefs.h (__THROWNL): Define.
16447 * posix/unistd.h: Use __THREADNL instead of __THREAD
16448 for memory synchronization functions.
16450 2011-10-26 Roland McGrath <roland@hack.frob.com>
16453 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16455 * manual/stdio.texi (Obstack Streams): Node removed.
16457 2011-10-26 Andreas Schwab <schwab@redhat.com>
16459 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16460 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16463 * math/math_private.h (math_force_eval): Allow non-addressable
16465 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16467 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16469 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16470 file is not needed.
16472 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16475 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16481 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16482 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16483 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16484 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16485 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16486 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16487 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16488 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16489 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16490 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16491 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16492 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16494 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16495 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16496 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16497 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16498 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16499 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16501 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16502 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16505 place. Use VEX encoding when compiling for AVX.
16507 2011-10-25 Andreas Schwab <schwab@redhat.com>
16509 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16510 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16512 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16516 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16517 useless if() expression.
16518 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16522 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16523 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16524 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16528 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16529 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16530 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16531 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16532 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16534 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16535 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16536 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16538 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16540 2011-10-25 Andreas Schwab <schwab@redhat.com>
16542 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16544 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16546 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16548 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16549 .text section. Avoid duplicate constants.
16550 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16560 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16562 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16565 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16567 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16573 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16574 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16575 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16576 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16577 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16578 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16579 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16580 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16581 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16582 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16583 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16584 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16585 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16586 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16587 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16588 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16589 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16590 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16591 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16592 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16593 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16594 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16596 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16598 * sysdeps/x86_64/dla.h: Move to ...
16599 * sysdeps/x86_64/fpu/dla.h: ...here.
16600 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16601 situations. Use __builtin_fma only for gcc 4.6 and up.
16603 * config.make.in: Add have-mfma4 entry.
16604 * configure.in: Substitute libc_cv_cc_fma4.
16605 * math/Makefile (dbl-only-routines): Add sincostab.
16606 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16607 Use __sincostab not sincos.
16608 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16610 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16615 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16616 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16617 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16618 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16620 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16621 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16623 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16624 define aliases when function name is a macro.
16625 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16626 sysdeps/ieee754/dbl-64/sincos.tbl.
16627 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16628 fma4-enabled routines.
16629 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16630 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16631 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16632 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16634 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16636 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16638 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16639 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16640 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16641 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16642 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16643 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16644 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16645 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16646 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16647 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16649 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16650 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16652 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16653 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16654 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16655 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16656 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16657 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16658 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16660 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16671 2011-10-24 Andreas Schwab <schwab@redhat.com>
16673 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16675 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16679 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16681 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16683 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16684 Remove unused variable magic_bits.
16685 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16687 * string/strnlen.c: Define and use STRNLEN macro.
16688 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16689 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16691 * wcsmbs/wcslen.c: Define and use WCSLEN.
16692 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16693 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16694 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16695 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16696 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16697 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16698 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16700 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16703 strnlen-sse2-no-bsf.
16704 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16706 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16707 Add strnlen support.
16708 (USE_AS_STRNLEN): New macro.
16709 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16711 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16712 * sysdeps/x86_64/wcslen.S: New file.
16714 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16717 XMM-moves are used for copying on small sizes.
16719 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16721 * wcsmbs/Makefile (strop-tests): Add wcschr.
16722 * wcsmbs/test-wcschr.c: New file.
16723 * string/test-strchr.c: Update.
16724 Add wcschr support.
16727 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16729 * wcsmbs/Makefile (strop-tests): Add wcslen.
16730 * wcsmbs/test-wcslen.c: New file.
16731 * string/test-strlen.c: Update.
16732 Add wcslen support.
16735 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16737 * po/it.po: Update from translation team.
16739 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16741 * sysdeps/x86_64/wcscmp.S: Update.
16742 Fix wrong comparison semantics.
16743 wcscmp shall use signed comparison not unsigned.
16744 Don't use substraction to avoid overflow bug.
16745 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16746 * wcsmbc/wcscmp.c: Likewise.
16747 * string/test-strcmp.c: Likewise.
16748 Add new tests to check cases with negative values.
16750 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16752 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16753 * sysdeps/x86_64/dla.h: ...here. New file.
16754 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16759 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16764 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16767 __ynl_finite aliases.
16769 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16773 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16775 [DLA_FMA] (EMULV): Use DLA_FMA.
16776 [DLA_FMA] (MUL12): Use EMULV.
16777 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16778 that are not needed.
16779 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16787 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16789 * math/s_nan.c: Undef __nan.
16790 * math/s_nanf.c: Undef __nanf.
16791 * math/s_nanl.c: Undef __nanl.
16792 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16795 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16797 * math/s_catan.c: Add branch predictions.
16798 * math/s_catanf.c: Likewise.
16799 * math/s_catanh.c: Likewise.
16800 * math/s_catanhf.c: Likewise.
16801 * math/s_catanhl.c: Likewise.
16802 * math/s_catanl.c: Likewise.
16803 * math/s_cexp.c: Likewise.
16804 * math/s_cexpf.c: Likewise.
16805 * math/s_cexpl.c: Likewise.
16806 * math/s_clog.c: Likewise.
16807 * math/s_clog10.c: Likewise.
16808 * math/s_clog10f.c: Likewise.
16809 * math/s_clog10l.c: Likewise.
16810 * math/s_clogf.c: Likewise.
16811 * math/s_clogl.c: Likewise.
16812 * math/s_csqrt.c: Likewise.
16813 * math/s_csqrtf.c: Likewise.
16814 * math/s_csqrtl.c: Likewise.
16815 * math/s_ctanf.c: Likewise.
16816 * math/s_ctanh.c: Likewise.
16817 * math/s_ctanhf.c: Likewise.
16818 * math/s_ctanhl.c: Likewise.
16819 * math/s_ctanl.c: Likewise.
16821 * math/math_private.h: Define __nan, __nanf, __nanl.
16822 * math/s_cacosh.c: Include <math_private.h>.
16823 * math/s_cacoshl.c: Likewise.
16824 * math/s_casinh.c: Likewise.
16825 * math/s_casinhf.c: Likewise.
16826 * math/s_casinhl.c: Likewise.
16827 * math/s_ccos.c: Rely entire on ccosh.
16828 * math/s_ccosf.c: Rely entire on ccoshf.
16829 * math/s_ccosl.c: Rely entirely on ccoshl.
16830 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16831 Remove tests for FE_INVALID.
16832 * math/s_ccoshf.c: Likewise.
16833 * math/s_ccoshl.c: Likewise.
16834 * math/s_csin.c: Likewise.
16835 * math/s_csinf.c: Likewise.
16836 * math/s_csinh.c Likewise.
16837 * math/s_csinhf.c: Likewise.
16838 * math/s_csinhl.c: Likewise.
16839 * math/s_csinl.c: Likewise.
16840 * math/s_ctan.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16842 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16845 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16848 compilation problems.
16850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16853 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16855 * sysdeps/i386/configure.in: Test for -mfma4 option.
16856 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16857 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16858 COMMON_CPUID_INDEX_80000001.
16859 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16860 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16861 use it if FMA3 is not supported.
16862 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16864 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16865 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16867 2011-10-20 Andreas Schwab <schwab@redhat.com>
16870 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16871 it would create a cycle with a link time dependency.
16873 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16875 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16877 * string/Makefile (strop-tests): Add rawmemchr.
16878 * string/test-rawmemchr.c: New file.
16880 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16882 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16883 when compiling str{,n}casecmp and when AVX is available. Hook up
16884 new optimized code in initializers.
16886 2011-10-19 Andreas Schwab <schwab@redhat.com>
16888 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16889 __feraiseexcept instead of feraiseexcept.
16891 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16893 * math/math_private.h: Define defaults for libc_fetestexcept and
16895 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16896 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16897 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16899 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16900 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16901 libc_fetestexcept and libc_feupdateenv.
16903 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16904 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16905 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16906 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16907 libc_feholdexcept_setround.
16909 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16910 Add s_nearbyint-c and s_nearbyintf-c.
16911 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16912 nearbyintf inlines.
16913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16914 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16915 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16916 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16918 * math/math_private.h: Define defaults for libc_fegetround,
16919 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16920 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16921 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16923 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16924 standard functions.
16925 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16926 Remove comments and hacks for old compiler versions.
16927 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16928 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16929 libc_feholdexceptl.
16931 2011-10-18 Andreas Schwab <schwab@redhat.com>
16933 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16934 (__feraiseexcept_renamed): Add __NTH.
16935 (feraiseexcept): Add __NTH. Rename local variables to fix
16936 namespace violations.
16938 2011-10-17 Ulrich Drepper <drepper@gmail.com>
16940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16942 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16944 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16945 recently added interfaces.
16946 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16948 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16949 about macro parameter expansion.
16951 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16952 __NO_MATH_INLINES is defined. Cleanups.
16954 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16955 and __floorf is target has SSE4.1.
16956 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16957 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16958 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16959 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16961 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16963 (floorf): Likewise.
16965 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16967 2011-10-17 Andreas Schwab <schwab@redhat.com>
16969 * misc/sys/cdefs.h: Fix last change.
16971 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16974 2011-10-16 Ulrich Drepper <drepper@gmail.com>
16976 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16978 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16984 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16985 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16987 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16988 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16989 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16990 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16991 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16992 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16993 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16994 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16995 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16996 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16997 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16998 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16999 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17001 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17002 ceil, ceilf, floor, floorf.
17004 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17005 Perform IRELATIVE relocations last.
17007 * elf/do-rel.h: Add another parameter nrelative, replacing the
17008 local variable with the same name. Change name of the function
17009 to end in Rel or Rela (uppercase).
17010 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17011 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17012 elf_dynamic_do_##reloc function.
17014 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17016 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17017 is sufficient, at least on modern CPUs.
17019 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17021 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17022 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17024 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17026 * math/bits/math-finite.h: Add entries for exp.
17027 * math/e_expl.c: Add __*_finite alias.
17028 * sysdeps/i386/fpu/e_exp.S: Likewise.
17029 * sysdeps/i386/fpu/e_expf.S: Likewise.
17030 * sysdeps/i386/fpu/e_expl.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17032 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17036 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17037 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17039 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17040 is sufficient, at least on modern CPUs.
17042 * ctype/ctype-info.c (__ctype_init): Define.
17043 * include/ctype.h (__ctype_init): Declare.
17044 (__ctype_b_loc): The variable is always initialized.
17045 (__ctype_toupper_loc): Likewise.
17046 (__ctype_tolower_loc): Likewise.
17047 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17048 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17050 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17052 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17054 * configure.in: Also look in $cxxmachine/include for C++ system
17057 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17059 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17060 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17061 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17062 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17063 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17064 (USE_AS_WMEMCMP): New macro.
17066 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17067 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17068 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17069 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17071 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17072 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17073 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17074 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17075 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17076 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17077 (USE_AS_WMEMCMP): New macro.
17078 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17079 * sysdeps/string/test-memcmp.c: Update.
17080 Fix simple_wmemcmp.
17082 * wcsmbs/wmemcmp.c: Update.
17083 (WMEMCMP): New macro.
17086 2011-10-12 Andreas Jaeger <aj@suse.de>
17089 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17091 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17093 * libio/iofwide.c (do_length): Avoid warning.
17095 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17097 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17099 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17101 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17102 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17103 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17104 * sysdeps/i386/i686/fpu/e_log.S: New file.
17105 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17106 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17108 * ctype/ctype.h: Add support for inlined isXXX functions when
17109 compiling C++ code.
17111 2011-10-14 Andreas Schwab <schwab@redhat.com>
17113 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17115 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17117 2011-10-13 Roland McGrath <roland@hack.frob.com>
17120 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17122 2011-10-13 Andreas Schwab <schwab@redhat.com>
17124 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17125 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17128 * sysdeps/x86_64/memrchr.S: Check for zero size.
17130 * string/stratcliff.c: Add memrchr tests.
17132 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17135 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17136 rawmemchr-sse2 rawmemchr-sse2-bsf.
17137 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17138 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17139 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17140 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17141 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17142 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17143 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17144 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17145 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17146 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17147 * string/memrchr.c (MEMRCHR): New macro.
17149 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17151 Add integration with gcc's -ffinite-math-only and optimize wrapper
17153 * Versions.def: Define GLIBC_2.15 version for libm.
17154 * math/Makefile (headers): Add bits/math-finite.h.
17155 * math/bits/math-finite.h: New file.
17156 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17157 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17158 * math/e_acoshl.c: Add __*_finite alias.
17159 * math/e_acosl.c: Likewise.
17160 * math/e_asinl.c: Likewise.
17161 * math/e_atan2l.c: Likewise.
17162 * math/e_atanhl.c: Likewise.
17163 * math/e_coshl.c: Likewise.
17164 * math/e_exp10.c: Likewise.
17165 * math/e_exp10f.c: Likewise.
17166 * math/e_exp10l.c: Likewise.
17167 * math/e_exp2l.c: Likewise.
17168 * math/e_fmodl.c: Likewise.
17169 * math/e_gammal_r.c: Likewise.
17170 * math/e_hypotl.c: Likewise.
17171 * math/e_j0l.c: Likewise.
17172 * math/e_j1l.c: Likewise.
17173 * math/e_jnl.c: Likewise.
17174 * math/e_lgammal_r.c: Likewise.
17175 * math/e_log10l.c: Likewise.
17176 * math/e_log2l.c: Likewise.
17177 * math/e_logl.c: Likewise.
17178 * math/e_powl.c: Likewise.
17179 * math/e_sinhl.c: Likewise.
17180 * math/e_sqrtl.c: Likewise.
17181 * math/e_scalb.c: Completely rewritten and optimized.
17182 * math/e_scalbf.c: Likewise.
17183 * math/e_scalbl.c: Likewise.
17184 * math/w_acos.c: Likewise.
17185 * math/w_acosf.c: Likewise.
17186 * math/w_acosl.c: Likewise.
17187 * math/w_acosh.c: Likewise.
17188 * math/w_acoshf.c: Likewise.
17189 * math/w_acoshl.c: Likewise.
17190 * math/w_asin.c: Likewise.
17191 * math/w_asinf.c: Likewise.
17192 * math/w_asinl.c: Likewise.
17193 * math/w_atan2.c: Likewise.
17194 * math/w_atan2f.c: Likewise.
17195 * math/w_atan2l.c: Likewise.
17196 * math/w_atanh.c: Likewise.
17197 * math/w_atanhf.c: Likewise.
17198 * math/w_atanhl.c: Likewise.
17199 * math/w_exp10.c: Likewise.
17200 * math/w_exp10f.c: Likewise.
17201 * math/w_exp10l.c: Likewise.
17202 * math/w_fmod.c: Likewise.
17203 * math/w_fmodf.c: Likewise.
17204 * math/w_fmodl.c: Likewise.
17205 * math/w_j0.c: Likewise.
17206 * math/w_j0f.c: Likewise.
17207 * math/w_j0l.c: Likewise.
17208 * math/w_j1.c: Likewise.
17209 * math/w_j1f.c: Likewise.
17210 * math/w_j1l.c: Likewise.
17211 * math/w_jn.c: Likewise.
17212 * math/w_jnf.c: Likewise.
17213 * math/w_log.c: Likewise.
17214 * math/w_logf.c: Likewise.
17215 * math/w_logl.c: Likewise.
17216 * math/w_log10.c: Likewise.
17217 * math/w_log10f.c: Likewise.
17218 * math/w_log10l.c: Likewise.
17219 * math/w_log2.c: Likewise.
17220 * math/w_log2f.c: Likewise.
17221 * math/w_log2l.c: Likewise.
17222 * math/w_pow.c: Likewise.
17223 * math/w_powf.c: Likewise.
17224 * math/w_powl.c: Likewise.
17225 * math/w_remainder.c: Likewise.
17226 * math/w_remainderf.c: Likewise.
17227 * math/w_remainderl.c: Likewise.
17228 * math/w_scalb.c: Likewise.
17229 * math/w_scalbf.c: Likewise.
17230 * math/w_scalbl.c: Likewise.
17231 * math/w_sqrt.c: Likewise.
17232 * math/w_sqrtf.c: Likewise.
17233 * math/w_sqrtl.c: Likewise.
17234 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17235 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17237 * math/math_private.h: Declare __kernel_standard_f.
17238 * math/w_cosh.c: Remove cruft and optimize a bit.
17239 * math/w_coshf.c: Likewise.
17240 * math/w_coshl.c: Likewise.
17241 * math/w_exp2.c: Likewise.
17242 * math/w_exp2f.c: Likewise.
17243 * math/w_exp2l.c: Likewise.
17244 * math/w_hypot.c: Likewise.
17245 * math/w_hypotf.c: Likewise.
17246 * math/w_hypotl.c: Likewise.
17247 * math/w_lgamma.c: Likewise.
17248 * math/w_lgamma_r.c: Likewise.
17249 * math/w_lgammaf.c: Likewise.
17250 * math/w_lgammaf_r.c: Likewise.
17251 * math/w_lgammal.c: Likewise.
17252 * math/w_lgammal_r.c: Likewise.
17253 * math/w_sinh.c: Likewise.
17254 * math/w_sinhf.c: Likewise.
17255 * math/w_sinhl.c: Likewise.
17256 * math/w_tgamma.c: Likewise.
17257 * math/w_tgammaf.c: Likewise.
17258 * math/w_tgammal.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17260 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17261 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17262 Minor optimizations. Pretty printing. Remove cruft.
17263 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17264 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17265 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17266 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17267 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17268 * sysdeps/i386/fpu/e_asin.S: Likewise.
17269 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17270 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17271 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17272 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17273 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17274 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17275 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17276 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17277 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17278 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17279 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17280 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17281 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17282 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17283 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17284 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17285 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17286 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17287 * sysdeps/i386/fpu/e_log.S: Likewise.
17288 * sysdeps/i386/fpu/e_log10.S: Likewise.
17289 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17290 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17291 * sysdeps/i386/fpu/e_log2.S: Likewise.
17292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17293 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17294 * sysdeps/i386/fpu/e_logf.S: Likewise.
17295 * sysdeps/i386/fpu/e_logl.S: Likewise.
17296 * sysdeps/i386/fpu/e_pow.S: Likewise.
17297 * sysdeps/i386/fpu/e_powf.S: Likewise.
17298 * sysdeps/i386/fpu/e_powl.S: Likewise.
17299 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17300 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17301 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17302 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17303 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17304 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17305 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17306 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17307 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17329 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17330 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17331 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17332 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17333 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17334 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17346 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17347 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17348 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17349 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17399 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17401 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17402 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17403 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17404 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17405 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17406 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17407 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17408 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17409 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17410 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17411 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17412 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17413 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17416 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17417 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17418 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17419 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17420 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17421 (__isnanf): Likewise.
17422 (__isinf_ns): Likewise.
17423 (__isinf_nsf): Likewise.
17424 (__finite): Likewise.
17425 (__finitef): Likewise.
17426 (__ieee754_sqrt): Define as macro.
17427 (__ieee754_sqrtf): Define as macro.
17428 (__ieee754_sqrtl): Define as macro.
17429 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17431 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17432 __FINITE_MATH_ONLY__ consistent.
17433 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17435 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17437 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17440 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17442 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17444 * po/ja.po: Update from translation team.
17446 2011-10-08 Roland McGrath <roland@hack.frob.com>
17448 * locale/programs/locarchive.c (prepare_address_space): New function.
17449 (create_archive, enlarge_archive, open_archive): Use it.
17451 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17452 inside [SHARED], where it is used.
17454 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17456 * nss/getent.c (netgroup_keys): Remove unused variable.
17457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17459 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17461 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17464 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17465 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17466 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17467 * math/Makefile (libm-calls): Add s_isinf_ns.
17468 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17469 * math/multc3.c: Likewise.
17470 * math/s_casin.c: Likewise.
17471 * math/s_casinf.c: Likewise.
17472 * math/s_casinl.c: Likewise.
17473 * math/s_ccos.c: Likewise.
17474 * math/s_ccosf.c: Likewise.
17475 * math/s_ccosl.c: Likewise.
17476 * math/s_ctan.c: Likewise.
17477 * math/s_ctanf.c: Likewise.
17478 * math/s_ctanh.c: Likewise.
17479 * math/s_ctanhf.c: Likewise.
17480 * math/s_ctanhl.c: Likewise.
17481 * math/s_ctanl.c: Likewise.
17482 * math/w_fmod.c: Likewise.
17483 * math/w_fmodf.c: Likewise.
17484 * math/w_fmodl.c: Likewise.
17485 * math/w_remainder.c: Likewise.
17486 * math/w_remainderf.c: Likewise.
17487 * math/w_remainderl.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17489 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17492 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17493 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17494 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17495 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17497 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17499 * stdio-common/printf_fphex.c: Likewise.
17500 * stdio-common/printf_size.c: Likewise.
17502 * math/e_exp10.c: Include math_private.h using <...> not "...".
17503 * math/e_exp10f.c: Likewise.
17504 * math/e_exp10l.c: Likewise.
17505 * math/e_exp2l.c: Likewise.
17506 * math/e_j0l.c: Likewise.
17507 * math/e_j1l.c: Likewise.
17508 * math/e_jnl.c: Likewise.
17509 * math/e_lgammal_r.c: Likewise.
17510 * math/e_rem_pio2l.c: Likewise.
17511 * math/e_scalb.c: Likewise.
17512 * math/e_scalbf.c: Likewise.
17513 * math/e_scalbl.c: Likewise.
17514 * math/k_cosl.c: Likewise.
17515 * math/k_sinl.c: Likewise.
17516 * math/k_tanl.c: Likewise.
17517 * math/s_cacoshf.c: Likewise.
17518 * math/s_catan.c: Likewise.
17519 * math/s_catanf.c: Likewise.
17520 * math/s_catanh.c: Likewise.
17521 * math/s_catanhf.c: Likewise.
17522 * math/s_catanhl.c: Likewise.
17523 * math/s_catanl.c: Likewise.
17524 * math/s_ccosh.c: Likewise.
17525 * math/s_ccoshf.c: Likewise.
17526 * math/s_ccoshl.c: Likewise.
17527 * math/s_cexp.c: Likewise.
17528 * math/s_cexpf.c: Likewise.
17529 * math/s_cexpl.c: Likewise.
17530 * math/s_clog.c: Likewise.
17531 * math/s_clog10.c: Likewise.
17532 * math/s_clog10f.c: Likewise.
17533 * math/s_clog10l.c: Likewise.
17534 * math/s_clogf.c: Likewise.
17535 * math/s_clogl.c: Likewise.
17536 * math/s_csin.c: Likewise.
17537 * math/s_csinf.c: Likewise.
17538 * math/s_csinh.c: Likewise.
17539 * math/s_csinhf.c: Likewise.
17540 * math/s_csinhl.c: Likewise.
17541 * math/s_csinl.c: Likewise.
17542 * math/s_csqrt.c: Likewise.
17543 * math/s_csqrtf.c: Likewise.
17544 * math/s_csqrtl.c: Likewise.
17545 * math/s_ctan.c: Likewise.
17546 * math/s_ctanf.c: Likewise.
17547 * math/s_ctanh.c: Likewise.
17548 * math/s_ctanhf.c: Likewise.
17549 * math/s_ctanhl.c: Likewise.
17550 * math/s_ctanl.c: Likewise.
17551 * math/s_ldexp.c: Likewise.
17552 * math/s_ldexpf.c: Likewise.
17553 * math/s_ldexpl.c: Likewise.
17554 * math/s_significand.c: Likewise.
17555 * math/s_significandf.c: Likewise.
17556 * math/s_significandl.c: Likewise.
17557 * math/w_acos.c: Likewise.
17558 * math/w_acosf.c: Likewise.
17559 * math/w_acosh.c: Likewise.
17560 * math/w_acoshf.c: Likewise.
17561 * math/w_acoshl.c: Likewise.
17562 * math/w_acosl.c: Likewise.
17563 * math/w_asin.c: Likewise.
17564 * math/w_asinf.c: Likewise.
17565 * math/w_asinl.c: Likewise.
17566 * math/w_atan2.c: Likewise.
17567 * math/w_atan2f.c: Likewise.
17568 * math/w_atan2l.c: Likewise.
17569 * math/w_atanh.c: Likewise.
17570 * math/w_atanhf.c: Likewise.
17571 * math/w_atanhl.c: Likewise.
17572 * math/w_cosh.c: Likewise.
17573 * math/w_coshf.c: Likewise.
17574 * math/w_coshl.c: Likewise.
17575 * math/w_dremf.c: Likewise.
17576 * math/w_exp10.c: Likewise.
17577 * math/w_exp10f.c: Likewise.
17578 * math/w_exp10l.c: Likewise.
17579 * math/w_exp2.c: Likewise.
17580 * math/w_exp2f.c: Likewise.
17581 * math/w_fmod.c: Likewise.
17582 * math/w_fmodf.c: Likewise.
17583 * math/w_fmodl.c: Likewise.
17584 * math/w_hypot.c: Likewise.
17585 * math/w_hypotf.c: Likewise.
17586 * math/w_hypotl.c: Likewise.
17587 * math/w_j0.c: Likewise.
17588 * math/w_j0f.c: Likewise.
17589 * math/w_j0l.c: Likewise.
17590 * math/w_j1.c: Likewise.
17591 * math/w_j1f.c: Likewise.
17592 * math/w_j1l.c: Likewise.
17593 * math/w_jn.c: Likewise.
17594 * math/w_jnf.c: Likewise.
17595 * math/w_jnl.c: Likewise.
17596 * math/w_lgamma.c: Likewise.
17597 * math/w_lgamma_r.c: Likewise.
17598 * math/w_lgammaf.c: Likewise.
17599 * math/w_lgammaf_r.c: Likewise.
17600 * math/w_lgammal.c: Likewise.
17601 * math/w_lgammal_r.c: Likewise.
17602 * math/w_log.c: Likewise.
17603 * math/w_log10.c: Likewise.
17604 * math/w_log10f.c: Likewise.
17605 * math/w_log10l.c: Likewise.
17606 * math/w_log2.c: Likewise.
17607 * math/w_log2f.c: Likewise.
17608 * math/w_log2l.c: Likewise.
17609 * math/w_logf.c: Likewise.
17610 * math/w_logl.c: Likewise.
17611 * math/w_pow.c: Likewise.
17612 * math/w_powf.c: Likewise.
17613 * math/w_powl.c: Likewise.
17614 * math/w_remainder.c: Likewise.
17615 * math/w_remainderf.c: Likewise.
17616 * math/w_remainderl.c: Likewise.
17617 * math/w_scalb.c: Likewise.
17618 * math/w_scalbf.c: Likewise.
17619 * math/w_scalbl.c: Likewise.
17620 * math/w_sinh.c: Likewise.
17621 * math/w_sinhf.c: Likewise.
17622 * math/w_sinhl.c: Likewise.
17623 * math/w_sqrt.c: Likewise.
17624 * math/w_sqrtf.c: Likewise.
17625 * math/w_sqrtl.c: Likewise.
17626 * math/w_tgamma.c: Likewise.
17627 * math/w_tgammaf.c: Likewise.
17628 * math/w_tgammal.c: Likewise.
17630 * po/ja.po: Update from translation team.
17632 2011-09-29 Andreas Jaeger <aj@suse.de>
17635 * sunrpc/netname.c (netname2host): Fix logic.
17639 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17641 * math/w_remainder.c (__remainder): Likewise.
17642 * math/w_remainderf.c (__remainderf): Likewise.
17643 * math/libm-test.inc (remainder_test): Add test cases.
17645 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17647 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17650 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17652 * string/test-memcmp.c: Avoid unncessary #defines.
17653 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17655 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17657 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17658 Use new sse2 version for core i3 - i7 as it's faster
17659 than sse42 version.
17660 (bit_Prefer_PMINUB_for_stringop): New.
17661 * sysdeps/x86_64/rawmemchr.S: Update.
17662 Replace with faster SSE2 version.
17663 * sysdeps/x86_64/memrchr.S: New file.
17664 * sysdeps/x86_64/memchr.S: Update.
17665 Replace with faster SSE2 version.
17667 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17669 * elf/dl-load.c (lose): Add cast to avoid warning.
17671 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17673 * po/ca.po: Update from translation team.
17675 * inet/getnetgrent_r.c: Hook up nscd.
17676 * nscd/Makefile (routines): Add nscd_netgroup.
17677 (nscd-modules): Add netgroupcache.
17678 (CFLAGS-netgroupcache.c): Define.
17679 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17680 (cache_search): Add const to second parameter.
17681 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17683 (dbs): Add netgrdb entry.
17684 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17685 (verify_persistent_db): Handle netgrdb.
17686 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17687 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17689 (netgroup_response_header): Define.
17690 (innetgroup_response_header): Define.
17691 (datahead): Add netgroup_response_header and innetgroup_response_header
17693 * nscd/nscd.conf: Add entries for netgroup cache.
17694 * nscd/nscd.h (dbtype): Add netgrdb.
17695 (_PATH_NSCD_NETGROUP_DB): Define.
17696 (netgroup_iov_disabled): Declare.
17697 (xmalloc, xcalloc, xrealloc): Move declarations here.
17698 (cache_search): Adjust prototype.
17699 Add netgroup-related prototypes.
17700 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17701 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17702 (__nscd_innetgr): Declare.
17703 * nscd/selinux.c (perms): Use access_vector_t as element type and
17704 add netgroup-related initializers.
17705 * nscd/netgroupcache.c: New file.
17706 * nscd/nscd_netgroup.c: New file.
17707 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17708 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17709 For four parameters use innetgr.
17710 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17711 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17712 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17713 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17715 * nscd/connections.c (register_traced_file): Don't register file
17716 for disabled databases.
17718 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17720 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17722 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17723 from tree and freeing node.
17725 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17727 * nss/nsswitch.c (__nss_database_lookup): Handle
17728 nss_parse_service_list out of memory case.
17730 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17732 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17733 out of memory case.
17735 2011-10-04 Andreas Schwab <schwab@redhat.com>
17737 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17738 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17740 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17741 elf_machine_rela, elf_machine_lazy_rel.
17742 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17743 (ELF_DYNAMIC_DO_REL): Likewise.
17744 (ELF_DYNAMIC_DO_RELA): Likewise.
17745 (ELF_DYNAMIC_RELOCATE): Likewise.
17746 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17747 to ELF_DYNAMIC_DO_REL.
17748 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17749 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17750 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17752 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17753 skip_ifunc, don't call ifunc function if non-zero.
17754 (elf_machine_rela): Likewise.
17755 (elf_machine_lazy_rel): Likewise.
17756 (elf_machine_lazy_rela): Likewise.
17757 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17758 (elf_machine_lazy_rel): Likewise.
17759 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17761 (elf_machine_lazy_rel): Likewise.
17762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17764 (elf_machine_lazy_rel): Likewise.
17765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17766 (elf_machine_lazy_rel): Likewise.
17767 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17768 (elf_machine_lazy_rel): Likewise.
17769 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17770 (elf_machine_lazy_rel): Likewise.
17771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17772 (elf_machine_lazy_rel): Likewise.
17773 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17774 (elf_machine_lazy_rel): Likewise.
17775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17776 (elf_machine_lazy_rel): Likewise.
17778 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17780 * nss/nss_files/files-init.c (_nss_files_init): Use static
17781 initialization for all the *_traced_file variables.
17783 2011-09-28 Andreas Schwab <schwab@redhat.com>
17785 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17787 2011-09-27 Roland McGrath <roland@hack.frob.com>
17790 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17792 2011-09-27 Andreas Schwab <schwab@redhat.com>
17794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17795 Reread the line before reparsing it.
17797 2011-09-26 Andreas Schwab <schwab@redhat.com>
17799 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17801 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17802 Maxim Kuvyrkov <maxim@codesourcery.com>
17803 Joseph Myers <joseph@codesourcery.com>
17805 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17806 if needed for __stack_chk_guard.
17808 2011-09-19 Roland McGrath <roland@hack.frob.com>
17810 * sysdeps/posix/spawni.c (script_execute): Always define it.
17811 It will be optimized away if unused.
17812 (maybe_script_execute): New function.
17813 (__spawni): Call it.
17815 * Makerules: Don't include tls.make.
17816 (config-tls): Always set to thread.
17817 * tls.make.c: File removed.
17819 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17821 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17822 * config.make.in (CPPFLAGS-config): New substituted variable.
17824 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17826 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17829 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17830 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17832 2011-09-15 Roland McGrath <roland@hack.frob.com>
17834 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17835 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17837 (CALL_FAIL): Likewise.
17838 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17839 (CALL_FAIL): Macro removed.
17840 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17844 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17845 for __FINITE_MATH_ONLY__ == 1.
17847 2011-09-15 Andreas Schwab <schwab@redhat.com>
17849 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17850 __ieee754_sqrt instead of sqrt.
17851 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17852 __ieee754_sqrtf instead of sqrtf.
17853 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17854 __floorf instead of floorf.
17855 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17856 __floorf, __truncf instead of floorf, truncf.
17858 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17860 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17862 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17863 __extern_always_inline.
17864 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17867 2011-09-14 Andreas Schwab <schwab@redhat.com>
17869 * elf/rtld.c (dl_main): Also relocate in dependency order when
17870 doing symbol dependency testing.
17872 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17875 Always define `refsym'.
17877 2011-09-13 Andreas Schwab <schwab@redhat.com>
17879 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17880 (__FD_ELT): Renamed from __FDELT.
17881 * misc/bits/select2.h (__FD_ELT): Likewise.
17882 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17883 __FD_MASK instead of __FDELT, __FDMASK.
17884 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17886 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17889 * elf/Makefile (gen-ldd): Fix pattern.
17891 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17892 (init_tls): Likewise.
17894 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17898 2011-09-12 Andreas Schwab <schwab@redhat.com>
17900 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17901 `struct cmsghdr *' instead of `void *'.
17902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17905 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17907 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17909 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17910 ldd_rewrite_script.
17912 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17914 * configure.in: Remove --with-tls option.
17915 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17916 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17917 out in case it is missing.
17918 * sysdeps/ia64/elf/configure.in: Likewise.
17919 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17920 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17921 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17922 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17923 * sysdeps/sh/elf/configure.in: Likewise.
17924 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17925 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17926 * sysdeps/x86_64/elf/configure.in: Likewise.
17927 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17928 * sysdeps/mach/hurd/tls.h: Likewise.
17931 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17934 * configure.in: Fix use of AC_INIT.
17936 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17938 2011-09-10 Ulrich Drepper <drepper@gmail.com>
17940 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17942 * malloc/hooks.c: Likewise.
17945 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17946 variables statically.
17947 (narenas): Initialize.
17948 (list_lock): Initialize.
17949 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17950 initializtion of main_arena and list_lock. Small cleanups.
17951 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17952 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17953 Add initializers to main_arena and mp_.
17954 (malloc_state): Remove pagesize member. Change all users to use
17957 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17958 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17959 is always initialized.
17961 * malloc/malloc.c: Removed unused configurations and dead code.
17962 * malloc/arena.c: Likewise.
17963 * malloc/hooks.c: Likewise.
17964 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17966 * include/tls.h: Removed. USE___THREAD must always be defined.
17967 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17968 * elf/dl-libc.c: Likewise.
17969 * elf/dl-tsd.c: Likewise.
17970 * include/errno.h: Likewise.
17971 * include/netdb.h: Likewise.
17972 * include/resolv.h: Likewise.
17973 * inet/herrno-loc.c: Likewise.
17974 * inet/herrno.c: Likewise.
17975 * malloc/arena.c: Likewise.
17976 * malloc/hooks.c: Likewise.
17977 * malloc/malloc.c: Likewise.
17978 * resolv/res-state.c: Likewise.
17979 * resolv/res_libc.c: Likewise.
17980 * sysdeps/i386/dl-machine.h: Likewise.
17981 * sysdeps/ia64/dl-machine.h: Likewise.
17982 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17983 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17984 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17985 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17986 * sysdeps/sh/dl-machine.h: Likewise.
17987 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17988 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17989 * sysdeps/unix/i386/sysdep.S: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17991 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18000 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18001 * sysdeps/x86_64/dl-machine.h: Likewise.
18002 * tls.make.c: Likewise.
18004 * configure.in: Remove --with-__thread option. Make tests for
18005 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18006 tls_model attribute fail if no support is available. Remove
18008 * Makeconfig: Adjust for dropped configure option. All features are
18010 * Makerules: Likewise.
18011 * Versions.def: Likewise.
18012 * argp/argp-fmtstream.c: Likewise.
18013 * argp/argp-fmtstream.h: Likewise.
18014 * argp/argp-help.c: Likewise.
18015 * assert/assert.c: Likewise.
18016 * config.h.in: Likewise.
18017 * config.make.in: Likewise.
18018 * configure: Likewise.
18019 * configure.in: Likewise.
18020 * csu/Versions: Likewise.
18021 * csu/init.c: Likewise.
18022 * elf/tst-audit2.c: Likewise.
18023 * elf/tst-tls10.c: Likewise.
18024 * elf/tst-tls10.h: Likewise.
18025 * elf/tst-tls11.c: Likewise.
18026 * elf/tst-tls12.c: Likewise.
18027 * elf/tst-tls14.c: Likewise.
18028 * elf/tst-tlsmod11.c: Likewise.
18029 * elf/tst-tlsmod12.c: Likewise.
18030 * elf/tst-tlsmod13.c: Likewise.
18031 * elf/tst-tlsmod13a.c: Likewise.
18032 * elf/tst-tlsmod14a.c: Likewise.
18033 * elf/tst-tlsmod15b.c: Likewise.
18034 * elf/tst-tlsmod16a.c: Likewise.
18035 * elf/tst-tlsmod16b.c: Likewise.
18036 * elf/tst-tlsmod7.c: Likewise.
18037 * elf/tst-tlsmod8.c: Likewise.
18038 * elf/tst-tlsmod9.c: Likewise.
18039 * gmon/gmon.c: Likewise.
18040 * grp/fgetgrent_r.c: Likewise.
18041 * grp/putgrent.c: Likewise.
18042 * hurd/fopenport.c: Likewise.
18043 * include/libc-symbols.h: Likewise.
18044 * include/tls.h: Likewise.
18045 * intl/gettextP.h: Likewise.
18046 * intl/loadinfo.h: Likewise.
18047 * locale/global-locale.c: Likewise.
18048 * locale/localeinfo.h: Likewise.
18049 * mach/devstream.c: Likewise.
18050 * malloc/arena.c: Likewise.
18051 * malloc/set-freeres.c: Likewise.
18052 * misc/err.c: Likewise.
18053 * misc/getttyent.c: Likewise.
18054 * misc/mntent_r.c: Likewise.
18055 * posix/getopt.c: Likewise.
18056 * posix/wordexp.c: Likewise.
18057 * pwd/fgetpwent_r.c: Likewise.
18058 * resolv/Versions: Likewise.
18059 * resolv/res_hconf.c: Likewise.
18060 * shadow/fgetspent_r.c: Likewise.
18061 * shadow/putspent.c: Likewise.
18062 * stdio-common/printf_fphex.c: Likewise.
18063 * stdio-common/tmpfile.c: Likewise.
18064 * stdlib/abort.c: Likewise.
18065 * stdlib/fmtmsg.c: Likewise.
18066 * sunrpc/auth_unix.c: Likewise.
18067 * sunrpc/clnt_perr.c: Likewise.
18068 * sunrpc/clnt_tcp.c: Likewise.
18069 * sunrpc/clnt_udp.c: Likewise.
18070 * sunrpc/clnt_unix.c: Likewise.
18071 * sunrpc/openchild.c: Likewise.
18072 * sunrpc/svc_simple.c: Likewise.
18073 * sunrpc/svc_tcp.c: Likewise.
18074 * sunrpc/svc_udp.c: Likewise.
18075 * sunrpc/svc_unix.c: Likewise.
18076 * sunrpc/xdr.c: Likewise.
18077 * sunrpc/xdr_array.c: Likewise.
18078 * sunrpc/xdr_rec.c: Likewise.
18079 * sunrpc/xdr_ref.c: Likewise.
18080 * sunrpc/xdr_stdio.c: Likewise.
18082 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18084 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18086 2011-07-03 Andreas Jaeger <aj@suse.de>
18088 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18089 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18090 regenerate with gen-libm-tests.pl.
18092 2010-05-12 Petr Baudis <pasky@suse.cz>
18095 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18096 around j0() zero points by switching to j1().
18097 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18102 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18104 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18109 Patch in part by Pavel Roskin <proski@gnu.org>.
18112 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18114 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18115 Free memory block if necessary.
18118 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18119 be NULL. Don't lock in this case.
18121 2011-09-09 Roland McGrath <roland@hack.frob.com>
18123 * elf/elf.h (ELFOSABI_GNU): New macro.
18124 (ELFOSABI_LINUX): Define to that.
18126 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18128 * string/strncat.c (strncat): Undef the symbol in case it has been
18129 defined in bits/string.h.
18131 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18133 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18135 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18138 2011-08-17 Andreas Jaeger <aj@suse.de>
18140 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18142 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18143 Ian Lance Taylor <iant@google.com>
18145 * math/libm-test.inc (lround_test): New testcase.
18146 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18148 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18150 * Makefile: Remove support for automatic cvs check-ins.
18151 * Makerules: Likewise.
18152 * config.make.in: Likewise.
18153 * configure.in: Likewise.
18154 * intl/Makefile: Likewise.
18155 * locale/Makefile: Likewise.
18156 * po/Makefile: Likewise.
18157 * posix/Makefile: Likewise.
18158 * sysdeps/gnu/Makefile: Likewise.
18159 * sysdeps/mach/hurd/Makefile: Likewise.
18160 * sysdeps/sparc/sparc32/Makefile: Likewise.
18163 * posix/Makefile (bug-regex32-ENV): Define.
18164 Patch by John Stanley <jpsinthemix@verizon.net>.
18166 * misc/Makefile (headers): Add bits/select2.h.
18167 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18168 * misc/bits/select2.h: New file.
18169 * include/bits/select2.h: New file.
18170 * debug/Makefile (routines): Add fdelt_chk.
18171 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18172 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18174 * debug/fdelt_chk.c: New file.
18176 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18177 * wcsmbs/test-wmemcmp.c: Likewise.
18178 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18179 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18181 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18183 * string/Makefile (strop-tests): Add memcmp.
18184 * string/test-wmemcmp.c: New file.
18185 * string/test-memcmp.c: Add wmemcmp support.
18187 2011-09-08 Roland McGrath <roland@hack.frob.com>
18190 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18193 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18194 garbage value in a __mach_port_mod_refs call in the cases of the
18195 task-self and thread-self ports.
18197 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18199 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18201 2011-09-08 Andreas Schwab <schwab@redhat.com>
18203 * elf/dl-load.c (lose): Check for non-null L.
18205 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18207 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18209 * elf/dl-libc.c (dlerror_run): Pass back error code from
18213 * elf/dl-load.c (lose): Free l_origin if it is valid.
18215 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18217 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18220 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18221 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18222 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18224 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18226 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18227 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18228 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18229 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18230 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18231 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18232 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18233 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18234 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18235 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18237 2011-08-15 Alan Modra <amodra@gmail.com>
18240 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18241 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18242 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18243 ppc_mcount to static-only-routines.
18244 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18246 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18247 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18249 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18251 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18252 for finite and infinity parameters.
18254 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18257 and add nop instructions for throughput optimization.
18258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18260 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18262 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18263 aligned copy for power7 with vector-scalar instructions.
18264 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18266 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18271 2011-09-07 Andreas Schwab <schwab@redhat.com>
18274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18277 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18279 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18280 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18281 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18285 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18288 Forgot to demangle the pointer.
18290 * sysdeps/i386/sysdep.h: Define atom_text_section.
18291 * sysdeps/x86_64/sysdep.h: Likewise.
18292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18293 section with atom_text_section.
18294 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18296 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18298 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18301 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18302 already be defined. Change to take two parameters and don't assign
18303 result to variable. Adjust all users.
18304 Define INTERNAL_GETTIME if not already defined.
18305 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18308 HAVE_CLOCK_GETTIME_VSYSCALL.
18309 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18312 gettimeofday vsyscall, just use time.
18314 2011-09-06 Andreas Schwab <schwab@redhat.com>
18316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18319 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18321 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18325 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18327 syscall if possible.
18329 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18331 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18332 e_ident. Don't pass to find_mapsXX.
18333 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18335 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18338 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18339 * sysdeps/x86_64/multiarch/strchr.S: Update.
18340 Check bit_slow_BSF bit.
18341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18342 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18343 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18345 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18348 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18350 (tryshell): Define.
18351 (__spawni): Change last parameter to be flag. Test
18352 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18353 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18354 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18355 * posix/spawni.c: Likewise.
18356 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18357 * posix/spawnp.c: Likewise. Change normal version to use
18358 SPAWN_XFLAGS_USE_PATH.
18359 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18360 SPAWN_XFLAGS_TRY_SHELL.
18363 * posix/glob.h: Remove gcc 1.x support.
18366 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18368 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18371 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18373 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18374 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18375 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18376 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18380 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18382 * sysdeps/x86_64/wcscmp.S: New file.
18384 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18385 wcscmp-c wcscmp-sse2
18386 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18387 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18388 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18389 * wcsmbs/wcscmp.c: Allow renaming.
18391 2011-09-05 David S. Miller <davem@davemloft.net>
18393 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18394 stack slot, rather than the struct return pointer slot.
18395 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18396 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18398 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18400 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18402 * po/ja.po: Update from translation team.
18405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18406 kernel in 64-bit binaries.
18408 2011-09-01 David S. Miller <davem@davemloft.net>
18410 * elf/elf.h (HWCAP_SPARC_*): Move to..
18411 * sysdeps/sparc/sysdep.h: this new file and add new values.
18412 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18413 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18414 _DL_HWCAP_COUNT to 24.
18415 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18417 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18418 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18419 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18421 instead of magic constants.
18422 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18424 2011-08-31 David S. Miller <davem@davemloft.net>
18426 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18428 Reimplement to do errno handling inline.
18429 (SYSCALL_ERROR_HANDLER): New macro.
18430 (__SYSCALL_STRING): Do not do errno handling in asm.
18431 (__CLONE_SYSCALL_STRING): Delete.
18432 (__INTERNAL_SYSCALL_STRING): Delete.
18433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18434 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18435 (PSEUDO): Reimplement to do errno handling inline.
18436 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18437 (SYSCALL_ERROR_HANDLER): New macro.
18438 (__SYSCALL_STRING): Do not do errno handling in asm.
18439 (__CLONE_SYSCALL_STRING): Delete.
18440 (__INTERNAL_SYSCALL_STRING): Delete.
18441 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18442 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18444 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18445 (inline_syscall*): Add 'err' argument.
18446 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18447 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18448 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18449 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18451 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18452 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18454 2011-08-30 Andreas Schwab <schwab@redhat.com>
18456 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18458 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18460 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18463 2011-08-24 David S. Miller <davem@davemloft.net>
18465 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18467 2011-08-24 Andreas Schwab <schwab@redhat.com>
18469 * elf/Makefile: Add rules to build and run unload8 test.
18470 * elf/unload8.c: New file.
18471 * elf/unload8mod1.c: New file.
18472 * elf/unload8mod1x.c: New file.
18473 * elf/unload8mod2.c: New file.
18474 * elf/unload8mod3.c: New file.
18476 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18479 2011-08-23 David S. Miller <davem@davemloft.net>
18481 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18482 subtract stack bias.
18483 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18484 %sp not %fp in calculations.
18485 (_JMPBUF_UNWINDS_ADJ): Likewise.
18487 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18488 (aio_suspend): Call it to force an exception region around the
18489 AIO_MISC_WAIT() invocation.
18491 2011-08-23 Andreas Schwab <schwab@redhat.com>
18493 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18496 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18498 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18500 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18501 and <dl-machine.h>.
18502 (Elf64_FuncDesc): Remove.
18504 2011-08-22 David S. Miller <davem@davemloft.net>
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18507 sigaltstack check, add missing cfi directives.
18508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18509 missing cfi directives, and sigaltstack handling.
18511 2011-08-16 Andreas Schwab <schwab@redhat.com>
18514 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18515 object is seen twice.
18516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18518 * elf/Makefile (distribute): Add tst-initorder2.c.
18519 (tests): Add tst-initorder2.
18520 (modules-names): Add tst-initorder2a tst-initorder2b
18521 tst-initorder2c tst-initorder2d. Add rules to build them.
18522 ($(objpfx)tst-initorder2.out): New rule.
18523 * elf/tst-initorder2.c: New file.
18524 * elf/tst-initorder2.exp: New file.
18526 2011-08-22 Andreas Schwab <schwab@redhat.com>
18528 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18530 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18531 dependencies back to end of function.
18533 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18534 $(elfobjdir)/ld.so.
18536 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18539 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18541 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18542 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18543 of __vdso_gettimeofday.
18544 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18545 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18547 (_libc_vdso_platform_setup): Remove initialization of
18548 __vdso_gettimeofday and __vdso_time.
18550 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18552 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18553 and fgetc_unlocked.
18554 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18557 * elf/dl-open.c (add_to_global): Report additions to the global scope
18558 for LD_DEBUG=scopes.
18559 (dl_open_worker): Also print scope of newly loaded dependencies.
18560 (_dl_show_scope): Indicate if there is no scope.
18563 * stdio-common/Makefile (tests): Add bug24.
18564 * stdio-common/bug24.c: New file.
18566 2011-08-19 Andreas Jaeger <aj@suse.de>
18569 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18570 non-existant file when using close-on-exec mode.
18572 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18575 the very first instruction.
18577 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18578 the CFI state in the end.
18579 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18580 inclusion of dl-trampoline.h.
18581 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18583 2011-08-19 Andreas Schwab <schwab@redhat.com>
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18586 expectations for long double.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18589 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18591 2011-08-14 David S. Miller <davem@davemloft.net>
18593 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18594 artificual limit depends upon the system page size.
18596 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18598 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18599 * resolv/Makefile: Define CFLAGS-libresolv.
18601 2011-08-17 Andreas Schwab <schwab@redhat.com>
18603 * nss/makedb.c (compute_tables): Make variables used in nested
18606 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18608 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18609 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18610 if buffer was too small.
18612 * elf/pldd.c (main): Attach to all threads in the process.
18613 Rewrite /proc handling to use *at functions.
18615 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18617 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18618 specifies first scope to show.
18619 (dl_open_worker): Update callers. Move printing scope of new
18620 object to before the relocation.
18621 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18622 * sysdeps/generic/ldsodefs.h: Update declaration.
18624 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18625 string for the scope number.
18627 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18629 * nscd/servicescache.c (cache_addserv): Make sure written is always
18632 2011-08-14 Roland McGrath <roland@hack.frob.com>
18634 * sysdeps/i386/i486/bits/atomic.h
18635 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18636 statement expression, so as to suppress "set but not used" warning.
18637 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18639 * string/strncat.c (STRNCAT): Use prototype definition.
18641 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18642 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18644 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18645 (localedef-modules): Add localedef.
18646 (locale-modules): Add locale.
18648 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18649 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18650 to avoid a warning.
18652 2011-08-14 David S. Miller <davem@davemloft.net>
18654 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18655 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18657 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18659 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18660 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18661 * elf/rtld.c (dl_main): Set l_name of vDSO.
18662 Call _dl_show_scope when DL_DEBUG_SCOPES.
18663 (process_dl_debug): Recognize scopes flag and also set it for all.
18664 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18665 Declare _dl_show_scope.
18667 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18668 (do_dlopen): Pass caller_dlopen to dl_open.
18669 (__libc_dlopen_mode): Initialize caller_dlopen.
18671 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18672 of libc. Make tolower call locale-independent. Optimize a bit by
18673 using isdigit instead of isalnum.
18674 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18676 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18678 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18679 was a dependency or dynamically loaded.
18681 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18683 * intl/l10nflist.c: Allow architecture-specific pop function.
18684 * sysdeps/x86_64/l10nflist.c: New file.
18686 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18689 2011-08-10 Andreas Schwab <schwab@redhat.com>
18691 * include/dirent.h: Add libc_hidden_proto for scandirat and
18692 scandirat64. Don't declare __scandirat64.
18693 * dirent/scandirat.c: Add libc_hidden_def.
18694 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18695 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18697 2011-08-10 David S. Miller <davem@davemloft.net>
18699 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18702 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18705 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18707 * Versions.def [libc]: Add GLIBC_2.15.
18708 * dirent/Makefile (routines): Add scandirat and scandirat64.
18709 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18711 * dirent/dirent.h: Declare scandirat and scandirat64.
18712 * dirent/scandirat.c: New file.
18713 * dirent/scandirat64.c: New file.
18714 * sysdeps/wordsize-64/scandirat.c: New file.
18715 * sysdeps/wordsize-64/scandirat64.c: New file.
18716 * dirent/opendir.c: Define opendirat.
18717 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18719 * dirent/scandir64.c: Adjust for scandir.c change.
18720 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18721 __scandirat64, and __scandir_cancel_handler.
18722 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18723 additional parameter and use openat instead of open (outside of ld.so).
18724 Add new __opendir as wrapper around __opendirat.
18725 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18726 here without requiring old scandirat implementation.
18728 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18730 * dirent/scandir.c (cancel_handler): Renamed to
18731 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18732 defined. Adjust users.
18733 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18736 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18738 * string/test-string.h (IMPL): Use __STRING to expand name and then
18741 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18744 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18746 * string/Makefile: Update.
18747 (strop-tests): Append strncat.
18748 * string/test-wcscmp.c: New file.
18749 New comprehensive test for wcscmp.
18750 * string/test-strcmp.c: Update.
18751 (WIDE): New define.
18753 2011-07-22 Andreas Schwab <schwab@redhat.com>
18755 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18758 2011-07-26 Andreas Schwab <schwab@redhat.com>
18760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18761 encoding to ACE if AI_IDN.
18763 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18765 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18766 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18768 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18771 Fix overflow bug in strncat.
18772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18774 * string/test-strncat.c: Update.
18775 Add new tests for checking overflow bugs.
18777 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18780 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18781 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18782 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18783 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18784 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18785 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18786 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18787 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18790 (USE_AS_STRCAT): Define.
18791 Add strcat and strncat support.
18792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18794 2011-07-25 Andreas Schwab <schwab@redhat.com>
18796 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18797 __n bigger than INT_MAX+1.
18798 (__strncmp_g): Likewise.
18800 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18802 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18803 * libio/stido.h: Likewise.
18805 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18810 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18813 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18817 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18822 (_dl_x86_64_save_sse): Likewise.
18824 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18828 (_dl_x86_64_save_sse): Likewise.
18830 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18832 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18834 2011-07-21 Andreas Schwab <schwab@redhat.com>
18836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18838 (_dl_x86_64_save_sse): Use correct AVX check.
18840 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18842 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18843 bug in strncpy/strncat.
18844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18846 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18848 * string/tester.c (test_strcat): Add tests for different alignments
18849 of source and destination.
18850 (test_strncat): Likewise.
18852 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18855 * posix/glob.c (glob): Check passed in values before using them in
18856 expressions to avoid some overflows.
18857 (glob_in_dir): Likewise.
18860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18861 check for AVX enablement so that we don't crash with old kernels and
18863 * elf/tst-audit4.c: Add same checks here.
18864 * elf/tst-audit6.c: Likewise.
18866 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18868 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18870 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18872 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18874 * po/cs.po: Update from translation team.
18875 * po/bg.po: Likewise.
18877 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18879 * misc/sys/cdefs.h: Add support for const attribute.
18880 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18881 to gnu_dev_{major,minor,makedev} functions.
18883 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18885 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18887 2011-07-20 Andreas Schwab <schwab@redhat.com>
18889 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18892 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18895 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18896 register in order to avoid conflicts with the soft frame pointer
18897 being held in r11 when necessary.
18898 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18899 (INTERNAL_VSYSCALL_NCS): Likewise.
18901 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18903 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18904 * elf/dl-fini.c (_dl_fini): Adjust caller.
18905 * elf/dl-close.c (_dl_close_worker): Likewise.
18906 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18908 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18910 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18911 "aux_cache->nlibs < 0".
18913 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18914 in the reload-count case.
18916 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18919 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18920 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18921 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18922 * sysdeps/x86_64/multiarch/strcat.S: New file.
18923 * sysdeps/x86_64/multiarch/strncat.S: New file.
18924 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18925 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18926 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18927 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18928 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18929 (USE_AS_STRCAT): Define.
18930 Add strcat and strncat support.
18931 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18933 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18934 * string/strncat.c: Update.
18935 (USE_AS_STRNCAT): Define.
18936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18937 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18939 * sysdeps/x86_64/multiarch/init-arch.h
18940 (bit_Prefer_PMINUB_for_stringop): New.
18941 (index_Prefer_PMINUB_for_stringop): Likewise.
18942 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18943 bit_Prefer_PMINUB_for_stringop.
18945 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18947 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18949 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18950 of casting of buffer.
18951 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18952 buffer32 and buffer64.
18953 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18954 writes instead of casting of buffer.
18955 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18957 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18960 2011-07-19 Andreas Schwab <schwab@redhat.com>
18962 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18964 2011-07-19 Ulrich Drepper <drepper@gmail.com>
18966 * nscd/nscd.c (termination_handler): Don't do anything for a database
18967 if it has not yet been initialized.
18969 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18971 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18973 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18975 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18977 2011-07-18 Ulrich Drepper <drepper@gmail.com>
18979 * po/nl.po: Update from translation team.
18980 * po/sv.po: Likewise.
18982 2011-07-16 Roland McGrath <roland@hack.frob.com>
18984 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18985 now disallowed by GCC.
18987 * configure.in (use-default-link): Default to yes if a test -shared
18988 link meets our qualifications.
18989 * configure: Regenerated.
18991 * config.make.in (output-format): New variable.
18992 * configure.in: Check for ld --print-output-format support.
18993 * configure: Regenerated.
18994 * Makerules ($(common-objpfx)format.lds)
18995 [$(output-format) != unknown]: Just use $(output-format),
18996 instead of the linker-script munging.
18998 2011-07-14 Roland McGrath <roland@hack.frob.com>
19000 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19001 of $(common-objpfx)shlib.lds.
19002 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19004 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19005 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19007 * configure.in (-z relro check): Adjust test code to add a large
19008 writable data section after it.
19009 * configure: Regenerated.
19011 2011-07-11 Roland McGrath <roland@hack.frob.com>
19013 * configure.in (-z relro check): Fix test code to make the variable
19015 * configure: Regenerated.
19017 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19019 * nscd/nscd.h (struct traced_file): Define.
19020 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19021 elements. Add traced_files.
19022 (inotify_fd): Declare.
19023 (register_traced_file): Declare.
19024 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19025 (inotify_fd): Export.
19026 (resolv_conf_descr): Remove.
19027 (nscd_init): Move inotify descriptor creation to main.
19028 Don't register files for notification here.
19029 (register_traced_file): New function.
19030 (invalidate_cache): Don't use reset_res to determine whether to call
19031 res_init, go through the list of registered files.
19032 (main_loop_poll): The inotify descriptors are now stored in the
19033 structures for the traced files.
19034 (main_loop_epoll): Likewise
19035 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19036 to __nss_disable_nscd.
19037 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19038 for a database anymore. Check the records for all the registered
19040 * nss/Makefile (libnss_files-routines): Add files-init.
19041 (libnss_db-routines): Add db-init.
19042 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19043 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19044 * nss/nss_db/db-init.c: New file.
19045 * nss/nss_files/files-init.c: New file.
19046 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19047 __nss_lookup_function.
19048 (__nss_lookup_function): Call nss_load_library.
19049 (nss_load_all_libraries): New function.
19050 (__nss_disable_nscd): Take parameter with callback function for files
19051 to register. Set is_nscd. Load all the DSOs for the NSS modules
19052 used for the cached services.
19053 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19054 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19055 options for features to all the files in nscd.
19057 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19059 2011-07-10 Roland McGrath <roland@hack.frob.com>
19061 * csu/elf-init.c (__libc_csu_init): Comment typo.
19063 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19065 * po/pl.po: Update from translation team.
19066 * po/ja.po: Likewise.
19067 * po/ru.po: Likewise.
19068 * po/ko.po: Likewise.
19069 * po/fr.po: Likewise.
19071 2011-07-09 Roland McGrath <roland@hack.frob.com>
19073 * configure.in (.ctors/.dtors header and trailer check):
19074 Use an empirical test on a built program.
19075 * configure: Regenerated.
19077 * configure.in (-z relro check): Use an empirical test on a built DSO.
19078 Detect, but do not require, on ia64.
19079 * configure: Regenerated.
19081 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19082 Update tests that use readelf to use $READELF instead.
19083 * configure: Regenerated.
19085 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19087 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19088 if the result is not used.
19090 2011-07-05 Andreas Jaeger <aj@suse.de>
19093 * stdlib/tst-strtod.c: Add testcase.
19095 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19097 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19098 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19099 The latter has a higher limit. Take additional parameter to pass to
19101 (__pathconf): Pass file to __statfs_link_max.
19102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19104 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19108 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19112 (__statfs_filesize_max): Likewise.
19113 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19115 2011-07-05 Andreas Jaeger <aj@suse.de>
19117 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19119 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19121 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19123 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19126 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19128 * Makefile (strop-tests): Add strncat.
19129 * string/test-strncat.c: New file.
19131 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19133 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19135 2011-06-21 Andreas Jaeger <aj@suse.de>
19137 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19138 Copy rule from iconvdata/Makefile.
19140 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19143 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19144 but no long options are defined, just return 'W'.
19146 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19149 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19151 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19153 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19155 (innetgr): Likewise.
19157 2011-07-05 Roland McGrath <roland@hack.frob.com>
19159 * config.make.in (install_root): Default to $(DESTDIR).
19161 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19163 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19165 2011-07-02 Roland McGrath <roland@hack.frob.com>
19167 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19169 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19170 containing directory rather than embedding absolute directory names.
19172 * scripts/check-local-headers.sh: Rewritten using awk.
19173 Match by word, not by line. Print error messages for matches.
19174 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19176 * Makerules [shlib-lds-flags empty]:
19177 ($(common-objpfx)libc_pic.opts): New target.
19178 ($(common-objpfx)libc_pic.os.clean): New target.
19179 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19181 * config.make.in (OBJCOPY): New variable.
19182 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19183 * configure: Regenerated.
19185 * config.make.in (use-default-link): New variable.
19186 * configure.in (use_default_link): Grok --with-default-link to set it.
19187 * configure: Regenerated.
19188 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19189 (shlib-lds, shlib-lds-flags): Define to empty.
19191 * Makerules (shlib-lds): New variable.
19192 (shlib-lds-flags): New variable.
19193 (build-shlib, build-moduile, build-module-asneeded): Use it.
19194 ($(common-objpfx)libc.so): Use $(shlib-lds).
19195 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19196 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19198 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19199 DT_FLAGS/DT_FLAGS_1 with zero flags.
19201 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19202 linker script munging.
19204 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19206 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19208 * crypt/sha512.c (sha512_process_block): Perform total addition using
19209 128-bit if possible.
19210 (__sha512_finish_ctx): Likewise.
19211 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19213 * crypt/sha256.c (SWAP64): Define.
19214 (sha256_process_block): Perform total addition using 64-bit if
19216 (__sha256_finish_ctx): Likewise.
19218 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19220 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19222 * nscd/hstcache.c (cache_addhst): Likewise.
19223 * nscd/grpcache.c (cache_addgr): Likewise.
19224 * nscd/aicache.c (addhstaiX): Likewise
19225 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19227 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19229 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19231 * nscd/hstcache.c (cache_addhst): Likewise.
19232 * nscd/grpcache.c (cache_addgr): Likewise.
19233 * nscd/aicache.c (addhstaiX): Likewise
19235 2011-07-01 Andreas Schwab <schwab@redhat.com>
19237 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19238 domain only when needed.
19240 2011-06-30 Andreas Schwab <schwab@redhat.com>
19242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19243 is always restored.
19245 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19247 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19248 are re-adding the entry.
19249 * nscd/servicescache.c (cache_addserv): Likewise.
19251 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19253 * sysdeps/generic/dl-irel.h: fix protection against multiple
19255 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19257 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19260 * malloc/memusage.sh: Fix quoting in message.
19261 * debug/xtrace.sh: Likewise.
19263 * configure.in: Remove support for --experimental-malloc option, make
19265 * config.make.in: Likewise.
19266 * malloc/Makefile: Likewise.
19268 2011-06-27 Andreas Schwab <schwab@redhat.com>
19270 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19271 two-byte characters.
19273 2011-06-27 Roland McGrath <roland@hack.frob.com>
19275 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19276 AC_CACHE_CHECK invocation.
19277 * configure: Regenerated.
19279 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19281 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19284 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19285 bit from old_res_options.
19287 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19289 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19290 value type for setfct.
19292 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19295 __gettimeofday instead of gettimeofday.
19297 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19299 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19301 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19308 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19311 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19312 strcpy-sse2-unaligned strncpy-sse2-unaligned
19313 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19314 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19315 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19316 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19317 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19318 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19320 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19321 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19322 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19323 (STRCPY): Support SSE2 and SSSE3 versions.
19325 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19329 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19330 kernels which artificially limit size of requests.
19332 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19335 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19336 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19337 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19338 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19339 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19340 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19341 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19344 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19345 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19346 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19347 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19348 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19350 Enable unaligned load optimization for Intel Core i3, i5 and i7
19352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19354 (index_Fast_Unaligned_Load): Define.
19355 (HAS_FAST_UNALIGNED_LOAD): Define.
19357 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19359 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19361 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19364 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19365 until it is clear that the information is realy needed.
19366 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19368 2011-06-22 Andreas Schwab <schwab@redhat.com>
19370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19372 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19375 /sys/devices/system/cpu/online if it is usable.
19377 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19378 reading the information from the /proc filesystem to once a second.
19380 2011-06-21 Andreas Jaeger <aj@suse.de>
19382 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19383 NULL after inclusion of kernel headers.
19385 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19387 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19388 calls to internal_setent.
19391 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19392 addresses using gethostbyname4_r ignore IPv4 addresses.
19394 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19395 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19397 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19399 2011-06-20 David S. Miller <davem@davemloft.net>
19401 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19403 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19405 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19406 (elf_irel): Use it.
19407 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19408 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19409 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19410 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19411 * sysdeps/x86_64/dl-irel.h: Likewise.
19413 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19414 * elf/dl-sym.c: Likewise.
19416 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19418 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19419 need to dereference resplen2.
19421 2011-06-14 Andreas Schwab <schwab@redhat.com>
19423 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19425 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19427 * Makeconfig: Define vardbdir and inst_vardbdir.
19428 * nss/Makefile: Add rules to install db-Makefile.
19430 * nss/nss_db/db-XXX.c: Cleanup.
19432 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19433 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19435 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19436 * nss/makedb.c: Implement -g option to specify that value strings
19437 are generated and should not be added to table iterated over for
19439 * nss/nss_db/db-initgroups.c: New file.
19441 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19444 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19445 (internal_getgrouplist): Adjust to name change.
19446 Update use_initgroups_entry if this is not the first call.
19447 * nss/databases.def: Add initgroups entry.
19449 * nss/makedb.c (compute_tables): Check result of multiple hash table
19450 sizes to minimize maximum chain length.
19452 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19454 * Versions.def: Add entry for libnss_db.
19455 * shlib-versions: Likewise.
19456 * nss/Makefile: Add rules to build libnss_db.
19457 * nss/Versions: Add libnss_db information. Organize libnss_files
19459 * nss/db-Makefile: Add gshadow support. Change rules for the new
19460 makedb progra. Some minor improvements to generate smaller files.
19461 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19463 * nss/makedb.c: ...here.
19464 Improve database format to be smaller and require less memory at
19466 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19468 * nss/nss_db/db-netgrp.c: Likewise.
19469 * nss/nss_db/db-open.c: Likewise.
19470 * nss/nss_files/flies-XXX.x: Adjust comments.
19471 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19472 * nss/nss_files/files-grp.c: Likewise.
19473 * nss/nss_files/files-hosts.c: Likewise.
19474 * nss/nss_files/files-network.c: Likewise.
19475 * nss/nss_files/files-proto.c: Likewise.
19476 * nss/nss_files/files-pwd.c: Likewise.
19477 * nss/nss_files/files-rpc.c: Likewise.
19478 * nss/nss_files/files-service.c: Likewise.
19479 * nss/nss_files/files-sgrp.c: Likewise.
19480 * nss/nss_files/files-spwd.c: Likewise.
19481 * nss/nss_db/db-alias.c: Removed.
19482 * nss/nss_db/dummy-db.h: Removed.
19484 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19486 * nss/makedb.c: Rewritten to not use database library.
19487 * nss/Makefile: Update to build new makedb program.
19489 2011-06-14 Andreas Jaeger <aj@suse.de>
19491 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19492 memset declaration.
19494 2011-06-10 Andreas Schwab <schwab@redhat.com>
19496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19499 2011-06-10 Roland McGrath <roland@hack.frob.com>
19501 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19502 * elf/Makefile ($(objpfx)ld.so): Likewise.
19504 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19505 Don't list ld.so twice in dependencies.
19507 * posix/bug-regex31.c: Include <stdlib.h>.
19509 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19511 * nis/nss_compat/compat-spwd.c
19512 (getspent_next_nss_netgr): Remove unused variable.
19513 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19515 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19516 nonmembers" output to use the right array.
19518 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19520 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19522 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19523 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19524 * catgets/gencat.c (read_input_file): Likewise.
19525 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19527 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19528 variable definition inside #if's controlling its use.
19530 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19532 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19534 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19536 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19539 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19541 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19542 * configure: Regenerated.
19544 * Makerules: Revert last change.
19545 * elf/Makefile: Likewise.
19547 2011-06-09 Roland McGrath <roland@hack.frob.com>
19549 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19550 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19551 (reloc-link): Likewise.
19553 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19555 * elf/Makefile: Add rules to build pldd.
19556 * elf/pldd.c: New file.
19557 * elf/pldd-xx.c: New file.
19559 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19561 * version.h: Update for 2.15 development version.
19563 2011-06-07 David S. Miller <davem@davemloft.net>
19565 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19568 elf_machine_lazy_rel): Likewise.
19569 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19571 elf_machine_lazy_rel): Likewise.
19572 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19573 dl_hwcap via passed in argument.
19574 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19577 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19579 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19581 2011-06-06 Roland McGrath <roland@hack.frob.com>
19584 * manual/fdl-1.1.texi: New file, verbatim from:
19585 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19586 * manual/lgpl-2.1.texi: New file, verbatim from:
19587 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19588 * manual/Makefile (licenses): New variable, list those new file names.
19590 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19592 * manual/fdl.texi: File removed.
19593 * manual/lesser.texi: File removed.
19594 * manual/libc.texinfo (Copying, Documentation License):
19595 Use new @include file names, put @appendix directive before @include.
19597 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19600 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19601 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19602 (mq_open): Add __NTH.
19604 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19607 Assume Intel Core i3/i5/i7 processor if AVX is available.
19609 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19614 2011-05-31 Andreas Schwab <schwab@redhat.com>
19616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19617 memory. Use alloca_account. Fix memory leak when retrying.
19619 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19621 * version.h (RELEASE): Bump for 2.14 release.
19622 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19624 * config.make.in (RANLIB): Remove entry.
19626 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19628 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19629 (libc.pot): Work around missing support for .ksh extension in xgettext.
19632 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19633 if both request failed.
19634 (send_dg): In case of server errors clear resplen or *resplen2.
19637 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19638 when there are multiple maps.
19639 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19640 (_dl_fini): Remove test here.
19642 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19644 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19647 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19648 bit from old_res_options.
19649 (gaih_inet): Likewise.
19652 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19655 * resolv/res_init.c (res_setoptions): Make the code more compact.
19658 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19662 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19664 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19667 * malloc/malloc.h: Declare malloc hook variables as volatile.
19669 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19673 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19674 raise in the comment.
19675 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19677 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19679 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19682 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19683 grow the buffers more if it already has to be sufficient.
19684 (build_wcs_upper_buffer): Likewise.
19685 * posix/regexec.c (check_matching): Likewise.
19686 (clean_state_log_if_needed): Likewise.
19687 (extend_buffers): Don't enlarge buffers beyond size of the input
19689 Patches mostly by Emil Wojak <emil@wojak.eu>.
19690 * posix/bug-regex32.c: New file.
19691 * posix/Makefile (tests): Add bug-regex32.
19693 * locale/findlocale.c (_nl_find_locale): Return right away if
19694 _nl_explode_name failed.
19695 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19697 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19699 * debug/xtrace.sh: Unify messages.
19700 * malloc/memusage.sh: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19704 time symbol from vDSO. Substitute with vsyscall if not available.
19705 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19708 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19709 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19710 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19711 Add sendmmsg and internal_sendmmsg.
19712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19713 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19714 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19716 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19717 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19718 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19720 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19723 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19724 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19730 * iconvdata/Makefile (tests): Add bug-iconv9.
19731 * iconvdata/bug-iconv9.c: New file.
19733 2011-05-27 Andreas Schwab <schwab@redhat.com>
19736 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19738 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19741 (struct user_regs_struct): Change intcs field back to cs.
19743 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19745 * po/ja.po: Update from translation team.
19747 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19750 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19751 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19753 2011-05-20 Andreas Schwab <schwab@redhat.com>
19755 * stdlib/longlong.h: Update from GCC.
19757 2011-05-23 Andreas Schwab <schwab@redhat.com>
19759 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19761 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19762 Add parameter name.
19763 (__sysconf): Pass it down.
19765 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19768 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19771 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19772 add in in __libc_use_alloca calls. Adjust callers.
19773 (glob): Use malloc in some situations.
19775 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19776 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19779 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19781 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19782 and CLOCK_BOOTTIME_ALARM.
19785 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19788 * string/_strerror.c (__strerror_r): Print negative errors as signed
19792 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19793 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19794 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19796 * configure.in: Fix typo in redirection and correct removal of test
19797 files in two cases.
19800 * locale/setlocale.c (new_composite_name): Fix test to check for
19801 identical name of all categories.
19804 * libio/filedoalloc.c (local_isatty): New function.
19805 (_IO_file_doallocate): Use local_isatty.
19806 * stdio-common/perror.c (perror): In case a new stream is used
19807 forward the stream error.
19808 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19811 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19816 * include/alloca.h (extend_alloca_account): Define.
19819 * posix/regex.h: Fix comments with documentation of user-accessible
19820 fields after compilation and describe correct free'ing of pattern
19821 after re_compile_pattern.
19822 Patch by Reuben Thomas <rrt@sc3d.org>.
19824 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19826 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19827 and -mno-altivec to prevent the compiler from using Altivec and/or
19828 VSX instructions when the corresponding registers are not available.
19830 2011-05-19 Andreas Schwab <schwab@redhat.com>
19832 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19834 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19836 * libio/freopen.c (freopen): Use __dup2, not dup2.
19837 * libio/freopen64.c (freopen64): Likewise.
19839 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19842 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19843 * math/Makefile (tests): Add test-powl.
19844 (CFLAGS-test-powl.c): Define.
19845 * math/test-powl.c: New file.
19847 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19849 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19851 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19854 * iconvdata/gb18030.c: Update to GB18020-2005.
19856 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19858 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19859 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19860 Patch by Aharon Robbins <arnold@skeeve.com>.
19863 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19867 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19868 through underflows.
19871 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19872 point to strings before performing equality test for error_one_per_line
19876 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19879 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19880 (struct user_fpregs_struct): Avoid __uint*_t types.
19883 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19884 symbol info. Use it instead of calling _dl_addr locally.
19885 (lock_and_info): New function.
19886 (tr_freehook): Call lock_and_info and pass symbol info as additional
19887 parameter to tr_where.
19888 (tr_mallochook): Likewise.
19889 (tr_reallochook): Likewise.
19890 (tr_memalignhook): Likewise.
19892 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19893 used and couldn't be at all thread-safe.
19895 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19897 * libio/freopen.c (freopen): Don't close old file descriptor
19898 before the new one is opened. Instead dup the new file descriptor
19899 to the old one after the new stream is created.
19900 * libio/freopen64.c (freopen64): Likewise.
19901 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19902 * libio/fileops.c (_IO_new_file_close_it): Handle new
19903 _IO_FLAGS2_NOCLOSE flag.
19904 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19905 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19906 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19907 _IO_FLAGS2_NOCLOSE flag.
19908 * include/unistd.h: Add hidden_proto for dup3.
19909 Define __have_dup3.
19910 * io/dup3.c: Define hidden symbol.
19911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19914 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19915 when an incomplete long option is used.
19916 * posix/tst-getopt_long1.c: New file.
19917 * posix/Makefile (tests): Add tst-getopt_long1.
19920 * scripts/config.guess: Update from autoconf-2.68.
19921 * scripts/config.sub: Likewise.
19924 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19926 (has_cpuclock): ...this. New function.
19927 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19928 macro here based on has_cpuclock code.
19931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19932 First byte (not low byte) is now always NUL.
19933 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19936 Use non-cancelable interfaces.
19939 * locale/iso-639.def: Add entry for Sorani.
19942 * include/stdlib.h: Move include protection to the right place.
19943 Define abort_msg_s. Declare __abort_msg with it.
19944 * stdlib/abort.c (__abort_msg): Adjust type.
19945 * assert/assert.c (__assert_fail_base): New function. Majority
19946 of code from __assert_fail. Allocate memory for __abort_msg with
19948 (__assert_fail): Now call __assert_fail_base.
19949 * assert/assert-perr.c: Remove bulk of implementation. Use
19950 __assert_fail_base.
19951 * include/assert.hL Declare __assert_fail_base.
19952 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19954 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19956 2011-05-14 Ulrich Drepper <drepper@gmail.com>
19960 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19961 until all modules are registered in the DTV.
19962 * elf/Makefile: Add rules to build and run tst-tls19.
19963 * elf/tst-tls19.c: New file.
19964 * elf/tst-tls19mod1.c: New file.
19965 * elf/tst-tls19mod2.c: New file.
19966 * elf/tst-tls19mod3.c: New file.
19967 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19970 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19974 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19975 two-byte sequence errors.
19976 * iconvdata/Makefile (tests): Add bug-iconv8.
19977 * iconvdata/bug-iconv8.c: New file.
19980 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19983 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19986 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19987 (dummy_getcfa): New function.
19988 (init): Get _Unwind_GetCFA address, use dummy if not found.
19989 (backtrace_helper): In recursion check, also check whether CFA changes.
19990 (__backtrace): Completely initialize arg.
19992 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19993 storing incomplete byte sequence in state object. Avoid testing for
19994 guaranteed too small input if we know there is enough data available.
19996 2011-05-11 Andreas Schwab <schwab@redhat.com>
19998 * Makeconfig (+link-pie): Indent.
19999 * Rules (binaries-pie): Define if $(have-fpie) and
20001 (binaries-shared): Also filter out $(binaries-pie).
20002 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20003 * nscd/Makefile (others-pie): Add nscd.
20004 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20005 ($(objpfx)nscd): Remove command override.
20006 * login/Makefile (others-pie): Add pt_chown.
20007 ($(objpfx)pt_chown): Remove command override.
20008 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20009 remove command overrides.
20011 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20013 * libio/tst_putwc.c: Fix error messages.
20016 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20017 currently writing and seek to current position when not.
20018 * libio/Makefile (tests): Add bug-fclose1.
20019 * libio/bug-fclose1.c: New file.
20021 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20024 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20025 don't set DF_1_NODELETE here.
20026 (do_lookup_x): When entering new entry test for copy relocation
20027 and if necessary set DF_1_NODELETE flag.
20028 * elf/tst-unique4.cc: New file.
20029 * elf/tst-unique4.h: New file.
20030 * elf/tst-unique4lib.cc: New file.
20031 * elf/Makefile: Add rules to build and run tst-unique4.
20032 Patch by Piotr Bury <pbury@goahead.com>.
20034 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20037 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20040 * misc/mntent_r.c (addmntent): Flush the stream after the output
20043 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20044 (is_trusted_path_normalize): Skip initial colon. Append slash
20045 to empty buffer. Duplicate is_trusted_path code but allow
20046 constructed patch to be prefix.
20047 (is_dst): Allow $ORIGIN followed by /.
20048 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20049 Correct testing of result of is_trusted_path_normalize
20050 (decompose_rpath): Fix warning.
20052 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20055 * grp/initgroups.c (internal_getgrouplist): When we found the service
20056 list through the initgroups entry in nsswitch.conf do not always
20057 continue on a successful lookup. Don't always use the
20058 __nss_group_database value if it is set.
20059 * nss/nsswitch.conf (initgroups): Change action for successful db
20060 lookup to continue for compatibility.
20062 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20065 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20067 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20069 * iconvdata/tst-tables.sh: Likewise.
20070 * iconvdata/cp770.c: New file.
20071 * iconvdata/cp771.c: New file.
20072 * iconvdata/cp772.c: New file.
20073 * iconvdata/cp773.c: New file.
20074 * iconvdata/cp774.c: New file.
20075 * iconvdata/testdata/CP770: New file.
20076 * iconvdata/testdata/CP770..UTF8: New file.
20077 * iconvdata/testdata/CP771: New file.
20078 * iconvdata/testdata/CP771..UTF8: New file.
20079 * iconvdata/testdata/CP772: New file.
20080 * iconvdata/testdata/CP772..UTF8: New file.
20081 * iconvdata/testdata/CP773: New file.
20082 * iconvdata/testdata/CP773..UTF8: New file.
20083 * iconvdata/testdata/CP774: New file.
20084 * iconvdata/testdata/CP774..UTF8: New file.
20086 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20088 * iconvdata/gen-8bit-gap.sh: Likewise.
20089 * iconvdata/gen-8bit.sh: Likewise.
20091 * locale/iso-639.def: Add ary entry.
20094 * locale/C-translit.h.in: Add U20A1 transliteration.
20097 * locale/iso-639.def: Add wae entry.
20098 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20101 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20105 * locale/C-translit.h.in: Add entry for U20B9.
20106 Patch by pravin.d.s@gmail.com.
20108 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20111 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20112 ENAMETOOLONG use generic getcwd.
20113 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20114 in rtld. Use *stat64.
20115 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20116 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20117 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20118 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20119 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20120 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20121 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20122 __fstatat64 macros.
20123 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20124 * dirent/rewinddir.c: Add libc_hidden_def.
20125 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20126 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20128 * include/dirent.h (__alloc_dir): Add flags parameter.
20129 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20130 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20132 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20133 from fdopendir if O_CLOEXEC is already set.
20135 2011-03-15 Alan Modra <amodra@gmail.com>
20137 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20138 l_tls_firstbyte_offset non-zero. Save padding offset in
20139 l_tls_firstbyte_offset for later use.
20140 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20141 freeing static tls block.
20143 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20145 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20146 where #ifdef was intended. The intent is to prevent ARG_MAX from
20147 being defined by the kernel headers.
20149 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20152 * resolv/resolv.h: Define RES_NOTLDQUERY.
20153 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20154 no-tld-query and set RES_NOTLDQUERY.
20155 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20156 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20157 modern BIND to search name as TLD unless forbidden.
20159 2011-05-07 Petr Baudis <pasky@suse.cz>
20160 Ulrich Drepper <drepper@gmail.com>
20163 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20164 (is_trusted_path): ...to here.
20165 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20166 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20167 using is_trusted_path_normalize() in setuid scripts.
20169 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20171 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20172 __BEGIN/__END_DECLS.
20174 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20177 NSS_STATUS_NOTFOUND if no record was found.
20179 2011-05-05 Andreas Schwab <schwab@redhat.com>
20181 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20182 (headers-not-in-tirpc): Remove rpc/netdb.h
20183 * resolv/netdb.h: Revert last change.
20185 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20187 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20188 circular dependency between libgcc.a and libc.a.
20190 2011-05-05 Andreas Schwab <schwab@redhat.com>
20192 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20193 * nis/Makefile: Don't install rpcsvc/*.
20194 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20195 instead of <rpc/types.h>.
20196 (MAXHOSTNAMELEN): Define.
20198 2011-05-03 Andreas Schwab <schwab@redhat.com>
20200 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20202 2011-04-28 Maciej Babinski <mbabinski@google.com>
20205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20206 gethostbyname4_r when IPv6 results are possible.
20208 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20211 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20212 _PC_PIPE_BUF handling.
20214 2011-04-30 Bruno Haible <bruno@clisp.org>
20217 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20218 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20220 * inet/getnameinfo.c (getnameinfo): Likewise.
20222 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20224 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20225 to groups setting in database lookup.
20226 * nss/nsswitch.conf: Add initgroups entry.
20228 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20231 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20233 Patch by Eric Blake <eblake@redhat.com>.
20235 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20237 * sunrpc/Makefile (need-export-routines): Add svc_run.
20238 (routines): Remove svc_run.
20239 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20240 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20241 * sunrpc/svc_run.c (svc_run): Likewise.
20242 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20244 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20247 problem in reallocation in last patch.
20249 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20251 * sunrpc/Makefile: Move inclusion of Rules.
20253 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20255 * nss/nss_files/files-initgroups.c: New file.
20256 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20257 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20258 _nss_files_initgroups_dyn.
20260 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20262 * elf/elf.h (R_ARM_IRELATIVE): Define.
20264 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20266 * po/ru.po: Update from translation team.
20268 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20270 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20273 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20277 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20282 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20284 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20286 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20290 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20293 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20295 * stdlib/bug-getcontext.c: New file.
20296 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20298 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20300 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20301 instructions into .machine "z9-109".
20302 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20303 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20305 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20307 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20308 between environment variables and auxiliary vector.
20310 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20312 * Makefile: Add rules to build linkobj/libc.so.
20313 * include/libc-symbols.h: Define libc_hidden_nolink.
20314 * include/rpc/auth.h: Mark functions which are to be hidden.
20315 * include/rpc/auth_des.h: Likewise.
20316 * include/rpc/auth_unix.h: Likewise.
20317 * include/rpc/clnt.h: Likewise.
20318 * include/rpc/des_crypt.h: Likewise.
20319 * include/rpc/key_prot.h: Likewise.
20320 * include/rpc/pmap_clnt.h: Likewise.
20321 * include/rpc/pmap_prot.h: Likewise.
20322 * include/rpc/pmap_rmt.h: Likewise.
20323 * include/rpc/rpc_msg.h: Likewise.
20324 * include/rpc/svc.h: Likewise.
20325 * include/rpc/svc_auth.h: Likewise.
20326 * include/rpc/xdr.h: Likewise.
20327 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20328 * nss/Makefile: Likewise.
20329 * sunrpc/Makefile: Don't install headers. Build library with normal
20330 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20331 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20332 for the compat linking library. Remove use of INTDEF/INTUSE.
20333 * sunrpc/auth_none.c: Likewise.
20334 * sunrpc/auth_unix.c: Likewise.
20335 * sunrpc/authdes_prot.c: Likewise.
20336 * sunrpc/authuxprot.c: Likewise.
20337 * sunrpc/clnt_gen.c: Likewise.
20338 * sunrpc/clnt_perr.c: Likewise.
20339 * sunrpc/clnt_raw.c: Likewise.
20340 * sunrpc/clnt_simp.c: Likewise.
20341 * sunrpc/clnt_tcp.c: Likewise.
20342 * sunrpc/clnt_udp.c: Likewise.
20343 * sunrpc/clnt_unix.c: Likewise.
20344 * sunrpc/des_crypt.c: Likewise.
20345 * sunrpc/des_soft.c: Likewise.
20346 * sunrpc/get_myaddr.c: Likewise.
20347 * sunrpc/key_call.c: Likewise.
20348 * sunrpc/key_prot.c: Likewise.
20349 * sunrpc/netname.c: Likewise.
20350 * sunrpc/pm_getmaps.c: Likewise.
20351 * sunrpc/pm_getport.c: Likewise.
20352 * sunrpc/pmap_clnt.c: Likewise.
20353 * sunrpc/pmap_prot.c: Likewise.
20354 * sunrpc/pmap_prot2.c: Likewise.
20355 * sunrpc/pmap_rmt.c: Likewise.
20356 * sunrpc/publickey.c: Likewise.
20357 * sunrpc/rpc_cmsg.c: Likewise.
20358 * sunrpc/rpc_common.c: Likewise.
20359 * sunrpc/rpc_dtable.c: Likewise.
20360 * sunrpc/rpc_prot.c: Likewise.
20361 * sunrpc/rpc_thread.c: Likewise.
20362 * sunrpc/rtime.c: Likewise.
20363 * sunrpc/svc.c: Likewise.
20364 * sunrpc/svc_auth.c: Likewise.
20365 * sunrpc/svc_authux.c: Likewise.
20366 * sunrpc/svc_raw.c: Likewise.
20367 * sunrpc/svc_run.c: Likewise.
20368 * sunrpc/svc_simple.c: Likewise.
20369 * sunrpc/svc_tcp.c: Likewise.
20370 * sunrpc/svc_udp.c: Likewise.
20371 * sunrpc/svc_unix.c: Likewise.
20372 * sunrpc/svcauth_des.c: Likewise.
20373 * sunrpc/xcrypt.c: Likewise.
20374 * sunrpc/xdr.c: Likewise.
20375 * sunrpc/xdr_array.c: Likewise.
20376 * sunrpc/xdr_float.c: Likewise.
20377 * sunrpc/xdr_intXX_t.c: Likewise.
20378 * sunrpc/xdr_mem.c: Likewise.
20379 * sunrpc/xdr_rec.c: Likewise.
20380 * sunrpc/xdr_ref.c: Likewise.
20381 * sunrpc/xdr_sizeof.c: Likewise.
20382 * sunrpc/xdr_stdio.c: Likewise.
20384 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20387 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20388 * sysdeps/ia64/dl-tls.h: Likewise.
20389 * sysdeps/powerpc/dl-tls.h: Likewise.
20390 * sysdeps/s390/dl-tls.h: Likewise.
20391 * sysdeps/sh/dl-tls.h: Likewise.
20392 * sysdeps/sparc/dl-tls.h: Likewise.
20393 * sysdeps/x86_64/dl-tls.h: Likewise.
20394 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20396 2011-03-14 Andreas Schwab <schwab@redhat.com>
20398 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20399 rpath element also skip the following colon.
20400 (expand_dynamic_string_token): Add is_path parameter and pass
20401 down to DL_DST_REQUIRED and _dl_dst_substitute.
20402 (decompose_rpath): Call expand_dynamic_string_token with
20403 non-zero is_path. Ignore empty rpaths.
20404 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20407 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20412 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20415 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20416 Patch by Filipe David Manana <fdmanana@apache.org>.
20418 2011-04-07 Andreas Schwab <schwab@redhat.com>
20420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20421 Maintain aligned stack.
20422 (CHECK_RSP): Remove unused macro.
20424 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20426 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20427 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20429 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20431 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20433 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20435 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20438 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20439 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20440 * sysdeps/x86_64/memmove.c: New file.
20441 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20442 (memcpy): Renamed to ...
20443 (__new_memcpy): This.
20444 (memcpy): Provide GLIBC_2_14 memcpy.
20445 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20446 (memcpy): Provide GLIBC_2_2_5 memcpy.
20448 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20451 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20453 2011-03-30 Andreas Schwab <schwab@redhat.com>
20455 * misc/syncfs.c: New file.
20456 * misc/Makefile (routines): Add syncfs.
20457 * posix/unistd.h: Declare syncfs.
20458 * sysdeps/unix/syscalls.list: Add syncfs.
20460 2011-04-01 Andreas Schwab <schwab@redhat.com>
20462 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20467 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20469 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20472 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20474 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20482 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20483 sync_file_range.c with -fexceptions.
20484 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20485 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20486 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20487 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20488 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20489 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20491 sync_file_range as cancellation point
20492 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20493 now a wrapper around __call_sync_file_range with cancellation handling.
20494 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20495 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20496 function name to __call_sync_file_range.
20497 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20498 Add call_sync_file_range.
20500 2011-04-01 Andreas Schwab <schwab@redhat.com>
20502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20505 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20507 * iconv/iconv.h: Fix typo in comment.
20508 * io/fcntl.h: Likewise.
20509 * libio/stdio.h: Likewise.
20510 * posix/spawn.h: Likewise.
20511 * posix/unistd.h: Likewise.
20512 * stdlib/stdlib.h: Likewise.
20513 * time/time.h: Likewise.
20514 * wcsmbs/wchar.h: Likewise.
20516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20517 open_by_handle): Add.
20518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20519 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20520 Augment a few comments.
20521 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20526 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20529 * io/fcntl.h (AT_EMPTY_PATH): Define.
20531 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20533 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20534 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20535 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20537 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20538 * Versions.def: Add GLIBC_2.14.
20539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20542 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20544 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20546 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20548 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20551 * string/test-strncmp.c (do_page_test): New function.
20552 (check2): Likewise.
20553 (test_main): Call check2.
20554 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20556 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20560 Handle cache information in CPU leaf 4.
20561 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20563 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20566 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20567 character representation.
20568 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20570 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20572 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20573 END(__isnan) to END(__isnanf) to match function entry point/label
20574 EALIGN(__isnanf,...).
20576 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20578 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20580 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20583 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20584 copy from the symbol referenced in the relocation to initialize the
20586 Patch by Piotr Bury <pbury@goahead.com>.
20587 * elf/Makefile: Add rules to build and tst-unique3.
20588 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20589 * elf/tst-unique3.cc: New file.
20590 * elf/tst-unique3.h: New file.
20591 * elf/tst-unique3lib.cc: New file.
20592 * elf/tst-unique3lib2.cc: New file.
20594 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20596 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20598 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20599 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20602 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20604 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20605 to-be-loaded object along a path to loader is ld.so.
20607 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20608 Ulrich Drepper <drepper@gmail.com>
20610 * sysdeps/x86_64/memset.S: After aligning destination, code
20611 branches to different locations depending on the value of
20612 misalignment, when multiarch is enabled. Fix this.
20614 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20616 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20617 Set _x86_64_preferred_memory_instruction for AMD processsors.
20618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20619 Set bit_Prefer_SSE_for_memop for AMD processors.
20621 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20623 * libio/fmemopen.c (fmemopen): Optimize a bit.
20625 2011-03-03 Andreas Schwab <schwab@redhat.com>
20627 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20629 2011-03-03 Roland McGrath <roland@redhat.com>
20631 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20633 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20635 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20636 __bzero_ultra1 instead of __memset_ultra1.
20638 2011-02-23 Andreas Schwab <schwab@redhat.com>
20639 Ulrich Drepper <drepper@gmail.com>
20642 * include/link.h (struct link_map): Add l_orig_initfini.
20643 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20644 returning unsuccessfully.
20645 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20646 close of a file loaded at startup, restore the original l_initfini
20648 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20649 list, store the pointer.
20650 * elf/Makefile ($(objpfx)noload-mem): New rule.
20651 (noload-ENV): Define.
20652 (tests): Add $(objpfx)noload-mem.
20653 * elf/noload.c: Include <memcheck.h>.
20654 (main): Call mtrace. Close all opened handles.
20656 2011-02-17 Andreas Schwab <schwab@redhat.com>
20659 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20660 dependencies are missing.
20662 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20664 Fix __if_freereq crash: Unlike the generic version which uses free,
20666 * sysdeps/mach/hurd/ifreq.h: New file.
20668 2011-01-27 Petr Baudis <pasky@suse.cz>
20669 Ulrich Drepper <drepper@gmail.com>
20672 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20673 to extend_alloca().
20674 * stdio-common/bug23.c: New file.
20675 * stdio-common/Makefile (tests): Add bug23.
20677 2010-09-28 Andreas Schwab <schwab@redhat.com>
20678 Ulrich Drepper <drepper@gmail.com>
20681 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20682 before performing relro protection. At old place add assertion
20683 to make sure nothing changed.
20685 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20686 Glauber de Oliveira Costa <glommer@gmail.com>
20688 * elf/elf.h: Add new ARM TLS relocs.
20690 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20693 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20695 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20697 * sysdeps/wordsize-64/tst-writev.c: New file.
20699 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20701 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20702 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20703 insns in _dl_start to prevent a TOC reference before relocs are
20706 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20709 * Makeconfig: Remove RANLIB definition.
20710 * Makerules: Don't use RANLIB.
20711 * aclocal.m4: Remove ranlib test.
20712 * configure.in: No need to check for ranlib.
20713 * elf/rtld-Rules: Don't use RANLIB.
20715 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20717 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20719 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20720 inclusion protection macro.
20722 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20723 SIGRTMIN and SIGRTMAX and print information in that case only when
20724 SIGRTMIN is defined.
20726 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20728 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20729 arginfo fn returning -1.
20731 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20732 and thousands string is zero terminated.
20734 2011-02-03 Andreas Schwab <schwab@redhat.com>
20736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20737 sysdeps/unix/sysv/linux/bits/socket.h.
20739 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20741 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20742 (__CPU_COUNT): Remove old macros.
20743 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20744 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20745 (__CPU_ALLOC, __CPU_FREE): Add macros.
20746 (__sched_cpualloc, __sched_cpufree): Add declarations.
20748 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20750 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20751 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20752 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20753 (readdhstai): Return value of addhstaiX call.
20754 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20755 (addgrbyX): Return value returned by cache_addgr.
20756 (readdgrbyname): Return value returned by addgrbyX.
20757 (readdgrbygid): Likewise.
20758 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20759 (addpwbyX): Return value returned by cache_addpw.
20760 (readdpwbyname): Return value returned by addhstbyX.
20761 (readdpwbyuid): Likewise.
20762 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20763 (addservbyX): Return value returned by cache_addserv.
20764 (readdservbyname): Return value returned by addservbyX:
20765 (readdservbyport): Likewise.
20766 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20767 (addhstbyX): Return value returned by cache_addhst.
20768 (readdhstbyname): Return value returned by addhstbyX.
20769 (readdhstbyaddr): Likewise.
20770 (readdhstbynamev6): Likewise.
20771 (readdhstbyaddrv6): Likewise.
20772 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20773 (readdinitgroups): Return value returned by addinitgroupsX.
20774 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20775 (prune_cache): Keep track of timeout value of re-added entries.
20776 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20777 * nscd/nscd.h: Adjust prototypes of readd* functions.
20779 2011-02-04 Roland McGrath <roland@redhat.com>
20781 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20782 (nis_stats): Likewise.
20783 * nis/nis_modify.c (nis_modify): Likewise.
20784 * nis/nis_remove.c (nis_remove): Likewise.
20785 * nis/nis_add.c (nis_add): Likewise.
20787 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20789 * posix/fnmatch_loop.c: Add some consts.
20791 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20793 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20796 * config.make.in (config-cflags-novzeroupper): Define.
20797 * configure.in: Substitute libc_cv_cc_novzeroupper.
20798 * elf/Makefile (AVX-CFLAGS): Define.
20799 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20800 (CFLAGS-tst-auditmod4a.c): Likewise.
20801 (CFLAGS-tst-auditmod4b.c): Likewise.
20802 (CFLAGS-tst-auditmod6b.c): Likewise.
20803 (CFLAGS-tst-auditmod6c.c): Likewise.
20804 (CFLAGS-tst-auditmod7b.c): Likewise.
20805 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20807 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20809 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20810 function to the callback.
20811 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20813 2011-02-02 Andreas Schwab <schwab@redhat.com>
20815 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20818 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20821 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20823 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20825 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20828 * elf/Makefile: Add rules to build and run new test.
20829 * elf/tst-initorder.c: New file.
20830 * elf/tst-initorder.exp: New file.
20831 * elf/tst-initordera1.c: New file.
20832 * elf/tst-initordera2.c: New file.
20833 * elf/tst-initordera3.c: New file.
20834 * elf/tst-initordera4.c: New file.
20835 * elf/tst-initorderb1.c: New file.
20836 * elf/tst-initorderb2.c: New file.
20837 * elf/tst-order-a1.c: New file.
20838 * elf/tst-order-a2.c: New file.
20839 * elf/tst-order-a3.c: New file.
20840 * elf/tst-order-a4.c: New file.
20841 * elf/tst-order-b1.c: New file.
20842 * elf/tst-order-b2.c: New file.
20843 * elf/tst-order-main.c: New file.
20844 New test case by George Gensure <werkt0@gmail.com>.
20846 2010-10-01 Andreas Schwab <schwab@redhat.com>
20848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20849 decoding ACE if AI_CANONIDN.
20851 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20853 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20855 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20857 * version.h (RELEASE): Bump for 2.13 release.
20858 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20860 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20862 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20864 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20865 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20869 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20871 * posix/getconf.c: Update copyright year.
20872 * catgets/gencat.c: Likewise.
20873 * csu/version.c: Likewise.
20874 * debug/catchsegv.sh: Likewise.
20875 * debug/xtrace.sh: Likewise.
20876 * elf/ldconfig.c: Likewise.
20877 * elf/ldd.bash.in: Likewise.
20878 * elf/sprof.c (print_version): Likewise.
20879 * iconv/iconv_prog.c: Likewise.
20880 * iconv/iconvconfig.c: Likewise.
20881 * locale/programs/locale.c: Likewise.
20882 * locale/programs/localedef.c: Likewise.
20883 * malloc/memusage.sh: Likewise.
20884 * malloc/mtrace.pl: Likewise.
20885 * nscd/nscd.c (print_version): Likewise.
20886 * nss/getent.c: Likewise.
20888 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20889 PF_CAIF, and PF_ALG.
20890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20892 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20894 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20895 (modules-names): Use them.
20896 (ifunc-test-modules, ifunc-pie-tests): Define.
20897 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20898 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20899 (test-extras): Likewise.
20900 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20901 $(compile-command.c).
20902 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20903 (all-built-dso): Define.
20904 (check-textrel.out, check-execstack.out): Depend on it.
20906 * configure.in: Don't override --enable-multi-arch.
20908 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20911 * nscd/hstcache.c (tryagain): Define.
20912 (cache_addhst): Return tryagain not notfound for temporary errors.
20913 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20916 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20920 to make the syscall.
20921 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20924 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20925 and fall back to matching as normal character if the string ends before
20926 the matching ']' is found. This is what POSIX requires.
20927 * posix/testfnm.c: Adjust test result.
20928 * posix/globtest.sh: Adjust test result. Add new test.
20929 * posix/tst-fnmatch.input: Likewise.
20930 * posix/tst-fnmatch2.c: Add new test.
20932 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20934 * elf/Makefile (check-execstack): Revert last change. Depend on
20936 (check-execstack.h): New target.
20937 (generated): Add check-execstack.h.
20938 * elf/check-execstack.c: Include "check-execstack.h".
20939 (main): Revert last change.
20940 (handle_file): Return zero if GNU_STACK is absent and
20941 DEFAULT_STACK_PERMS doesn't include PF_X.
20943 2011-01-13 Ulrich Drepper <drepper@gmail.com>
20945 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20946 in child fails because the descriptor is already closed.
20947 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20948 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20949 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20952 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20956 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20957 temporary buffer used to handle multi lookups locally.
20958 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20960 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20962 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20965 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20967 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20968 alignment for SSE2.
20970 2011-01-12 Ulrich Drepper <drepper@gmail.com>
20973 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20974 characters. When rounding increased number of integer digits recompute
20976 * stdio-common/tst-grouping.c: New file.
20977 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20979 2011-01-09 Ulrich Drepper <drepper@gmail.com>
20981 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20982 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20984 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20986 * bits/select.h: Likewise.
20988 2011-01-08 Ulrich Drepper <drepper@gmail.com>
20990 * po/ja.po: Update from translation team.
20992 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
20995 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20996 implementation just like for lxstat, fxstatat, et al.
20998 2010-12-27 Jim Meyering <meyering@redhat.com>
21001 * posix/regexec.c (build_trtable): Return failure indication upon
21002 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21004 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21007 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21008 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21009 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21013 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21016 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21017 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21019 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21021 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21022 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21023 script has SORT_BY_INIT_PRIORITY.
21024 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21025 NO_CTORS_DTORS_SECTIONS is defined.
21026 * elf/soinit.c: Likewise.
21027 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21028 NO_CTORS_DTORS_SECTIONS is defined.
21029 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21030 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21031 * sysdeps/sh/init-first.c: Likewise.
21032 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21034 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21036 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21037 always use the slow path.
21039 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21041 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21042 similar rule which adds the sysdep directories to the header search in
21043 order to pick up the correct platform stackinfo.h.
21044 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21045 perform test if it is, otherwise return successfully without testing.
21046 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21047 DEFAULT_STACK_PERMS define in stackinfo.h.
21048 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21049 defined in stackinfo.h.
21050 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21051 DEFAULT_STACK_PERMS defined in stackinfo.h.
21052 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21053 * sysdeps/ia64/stackinfo.h: Likewise.
21054 * sysdeps/s390/stackinfo.h: Likewise.
21055 * sysdeps/sh/stackinfo.h: Likewise.
21056 * sysdeps/sparc/stackinfo.h: Likewise.
21057 * sysdeps/x86_64/stackinfo.h: Likewise.
21058 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21059 PF_X for powerpc64. Retain PF_X for powerpc32.
21061 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21063 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21065 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21066 GETDENTS_64BIT_ALIGNED.
21068 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21070 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21072 2010-12-10 Andreas Schwab <schwab@redhat.com>
21074 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21077 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21078 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21080 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21081 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21083 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21086 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21089 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21091 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21093 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21095 * po/it.po: Update from translation team.
21097 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21102 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21104 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21106 2010-11-24 Andreas Schwab <schwab@redhat.com>
21108 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21110 (gaih_getanswer_slice): Likewise.
21112 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21116 2010-05-31 Petr Baudis <pasky@suse.cz>
21119 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21120 silently even in the chroot mode.
21122 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21125 last patch a bit. Pretty printing
21127 2010-05-31 Petr Baudis <pasky@suse.cz>
21130 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21131 initialization of skip_initgroups_dyn.
21133 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21135 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21138 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21140 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21142 2010-11-11 Andreas Schwab <schwab@redhat.com>
21144 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21145 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21146 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21147 ($(objpfx)tst-fnmatch-mem): New rule.
21148 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21149 * posix/tst-fnmatch.c (main): Call mtrace.
21151 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21154 Support Intel processor model 6 and model 0x2c.
21156 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21158 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21161 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21164 * string/test-strncasecmp.c (check_result): New function.
21165 (do_one_test): Use it.
21166 (check1): New function.
21167 (test_main): Use it.
21168 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21169 Support strcasecmp and strncasecmp.
21171 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21174 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21177 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21179 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21183 * sysdeps/x86_64/multiarch/bzero.S: New file.
21184 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21185 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21186 * sysdeps/x86_64/multiarch/memset.S: New file.
21187 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21189 Set bit_Prefer_SSE_for_memop for Intel processors.
21190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21192 (index_Prefer_SSE_for_memop): Define.
21193 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21195 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21197 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21198 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21200 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21203 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21204 (__x86_64_raw_data_cache_size_half): Likewise.
21205 (__x86_64_raw_shared_cache_size): Likewise.
21206 (__x86_64_raw_shared_cache_size_half): Likewise.
21208 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21209 (__x86_64_raw_data_cache_size_half): Likewise.
21210 (__x86_64_raw_shared_cache_size): Likewise.
21211 (__x86_64_raw_shared_cache_size_half): Likewise.
21212 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21213 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21214 and __x86_64_raw_shared_cache_size_half. Round
21215 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21216 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21217 to multiple of 256 bytes.
21219 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21223 of inacessible symlinks. Verify result of symlink before returning it.
21224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21225 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21227 2010-10-28 Erich Ritz <erichritz@gmail.com>
21229 * math/math.h (isinf): Fix typo in comment.
21231 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21233 * po/da.po: Update from translation team.
21235 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21237 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21238 is added to the list.
21240 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21241 Ulrich Drepper <drepper@gmail.com>
21243 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21244 the global list here. Move code to...
21245 (_dl_add_to_namespace_list): ...here. New function.
21246 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21247 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21248 * elf/dl-load.c (lose): Don't remove the element from the list.
21249 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21250 (_dl_map_object): Likewise.
21252 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21255 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21256 into all bytes of SSE register.
21257 Patch by Richard Li <richardpku@gmail.com>.
21259 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21262 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21265 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21267 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21268 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21269 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21270 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21275 2010-10-22 Andreas Schwab <schwab@redhat.com>
21277 * include/dlfcn.h (__RTLD_SECURE): Define.
21278 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21279 mode & __RTLD_SECURE instead.
21280 (open_path): Rename preloaded parameter to secure.
21281 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21282 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21283 * elf/dl-deps.c (openaux): Likewise.
21284 * elf/rtld.c (struct map_args): Remove is_preloaded.
21285 (map_doit): Don't use it.
21286 (dl_main): Likewise.
21287 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21288 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21290 2010-09-09 Andreas Schwab <schwab@redhat.com>
21292 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21293 (sysd-rules-targets): Remove duplicates.
21294 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21295 rtld-%.$o dependency.
21297 2010-10-18 Andreas Schwab <schwab@redhat.com>
21299 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21300 _dl_map_object do it.
21302 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21304 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21305 fast fma builtins, define the macros in the C99 standard.
21306 (FP_FAST_FMAF): Likewise.
21307 (FP_FAST_FMAL): Likewise.
21308 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21310 * bits/mathdef.h: Update copyright year.
21311 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21313 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21315 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21316 builtins, define the macros in the C99 standard.
21317 (FP_FAST_FMAF): Likewise.
21318 (FP_FAST_FMAL): Likewise.
21319 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21321 (FP_FAST_FMAF): Likewise.
21323 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21326 * math/libm-test.inc (fma_test): Some new testcases.
21327 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21329 y and infinite z. Do multiplication by C already in long double.
21330 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21332 y and infinite z. Do bitwise or of inexact bit into u.d.
21333 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21334 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21335 * sysdeps/i386/fpu/s_fma.S: Removed.
21336 * sysdeps/i386/fpu/s_fmal.S: Removed.
21338 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21341 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21343 computation is not scheduled after fetestexcept. Fix value
21344 of minimum denormal long double.
21346 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21349 * math/libm-test.inc (fma_test): Add some more tests.
21350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21353 2010-10-15 Andreas Schwab <schwab@redhat.com>
21355 * scripts/data/localplt-s390-linux-gnu.data: New file.
21356 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21358 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21361 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21362 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21364 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21366 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21368 if one of x and y is very large and the other is subnormal.
21369 * sysdeps/s390/fpu/s_fmaf.c: New file.
21370 * sysdeps/s390/fpu/s_fma.c: New file.
21371 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21372 * sysdeps/powerpc/fpu/s_fma.S: New file.
21373 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21374 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21375 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21377 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21380 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21382 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21383 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21384 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21385 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21386 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21387 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21390 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21393 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21394 * posix/bug-regex31.input: Add test case.
21396 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21398 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21399 * posix/bug-regex31.input: New file.
21402 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21403 (parse_sub_exp): Fix last change, use postorder.
21405 * posix/bug-regex31.c: New file.
21406 * posix/Makefile: Add rules to build and run bug-regex31.
21408 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21411 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21414 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21415 to have entries in sys_siglist.
21418 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21421 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21424 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21425 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21426 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21427 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21428 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21429 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21430 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21431 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21432 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21433 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21434 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21435 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21436 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21437 * math/ftestexcept.c (fetestexcept): Likewise.
21438 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21439 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21440 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21441 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21442 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21443 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21446 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21449 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21452 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21454 * string/bug-strstr1.c: New file.
21455 * string/Makefile: Add rules to build and run bug-strstr1.
21457 2010-10-05 Eric Blake <eblake@redhat.com>
21460 * string/str-two-way.h (two_way_long_needle): Always clear memory
21461 when skipping input due to the shift table.
21463 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21466 * malloc/mcheck.c: Handle large requests.
21469 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21470 for strncmp and strncasecmp.
21471 * string/stratcliff.c: Add tests for strcmp and strncmp.
21472 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21474 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21476 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21479 2010-09-30 Andreas Jaeger <aj@suse.de>
21481 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21482 (CGROUP_SUPER_MAGIC): Define.
21483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21484 Handle btrfs and cgroup file systems.
21485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21488 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21490 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21491 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21493 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21496 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21497 trying to locate the ELF header.
21499 2010-09-27 Andreas Schwab <schwab@redhat.com>
21502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21503 Mask out sign-bit copies when constructing f_fsid.
21505 2010-09-24 Petr Baudis <pasky@suse.cz>
21507 * debug/stack_chk_fail_local.c: Add missing licence exception.
21508 * debug/warning-nop.c: Likewise.
21510 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21513 implementing getdents64 using getdents syscall, set d_type if
21514 __ASSUME_GETDENTS32_D_TYPE.
21516 2010-09-16 Andreas Schwab <schwab@redhat.com>
21518 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21519 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21521 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21524 * posix/unistd.h: Undo change of feature selection for ftruncate from
21527 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21529 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21532 2010-09-20 Andreas Schwab <schwab@redhat.com>
21534 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21538 2010-09-14 Andreas Schwab <schwab@redhat.com>
21540 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21541 variables after CHECK_SP call.
21542 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21544 2010-09-13 Andreas Schwab <schwab@redhat.com>
21545 Ulrich Drepper <drepper@redhat.com>
21547 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21548 re-relocationg ld.so.
21549 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21550 _dl_init_paths call.
21551 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21554 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21556 * resolv/res_init.c (__res_vinit): Count the default server we added.
21558 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21559 Ulrich Drepper <drepper@redhat.com>
21562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21563 (____longjmp_chk): Use %ebx for saving value across system call.
21566 2010-09-06 Andreas Schwab <schwab@redhat.com>
21568 * manual/Makefile: Don't mix pattern rules with normal rules.
21570 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21572 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21574 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21575 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21576 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21577 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21581 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21584 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21585 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21587 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21589 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21590 * sysdeps/x86_64/addmul_1.S: Likewise.
21591 * sysdeps/x86_64/lshift.S: Likewise.
21592 * sysdeps/x86_64/mul_1.S: Likewise.
21593 * sysdeps/x86_64/rshift.S: Likewise.
21594 * sysdeps/x86_64/sub_n.S: Likewise.
21595 * sysdeps/x86_64/submul_1.S: Likewise.
21597 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21599 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21600 Define __sched_param instead of SCHED_* and sched_param when
21601 <bits/sched.h> is included with __need_schedparam defined.
21602 * bits/sched.h [__need_schedparam]
21603 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21604 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21605 (__defined_schedparam): Define to 1.
21606 (__sched_param): New structure, identical to sched_param.
21607 (__need_schedparam): Undefine.
21609 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21611 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21612 (epoll_create1): Declare.
21614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21616 2010-08-31 Andreas Schwab <schwab@redhat.com>
21619 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21620 shifting retval into place.
21622 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21624 * nis/rpcsvc/nis.h: Update copyright notice.
21625 * nis/rpcsvc/nis.x: Likewise.
21626 * nis/rpcsvc/nis_callback.h: Likewise.
21627 * nis/rpcsvc/nis_callback.x: Likewise.
21628 * nis/rpcsvc/nis_object.x: Likewise.
21629 * nis/rpcsvc/nis_tags.h: Likewise.
21630 * nis/rpcsvc/yp.h: Likewise.
21631 * nis/rpcsvc/yp.x: Likewise.
21632 * nis/rpcsvc/ypupd.h: Likewise.
21633 * nis/yp_xdr.c: Likewise.
21634 * nis/ypupdate_xdr.c: Likewise.
21636 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21637 mainly the body of pmap_getport. Add parameters to specify timeouts.
21638 (pmap_getport): Use __libc_rpc_getport.
21639 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21640 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21641 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21643 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21648 2010-08-27 Roland McGrath <roland@redhat.com>
21650 * sysdeps/i386/i686/multiarch/Makefile
21651 (CFLAGS-varshift.c): New variable.
21653 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21655 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21656 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21660 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21662 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21664 * sysdeps/x86_64/strlen.S: Unroll the loop.
21665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21666 strlen-sse2 strlen-sse2-bsf.
21667 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21668 __strlen_no_bsf if bit_Slow_BSF is set.
21669 (__strlen_sse42): Removed.
21670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21671 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21673 2010-08-25 Roland McGrath <roland@redhat.com>
21675 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21676 * sysdeps/x86_64/multiarch/varshift.c: New file.
21677 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21678 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21679 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21680 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21682 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21685 strlen-sse2 strlen-sse2-bsf.
21686 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21687 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21688 (__strlen_sse2): Removed.
21689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21692 bit_Slow_BSF for Atom.
21693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21694 (index_Slow_BSF): Define.
21695 (HAS_SLOW_BSF): Define.
21697 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21700 * resolv/res_init.c (__res_vinit): When no server address at all
21701 is given default to loopback.
21703 2010-08-24 Roland McGrath <roland@redhat.com>
21705 * configure.in: Remove config-name.h generation.
21706 * configure: Regenerated.
21707 * config-name.in: File removed.
21708 * scripts/config-uname.sh: New file.
21709 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21710 ($(objdir)config-name.h): New target.
21712 * sunrpc/rpc_parse.h: Avoid nested comment.
21714 2010-08-24 Richard Henderson <rth@redhat.com>
21715 Ulrich Drepper <drepper@redhat.com>
21716 H.J. Lu <hongjiu.lu@intel.com>
21718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21720 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21721 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21722 _mm_alignr_epi8 with _mm_loadu_si128.
21723 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21724 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21725 (__m128i_shift_right): Removed.
21726 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21727 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21728 * sysdeps/x86_64/multiarch/varshift.h: New file.
21729 * sysdeps/x86_64/multiarch/varshift.S: New file.
21731 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21733 * configure.in: Move assembler checks to before sysdep dir checking.
21735 2010-08-20 Petr Baudis <pasky@suse.cz>
21737 * LICENSES: Sync the sunrpc license.
21739 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21741 * sunrpc/auth_des.c: Update copyright notice once again.
21742 * sunrpc/auth_none.c: Likewise.
21743 * sunrpc/auth_unix.c: Likewise.
21744 * sunrpc/authdes_prot.c: Likewise.
21745 * sunrpc/authuxprot.c: Likewise.
21746 * sunrpc/bindrsvprt.c: Likewise.
21747 * sunrpc/clnt_gen.c: Likewise.
21748 * sunrpc/clnt_perr.c: Likewise.
21749 * sunrpc/clnt_raw.c: Likewise.
21750 * sunrpc/clnt_simp.c: Likewise.
21751 * sunrpc/clnt_tcp.c: Likewise.
21752 * sunrpc/clnt_udp.c: Likewise.
21753 * sunrpc/clnt_unix.c: Likewise.
21754 * sunrpc/des_crypt.c: Likewise.
21755 * sunrpc/des_soft.c: Likewise.
21756 * sunrpc/get_myaddr.c: Likewise.
21757 * sunrpc/getrpcport.c: Likewise.
21758 * sunrpc/key_call.c: Likewise.
21759 * sunrpc/key_prot.c: Likewise.
21760 * sunrpc/openchild.c: Likewise.
21761 * sunrpc/pm_getmaps.c: Likewise.
21762 * sunrpc/pm_getport.c: Likewise.
21763 * sunrpc/pmap_clnt.c: Likewise.
21764 * sunrpc/pmap_prot.c: Likewise.
21765 * sunrpc/pmap_prot2.c: Likewise.
21766 * sunrpc/pmap_rmt.c: Likewise.
21767 * sunrpc/rpc/auth.h: Likewise.
21768 * sunrpc/rpc/auth_unix.h: Likewise.
21769 * sunrpc/rpc/clnt.h: Likewise.
21770 * sunrpc/rpc/des_crypt.h: Likewise.
21771 * sunrpc/rpc/key_prot.h: Likewise.
21772 * sunrpc/rpc/netdb.h: Likewise.
21773 * sunrpc/rpc/pmap_clnt.h: Likewise.
21774 * sunrpc/rpc/pmap_prot.h: Likewise.
21775 * sunrpc/rpc/pmap_rmt.h: Likewise.
21776 * sunrpc/rpc/rpc.h: Likewise.
21777 * sunrpc/rpc/rpc_des.h: Likewise.
21778 * sunrpc/rpc/rpc_msg.h: Likewise.
21779 * sunrpc/rpc/svc.h: Likewise.
21780 * sunrpc/rpc/svc_auth.h: Likewise.
21781 * sunrpc/rpc/types.h: Likewise.
21782 * sunrpc/rpc/xdr.h: Likewise.
21783 * sunrpc/rpc_clntout.c: Likewise.
21784 * sunrpc/rpc_cmsg.c: Likewise.
21785 * sunrpc/rpc_common.c: Likewise.
21786 * sunrpc/rpc_cout.c: Likewise.
21787 * sunrpc/rpc_dtable.c: Likewise.
21788 * sunrpc/rpc_hout.c: Likewise.
21789 * sunrpc/rpc_main.c: Likewise.
21790 * sunrpc/rpc_parse.c: Likewise.
21791 * sunrpc/rpc_parse.h: Likewise.
21792 * sunrpc/rpc_prot.c: Likewise.
21793 * sunrpc/rpc_sample.c: Likewise.
21794 * sunrpc/rpc_scan.c: Likewise.
21795 * sunrpc/rpc_scan.h: Likewise.
21796 * sunrpc/rpc_svcout.c: Likewise.
21797 * sunrpc/rpc_tblout.c: Likewise.
21798 * sunrpc/rpc_util.c: Likewise.
21799 * sunrpc/rpc_util.h: Likewise.
21800 * sunrpc/rpcinfo.c: Likewise.
21801 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21802 * sunrpc/rpcsvc/key_prot.x: Likewise.
21803 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21804 * sunrpc/rpcsvc/mount.x: Likewise.
21805 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21806 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21807 * sunrpc/rpcsvc/rex.x: Likewise.
21808 * sunrpc/rpcsvc/rstat.x: Likewise.
21809 * sunrpc/rpcsvc/rusers.x: Likewise.
21810 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21811 * sunrpc/rpcsvc/spray.x: Likewise.
21812 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21813 * sunrpc/rtime.c: Likewise.
21814 * sunrpc/svc.c: Likewise.
21815 * sunrpc/svc_auth.c: Likewise.
21816 * sunrpc/svc_authux.c: Likewise.
21817 * sunrpc/svc_raw.c: Likewise.
21818 * sunrpc/svc_run.c: Likewise.
21819 * sunrpc/svc_simple.c: Likewise.
21820 * sunrpc/svc_tcp.c: Likewise.
21821 * sunrpc/svc_udp.c: Likewise.
21822 * sunrpc/svc_unix.c: Likewise.
21823 * sunrpc/svcauth_des.c: Likewise.
21824 * sunrpc/xcrypt.c: Likewise.
21825 * sunrpc/xdr.c: Likewise.
21826 * sunrpc/xdr_array.c: Likewise.
21827 * sunrpc/xdr_float.c: Likewise.
21828 * sunrpc/xdr_mem.c: Likewise.
21829 * sunrpc/xdr_rec.c: Likewise.
21830 * sunrpc/xdr_ref.c: Likewise.
21831 * sunrpc/xdr_sizeof.c: Likewise.
21832 * sunrpc/xdr_stdio.c: Likewise.
21834 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21837 2010-08-19 Andreas Schwab <schwab@redhat.com>
21839 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21841 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21843 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21845 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21846 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21847 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21848 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21849 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21850 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21852 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21853 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21854 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21855 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21856 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21858 2010-07-26 Anton Blanchard <anton@samba.org>
21860 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21861 * malloc/arena.c (heap_trim): Likewise.
21863 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21865 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21868 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21870 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21872 * sysdeps/i386/elf/Makefile: New file.
21874 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21876 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21877 from fanotify_init.
21878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21881 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21883 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21885 * sysdeps/multiarch/strcmp.S: Likewise.
21887 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21889 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21890 strncase_l-nonascii.
21891 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21892 Add strncase_l-ssse3.
21893 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21894 * sysdeps/x86_64/strcmp.S: Likewise.
21895 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21896 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21897 * sysdeps/x86_64/strncase.S: New file.
21898 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21899 * sysdeps/x86_64/strncase_l.S: New file.
21900 * string/Makefile (strop-tests): Add strncasecmp.
21901 * string/test-strncasecmp.c: New file.
21903 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21906 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21907 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21909 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21911 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21913 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21915 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21916 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21917 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21919 2010-05-01 Alan Modra <amodra@gmail.com>
21921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21922 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21923 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21924 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21925 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21926 tidying. Don't tail-call __sigjmp_save for static lib.
21927 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21929 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21930 (CALL_MCOUNT): Add eh info, and nop after bl.
21931 (TAIL_CALL_SYSCALL_ERROR): New macro.
21932 (PSEUDO_RET): Use it.
21933 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21934 Correct save location of integer regs and cr.
21935 (_dl_profile_resolve): Correct cr save location. Delete nops
21936 after bl when SHARED. Reduce cfi size a little by better
21937 placement of cfi directives.
21938 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21939 make a stack frame. Instead use parm save area as a temp.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21941 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21943 Don't make a stack frame for parent, use parm save area.
21944 Increase child stack frame to 112 bytes. Don't save unused reg,
21945 and adjust reg usage. Set up cfi on error recovery and
21946 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21948 (__makecontext): Add dummy nop after jump to exit.
21949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21950 Use correct parm save area and cr save, reduce stack frame.
21951 Correct cfi for possible PSEUDO_RET frame setup.
21952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21953 Branch to local label emitted by PSEUDO_RET rather than
21956 2010-08-12 Andreas Schwab <schwab@redhat.com>
21959 * locale/programs/locale.c (print_assignment): New function.
21960 (show_locale_vars): Use it.
21962 2010-08-11 Ulrich Drepper <drepper@redhat.com>
21964 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21966 (struct statfs64): Likewise.
21967 (_STATFS_F_FLAGS): Define.
21968 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21970 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21971 (ST_VALID): Define locally.
21972 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21973 __statvfs_getflags, use the provided value.
21974 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21975 __ASSUME_STATFS_F_FLAGS.
21977 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21979 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21980 Add sys/fanotify.h.
21981 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21982 fanotify_mask for GLIBC_2.13.
21983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21984 fanotify_init and fanotify_mark.
21985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21986 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21988 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21990 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21991 prlimit64 for GLIBC_2.13.
21992 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21998 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21999 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22002 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22005 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22006 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22008 * nss/Makefile: Add rules to build and run tst-nss-test1.
22009 * shlib-versions: Add entry for libnss_test1.
22010 * nss/nss_test1.c: New file.
22011 * nss/tst-nss-test1.c: New file.
22013 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22014 (__nss_configure_lookup): Set appropriate entry in
22015 __nss_configure_lookup to true.
22016 * nss/nsswitch.h: Define enum with indeces of databases in
22017 databases and __nss_database_custom arrays. Declare
22018 __nss_database_custom.
22019 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22020 to avoid using nscd when custom rules are installed.
22021 * nss/getXXbyYY_r.c: Likewise.
22022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22024 * nss/nss_files/files-parse.c: Whitespace fixes.
22026 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22029 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22030 * posix/fnmatch_loop.c: Likewise.
22032 2010-07-17 Andi Kleen <ak@linux.intel.com>
22034 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22035 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22036 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22037 * Versions.def [GLIBC_2.13]: Add.
22039 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22042 Also fail if tpwd after pwuid call is NULL.
22044 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22046 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22047 when converting to ms.
22049 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22051 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22052 EOPNOTSUPP errors with ENOTTY.
22053 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22054 EOPNOTSUPP errors with ENOTTY.
22056 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22058 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22059 Add strcasecmp_l-ssse3.
22060 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22062 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22063 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22064 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22066 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22068 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22070 * string/Makefile (strop-tests): Add strcasecmp.
22071 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22072 strcasecmp_l-nonascii.
22073 (gen-as-const-headers): Add locale-defines.sym.
22074 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22075 * sysdeps/x86_64/strcasecmp.S: New file.
22076 * sysdeps/x86_64/strcasecmp_l.S: New file.
22077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22078 * sysdeps/x86_64/locale-defines.sym: New file.
22079 * string/test-strcasecmp.c: New file.
22081 * string/test-strcasestr.c: Test both ends of the range of characters.
22082 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22084 2010-07-29 Roland McGrath <roland@redhat.com>
22087 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22089 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22091 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22094 2010-07-27 Andreas Schwab <schwab@redhat.com>
22096 * manual/memory.texi (Malloc Tunable Parameters): Document
22099 2010-07-26 Roland McGrath <roland@redhat.com>
22102 * configure.in (-fgnu89-inline check): Set and substitute
22103 gnu89_inline, not libc_cv_gnu89_inline.
22104 * configure: Regenerated.
22105 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22107 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22109 * string/test-strnlen.c: New file.
22110 * string/Makefile (strop-tests): Add strnlen.
22111 * string/tester.c (test_strnlen): Add a few more test cases.
22112 * string/tst-strlen.c: Better error reporting.
22114 * sysdeps/x86_64/strnlen.S: New file.
22116 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22118 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22119 lower-latency instructions.
22121 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22123 * string/test-strcasestr.c: New file.
22124 * string/test-strstr.c: New file.
22125 * string/Makefile (strop-tests): Add strstr and strcasestr.
22126 * string/str-two-way.h: Don't undefine MAX.
22127 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22129 2010-07-21 Andreas Schwab <schwab@redhat.com>
22131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22132 strcasestr-nonascii.
22133 (CFLAGS-strcasestr-nonascii.c): Define.
22134 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22135 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22136 Remove unused attribute.
22138 2010-07-20 Roland McGrath <roland@redhat.com>
22140 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22141 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22142 ld.so.cache was broken. With it, there is no way to disable dsocaps
22143 like LD_HWCAP_MASK can disable hwcaps.
22145 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22147 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22149 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22151 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22152 call in strcasestr.
22153 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22154 __strcasestr_sse42_nonascii.
22155 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22156 strcasestr-nonascii.c.
22157 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22159 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22161 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22162 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22163 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22166 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22168 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22171 2010-07-06 Andreas Schwab <schwab@redhat.com>
22174 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22177 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22180 _PC_PIPE_BUF using F_GETPIPE_SZ.
22182 2010-07-05 Roland McGrath <roland@redhat.com>
22184 * manual/arith.texi (Rounding Functions): Fix rint description
22185 implicit in round description.
22187 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22189 * elf/Makefile: Fix linking for a few tests to make recent linker
22192 2010-06-30 Andreas Schwab <schwab@redhat.com>
22194 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22195 $(common-objpfx)libc_nonshared.a.
22197 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22199 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22200 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22201 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22202 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22203 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22204 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22205 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22206 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22221 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22222 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22223 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22224 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22225 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22226 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22227 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22228 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22229 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22230 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22231 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22232 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22248 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22250 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22251 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22252 * string/memmove.c (memmove): Renamed to ...
22253 (MEMMOVE): ...this. Default to memmove.
22254 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22255 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22258 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22259 mempcpy-ssse3-back memmove-ssse3-back.
22260 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22261 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22263 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22264 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22265 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22266 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22267 * sysdeps/x86_64/multiarch/memmove.c: New file.
22268 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22269 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22270 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22271 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22272 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22275 (index_Fast_Copy_Backward): Define.
22276 (HAS_ARCH_FEATURE): Define.
22277 (HAS_FAST_REP_STRING): Define.
22278 (HAS_FAST_COPY_BACKWARD): Define.
22280 2010-06-21 Andreas Schwab <schwab@redhat.com>
22282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22283 Restore proper fallback handling.
22285 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22288 * posix/group_member.c (__group_member): Correct checking loop.
22290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22291 OOM in getpwuid_r correctly. Return error number when the caller
22292 should return, otherwise -1.
22293 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22294 call returning > 0 value.
22295 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22297 2010-06-07 Andreas Schwab <schwab@redhat.com>
22299 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22300 libc_nonshared.a from targets in modules-names.
22302 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22304 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22307 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22314 2010-06-02 Andreas Schwab <schwab@redhat.com>
22316 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22318 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22320 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22329 2010-06-14 Roland McGrath <roland@redhat.com>
22331 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22333 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22335 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22336 __REDIRECT followed by __THROW.
22337 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22338 * posix/getopt.h (getopt): Likewise.
22340 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22342 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22343 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22344 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22346 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22347 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22349 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22351 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22353 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22357 Properly check family and model.
22359 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22361 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22363 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22365 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22367 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22369 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22372 2010-05-19 Andreas Schwab <schwab@redhat.com>
22374 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22377 2010-05-21 Andreas Schwab <schwab@redhat.com>
22379 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22380 and internal_recvmmsg.
22381 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22382 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22383 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22384 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22386 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22387 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22388 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22390 2010-05-20 Andreas Schwab <schwab@redhat.com>
22392 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22394 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22396 POWER7 optimizations.
22397 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22398 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22400 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22402 * version.h: Update for 2.13 development version.
22404 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22406 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22407 exceptions. Return 0.
22409 2010-05-07 Roland McGrath <roland@redhat.com>
22411 * elf/ldconfig.c (main): Add a const.
22413 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22415 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22416 (args_options): Add no-idn option.
22417 (ahosts_keys_int): Add idn_flags to ai_flags.
22418 (parse_option): Handle 'i' option to clear idn_flags.
22420 * malloc/malloc.c (_int_free): Possible race in the most recently
22421 added check. Only act on the data if no current modification
22424 See ChangeLog.17 for earlier changes.