1 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5 * configure: Regenerated.
7 2012-11-17 David S. Miller <davem@davemloft.net>
10 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11 nonzero exponents with absolute value below 0x1p-128 to +/-
14 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20 * posix/getconf-speclist.c: New file.
21 * posix/posix-envs.def: Likewise.
22 * posix/confstr.c (START_ENV_GROUP): New macro.
23 (END_ENV_GROUP): Likewise.
24 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25 (KNOWN_PRESENT_ENV_STRING): Likewise.
26 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27 (UNKNOWN_ENVIRONMENT): Likewise.
28 (confstr): Include posix-envs.def instead of handling
29 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32 (END_ENV_GROUP): Likewise.
33 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35 (UNKNOWN_ENVIRONMENT): Likewise.
36 (__sysconf): Include posix-envs.def instead of handling associated
38 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39 preprocessing getconf-speclist.c rather than running getconf or
40 generating empty file.
42 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44 * scripts/check-local-headers.sh: Ignore 'mach' headers.
46 2012-11-16 Andrej Lajovic <natrij@gmail.com>
49 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51 2012-11-16 David S. Miller <davem@davemloft.net>
53 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54 smaller than LDBL_EPSILON/2.0L, just return xm1.
56 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
58 * elf/tst-array1.c (init): Set constructor priority to 1000.
59 (fini): Set destructor priority to 1000.
60 * elf/tst-array2dep.c: Likewise.
62 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
65 * libio/fileops.c (_IO_new_file_write): Correctly return error.
66 (_IO_new_file_xsputn): Also return EOF if none of the input
67 data was written when overflow failed.
68 * libio/iopadn.c (_IO_padn): Likewise.
69 * libio/iowpadn.c (_IO_wpadn): Likewise.
70 * stdio-common/tst-put-error.c: Add copyright notice.
71 (do_test): Add case for printing padded string.
72 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73 _IO_padn returned error.
74 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
75 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
78 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
80 * libio/libioP.h: Add comment note that the references to C++
81 bits are now obsolete.
83 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
85 * math/libm-test.inc (check_complex): Use asprintf.
87 2012-11-14 Joseph Myers <joseph@codesourcery.com>
89 * debug/pcprofiledump.c (print_version): Update copyright year.
90 * malloc/memusagestat.c (print_version): Likewise.
92 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
95 * elf/Makefile (tests): Add tst-audit8.
96 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
97 ($(objpfx)tst-audit8.out): New target.
98 (tst-audit8-ENV): New variable.
99 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
100 audit if l_reloc_result is NULL.
101 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
102 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
103 * elf/tst-audit8.c: New file.
105 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
107 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
108 * misc/Makefile (CFLAGS-select.c): Define.
109 * posix/Makefile (CFLAGS-pause.c): Define.
111 2012-11-13 David S. Miller <davem@davemloft.net>
113 * crypt/Makefile: Move test targets after toplevel Rules
114 inclusion. Grab any necessary sysdep routines when linking.
115 * crypt/md5.c (md5_process_block): Remove define, we will always
116 name it __md5_process_block.
117 (md5_finish_ctx): Update md5_process_block call.
118 (md5_stream): Likewise.
119 (md5_process_bytes): Likewise.
120 (md5_process_block): Rename to __md5_process_block and move to ...
121 * crypt/md5-block.c: ... here.
122 * crypt/sha256.c (sha256_process_block): Move to ...
123 * crypt/sha256-block.c: ... here.
124 * crypt/sha512.c (sha512_process_block): Move to ...
125 * crypt/sha512-block.c: ... here.
126 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
128 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
129 * sysdeps/sparc/sparc64/multiarch/Makefile
130 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
132 (localedef-aux): Add md5 crypto assembler when in locale subdir.
133 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
135 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
136 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
137 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
138 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
139 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
140 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
141 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
143 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
145 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
148 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
150 2012-11-13 Joseph Myers <joseph@codesourcery.com>
152 * timezone/tzselect.ksh: Update from tzcode git revision
153 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
154 * timezone/zdump.c: Likewise.
155 * timezone/zic.c: Likewise.
156 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
157 in TZVERSION setting, not $(PKGVERSION).
158 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
159 REPORT_BUGS_TO settings.
162 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
165 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
167 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
168 detection to immediately after _FP_ROUND().
169 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
172 2012-11-11 David S. Miller <davem@davemloft.net>
174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
176 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
177 __close rather than their public counterparts.
179 2012-11-10 Joseph Myers <joseph@codesourcery.com>
181 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
183 [UNIX98] (sem_timedwait): Do not expect.
184 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
185 [XPG4 || UNIX98] (sockatmark): Do not expect.
186 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
187 (clock_getcpuclockid): Do not expect.
188 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
189 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
191 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
192 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
193 [UNIX98] (vwscanf): Likewise.
194 [UNIX98] (vswscanf): Likewise.
196 2012-11-09 Joseph Myers <joseph@codesourcery.com>
198 * timezone/version.h: Remove file.
199 * timezone/README: Do not refer to version.h.
200 * timezone/Makefile ($(objpfx)zic.o): New dependency on
202 ($(objpfx)zdump.o): Likewise.
203 ($(objpfx)version.h): New target.
205 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
207 * timezone/README: Don't mention modification to tzselect.ksh.
208 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
209 work on unmodified tzselect.ksh. Substitute version numbers in
212 * Makefile (format-me): Remove.
213 (INSTALL): Adjust indentation. Use commands directly instead of
216 * aclocal.m4 (ACX_PKGVERSION): New macro.
217 (ACX_BUGURL): Likewise.
218 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
219 (PKGVERSION): New AC_DEFINE_UNQUOTED.
220 (REPORT_BUGS_TO): Likewise.
221 * configure: Regenerated.
222 * config.h.in (PKGVERSION): New macro.
223 (REPORT_BUGS_TO): Likewise.
224 * config.make.in (PKGVERSION): New variable.
225 (PKGVERSION_TEXI): Likewise.
226 (REPORT_BUGS_TO): Likewise.
227 (REPORT_BUGS_TEXI): Likewise.
228 * Makefile (format-me): Use -I$(common-objpfx)manual.
229 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
230 ($(common-objpfx)manual/%): New target.
231 (manual/%): Remove target.
232 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
233 (print_version): Use PKGVERSION.
234 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
235 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
237 ($(objpfx)xtrace): Likewise.
238 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
239 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
240 (print_version): Use PKGVERSION.
241 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
242 (do_version): Use PKGVERSION.
243 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
245 (common-ldd-rewrite): Likewise.
246 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
247 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
248 (print_version): Use PKGVERSION.
249 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
250 * elf/pldd.c (argp_program_bug_address): Remove variable.
251 (more_help): New function.
252 (argp): Use more_help.
253 (print_version): Use PKGVERSION.
254 * elf/sln.c (main): Use PKGVERSION.
255 (usage): Use REPORT_BUGS_TO.
256 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
257 (top level): Use PKGVERSION.
258 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
259 (print_version): Use PKGVERSION.
260 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
261 (print_version): Use PKGVERSION.
262 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
263 (print_version): Use PKGVERSION.
264 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
265 (print_version): Use PKGVERSION.
266 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
267 (print_version): Use PKGVERSION.
268 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
269 (print_version): Use PKGVERSION.
270 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
272 ($(objpfx)memusage): Likewise.
273 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
274 (do_version): Use PKGVERSION.
275 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
276 (print_version): Use PKGVERSION.
277 * malloc/mtrace.pl ($PACKAGE): Remove variable.
278 ($PKGVERSION): New variable.
279 ($REPORT_BUGS_TO): Likewise.
280 (usage): Use $REPORT_BUGS_TO.
281 (top level): Use $PKGVERSION.
282 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
283 ($(objpfx)pkgvers.texi): New rule.
284 ($(objpfx)stamp-pkgvers): Likewise.
285 * manual/install.texi: Include pkgvers.texi.
286 (--with-pkgversion): Document new configure option.
287 (--with-bugurl): Likewise.
288 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
289 than necessarily for this particular distribution. Use
290 REPORT_BUGS_TO for where to report bugs.
291 * INSTALL: Regenerated.
292 * manual/libc.texinfo: Include pkgvers.texi.
293 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
294 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
295 (print_version): Use PKGVERSION.
296 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
297 (print_version): Use PKGVERSION.
298 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
299 (print_version): Use PKGVERSION.
300 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
301 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
303 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
304 (print_version): Use PKGVERSION.
305 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
306 (print_version): Use PKGVERSION.
307 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
310 * timezone/checktab.awk: Update from tzcode 2012i.
311 * timezone/ialloc.c: Likewise.
312 * timezone/private.h: Likewise.
313 * timezone/scheck.c: Likewise.
314 * timezone/tzfile.h: Likewise.
315 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
316 (TZVERSION): Hardcode tzcode version number.
317 * timezone/zdump.c: Update from tzcode 2012i.
318 * timezone/zic.c: Likewise.
319 * timezone/version.h: New file.
320 * timezone/README: Describe version.h. Update upstream location.
323 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
324 (mktemp): Enable declaration.
325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
342 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
343 offset in buffer as u_int32_t not u_long. Consistently use memcpy
344 for copies of such integer values.
345 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
346 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
348 2012-11-09 Andreas Jaeger <aj@suse.de>
350 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
351 definitions and declarations that are provided by
352 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
354 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
356 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
357 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
358 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
361 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
363 * elf/elf.h: Update comment before AArch64 relocations.
365 2012-11-07 David S. Miller <davem@davemloft.net>
367 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
369 (__start_context): Declare.
370 (__makecontext_ret): Delete.
371 (__makecontext): Hook up __start_context instead of
373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
374 (sysdep_routines): Add __start_context when in stdlib.
376 2012-11-07 Joseph Myers <joseph@codesourcery.com>
378 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
379 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
380 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
382 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
383 (READELF): New variable. Use it instead of hardcoded "readelf".
385 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
387 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
388 * sysdeps/x86/Makefile: Here.
389 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
390 * sysdeps/x86/tst-xmmymm.sh: This.
392 2012-11-07 Joseph Myers <joseph@codesourcery.com>
394 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
396 [UNIX98] (pthread_barrier_t): Do not expect.
397 [UNIX98] (pthread_barrierattr_t): Likewise.
398 [UNIX98] (pthread_spinlock_t): Likewise.
399 [UNIX98] (pthread_barrier_destroy): Likewise.
400 [UNIX98] (pthread_barrier_init): Likewise.
401 [UNIX98] (pthread_barrier_wait): Likewise.
402 [UNIX98] (pthread_barrierattr_destroy): Likewise.
403 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
404 [UNIX98] (pthread_barrierattr_init): Likewise.
405 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
406 [UNIX98] (pthread_getcpuclockid): Likewise.
407 [UNIX98] (pthread_mutex_timedlock): Likewise.
408 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
409 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
410 [UNIX98] (pthread_sigmask): Likewise.
411 [UNIX98] (pthread_spin_destroy): Likewise.
412 [UNIX98] (pthread_spin_init): Likewise.
413 [UNIX98] (pthread_spin_lock): Likewise.
414 [UNIX98] (pthread_spin_trylock): Likewise.
415 [UNIX98] (pthread_spin_unlock): Likewise.
416 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
418 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
419 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
420 [XPG3 || XPG4] (pthread_cond_t): Likewise.
421 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
422 [XPG3 || XPG4] (pthread_key_t): Likewise.
423 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
424 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
425 [XPG3 || XPG4] (pthread_once_t): Likewise.
426 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
427 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
428 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
429 [XPG3 || XPG4] (pthread_t): Likewise.
431 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
433 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
435 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
436 Change function return type to int.
438 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
439 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
440 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
441 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
442 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
443 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
444 [!POSIX] (posix_madvise): Likewise.
445 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
447 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
448 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
450 (posix_mem_offset): Likewise.
451 (posix_typed_mem_get_info): Likewise.
452 (posix_typed_mem_open): Likewise.
454 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
455 Change condition to [XOPEN2K8].
457 * conform/conformtest.pl: Preprocess allow-header data with -x c
458 instead of from stdin.
459 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
460 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
461 [C99-based standards] (cerfc): Likewise.
462 [C99-based standards] (cexp2): Likewise.
463 [C99-based standards] (cexpm1): Likewise.
464 [C99-based standards] (clog10): Likewise.
465 [C99-based standards] (clog1p): Likewise.
466 [C99-based standards] (clog2): Likewise.
467 [C99-based standards] (clgamma): Likewise.
468 [C99-based standards] (ctgamma): Likewise.
469 [C99-based standards] (cerff): Likewise.
470 [C99-based standards] (cerfcf): Likewise.
471 [C99-based standards] (cexp2f): Likewise.
472 [C99-based standards] (cexpm1f): Likewise.
473 [C99-based standards] (clog10f): Likewise.
474 [C99-based standards] (clog1pf): Likewise.
475 [C99-based standards] (clog2f): Likewise.
476 [C99-based standards] (clgammaf): Likewise.
477 [C99-based standards] (ctgammaf): Likewise.
478 [C99-based standards] (cerfl): Likewise.
479 [C99-based standards] (cerfcl): Likewise.
480 [C99-based standards] (cexp2l): Likewise.
481 [C99-based standards] (cexpm1l): Likewise.
482 [C99-based standards] (clog10l): Likewise.
483 [C99-based standards] (clog1pl): Likewise.
484 [C99-based standards] (clog2l): Likewise.
485 [C99-based standards] (clgammal): Likewise.
486 [C99-based standards] (ctgammal): Likewise.
487 * conform/data/inttypes.h-data [C99-based standards]: Include
488 stdint.h-data. Remove all expectations for stdint.h contents.
489 [C99-based standards] (PRI*): Do not allow.
490 [C99-based standards] (SCN*): Likewise.
491 [C99-based standards] (*_t): Likewise.
492 [C99-based-standards] (PRId8): Expect macro.
493 [C99-based-standards] (PRIi8): Likewise.
494 [C99-based-standards] (PRIo8): Likewise.
495 [C99-based-standards] (PRIu8): Likewise.
496 [C99-based-standards] (PRIx8): Likewise.
497 [C99-based-standards] (PRIX8): Likewise.
498 [C99-based-standards] (SCNd8): Likewise.
499 [C99-based-standards] (SCNi8): Likewise.
500 [C99-based-standards] (SCNo8): Likewise.
501 [C99-based-standards] (SCNu8): Likewise.
502 [C99-based-standards] (SCNx8): Likewise.
503 [C99-based-standards] (PRIdLEAST8): Likewise.
504 [C99-based-standards] (PRIiLEAST8): Likewise.
505 [C99-based-standards] (PRIoLEAST8): Likewise.
506 [C99-based-standards] (PRIuLEAST8): Likewise.
507 [C99-based-standards] (PRIxLEAST8): Likewise.
508 [C99-based-standards] (PRIXLEAST8): Likewise.
509 [C99-based-standards] (SCNdLEAST8): Likewise.
510 [C99-based-standards] (SCNiLEAST8): Likewise.
511 [C99-based-standards] (SCNoLEAST8): Likewise.
512 [C99-based-standards] (SCNuLEAST8): Likewise.
513 [C99-based-standards] (SCNxLEAST8): Likewise.
514 [C99-based-standards] (PRIdFAST8): Likewise.
515 [C99-based-standards] (PRIiFAST8): Likewise.
516 [C99-based-standards] (PRIoFAST8): Likewise.
517 [C99-based-standards] (PRIuFAST8): Likewise.
518 [C99-based-standards] (PRIxFAST8): Likewise.
519 [C99-based-standards] (PRIXFAST8): Likewise.
520 [C99-based-standards] (SCNdFAST8): Likewise.
521 [C99-based-standards] (SCNiFAST8): Likewise.
522 [C99-based-standards] (SCNoFAST8): Likewise.
523 [C99-based-standards] (SCNuFAST8): Likewise.
524 [C99-based-standards] (SCNxFAST8): Likewise.
525 [C99-based-standards] (PRId16): Likewise.
526 [C99-based-standards] (PRIi16): Likewise.
527 [C99-based-standards] (PRIo16): Likewise.
528 [C99-based-standards] (PRIu16): Likewise.
529 [C99-based-standards] (PRIx16): Likewise.
530 [C99-based-standards] (PRIX16): Likewise.
531 [C99-based-standards] (SCNd16): Likewise.
532 [C99-based-standards] (SCNi16): Likewise.
533 [C99-based-standards] (SCNo16): Likewise.
534 [C99-based-standards] (SCNu16): Likewise.
535 [C99-based-standards] (SCNx16): Likewise.
536 [C99-based-standards] (PRIdLEAST16): Likewise.
537 [C99-based-standards] (PRIiLEAST16): Likewise.
538 [C99-based-standards] (PRIoLEAST16): Likewise.
539 [C99-based-standards] (PRIuLEAST16): Likewise.
540 [C99-based-standards] (PRIxLEAST16): Likewise.
541 [C99-based-standards] (PRIXLEAST16): Likewise.
542 [C99-based-standards] (SCNdLEAST16): Likewise.
543 [C99-based-standards] (SCNiLEAST16): Likewise.
544 [C99-based-standards] (SCNoLEAST16): Likewise.
545 [C99-based-standards] (SCNuLEAST16): Likewise.
546 [C99-based-standards] (SCNxLEAST16): Likewise.
547 [C99-based-standards] (PRIdFAST16): Likewise.
548 [C99-based-standards] (PRIiFAST16): Likewise.
549 [C99-based-standards] (PRIoFAST16): Likewise.
550 [C99-based-standards] (PRIuFAST16): Likewise.
551 [C99-based-standards] (PRIxFAST16): Likewise.
552 [C99-based-standards] (PRIXFAST16): Likewise.
553 [C99-based-standards] (SCNdFAST16): Likewise.
554 [C99-based-standards] (SCNiFAST16): Likewise.
555 [C99-based-standards] (SCNoFAST16): Likewise.
556 [C99-based-standards] (SCNuFAST16): Likewise.
557 [C99-based-standards] (SCNxFAST16): Likewise.
558 [C99-based-standards] (PRId32): Likewise.
559 [C99-based-standards] (PRIi32): Likewise.
560 [C99-based-standards] (PRIo32): Likewise.
561 [C99-based-standards] (PRIu32): Likewise.
562 [C99-based-standards] (PRIx32): Likewise.
563 [C99-based-standards] (PRIX32): Likewise.
564 [C99-based-standards] (SCNd32): Likewise.
565 [C99-based-standards] (SCNi32): Likewise.
566 [C99-based-standards] (SCNo32): Likewise.
567 [C99-based-standards] (SCNu32): Likewise.
568 [C99-based-standards] (SCNx32): Likewise.
569 [C99-based-standards] (PRIdLEAST32): Likewise.
570 [C99-based-standards] (PRIiLEAST32): Likewise.
571 [C99-based-standards] (PRIoLEAST32): Likewise.
572 [C99-based-standards] (PRIuLEAST32): Likewise.
573 [C99-based-standards] (PRIxLEAST32): Likewise.
574 [C99-based-standards] (PRIXLEAST32): Likewise.
575 [C99-based-standards] (SCNdLEAST32): Likewise.
576 [C99-based-standards] (SCNiLEAST32): Likewise.
577 [C99-based-standards] (SCNoLEAST32): Likewise.
578 [C99-based-standards] (SCNuLEAST32): Likewise.
579 [C99-based-standards] (SCNxLEAST32): Likewise.
580 [C99-based-standards] (PRIdFAST32): Likewise.
581 [C99-based-standards] (PRIiFAST32): Likewise.
582 [C99-based-standards] (PRIoFAST32): Likewise.
583 [C99-based-standards] (PRIuFAST32): Likewise.
584 [C99-based-standards] (PRIxFAST32): Likewise.
585 [C99-based-standards] (PRIXFAST32): Likewise.
586 [C99-based-standards] (SCNdFAST32): Likewise.
587 [C99-based-standards] (SCNiFAST32): Likewise.
588 [C99-based-standards] (SCNoFAST32): Likewise.
589 [C99-based-standards] (SCNuFAST32): Likewise.
590 [C99-based-standards] (SCNxFAST32): Likewise.
591 [C99-based-standards] (PRId64): Likewise.
592 [C99-based-standards] (PRIi64): Likewise.
593 [C99-based-standards] (PRIo64): Likewise.
594 [C99-based-standards] (PRIu64): Likewise.
595 [C99-based-standards] (PRIx64): Likewise.
596 [C99-based-standards] (PRIX64): Likewise.
597 [C99-based-standards] (SCNd64): Likewise.
598 [C99-based-standards] (SCNi64): Likewise.
599 [C99-based-standards] (SCNo64): Likewise.
600 [C99-based-standards] (SCNu64): Likewise.
601 [C99-based-standards] (SCNx64): Likewise.
602 [C99-based-standards] (PRIdLEAST64): Likewise.
603 [C99-based-standards] (PRIiLEAST64): Likewise.
604 [C99-based-standards] (PRIoLEAST64): Likewise.
605 [C99-based-standards] (PRIuLEAST64): Likewise.
606 [C99-based-standards] (PRIxLEAST64): Likewise.
607 [C99-based-standards] (PRIXLEAST64): Likewise.
608 [C99-based-standards] (SCNdLEAST64): Likewise.
609 [C99-based-standards] (SCNiLEAST64): Likewise.
610 [C99-based-standards] (SCNoLEAST64): Likewise.
611 [C99-based-standards] (SCNuLEAST64): Likewise.
612 [C99-based-standards] (SCNxLEAST64): Likewise.
613 [C99-based-standards] (PRIdFAST64): Likewise.
614 [C99-based-standards] (PRIiFAST64): Likewise.
615 [C99-based-standards] (PRIoFAST64): Likewise.
616 [C99-based-standards] (PRIuFAST64): Likewise.
617 [C99-based-standards] (PRIxFAST64): Likewise.
618 [C99-based-standards] (PRIXFAST64): Likewise.
619 [C99-based-standards] (SCNdFAST64): Likewise.
620 [C99-based-standards] (SCNiFAST64): Likewise.
621 [C99-based-standards] (SCNoFAST64): Likewise.
622 [C99-based-standards] (SCNuFAST64): Likewise.
623 [C99-based-standards] (SCNxFAST64): Likewise.
624 [C99-based-standards] (PRIdMAX): Likewise.
625 [C99-based-standards] (PRIiMAX): Likewise.
626 [C99-based-standards] (PRIoMAX): Likewise.
627 [C99-based-standards] (PRIuMAX): Likewise.
628 [C99-based-standards] (PRIxMAX): Likewise.
629 [C99-based-standards] (PRIXMAX): Likewise.
630 [C99-based-standards] (SCNdMAX): Likewise.
631 [C99-based-standards] (SCNiMAX): Likewise.
632 [C99-based-standards] (SCNoMAX): Likewise.
633 [C99-based-standards] (SCNuMAX): Likewise.
634 [C99-based-standards] (SCNxMAX): Likewise.
635 [C99-based-standards] (PRIdPTR): Likewise.
636 [C99-based-standards] (PRIiPTR): Likewise.
637 [C99-based-standards] (PRIoPTR): Likewise.
638 [C99-based-standards] (PRIuPTR): Likewise.
639 [C99-based-standards] (PRIxPTR): Likewise.
640 [C99-based-standards] (PRIXPTR): Likewise.
641 [C99-based-standards] (SCNdPTR): Likewise.
642 [C99-based-standards] (SCNiPTR): Likewise.
643 [C99-based-standards] (SCNoPTR): Likewise.
644 [C99-based-standards] (SCNuPTR): Likewise.
645 [C99-based-standards] (SCNxPTR): Likewise.
646 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
648 * conform/data/stdint.h-data: Update comments to clarify
650 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
652 [C99-based standards] (INT8_MAX): Likewise.
653 [C99-based standards] (INT16_MIN): Likewise.
654 [C99-based standards] (INT16_MAX): Likewise.
655 [C99-based standards] (INT32_MIN): Likewise.
656 [C99-based standards] (INT32_MAX): Likewise.
657 [C99-based standards] (INT64_MIN): Likewise.
658 [C99-based standards] (INT64_MAX): Likewise.
659 [C99-based standards] (UINT8_MAX): Likewise.
660 [C99-based standards] (UINT16_MAX): Likewise.
661 [C99-based standards] (UINT32_MAX): Likewise.
662 [C99-based standards] (UINT64_MAX): Likewise.
663 [C99-based standards] (INT_LEAST8_MIN): Likewise.
664 [C99-based standards] (INT_LEAST8_MAX): Likewise.
665 [C99-based standards] (INT_LEAST16_MIN): Likewise.
666 [C99-based standards] (INT_LEAST16_MAX): Likewise.
667 [C99-based standards] (INT_LEAST32_MIN): Likewise.
668 [C99-based standards] (INT_LEAST32_MAX): Likewise.
669 [C99-based standards] (INT_LEAST64_MIN): Likewise.
670 [C99-based standards] (INT_LEAST64_MAX): Likewise.
671 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
672 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
673 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
674 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
675 [C99-based standards] (INT_FAST8_MIN): Likewise.
676 [C99-based standards] (INT_FAST8_MAX): Likewise.
677 [C99-based standards] (INT_FAST16_MIN): Likewise.
678 [C99-based standards] (INT_FAST16_MAX): Likewise.
679 [C99-based standards] (INT_FAST32_MIN): Likewise.
680 [C99-based standards] (INT_FAST32_MAX): Likewise.
681 [C99-based standards] (INT_FAST64_MIN): Likewise.
682 [C99-based standards] (INT_FAST64_MAX): Likewise.
683 [C99-based standards] (UINT_FAST8_MAX): Likewise.
684 [C99-based standards] (UINT_FAST16_MAX): Likewise.
685 [C99-based standards] (UINT_FAST32_MAX): Likewise.
686 [C99-based standards] (UINT_FAST64_MAX): Likewise.
687 [C99-based standards] (INTPTR_MIN): Likewise.
688 [C99-based standards] (INTPTR_MAX): Likewise.
689 [C99-based standards] (UINTPTR_MAX): Likewise.
690 [C99-based standards] (INTMAX_MIN): Likewise.
691 [C99-based standards] (INTMAX_MAX): Likewise.
692 [C99-based standards] (UINTMAX_MAX): Likewise.
693 [C99-based standards] (PTRDIFF_MIN): Likewise.
694 [C99-based standards] (PTRDIFF_MAX): Likewise.
695 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
696 [C99-based standards] (SIZE_MAX): Likewise.
697 [C99-based standards] (WCHAR_MAX): Likewise.
698 [C99-based standards] (WINT_MAX): Likewise.
699 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
701 [C99-based standards] (WCHAR_MIN): Likewise.
702 [C99-based standards] (WINT_MIN): Likewise.
703 [C99-based standards] (*_t): Allow.
704 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
705 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
706 Include math.h-data and complex.h-data. Remove all expectations
707 of math.h and complex.h contents.
708 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
710 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
711 (struct tm): Expect tag.
712 [C99-based-standards] (wcstof): Expect function.
713 [C99-based-standards] (wcstold): Likewise.
714 [C99-based-standards] (wcstoll): Likewise.
715 [C99-based-standards] (wcstoull): Likewise.
716 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
717 macro-int-constant. Specify type.
718 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
720 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
722 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
724 [ISO C standards]: Do not allow headers.
725 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
726 wcs[abcdefghijklmnopqrstuvwxyz]*.
727 [ISO C standards] (*_t): Do not allow.
728 * conform/data/wctype.h-data [C99-based standards] (iswblank):
730 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
731 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
733 [ISO C standards]: Do not allow headers.
734 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
735 is[abcdefghijklmnopqrstuvwxyz]*.
736 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
737 to[abcdefghijklmnopqrstuvwxyz]*.
738 [ISO C standards] (*_t): Do not allow.
739 * conform/data/stdalign.h-data: New file.
740 * conform/data/stdbool.h-data: Likewise.
741 * conform/data/stdnoreturn.h-data: Likewise.
743 2012-11-07 Andreas Jaeger <aj@suse.de>
746 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
747 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
748 guards are changed. Only define if not yet defined, #undef back
749 after including linux/sysctl.h if defined here.
751 2012-11-07 Roland McGrath <roland@hack.frob.com>
754 * manual/filesys.texi (Directory Entries): Typo fix.
755 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
757 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
759 * elf/elf.h (EM_AARCH64): New macro.
760 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
761 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
762 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
763 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
764 (R_AARCH64_TLSDESC): Likewise.
765 (NT_ARM_TLS): Likewise.
766 (NT_ARM_HW_BREAK): Likewise.
767 (NT_ARM_HW_WATCH): Likewise.
769 2012-11-07 Joseph Myers <joseph@codesourcery.com>
772 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
773 (__ieee754_powl): Saturate nonzero exponents with absolute value
774 below 0x1p-79 to +/- 0x1p-79.
775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
776 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
777 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
778 nonzero exponents with absolute value below 0x1p-32 to +/-
780 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
781 (__ieee754_powl): Saturate nonzero exponents with absolute value
782 below 0x1p-79 to +/- 0x1p-79.
783 * math/libm-test.inc (pow_test): Add more tests.
785 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
787 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
788 _dl_s390_cap_flags with kernel. Increase string length.
789 (_dl_s390_platforms): Add z196 and zEC12.
791 2012-11-07 Joseph Myers <joseph@codesourcery.com>
793 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
794 Change XOPEN21K to XOPEN2K.
796 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
798 * string/memmove.c: Use memcpy when possible.
800 2012-11-06 Andreas Jaeger <aj@suse.de>
802 * po/eo.po: Update from translation team.
804 2012-11-06 Joseph Myers <joseph@codesourcery.com>
807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
808 exponent and small x and y exponents, scale x or y up. Increase
809 by 2 the exponent used in scaling up.
810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
811 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
812 * math/libm-test.inc (fma_test): Add more tests.
813 (fma_test_towardzero): Likewise.
814 (fma_test_downward): Likewise.
815 (fma_test_upward): Likewise.
817 2012-11-05 Joseph Myers <joseph@codesourcery.com>
820 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
824 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
825 namespace for names of struct fields.
826 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
828 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
829 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
831 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
834 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
836 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
838 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
842 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
845 2012-11-04 Joseph Myers <joseph@codesourcery.com>
848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
849 definitely overflow as x * y not x * y + z.
850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
852 * math/libm-test.inc (fma_test): Add more tests.
853 (fma_test_towardzero): Likewise.
854 (fma_test_downward): Likewise.
855 (fma_test_upward): Likewise.
857 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
861 * include/stub-tag.h: Remove file.
862 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
864 * manual/maint.texi (Porting): Don't reference it.
865 * Makerules ($(objpfx)stubs): Likewise.
866 * dirent/closedir.c: Don't include <stub-tag.h>.
867 * dirent/dirfd.c: Likewise.
868 * dirent/fdopendir.c: Likewise.
869 * dirent/getdents.c: Likewise.
870 * dirent/getdents64.c: Likewise.
871 * dirent/opendir.c: Likewise.
872 * dirent/readdir.c: Likewise.
873 * dirent/readdir64.c: Likewise.
874 * dirent/readdir64_r.c: Likewise.
875 * dirent/readdir_r.c: Likewise.
876 * dirent/rewinddir.c: Likewise.
877 * dirent/seekdir.c: Likewise.
878 * dirent/telldir.c: Likewise.
879 * gmon/profil.c: Likewise.
880 * grp/setgroups.c: Likewise.
881 * inet/if_index.c: Likewise.
882 * io/access.c: Likewise.
883 * io/chdir.c: Likewise.
884 * io/chmod.c: Likewise.
885 * io/chown.c: Likewise.
886 * io/close.c: Likewise.
887 * io/dup.c: Likewise.
888 * io/dup2.c: Likewise.
889 * io/dup3.c: Likewise.
890 * io/euidaccess.c: Likewise.
891 * io/faccessat.c: Likewise.
892 * io/fchdir.c: Likewise.
893 * io/fchmod.c: Likewise.
894 * io/fchmodat.c: Likewise.
895 * io/fchown.c: Likewise.
896 * io/fchownat.c: Likewise.
897 * io/fcntl.c: Likewise.
898 * io/flock.c: Likewise.
899 * io/fstatfs.c: Likewise.
900 * io/fstatfs64.c: Likewise.
901 * io/fstatvfs.c: Likewise.
902 * io/fstatvfs64.c: Likewise.
903 * io/futimens.c: Likewise.
904 * io/fxstat.c: Likewise.
905 * io/fxstat64.c: Likewise.
906 * io/fxstatat.c: Likewise.
907 * io/fxstatat64.c: Likewise.
908 * io/getcwd.c: Likewise.
909 * io/isatty.c: Likewise.
910 * io/lchmod.c: Likewise.
911 * io/lchown.c: Likewise.
912 * io/link.c: Likewise.
913 * io/linkat.c: Likewise.
914 * io/lseek.c: Likewise.
915 * io/lseek64.c: Likewise.
916 * io/lxstat64.c: Likewise.
917 * io/mkdir.c: Likewise.
918 * io/mkdirat.c: Likewise.
919 * io/mkfifo.c: Likewise.
920 * io/mkfifoat.c: Likewise.
921 * io/open.c: Likewise.
922 * io/open64.c: Likewise.
923 * io/openat.c: Likewise.
924 * io/openat64.c: Likewise.
925 * io/pipe.c: Likewise.
926 * io/pipe2.c: Likewise.
927 * io/poll.c: Likewise.
928 * io/posix_fadvise.c: Likewise.
929 * io/posix_fadvise64.c: Likewise.
930 * io/posix_fallocate.c: Likewise.
931 * io/posix_fallocate64.c: Likewise.
932 * io/read.c: Likewise.
933 * io/readlink.c: Likewise.
934 * io/readlinkat.c: Likewise.
935 * io/rmdir.c: Likewise.
936 * io/sendfile.c: Likewise.
937 * io/sendfile64.c: Likewise.
938 * io/statfs.c: Likewise.
939 * io/statfs64.c: Likewise.
940 * io/statvfs.c: Likewise.
941 * io/statvfs64.c: Likewise.
942 * io/symlink.c: Likewise.
943 * io/symlinkat.c: Likewise.
944 * io/ttyname.c: Likewise.
945 * io/ttyname_r.c: Likewise.
946 * io/umask.c: Likewise.
947 * io/unlink.c: Likewise.
948 * io/unlinkat.c: Likewise.
949 * io/utime.c: Likewise.
950 * io/utimensat.c: Likewise.
951 * io/write.c: Likewise.
952 * io/xmknod.c: Likewise.
953 * io/xmknodat.c: Likewise.
954 * io/xstat.c: Likewise.
955 * io/xstat64.c: Likewise.
956 * login/getpt.c: Likewise.
957 * login/grantpt.c: Likewise.
958 * login/unlockpt.c: Likewise.
959 * math/e_acoshl.c: Likewise.
960 * math/e_acosl.c: Likewise.
961 * math/e_asinl.c: Likewise.
962 * math/e_atan2l.c: Likewise.
963 * math/e_atanhl.c: Likewise.
964 * math/e_coshl.c: Likewise.
965 * math/e_expl.c: Likewise.
966 * math/e_fmodl.c: Likewise.
967 * math/e_gammal_r.c: Likewise.
968 * math/e_hypotl.c: Likewise.
969 * math/e_j0l.c: Likewise.
970 * math/e_j1l.c: Likewise.
971 * math/e_jnl.c: Likewise.
972 * math/e_lgammal_r.c: Likewise.
973 * math/e_log10l.c: Likewise.
974 * math/e_log2l.c: Likewise.
975 * math/e_logl.c: Likewise.
976 * math/e_powl.c: Likewise.
977 * math/e_rem_pio2l.c: Likewise.
978 * math/e_sinhl.c: Likewise.
979 * math/e_sqrtl.c: Likewise.
980 * math/fclrexcpt.c: Likewise.
981 * math/fedisblxcpt.c: Likewise.
982 * math/feenablxcpt.c: Likewise.
983 * math/fegetenv.c: Likewise.
984 * math/fegetexcept.c: Likewise.
985 * math/fegetround.c: Likewise.
986 * math/feholdexcpt.c: Likewise.
987 * math/fesetenv.c: Likewise.
988 * math/fesetround.c: Likewise.
989 * math/feupdateenv.c: Likewise.
990 * math/fgetexcptflg.c: Likewise.
991 * math/fraiseexcpt.c: Likewise.
992 * math/fsetexcptflg.c: Likewise.
993 * math/ftestexcept.c: Likewise.
994 * math/k_cosl.c: Likewise.
995 * math/k_rem_pio2l.c: Likewise.
996 * math/k_sinl.c: Likewise.
997 * math/k_tanl.c: Likewise.
998 * math/s_asinhl.c: Likewise.
999 * math/s_atanl.c: Likewise.
1000 * math/s_cbrtl.c: Likewise.
1001 * math/s_erfl.c: Likewise.
1002 * math/s_expm1l.c: Likewise.
1003 * math/s_log1pl.c: Likewise.
1004 * math/s_tanhl.c: Likewise.
1005 * misc/acct.c: Likewise.
1006 * misc/brk.c: Likewise.
1007 * misc/chflags.c: Likewise.
1008 * misc/chroot.c: Likewise.
1009 * misc/fchflags.c: Likewise.
1010 * misc/fgetxattr.c: Likewise.
1011 * misc/flistxattr.c: Likewise.
1012 * misc/fremovexattr.c: Likewise.
1013 * misc/fsetxattr.c: Likewise.
1014 * misc/fsync.c: Likewise.
1015 * misc/ftruncate.c: Likewise.
1016 * misc/futimes.c: Likewise.
1017 * misc/futimesat.c: Likewise.
1018 * misc/getdomain.c: Likewise.
1019 * misc/getdtsz.c: Likewise.
1020 * misc/gethostid.c: Likewise.
1021 * misc/gethostname.c: Likewise.
1022 * misc/getloadavg.c: Likewise.
1023 * misc/getpagesize.c: Likewise.
1024 * misc/getsysstats.c: Likewise.
1025 * misc/getxattr.c: Likewise.
1026 * misc/gtty.c: Likewise.
1027 * misc/ioctl.c: Likewise.
1028 * misc/lgetxattr.c: Likewise.
1029 * misc/listxattr.c: Likewise.
1030 * misc/llistxattr.c: Likewise.
1031 * misc/lremovexattr.c: Likewise.
1032 * misc/lsetxattr.c: Likewise.
1033 * misc/lutimes.c: Likewise.
1034 * misc/madvise.c: Likewise.
1035 * misc/mincore.c: Likewise.
1036 * misc/mlock.c: Likewise.
1037 * misc/mlockall.c: Likewise.
1038 * misc/mmap.c: Likewise.
1039 * misc/mprotect.c: Likewise.
1040 * misc/msync.c: Likewise.
1041 * misc/munlock.c: Likewise.
1042 * misc/munlockall.c: Likewise.
1043 * misc/munmap.c: Likewise.
1044 * misc/preadv.c: Likewise.
1045 * misc/preadv64.c: Likewise.
1046 * misc/ptrace.c: Likewise.
1047 * misc/pwritev.c: Likewise.
1048 * misc/pwritev64.c: Likewise.
1049 * misc/readv.c: Likewise.
1050 * misc/reboot.c: Likewise.
1051 * misc/remap_file_pages.c: Likewise.
1052 * misc/removexattr.c: Likewise.
1053 * misc/revoke.c: Likewise.
1054 * misc/select.c: Likewise.
1055 * misc/setdomain.c: Likewise.
1056 * misc/setegid.c: Likewise.
1057 * misc/seteuid.c: Likewise.
1058 * misc/sethostid.c: Likewise.
1059 * misc/sethostname.c: Likewise.
1060 * misc/setregid.c: Likewise.
1061 * misc/setreuid.c: Likewise.
1062 * misc/setxattr.c: Likewise.
1063 * misc/sstk.c: Likewise.
1064 * misc/stty.c: Likewise.
1065 * misc/swapoff.c: Likewise.
1066 * misc/swapon.c: Likewise.
1067 * misc/sync.c: Likewise.
1068 * misc/syncfs.c: Likewise.
1069 * misc/syscall.c: Likewise.
1070 * misc/truncate.c: Likewise.
1071 * misc/ualarm.c: Likewise.
1072 * misc/usleep.c: Likewise.
1073 * misc/ustat.c: Likewise.
1074 * misc/utimes.c: Likewise.
1075 * misc/vhangup.c: Likewise.
1076 * misc/writev.c: Likewise.
1077 * posix/_exit.c: Likewise.
1078 * posix/alarm.c: Likewise.
1079 * posix/execve.c: Likewise.
1080 * posix/fexecve.c: Likewise.
1081 * posix/fork.c: Likewise.
1082 * posix/fpathconf.c: Likewise.
1083 * posix/getaddrinfo.c: Likewise.
1084 * posix/getegid.c: Likewise.
1085 * posix/geteuid.c: Likewise.
1086 * posix/getgid.c: Likewise.
1087 * posix/getgroups.c: Likewise.
1088 * posix/getlogin.c: Likewise.
1089 * posix/getlogin_r.c: Likewise.
1090 * posix/getpgid.c: Likewise.
1091 * posix/getpid.c: Likewise.
1092 * posix/getppid.c: Likewise.
1093 * posix/getresgid.c: Likewise.
1094 * posix/getresuid.c: Likewise.
1095 * posix/getsid.c: Likewise.
1096 * posix/getuid.c: Likewise.
1097 * posix/glob64.c: Likewise.
1098 * posix/nanosleep.c: Likewise.
1099 * posix/pathconf.c: Likewise.
1100 * posix/pause.c: Likewise.
1101 * posix/posix_madvise.c: Likewise.
1102 * posix/pread.c: Likewise.
1103 * posix/pread64.c: Likewise.
1104 * posix/pwrite.c: Likewise.
1105 * posix/pwrite64.c: Likewise.
1106 * posix/sched_getaffinity.c: Likewise.
1107 * posix/sched_getp.c: Likewise.
1108 * posix/sched_gets.c: Likewise.
1109 * posix/sched_primax.c: Likewise.
1110 * posix/sched_primin.c: Likewise.
1111 * posix/sched_rr_gi.c: Likewise.
1112 * posix/sched_setaffinity.c: Likewise.
1113 * posix/sched_setp.c: Likewise.
1114 * posix/sched_sets.c: Likewise.
1115 * posix/sched_yield.c: Likewise.
1116 * posix/setgid.c: Likewise.
1117 * posix/setlogin.c: Likewise.
1118 * posix/setpgid.c: Likewise.
1119 * posix/setresgid.c: Likewise.
1120 * posix/setresuid.c: Likewise.
1121 * posix/setsid.c: Likewise.
1122 * posix/setuid.c: Likewise.
1123 * posix/sleep.c: Likewise.
1124 * posix/spawni.c: Likewise.
1125 * posix/sysconf.c: Likewise.
1126 * posix/times.c: Likewise.
1127 * posix/wait.c: Likewise.
1128 * posix/wait3.c: Likewise.
1129 * posix/wait4.c: Likewise.
1130 * posix/waitpid.c: Likewise.
1131 * resolv/gai_sigqueue.c: Likewise.
1132 * resource/getpriority.c: Likewise.
1133 * resource/getrlimit.c: Likewise.
1134 * resource/getrusage.c: Likewise.
1135 * resource/nice.c: Likewise.
1136 * resource/setpriority.c: Likewise.
1137 * resource/setrlimit.c: Likewise.
1138 * resource/ulimit.c: Likewise.
1139 * rt/aio_cancel.c: Likewise.
1140 * rt/aio_fsync.c: Likewise.
1141 * rt/aio_read.c: Likewise.
1142 * rt/aio_sigqueue.c: Likewise.
1143 * rt/aio_suspend.c: Likewise.
1144 * rt/aio_write.c: Likewise.
1145 * rt/clock_getres.c: Likewise.
1146 * rt/clock_gettime.c: Likewise.
1147 * rt/clock_nanosleep.c: Likewise.
1148 * rt/clock_settime.c: Likewise.
1149 * rt/lio_listio.c: Likewise.
1150 * rt/mq_close.c: Likewise.
1151 * rt/mq_getattr.c: Likewise.
1152 * rt/mq_notify.c: Likewise.
1153 * rt/mq_open.c: Likewise.
1154 * rt/mq_receive.c: Likewise.
1155 * rt/mq_send.c: Likewise.
1156 * rt/mq_setattr.c: Likewise.
1157 * rt/mq_timedreceive.c: Likewise.
1158 * rt/mq_timedsend.c: Likewise.
1159 * rt/mq_unlink.c: Likewise.
1160 * rt/shm_open.c: Likewise.
1161 * rt/shm_unlink.c: Likewise.
1162 * rt/timer_create.c: Likewise.
1163 * rt/timer_delete.c: Likewise.
1164 * rt/timer_getoverr.c: Likewise.
1165 * rt/timer_gettime.c: Likewise.
1166 * rt/timer_settime.c: Likewise.
1167 * setjmp/__longjmp.c: Likewise.
1168 * setjmp/setjmp.c: Likewise.
1169 * signal/kill.c: Likewise.
1170 * signal/killpg.c: Likewise.
1171 * signal/raise.c: Likewise.
1172 * signal/sigaction.c: Likewise.
1173 * signal/sigaltstack.c: Likewise.
1174 * signal/sigblock.c: Likewise.
1175 * signal/sigignore.c: Likewise.
1176 * signal/sigintr.c: Likewise.
1177 * signal/signal.c: Likewise.
1178 * signal/sigpause.c: Likewise.
1179 * signal/sigpending.c: Likewise.
1180 * signal/sigqueue.c: Likewise.
1181 * signal/sigreturn.c: Likewise.
1182 * signal/sigset.c: Likewise.
1183 * signal/sigsetmask.c: Likewise.
1184 * signal/sigstack.c: Likewise.
1185 * signal/sigsuspend.c: Likewise.
1186 * signal/sigtimedwait.c: Likewise.
1187 * signal/sigvec.c: Likewise.
1188 * signal/sigwait.c: Likewise.
1189 * signal/sigwaitinfo.c: Likewise.
1190 * signal/sysv_signal.c: Likewise.
1191 * socket/accept.c: Likewise.
1192 * socket/accept4.c: Likewise.
1193 * socket/bind.c: Likewise.
1194 * socket/connect.c: Likewise.
1195 * socket/getpeername.c: Likewise.
1196 * socket/getsockname.c: Likewise.
1197 * socket/getsockopt.c: Likewise.
1198 * socket/isfdtype.c: Likewise.
1199 * socket/listen.c: Likewise.
1200 * socket/recv.c: Likewise.
1201 * socket/recvfrom.c: Likewise.
1202 * socket/recvmsg.c: Likewise.
1203 * socket/send.c: Likewise.
1204 * socket/sendmsg.c: Likewise.
1205 * socket/sendto.c: Likewise.
1206 * socket/setsockopt.c: Likewise.
1207 * socket/shutdown.c: Likewise.
1208 * socket/sockatmark.c: Likewise.
1209 * socket/socket.c: Likewise.
1210 * socket/socketpair.c: Likewise.
1211 * stdio-common/ctermid.c: Likewise.
1212 * stdio-common/cuserid.c: Likewise.
1213 * stdio-common/remove.c: Likewise.
1214 * stdio-common/rename.c: Likewise.
1215 * stdio-common/renameat.c: Likewise.
1216 * stdio-common/tempname.c: Likewise.
1217 * stdlib/getcontext.c: Likewise.
1218 * stdlib/makecontext.c: Likewise.
1219 * stdlib/setcontext.c: Likewise.
1220 * stdlib/swapcontext.c: Likewise.
1221 * stdlib/system.c: Likewise.
1222 * streams/fattach.c: Likewise.
1223 * streams/fdetach.c: Likewise.
1224 * streams/getmsg.c: Likewise.
1225 * streams/getpmsg.c: Likewise.
1226 * streams/putmsg.c: Likewise.
1227 * streams/putpmsg.c: Likewise.
1228 * sysdeps/unix/bsd/getpt.c: Likewise.
1229 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1230 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1231 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1234 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1235 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1236 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1237 * sysvipc/msgctl.c: Likewise.
1238 * sysvipc/msgget.c: Likewise.
1239 * sysvipc/msgrcv.c: Likewise.
1240 * sysvipc/msgsnd.c: Likewise.
1241 * sysvipc/semctl.c: Likewise.
1242 * sysvipc/semget.c: Likewise.
1243 * sysvipc/semop.c: Likewise.
1244 * sysvipc/semtimedop.c: Likewise.
1245 * sysvipc/shmat.c: Likewise.
1246 * sysvipc/shmctl.c: Likewise.
1247 * sysvipc/shmdt.c: Likewise.
1248 * sysvipc/shmget.c: Likewise.
1249 * termios/tcdrain.c: Likewise.
1250 * termios/tcflow.c: Likewise.
1251 * termios/tcflush.c: Likewise.
1252 * termios/tcgetattr.c: Likewise.
1253 * termios/tcgetpgrp.c: Likewise.
1254 * termios/tcsendbrk.c: Likewise.
1255 * termios/tcsetattr.c: Likewise.
1256 * termios/tcsetpgrp.c: Likewise.
1257 * time/adjtime.c: Likewise.
1258 * time/clock.c: Likewise.
1259 * time/getitimer.c: Likewise.
1260 * time/gettimeofday.c: Likewise.
1261 * time/setitimer.c: Likewise.
1262 * time/settimeofday.c: Likewise.
1263 * time/stime.c: Likewise.
1264 * time/time.c: Likewise.
1266 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1268 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1271 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1273 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1275 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1279 FE_TONEAREST before applying Dekker multiplication and Knuth
1280 addition. Clear inexact exceptions and check for exact zero
1282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1285 * math/libm-test.inc (fma_test): Add more tests.
1286 (fma_test_towardzero): Likewise.
1287 (fma_test_downward): Likewise.
1288 (fma_test_upward): Likewise.
1289 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1291 (libc_fesetround): New macro.
1292 (libc_fesetroundf): Likewise.
1293 (libc_fesetroundl): Likewise.
1294 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1296 (libc_fesetround_387): Likewise.
1297 (libc_fesetroundf): New macro.
1298 (libc_fesetround): Likewise.
1299 (libc_fesetroundl): Likewise.
1300 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1302 (libc_fesetroundf): New macro.
1303 (libc_fesetround): Likewise.
1304 (libc_fesetroundl): Likewise.
1305 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1306 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1307 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1309 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1310 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1312 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1313 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1315 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1319 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1320 integer constant usable in #if and use that to give value to enum
1322 (FE_DIVBYZERO): Likewise.
1323 (FE_UNDERFLOW): Likewise.
1324 (FE_OVERFLOW): Likewise.
1325 (FE_INVALID): Likewise.
1326 (FE_INVALID_SNAN): Likewise.
1327 (FE_INVALID_ISI): Likewise.
1328 (FE_INVALID_IDI): Likewise.
1329 (FE_INVALID_ZDZ): Likewise.
1330 (FE_INVALID_IMZ): Likewise.
1331 (FE_INVALID_COMPARE): Likewise.
1332 (FE_INVALID_SOFTWARE): Likewise.
1333 (FE_INVALID_SQRT): Likewise.
1334 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1335 (FE_TONEAREST): Likewise.
1336 (FE_TOWARDZERO): Likewise.
1337 (FE_UPWARD): Likewise.
1338 (FE_DOWNWARD): Likewise.
1339 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1340 (FE_DIVBYZERO): Likewise.
1341 (FE_OVERFLOW): Likewise.
1342 (FE_UNDERFLOW): Likewise.
1343 (FE_INEXACT): Likewise.
1344 (FE_TONEAREST): Likewise.
1345 (FE_DOWNWARD): Likewise.
1346 (FE_UPWARD): Likewise.
1347 (FE_TOWARDZERO): Likewise.
1348 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1349 (FE_UNDERFLOW): Likewise.
1350 (FE_OVERFLOW): Likewise.
1351 (FE_DIVBYZERO): Likewise.
1352 (FE_INVALID): Likewise.
1353 (FE_TONEAREST): Likewise.
1354 (FE_TOWARDZERO): Likewise.
1355 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1356 (FE_OVERFLOW): Likewise.
1357 (FE_UNDERFLOW): Likewise.
1358 (FE_DIVBYZERO): Likewise.
1359 (FE_INEXACT): Likewise.
1360 (FE_TONEAREST): Likewise.
1361 (FE_TOWARDZERO): Likewise.
1362 (FE_UPWARD): Likewise.
1363 (FE_DOWNWARD): Likewise.
1364 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1365 (FE_DIVBYZERO): Likewise.
1366 (FE_OVERFLOW): Likewise.
1367 (FE_UNDERFLOW): Likewise.
1368 (FE_INEXACT): Likewise.
1369 (FE_TONEAREST): Likewise.
1370 (FE_DOWNWARD): Likewise.
1371 (FE_UPWARD): Likewise.
1372 (FE_TOWARDZERO): Likewise.
1374 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1376 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1378 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1380 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1381 commands. Quote $PWD.
1382 (blacklist_exports): Don't use remove_newlines. Replace "declare
1384 (remove_newlines): Remove.
1386 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1388 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1389 * stdlib/stdlib.h (atof): Moved to ...
1390 * include/bits/stdlib-float.h: Here. New file.
1391 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1392 * stdlib/bits/stdlib-float.h: New file.
1393 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1398 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1400 * conform/conformtest.pl (@headers): Add fenv.h.
1401 * conform/data/fenv.h-data: New file.
1402 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1403 include of <math/fenv.h>.
1405 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1406 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1407 && !UNIX98]. Enables tests for XOPEN2K8.
1408 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1409 POSIX2008]: Likewise.
1411 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1412 (struct rusage): Do not expect type or its members.
1415 * math/math.h (FP_NAN): Define macro to integer constant usable in
1416 #if and use that to give value to enum constant.
1417 (FP_INFINITE): Likewise.
1418 (FP_ZERO): Likewise.
1419 (FP_SUBNORMAL): Likewise.
1420 (FP_NORMAL): Likewise.
1422 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1424 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1425 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1428 2012-11-02 Roland McGrath <roland@hack.frob.com>
1430 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1431 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1432 autoconf-time if not.
1433 * configure.in: Remove AC_PREREQ.
1435 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1437 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1438 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1439 of the internal implementation.
1441 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1443 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1444 except include of <misc/sys/syslog.h>.
1446 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1449 function returns with a NULL context exit with zero.
1451 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1453 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1455 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1457 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1458 (run_program_cmd): This.
1459 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1460 (tst_langinfo): New variable. Use it.
1462 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1464 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1465 floating point opcodes.
1467 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1469 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1472 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1474 * sysdeps/mach/hurd/powerpc: Remove directory.
1475 * sysdeps/mach/powerpc: Likewise.
1477 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1479 * scripts/check-local-headers.sh: Ignore c++ headers.
1481 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1483 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1484 __libc_cleanup_region_start argument.
1486 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1491 x * y using scaling, not as x * y + z.
1492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1494 * math/libm-test.inc (fma_test): Add more tests.
1495 (fma_test_towardzero): Likewise.
1496 (fma_test_downward): Likewise.
1497 (fma_test_upward): Likewise.
1499 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1501 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1503 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1505 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1508 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1510 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1512 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1519 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1522 Fix the order of the list for glibc 2.17.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1526 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1530 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1534 for low part of x being zero before using __atanl (y).
1535 * math/libm-test.inc (atan2_test): Add another test.
1537 * manual/install.texi (Configuring and compiling): Document
1538 general use of test-wrapper and test-wrapper-env.
1539 * INSTALL: Regenerated.
1541 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1542 (__fma): Do not extract and scale down low bits on after-rounding
1543 systems when result rounded to normal precision would have normal
1545 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1546 (__fmal): Do not extract and scale down low bits on after-rounding
1547 systems when result rounded to normal precision would have normal
1549 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1550 (__fmal): Do not extract and scale down low bits on after-rounding
1551 systems when result rounded to normal precision would have normal
1553 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1555 (fma_test): Add more tests.
1556 (fma_test_towardzero): Likewise.
1557 (fma_test_downward): Likewise.
1558 (fma_test_upward): Likewise.
1560 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1562 * sysdeps/i386/tininess.h: Renamed to ...
1563 * sysdeps/x86/tininess.h: This.
1564 * sysdeps/x86_64/tininess.h: Removed.
1566 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1568 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1569 input. Use $(build-program-cmd).
1570 ($(objpfx)tst-array1-static.out): Likewise.
1571 ($(objpfx)tst-array2.out): Likewise.
1572 ($(objpfx)tst-array3.out): Likewise.
1573 ($(objpfx)tst-array4.out): Likewise.
1574 ($(objpfx)tst-array5.out): Likewise.
1575 ($(objpfx)tst-array5-static.out): Likewise.
1577 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1579 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1582 * nss/nsswitch.h (nss_interface_function): Provide new
1583 macro for use with NSS functions.
1584 * grp/initgroups.c: Use new macro.
1585 * nss/getXXbyYY.c: Likewise.
1586 * nss/getXXbyYY_r.c: Likewise.
1587 * nss/getXXent.c: Likewise.
1588 * nss/getXXent_r.c: Likewise.
1589 * sysdeps/posix/getaddrinfo.c: Likewise.
1591 2012-10-30 Andreas Jaeger <aj@suse.de>
1593 * po/ru.po: Update Russion translation from translation project.
1595 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1600 result and shift together with sticky bit instead of replicating
1601 round-to-nearest rounding.
1602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1603 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1604 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1605 missing underflow exceptions.
1606 (fma_test_towardzero): Add more tests.
1607 (fma_test_downward): Likewise.
1608 (fma_test_upward): Likewise.
1611 * sysdeps/generic/tininess.h: New file.
1612 * sysdeps/i386/tininess.h: Likewise.
1613 * sysdeps/sh/tininess.h: Likewise.
1614 * sysdeps/x86_64/tininess.h: Likewise.
1615 * stdlib/tst-strtod-underflow.c: Likewise.
1616 * stdlib/tst-tininess.c: Likewise.
1617 * stdlib/strtod_l.c: Include <tininess.h>.
1618 (round_and_return): Do not set errno for exact underflow cases.
1619 Force an underflow exception when setting errno for underflow.
1620 Determine underflow based on rounding to normal precision if
1621 TININESS_AFTER_ROUNDING.
1622 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1623 ERANGE for exact underflow cases.
1624 * stdlib/Makefile (tests): Add tst-tininess and
1625 tst-strtod-underflow.
1626 ($(objpfx)tst-tininess): Use $(link-libm).
1627 ($(objpfx)tst-strtod-underflow): Likewise.
1629 2012-10-30 Andreas Jaeger <aj@suse.de>
1632 * elf/Makefile (tests): Remove conditional for have-initfini-array
1633 since this is now always required and the variable does not exist
1635 (tests-static): Likewise.
1636 (modules-names): Likewise.
1638 * po/eo.po: Add Esperanto translation from translation project.
1640 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1641 merged with constructor/destructor.
1642 (init_array): Likewise.
1643 * elf/tst-array2dep.c (fini_array): Likewise.
1644 (init_array): Likewise.
1646 2012-10-29 Mike Frysinger <vapier@gentoo.org>
1648 * manual/message.texi: Delete @cartouche tags.
1650 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1652 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1654 * sysdeps/mach/hurd/fsync.c: Likewise.
1656 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1657 [_POSIX_REALTIME_SIGNALS]: Change condition to
1658 [_POSIX_REALTIME_SIGNALS > 0].
1660 2012-10-27 Andreas Jaeger <aj@suse.de>
1662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1663 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1665 [__WORDSIZE != 64]: Likewise.
1667 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1669 * iconvdata/tst-table.sh: Remove ${SHELL}.
1670 * iconvdata/tst-tables.sh: Likewise.
1672 2012-10-25 David S. Miller <davem@davemloft.net>
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1675 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1681 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1682 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1685 2012-10-25 Roland McGrath <roland@hack.frob.com>
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1688 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1691 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1692 Jim Blandy <jimb@codesourcery.com>
1694 * scripts/cross-test-ssh.sh: New file.
1695 * manual/install.texi (Configuring and compiling): Document use of
1697 * INSTALL: Regenerated.
1699 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1701 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1704 2012-10-25 Joseph Myers <joseph@codesourcery.com>
1706 * Makeconfig (run-program-prefix): Fix comment.
1708 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1709 Jim Blandy <jimb@codesourcery.com>
1711 * Makeconfig (test-wrapper): New variable,
1712 (test-wrapper-env): Likewise.
1713 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1714 (run-built-tests): Define to yes.
1715 (run-program-prefix): Use $(test-wrapper).
1716 (built-program-cmd): Likewise.
1717 * Rules (make-test-out): Use $(test-wrapper-env) and
1718 $(host-built-program-cmd).
1719 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1720 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1722 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1723 $(test-wrapper-env) to tst-rtld-load-self.sh.
1724 ($(objpfx)order2.out): Use $(test-wrapper).
1725 ($(objpfx)tst-initorder.out): Likewise.
1726 ($(objpfx)tst-initorder2.out): Likewise.
1727 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1728 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1729 (test_wrapper_env): New variable. Use it to run ld.so.
1730 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1731 Use it to run ld.so.
1732 (test_wrapper_env): Likewise.
1733 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1734 $(test-wrapper) to run-iconv-test.sh.
1735 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1736 (ICONV): Use $test_wrapper.
1737 * posix/Makefile ($(objpfx)globtest.out): Pass
1738 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1739 globtest.sh, not $(run-program-prefix).
1740 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1741 (test_wrapper): Likewise.
1742 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1743 set together with run_via_rtld_prefix.
1744 (run_program_prefix): Define in terms of test_wrapper and
1745 run_via_rtld_prefix.
1747 2012-10-24 Roland McGrath <roland@hack.frob.com>
1749 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1750 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1754 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1755 Declare __clock_getres, __clock_gettime, __clock_settime,
1756 __clock_nanosleep, and __clock_getcpuclockid.
1757 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1758 Remove librt_hidden_def (clock_gettime).
1759 * sysdeps/unix/clock_gettime.c: Likewise.
1760 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1762 * rt/clock_getres.c: Define __clock_getres as an alias.
1763 * sysdeps/posix/clock_getres.c: Likewise.
1764 * rt/clock_settime.c: Define __clock_settime as an alias.
1765 * sysdeps/unix/clock_settime.c: Likewise.
1766 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1767 * sysdeps/unix/clock_nanosleep.c: Likewise.
1768 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1769 * rt/clock-compat.c: New file.
1770 * rt/Makefile (librt-routines): Add clock-compat and move
1771 $(clock-routines) to ...
1772 (routines): ... here, new variable.
1773 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1774 Don't add get_clockfreq here.
1775 * rt/Versions (libc: GLIBC_2.17): New version set.
1776 Add clock_* symbols here.
1777 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1779 (GLIBC_2.17): Add clock_* symbols.
1780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1791 * NEWS: Mention the move.
1793 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1794 Use __open, __read, __close rather than their public counterparts.
1795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1796 (__get_clockfreq_via_cpuinfo): Likewise.
1797 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1798 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1800 * config.h.in (HAVE_IFUNC): New #undef.
1801 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1803 * configure: Regenerated.
1805 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1807 * configure.in: Move READELF check to start of file.
1808 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1809 libc_cv_asm_gnu_indirect_function in the process.
1810 * configure: Regenerated.
1812 2012-10-24 Mike Frysinger <vapier@gentoo.org>
1814 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1815 send the output to /dev/null.
1816 (libc_cv_cc_with_libunwind): Likewise.
1817 (libc_cv_as_noexecstack): Likewise.
1818 * configure: Regenerate.
1820 2012-10-24 Joseph Myers <joseph@codesourcery.com>
1822 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1824 * posix/globtest.sh (TMPDIR): Do not set.
1825 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1826 (testout): Likewise.
1828 2012-10-24 Andreas Jaeger <aj@suse.de>
1830 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1831 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1832 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1833 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1834 posix_fadvise64, posix_fallocate64.
1836 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1837 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1838 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1840 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1842 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1845 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1846 <bits/fcntl-linux.h>.
1847 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1850 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1851 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1852 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1853 [__WORDSIZE != 64]: Likewise.
1855 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1857 * Makeconfig (run-built-tests): New variable.
1858 * Rules [$(cross-compiling) = yes]: Change condition to
1859 [$(run-built-tests) = no].
1860 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1861 to [$(run-built-tests) = yes].
1862 * elf/Makefile [$(cross-compiling) = no]: Likewise
1863 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1864 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1865 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1866 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1867 * io/Makefile [$(cross-compiling) = no]: Likewise.
1868 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1869 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1870 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1871 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1872 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1873 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1874 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1875 * string/Makefile [$(cross-compiling) = no]: Likewise.
1877 * posix/Makefile ($(objpfx)globtest.out): Pass
1878 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1879 $(rtld-installed-name).
1880 * posix/globtest.sh (elf_objpfx): Remove variable.
1881 (rtld_installed_name): Likewise.
1882 (library_path): Likewise.
1883 (run_program_prefix): New variable. Use for running globtest
1886 2012-10-23 Jim Blandy <jimb@codesourcery.com>
1887 Joseph Myers <joseph@codesourcery.com>
1889 * Makeconfig (host-built-program-cmd): New variable.
1890 * elf/Makefile (tst-stackguard1-ARGS): Use
1891 $(host-built-program-cmd).
1892 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1893 (tst-spawn-ARGS): Likewise.
1894 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1896 2012-10-23 Joseph Myers <joseph@codesourcery.com>
1897 Jim Blandy <jimb@codesourcery.com>
1899 * Makeconfig (run-via-rtld-prefix): New variable.
1900 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1901 (built-program-cmd): Likewise.
1903 2012-10-22 Andreas Jaeger <aj@suse.de>
1905 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1906 __O_RSYNC if it exists, otherwise to O_SYNC.
1908 2012-10-22 Jim Blandy <jimb@codesourcery.com>
1909 Joseph Myers <joseph@codesourcery.com>
1911 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1913 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1915 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1918 2012-10-22 Andreas Jaeger <aj@suse.de>
1920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1927 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1928 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1935 2012-10-21 Jim Blandy <jimb@codesourcery.com>
1936 Joseph Myers <joseph@codesourcery.com>
1938 * config.make.in (NM): New variable.
1940 2012-10-21 Andreas Jaeger <aj@suse.de>
1942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1943 definitions and declarations that are provided by
1944 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1946 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1949 * elf/Makefile (tests-static): Add tst-leaks1-static.
1950 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1951 ($(objpfx)tst-leaks1-static): New rule.
1952 ($(objpfx)tst-leaks1-static-mem): Likewise.
1953 (tst-leaks1-static-ENV): New macro.
1954 * elf/dl-open.c (dl_open_worker): Check the main application
1955 only if SHARED is defined.
1956 * elf/tst-leaks1-static.c: New file.
1958 2012-10-20 Andreas Jaeger <aj@suse.de>
1960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1961 generic values for Linux.
1962 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1963 and declarations that are provided by <bits/fcntl-linux.h> and
1964 include <bits/fcntl-linux.h>.
1965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1968 2012-10-20 Roland McGrath <roland@hack.frob.com>
1970 * io/fcntl.h: Move include of <bits/types.h> to the top and
1971 include it unconditionally.
1973 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1975 * wcsmbs/Makefile (tests-ifunc): New variable.
1976 (tests): Add $(tests-ifunc).
1977 * wcsmbs/test-wcschr-ifunc.c: New file.
1978 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1979 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1980 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1981 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1982 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1984 * string/Makefile (tests-ifunc): New variable.
1985 (tests): Add $(tests-ifunc).
1986 * string/test-memccpy.c (TEST_NAME): New macro.
1987 * string/test-memchr.c (TEST_NAME): Likewise.
1988 * string/test-memcmp.c (TEST_NAME): Likewise.
1989 * string/test-memcpy.c (TEST_NAME): Likewise.
1990 * string/test-memmem.c (TEST_NAME): Likewise.
1991 * string/test-memmove.c (TEST_NAME): Likewise.
1992 * string/test-memset.c (TEST_NAME): Likewise.
1993 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1994 * string/test-stpcpy.c (TEST_NAME): Likewise.
1995 * string/test-stpncpy.c (TEST_NAME): Likewise.
1996 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1997 * string/test-strcasestr.c (TEST_NAME): Likewise.
1998 * string/test-strcat.c (TEST_NAME): Likewise.
1999 * string/test-strchr.c (TEST_NAME): Likewise.
2000 * string/test-strcmp.c(TEST_NAME): Likewise.
2001 * string/test-strcpy.c (TEST_NAME): Likewise.
2002 * string/test-strcspn.c (TEST_NAME): Likewise.
2003 * string/test-strlen.c (TEST_NAME): Likewise.
2004 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2005 * string/test-strncmp.c (TEST_NAME): Likewise.
2006 * string/test-strncpy.c (TEST_NAME): Likewise.
2007 * string/test-strnlen.c (TEST_NAME): Likewise.
2008 * string/test-strpbrk.c (TEST_NAME): Likewise.
2009 * string/test-strrchr.c (TEST_NAME): Likewise.
2010 * string/test-strspn.c (TEST_NAME): Likewise.
2011 * string/test-strstr.c (TEST_NAME): Likewise.
2012 * string/test-bcopy-ifunc.c: New file.
2013 * string/test-bzero-ifunc.c: Likewise.
2014 * string/test-memccpy-ifunc.c: Likewise.
2015 * string/test-memchr-ifunc.c: Likewise.
2016 * string/test-memcmp-ifunc.c: Likewise.
2017 * string/test-memcpy-ifunc.c: Likewise.
2018 * string/test-memmem-ifunc.c: Likewise.
2019 * string/test-memmove-ifunc.c: Likewise.
2020 * string/test-mempcpy-ifunc.c: Likewise.
2021 * string/test-memset-ifunc.c: Likewise.
2022 * string/test-rawmemchr-ifunc.c: Likewise.
2023 * string/test-stpcpy-ifunc.c: Likewise.
2024 * string/test-stpncpy-ifunc.c: Likewise.
2025 * string/test-strcasecmp-ifunc.c: Likewise.
2026 * string/test-strcasestr-ifunc.c: Likewise.
2027 * string/test-strcat-ifunc.c: Likewise.
2028 * string/test-strchr-ifunc.c: Likewise.
2029 * string/test-strchrnul-ifunc.c: Likewise.
2030 * string/test-strcmp-ifunc.c: Likewise.
2031 * string/test-strcpy-ifunc.c: Likewise.
2032 * string/test-strcspn-ifunc.c: Likewise.
2033 * string/test-strlen-ifunc.c: Likewise.
2034 * string/test-strncasecmp-ifunc.c: Likewise.
2035 * string/test-strncat-ifunc.c: Likewise.
2036 * string/test-strncmp-ifunc.c: Likewise.
2037 * string/test-strncpy-ifunc.c: Likewise.
2038 * string/test-strnlen-ifunc.c: Likewise.
2039 * string/test-strpbrk-ifunc.c: Likewise.
2040 * string/test-strrchr-ifunc.c: Likewise.
2041 * string/test-strspn-ifunc.c: Likewise.
2042 * string/test-strstr-ifunc.c: Likewise.
2044 * debug/Makefile (tests-ifunc): New variable.
2045 (tests): Add $(tests-ifunc).
2046 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2047 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2048 * debug/test-stpcpy_chk-ifunc.c: New file.
2049 * debug/test-strcpy_chk-ifunc.c: Likewise.
2051 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2055 header is not read in.
2057 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2059 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2060 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2061 directly. Pass built executable to script as
2062 $(built-program-cmd).
2063 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2064 $testprogram without using LD_LIBRARY_PATH and $ldso.
2066 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2067 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2068 $(rtld-installed-name).
2069 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2070 (rtld_installed_name): Likewise.
2071 (library_path): Likewise.
2072 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2073 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2074 $(run-program-prefix) to tst-tables.sh.
2075 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2076 it to run tst-table-from and tst-table-to.
2077 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2078 Pass it to tst-table.sh.
2079 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2080 $(run-program-prefix) to tst-gettext.sh.
2081 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2083 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2085 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2087 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2088 to run tst-gettext2.
2089 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2090 to run tst-translit.
2091 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2092 $(run-program-prefix) to tst-mtrace.sh.
2093 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2095 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2096 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2097 $(rtld-installed-name).
2098 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2099 (rtld_installed_name): Likewise.
2100 (run_program_prefix): New variable. Use it to run wordexp-test.
2102 * Makeconfig (ARCH): Remove all definitions.
2103 (machine): Likewise.
2104 [ARCH]: Remove conditional code.
2105 [!objdir]: Give error.
2106 [!objdir] (objpfx): Remove.
2107 [!objdir] (common-objpfx): Likewise.
2108 [!objdir] (common-objdir): Likewise.
2109 * configure.in (config_makefile): Remove. Hardcode Makefile in
2110 AC_CONFIG_FILES call.
2111 * configure: Regenerated.
2114 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2116 (testout): Likewise.
2118 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2119 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2120 $(rtld-installed-name).
2121 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2122 (rtld_installed_name): Likwise.
2123 (runit): Remove function.
2124 (run_getconf): New variable, Use it for running getconf binary.
2126 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2129 * string/test-memmem.c (check_result): New function.
2130 (do_one_test): Use it.
2131 (check1): New function.
2132 (test_main): Use it.
2134 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2136 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2138 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2140 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2141 (_G_LSEEK64): Likewise.
2142 (_G_MMAP64): Likewise.
2143 (_G_FSTAT64): Likewise.
2144 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2145 (_G_LSEEK64): Likewise.
2146 (_G_MMAP64): Likewise.
2147 (_G_FSTAT64): Likewise.
2148 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2149 unconditional. Call __mmap64 directly.
2150 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2151 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2153 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2154 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2156 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2157 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2159 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2160 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2162 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2163 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2165 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2166 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2167 __fxstat64 directly.
2168 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2169 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2171 (freopen64) [!_G_OPEN64]: Remove conditional code.
2172 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2174 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2175 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2177 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2178 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2180 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2181 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2183 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2184 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2186 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2187 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2189 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2190 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2192 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2194 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 * manual/memory.texi (Malloc Tunable Parameters): Add note
2198 about free list pointers overwriting some perturb bytes.
2199 Wording suggested by Roland McGrath.
2201 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2203 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2204 (lgamma_test): Likewise.
2205 (tgamma_test): Likewise.
2207 2012-10-16 Florian Weimer <fweimer@redhat.com>
2210 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2211 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2213 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2215 * NEWS: Mention BZ #14716.
2216 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2217 when removing AVAILABLE1_USES_J macro.
2219 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2221 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2222 (__bswap_64): __uint64_t for unsigned 64-bit int.
2224 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2226 * include/string.h (memmem): Declare libc hidden alias.
2227 * string/memmem.c (memmem): Define libc hidden alias.
2228 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2229 __read, __close instead of open, read, close.
2231 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2234 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2236 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2237 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2238 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2240 (__rawmemchr_sse2): Likewise.
2241 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2242 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2243 (__strchr_sse2): Likewise.
2244 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2245 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2246 (__strcasecmp_sse2): Likewise.
2247 (__strncasecmp_sse2): Likewise.
2248 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2249 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2250 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2251 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2252 (__strrchr_sse2): Likewise.
2253 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2255 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2256 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2257 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2258 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2259 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2260 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2261 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2262 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2263 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2264 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2265 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2266 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2267 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2268 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2269 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2270 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2271 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2272 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2273 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2274 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2275 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2276 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2277 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2278 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2279 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2280 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2281 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2282 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2283 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2284 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2288 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2289 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2290 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2291 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2293 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2295 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2296 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2297 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2298 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2300 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2318 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2323 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2326 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2329 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2332 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2333 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2334 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2335 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2337 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2338 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2339 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2340 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2342 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2343 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2344 * include/ifunc-impl-list.h: New file.
2345 * misc/ifunc-impl-list.c: Likewise.
2346 * misc/Makefile (routines): Add ifunc-impl-list.
2347 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2348 * string/test-string.h: Include <ifunc-impl-list.h>.
2349 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2350 impl_array): New variables.
2351 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2353 (test_init): Call __libc_ifunc_impl_list to initialize
2354 func_list if TEST_IFUNC and TEST_NAME are defined.
2356 * string/Makefile (strop-tests): Add bcopy and bzero.
2357 * string/test-bcopy.c: New file.
2358 * string/test-bzero.c: Likewise.
2359 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2361 * string/test-memset.c: Support bzero test if TEST_BZERO is
2363 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2365 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2367 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2370 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2372 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2373 * configure: Regenerated.
2375 * Makeconfig (+link-static-before-libc): Don't include
2376 $(link-static-libc).
2378 * libio/libio.h (_IO_pos_t): Remove.
2380 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2382 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2385 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2387 * crypt/crypt-entry.c: Include fips-private.h.
2388 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2389 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2390 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2391 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2393 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2395 * crypt/crypt-private.h: Include stdbool.h.
2396 (_ufc_setup_salt_r): Return bool.
2397 * crypt/crypt-entry.c: Include errno.h.
2398 (__crypt_r): Return NULL with EINVAL for bad salt.
2399 * crypt/crypt_util.c (bad_for_salt): New.
2400 (_ufc_setup_salt_r): Check that salt is long enough and within
2401 the specified alphabet.
2402 * crypt/badsalttest.c: New file.
2403 * crypt/Makefile (tests): Add it.
2404 ($(objpfx)badsalttest): New.
2406 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2408 * NEWS: Add entry for BZ #14602.
2410 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2412 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2414 * math/libm-test.inc: Update comment listing what functions and
2416 (isgreater_test): New function.
2417 (isgreaterequal_test): Likewise.
2418 (isless_test): Likewise.
2419 (islessequal_test): Likewise.
2420 (islessgreater_test): Likewise.
2421 (isunordered_test): Likewise.
2422 (main): Call the new functions.
2424 2012-10-09 Roland McGrath <roland@hack.frob.com>
2426 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2427 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2428 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2429 * sysdeps/i386/configure: Regenerated.
2430 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2431 * sysdeps/mach/configure: Regenerated.
2432 * sysdeps/mach/hurd/configure: Regenerated.
2433 * sysdeps/powerpc/configure: Regenerated.
2434 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2435 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2436 * sysdeps/s390/s390-32/configure: Regenerated.
2437 * sysdeps/s390/s390-64/configure: Regenerated.
2438 * sysdeps/sh/configure: Regenerated.
2439 * sysdeps/sparc/configure: Regenerated.
2440 * sysdeps/unix/sysv/linux/configure: Regenerated.
2441 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2442 * sysdeps/x86_64/configure: Regenerated.
2444 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2445 defined. Don't check if MAP is NULL.
2447 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2449 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2450 (_G_stat64): Likewise.
2451 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2452 (_G_stat64): Likewise.
2453 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2454 instead of struct _G_stat64.
2455 * libio/fileops.c (mmap_remap_check): Likewise.
2456 (decide_maybe_mmap): Likewise.
2457 (_IO_new_file_seekoff): Likewise.
2458 (_IO_file_stat): Likewise.
2459 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2461 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2462 instead of struct _G_stat64.
2463 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2465 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2468 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2470 (CHECK_EOL): New macro.
2471 (two_way_short_needle): Check beginning of haystack for EOL. Use
2473 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2474 Replace with CHECK_EOL.
2475 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2476 Replace with CHECK_EOL.
2478 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2480 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2482 * math/libm-test.inc: Update comment listing what functions and
2484 (finite_test): New function.
2485 (isinf_test): Likewise.
2486 (isnan_test): Likewise.
2487 (fpclassify_test): Test subnormal input.
2488 (isfinite_test): Likewise.
2489 (isnormal_test): Likewise.
2490 (main): Call the new functions.
2492 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2495 * Makerules (%.dynsym): Force C locale when running
2496 $(OBJDUMP) --dynamic-syms.
2498 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2500 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2503 2012-10-06 David S. Miller <davem@davemloft.net>
2505 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2506 upper 32-bits of the length value in %o2 since we use branch-on-register
2507 tests which consider the entire 64-bit register.
2509 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2511 * string/test-strstr.c (check2): Add a test for page boundary.
2513 2012-10-05 David S. Miller <davem@davemloft.net>
2515 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2518 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2521 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2522 and bzero when HWCAP_SPARC_CRYPTO is present.
2524 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2527 * string/test-strstr.c (check2): New function.
2528 (test_main): Call check2.
2530 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2532 * string/bug-strcasestr1.c (do_test): Moved to ...
2533 * string/test-strcasestr.c (check1): Here. New function.
2534 (do_one_test): Break out result checking code into ...
2535 (check_result): This. New function.
2536 (do_one_test): Call check_result.
2537 (test_main): Call check1.
2538 * string/bug-strchr1.c (do_test): Moved to ...
2539 * string/test-strchr.c (check1): Here. New function.
2540 (do_one_test): Break out result checking code into ...
2541 (check_result): This. New function.
2542 (do_one_test): Call check_result.
2543 (test_main): Call check1.
2544 * string/bug-strstr1.c (main): Moved to ...
2545 * string/test-strchr.c (check1): Here. New function.
2546 (do_one_test): Break out result checking code into ...
2547 (check_result): This. New function.
2548 (do_one_test): Call check_result.
2549 (test_main): Call check1.
2550 * string/bug-strcasestr1.c: Removed.
2551 * string/bug-strchr1.c: Likewise.
2552 * string/bug-strstr1.c: Likewise.
2554 * elf/Makefile (dl-routines): Add hwcaps.
2555 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2556 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2557 (_dl_important_hwcaps): Moved to ...
2558 * elf/dl-hwcaps.c: Here. New file.
2559 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2562 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2563 if IS_IN_rtld isn't defined.
2565 * elf/dl-support.c (_dl_sysinfo_map): New.
2566 Include "get-dynamic-info.h" and "setup-vdso.h".
2567 (_dl_non_dynamic_init): Call setup_vdso.
2568 * elf/dynamic-link.h: Don't include <assert.h>.
2569 (elf_get_dynamic_info): Moved to ...
2570 * elf/get-dynamic-info.h: Here. New file.
2571 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2572 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2573 * elf/setup-vdso.h: Here. New file.
2574 * elf/rtld.c: Include "setup-vdso.h".
2575 (dl_main): Call setup_vdso.
2577 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2579 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2580 creal in comment listing functions tested. List finite, isinf,
2581 isnan, isless, islessequal, isgreater, isgreaterequal,
2582 islessgreater, isunordered, lgamma_r and pow10 as functions and
2583 macros not tested. Mention which functions not tested are aliases
2584 for other functions. Fix typo. Note that signs of NaNs are not
2587 * scripts/config.guess: Update from config.git.
2588 * scripts/config.sub: Likewise.
2590 2012-10-04 Roland McGrath <roland@hack.frob.com>
2592 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2593 * misc/madvise.c (madvise): Renamed to __madvise.
2594 Make madvise a weak alias.
2595 * include/sys/mman.h: Declare __madvise.
2596 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2597 * sysdeps/unix/syscalls.list
2598 (madvise): Make __madvise the strong name, and madvise a weak alias.
2599 * sysdeps/unix/sysv/linux/syscalls.list
2600 (madvise, mmap): Remove redundant entries.
2601 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2602 * malloc/malloc.c (mtrim): Likewise.
2603 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2605 2012-10-03 Roland McGrath <roland@hack.frob.com>
2607 * sysdeps/mach/hurd/dl-cache.c: File removed.
2608 * config.h.in (USE_LDCONFIG): New #undef.
2609 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2610 * configure: Regenerated.
2611 * elf/Makefile (dl-routines): Add dl-cache only under
2612 [$(use-ldconfig) = yes].
2613 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2614 cache on [USE_LDCONFIG].
2615 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2617 * elf/rtld.c (dl_main): Likewise.
2619 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2621 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2622 _SC_LEVEL4_CACHE_LINESIZE.
2624 2012-10-03 Roland McGrath <roland@hack.frob.com>
2626 * sysdeps/unix/bsd/confstr.h: File removed.
2628 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
2630 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2633 2012-10-02 Roland McGrath <roland@hack.frob.com>
2635 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2636 Make 'mapoff' field ElfW(Off) rather than off_t.
2638 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2640 * nscd/Makefile: Remove nscd-cflags and all its users.
2641 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2642 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2645 * malloc.c (malloc_printerr): Clarify error message.
2647 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2651 Set bit_FMA_Usable if FMA is supported.
2652 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2654 (bit_FMA4_Usable): Updated.
2655 (index_FMA_Usable): New macro.
2656 (CPUID_FMA): Likewise
2657 (HAS_FMA): Defined with bit_FMA_Usable.
2659 2012-10-01 Roland McGrath <roland@hack.frob.com>
2661 * bits/types.h (__swblk_t): Type removed.
2662 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2663 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2665 (__SWBLK_T_TYPE): Likewise.
2666 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2667 (__SWBLK_T_TYPE): Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2669 (__SWBLK_T_TYPE): Likewise.
2670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2671 (__SWBLK_T_TYPE): Likewise.
2673 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
2674 Honza Horak <hhorak@redhat.com>
2676 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2677 (xdr_mapname): Use YPMAXMAP as maxsize.
2678 (xdr_peername): Use YPMAXPEER as maxsize.
2679 (xdr_keydat): Use YPAXRECORD as maxsize.
2680 (xdr_valdat): Use YPMAXRECORD as maxsize.
2682 2012-10-01 Roland McGrath <roland@hack.frob.com>
2684 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2686 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2687 * csu/init-first.c: ... here.
2688 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2689 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2690 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2691 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2692 * sysdeps/i386/init-first.c: File removed.
2693 * sysdeps/sh/init-first.c: File removed.
2695 2012-10-01 Joseph Myers <joseph@codesourcery.com>
2698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2699 if x * y might underflow to zero and z is zero.
2700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2702 * math/libm-test.inc (min_subnorm_value): New variable.
2703 (fma_test): Add more tests.
2704 (fma_test_towardzero): Likewise.
2705 (fma_test_downward): Likewise
2706 (fma_test_upward): Likewise.
2707 (initialize): Set min_subnorm_value.
2709 2012-09-29 Joseph Myers <joseph@codesourcery.com>
2712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2715 mode for addition resulting in exact zero.
2716 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2721 * math/libm-test.inc (fma_test): Add more tests.
2722 (fma_test_towardzero): New function.
2723 (fma_test_downward): Likewise.
2724 (fma_test_upward): Likewise.
2725 (main): Call the new functions.
2727 2012-09-28 David S. Miller <davem@davemloft.net>
2729 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2731 2012-09-28 Roland McGrath <roland@hack.frob.com>
2733 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2736 * sysdeps/gnu/_G_config.h: Moved to ...
2737 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2738 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2739 * sysdeps/generic/_G_config.h: ... here.
2741 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2743 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2745 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2746 Conditionalize target on [libnss_test1.so-version].
2748 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2750 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2751 (elfobjdir): Move out of conditionals.
2753 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2754 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2755 (__nss_lookup_function): Conditionalize label remove_from_tree on
2756 [!DO_STATIC_NSS || SHARED], matching its only use.
2758 2012-09-28 David S. Miller <davem@davemloft.net>
2760 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2761 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2763 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2765 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2767 when HWCAP_SPARC_CRYPTO is present.
2769 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2771 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2773 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2776 * stdio-common/vfprintf.c (process_string_arg): Revert
2779 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2781 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2783 * stdio-common/tst-sprintf.c: Include <locale.h>
2784 (main): Test sprintf's handling of incomplete multibyte
2787 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2789 * elf/dl-runtime.c (VERSYMIDX): Removed.
2790 * elf/dl-version.c (VERSYMIDX): Likewise.
2791 * elf/do-rel.h (VERSYMIDX): Likewise.
2793 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2794 * elf/rtld.c (VALIDX): Likewise.
2795 (ADDRIDX): Likewise.
2796 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2797 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2798 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2799 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2801 (ADDRIDX): Likewise.
2803 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2805 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2807 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2810 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2812 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2813 addresses are in the same scope as 192.0.2/24.
2814 * posix/gai.conf: Document new scope table defaults.
2816 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2819 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2820 for ftell. Compute offsets from write pointers instead.
2821 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2823 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2826 * libio/Makefile (tests): New test case tst-fseek.
2827 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2828 combination works in wide mode.
2829 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2830 state when the external buffer state changes.
2832 2012-09-27 David S. Miller <davem@davemloft.net>
2835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2836 pass reloc->r_addend in as the 'high' argument to
2837 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2841 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2843 * rt/tst-aio2.c: Include <pthread.h>.
2844 * rt/tst-aio3.c: Likewise.
2846 2012-09-27 Steve Ellcey <sellcey@mips.com>
2848 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2850 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2852 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2853 contents on [SHARED].
2855 2012-09-26 Marek Polacek <polacek@redhat.com>
2859 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2860 for C++ and GCC <4.3 as well as for non GCC compilers.
2862 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2866 2012-09-25 Roland McGrath <roland@hack.frob.com>
2868 * Makefile.in (all, install): Declare with .PHONY.
2869 Reported by Michael Hope <michael.hope@linaro.org>.
2871 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2873 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2874 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2876 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2878 (sydep_routines): Add the new and the internal functions.
2879 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2880 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2882 (GLIBC_2.17): Add the new function.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2884 (GLIBC_2.17): Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2886 (GLIBC_2.17): Likewise.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2888 (GLIBC_2.17): Likewise.
2889 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2891 2012-09-25 Alan Modra <amodra@gmail.com>
2893 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2894 Add release barrier before setting once_control to say
2895 initialisation is done. Add hints on lwarx. Use macro in
2897 (clear_once_control): Add release barrier.
2899 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2902 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2904 * math/s_clog10.c (__clog10): Likewise.
2905 * math/s_clog10f.c (__clog10f): Likewise.
2906 * math/s_clog10l.c (__clog10l): Likewise.
2907 * math/s_clogf.c (__clogf): Likewise.
2908 * math/s_clogl.c (__clogl): Likewise.
2909 * math/Makefile (libm-calls): Add x2y2m1.
2910 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2911 (__x2y2m1): Likewise.
2912 (__x2y2m1l): Likewise.
2913 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2914 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2918 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2919 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2920 * sysdeps/i386/fpu/libm-test-ulps: Update.
2921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2925 int as type of variable DEPTH.
2926 (glob): Use size_t instead of int as type of variables NEWCOUNT
2929 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2931 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2933 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2934 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2935 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2936 macros for using routine as __sincosf_ia32.
2937 Use macro for function declaration and weak_alias.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2943 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2945 * math/s_cexpf.c (__cexpf): Likewise.
2946 * math/s_csinf.c (__csinf): Likewise.
2947 * math/s_csinhf.c (__csinhf): Likewise.
2948 * math/s_ctanf.c (__ctanf): Likewise.
2949 * math/s_ctanhf.c (__ctanhf): Likewise.
2950 * math/s_ccosh.c (__ccoshf): Likewise.
2951 * math/s_cexp.c (__cexpl): Likewise.
2952 * math/s_csin.c (__csin): Likewise.
2953 * math/s_csinh.c (__csinh): Likewise.
2954 * math/s_ctan.c (__ctan): Likewise.
2955 * math/s_ctanh.c (ctanh): Likewise.
2956 * math/s_ccoshl.c (__ccoshl): Likewise.
2957 * math/s_cexpl.c (__cexpl): Likewise.
2958 * math/s_csinl.c (__csinl): Likewise.
2959 * math/s_csinhl.c (__csinhl): Likewise.
2960 * math/s_ctanl.c (__ctanl): Likewise.
2961 * math/s_ctanhl.c (__ctanhl): Likewise.
2963 2012-09-25 Joseph Myers <joseph@codesourcery.com>
2965 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2966 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2967 (_IO_off_t): Define to __off_t, not _G_off_t.
2968 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2969 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2970 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2971 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2972 type of __dummy and __dummy2 fields.
2973 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2974 (_G_ssize_t): Likewise.
2975 (_G_off_t): Likewise.
2976 (_G_pid_t): Likewise.
2977 (_G_uid_t): Likewise.
2978 (_G_wchar_t): Likewise.
2979 (_G_wint_t): Likewise.
2980 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2981 (_G_ssize_t): Likewise.
2982 (_G_off_t): Likewise.
2983 (_G_pid_t): Likewise.
2984 (_G_uid_t): Likewise.
2985 (_G_wchar_t): Likewise.
2986 (_G_wint_t): Likewise.
2987 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2988 (_G_ssize_t): Likewise.
2989 (_G_off_t): Likewise.
2990 (_G_pid_t): Likewise.
2991 (_G_uid_t): Likewise.
2992 (_G_wchar_t): Likewise.
2993 (_G_wint_t): Likewise.
2995 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2997 * malloc/arena.c: Include malloc-sysdep.h.
2998 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2999 is sufficient to shrink the heap or an unmap is needed.
3000 * sysdeps/generic/malloc-sysdep.h: New file. Define
3001 new function check_may_shrink_heap.
3002 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3003 new function check_may_shrink_heap.
3005 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3007 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3010 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3012 * catgets/test-gencat.sh: Add "set -e".
3013 * elf/tst-pathopt.sh: Likewise.
3014 * grp/tst_fgetgrent.sh: Likewise.
3015 * iconvdata/run-iconv-test.sh: Likewise.
3016 * intl/tst-gettext.sh: Likewise.
3017 * intl/tst-gettext2.sh: Likewise.
3018 * intl/tst-gettext4.sh: Likewise.
3019 * intl/tst-gettext6.sh: Likewise.
3020 * intl/tst-translit.sh: Likewise.
3021 * io/ftwtest-sh: Likewise.
3022 * libio/test-freopen.sh: Likewise.
3023 * malloc/tst-mtrace.sh: Likewise.
3024 * posix/globtest.sh: Likewise.
3025 * posix/tst-getconf.sh: Likewise.
3026 * posix/wordexp-tst.sh: Likewise.
3027 * stdio-common/tst-printf.sh: Likewise.
3028 * stdio-common/tst-unbputc.sh: Likewise.
3029 * stdlib/tst-fmtmsg.sh: Likewise.
3030 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3031 * catgets/Makefile: Do not specify -e option when running
3032 testsuite shell scripts.
3033 * elf/Makefile: Likewise.
3034 * grp/Makefile: Likewise.
3035 * iconvdata/Makefile: Likewise.
3036 * intl/Makefile: Likewise.
3037 * io/Makefile: Likewise.
3038 * libio/Makefile: Likewise.
3039 * malloc/Makefile: Likewise.
3040 * posix/Makefile: Likewise.
3041 * stdio-common/Makefile: Likewise.
3042 * stdlib/Makefile: Likewise.
3043 * sysdeps/x86_64/Makefile: Likewise.
3045 * io/ftwtest-sh: Add copyright header.
3046 * posix/globtest.sh: Likewise.
3047 * posix/tst-getconf.sh: Likewise.
3048 * posix/wordexp-tst.sh: Likewise.
3049 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3051 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3054 * Makeconfig (+link): Defined as $(+link-static) if
3055 $(build-shared) isn't yes.
3056 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3058 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3060 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3063 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3064 new chunk size with MALLOC_ALIGN_MASK.
3066 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3069 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3071 (__printf_fphex): Determine rounding using get_rounding_mode and
3073 * stdio-common/tst-printf-round.c (struct hex_test): New
3075 (hex_tests): New variable.
3076 (test_hex_in_one_mode): New function.
3077 (do_test): Also run tests for hex float output.
3079 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3081 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3082 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3083 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3084 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3085 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3086 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3087 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3088 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3090 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3092 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3093 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3094 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3095 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3097 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3100 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3102 * elf/tst-rtld-load-self.sh: New test.
3103 * elf/Makefile: Run it.
3105 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3107 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3108 (tst-writev-ENV): Remove.
3109 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3111 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3113 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3115 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3117 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3119 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3121 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3122 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3126 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3129 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3130 * config.make.in (have-cpp-asm-debuginfo): Removed.
3131 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3132 * configure: Regenerated.
3134 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3137 * stdio-common/printf_fp.c: Include <stdbool.h> and
3139 (___printf_fp): Determine rounding using get_rounding_mode and
3141 * stdio-common/tst-printf-round.c: New file.
3142 * stdio-common/Makefile (tests): Add tst-printf-round.
3143 (link-libm): New variable.
3144 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3146 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3149 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3150 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3152 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3155 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3157 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3158 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3159 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3160 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3162 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3165 * include/rounding-mode.h: New file.
3166 * sysdeps/generic/get-rounding-mode.h: Likewise.
3167 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3168 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3169 (MAX_VALUE): New macro.
3170 (MIN_VALUE): Likewise.
3171 (overflow_value): New function.
3172 (underflow_value): Likewise.
3173 (round_and_return): Use overflow_value and underflow_value to
3174 determine return values in overflow and underflow cases. Use
3175 round_away to determine rounding depending on rounding mode.
3176 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3177 determine return values in overflow and underflow cases.
3178 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3179 (struct test_results): New structure.
3180 (struct test): Use struct test_results to store expected results
3181 for all rounding modes.
3182 (TEST): Include expected results for all rounding modes.
3183 (test_in_one_mode): New function.
3184 (do_test): Use test_in_one_mode to compute and check results.
3185 Check results for all rounding modes.
3186 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3189 2012-12-09 Allan McRae <allan@archlinux.org>
3191 * sysdeps/i386/fpu/libm-test-ulps: Update
3193 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3195 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3196 (_G_int32_t): Likewise.
3197 (_G_uint16_t): Likewise.
3198 (_G_uint32_t): Likewise.
3199 (_G_HAVE_BOOL): Likewise.
3200 (_G_HAVE_ATEXIT): Likewise.
3201 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3202 (_G_HAVE_IO_FILE_OPEN): Likewise.
3203 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3204 (_G_int32_t): Likewise.
3205 (_G_uint16_t): Likewise.
3206 (_G_uint32_t): Likewise.
3207 (_G_HAVE_BOOL): Likewise.
3208 (_G_HAVE_ATEXIT): Likewise.
3209 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3210 (_G_HAVE_IO_FILE_OPEN): Likewise.
3211 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3212 (_G_int32_t): Likewise.
3213 (_G_uint16_t): Likewise.
3214 (_G_uint32_t): Likewise.
3215 (_G_HAVE_BOOL): Likewise.
3216 (_G_HAVE_ATEXIT): Likewise.
3217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3218 (_G_HAVE_IO_FILE_OPEN): Likewise.
3220 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3222 * csu/libc-tls.c: Update copyright years.
3224 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3226 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3227 [!_G_USING_THUNKS]: Remove conditional code.
3228 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3229 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3231 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3232 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3233 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3234 (_G_VTABLE_LABEL_PREFIX): Likewise.
3235 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3236 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3237 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3238 (_G_VTABLE_LABEL_PREFIX): Likewise.
3239 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3240 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3241 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3242 (_G_VTABLE_LABEL_PREFIX): Likewise.
3243 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3245 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3247 * libio/Makefile: Include ../Makeconfig before tests.
3248 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3249 only if $(build-shared) is yes.
3251 * iconv/gconv_db.c: Update copyright years.
3253 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3255 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3256 unwind info if defined PIC. Fix special cases description.
3257 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3259 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3261 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3263 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3265 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3267 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3270 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3271 (LDLIBS-tst-chk4): This.
3272 (LDFLAGS-tst-chk5): Renamed to ...
3273 (LDLIBS-tst-chk5): This.
3274 (LDFLAGS-tst-chk6): Renamed to ...
3275 (LDLIBS-tst-chk6): This.
3276 (LDFLAGS-tst-lfschk4): Renamed to ...
3277 (LDLIBS-tst-lfschk4): This.
3278 (LDFLAGS-tst-lfschk5): Renamed to ...
3279 (LDLIBS-tst-lfschk5): This.
3280 (LDFLAGS-tst-lfschk6): Renamed to ...
3281 (LDLIBS-tst-lfschk6): This.
3283 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3284 on $(common-objpfx)soversions.mk.
3286 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3289 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3292 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * malloc/arena.c (arena_get_retry): New function that gets
3295 another arena for the caller to try its request on.
3296 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3297 current arena cannot fulfill the request.
3298 (__libc_memalign): Likewise.
3299 (__libc_memalign): Likewise.
3300 (__libc_pvalloc): Likewise.
3301 (__libc_calloc): Likewise.
3303 2012-09-05 John Tobey <john.tobey@gmail.com>
3306 * manual/arith.texi (Operations on Complex): Fix description
3309 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3312 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3316 * manual/memory.texi (Memory): Make order of menu items match
3319 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3321 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3322 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3323 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3325 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3327 * csu/libc-tls.c (static_dtv): Renamed to ...
3328 (_dl_static_dtv): This. Make it global.
3329 (_dl_initial_dtv): Removed.
3330 (__libc_setup_tls): Updated.
3331 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3332 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3335 2012-09-06 Petr Machata <pmachata@redhat.com>
3337 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3338 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3339 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3340 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3342 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3345 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3346 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3349 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3352 * Makeconfig (link-static-before-libc): Replace $(+prector)
3354 (link-static-after-libc): Replace $(+postctor) with
3356 (link-bounded): Replace $(+prector)/$(+postctor) with
3357 $(+prectorT)/$(+postctorT).
3358 (+prectorT): New macro.
3359 (+postctorT): Likewise.
3361 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3363 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3364 (round_str): Handle values above the maximum for IBM long double
3366 * stdlib/tst-strtod-round.c (tests): Regenerated.
3368 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3370 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3372 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3373 zarch_nohighgprs around the zarch optimized routines.
3374 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3375 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3376 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3379 2012-09-05 David S. Miller <davem@davemloft.net>
3381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3383 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3384 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3385 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3386 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3389 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3391 * malloc/arena.c: Fold copyright years.
3392 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3394 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3396 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3398 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3400 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3402 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3404 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3405 change internal state upon failure.
3407 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3409 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3410 * malloc/memusage.c (mmap): Likewise.
3411 (mmap64, mremap): Likewise. Adjust name in comment.
3413 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3415 * libio/fileops.c: Fix typos in comments.
3416 * libio/oldfileops.c: Likewise.
3417 * libio/wfileops.c: Likewise.
3419 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3422 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3423 (tst-malloc-usable-ENV): Set environment for test case.
3424 * malloc/hooks.c (malloc_check_get_size): New function to get
3426 * malloc/malloc.c (musable): Use malloc_check_get_size.
3427 * malloc/tst-malloc-usable.c: New test case.
3429 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3431 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3433 2012-09-05 Allan McRae <allan@archlinux.org>
3436 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3437 determine header location.
3438 * configure: Regenerated.
3440 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3442 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3444 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3445 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3449 2012-09-04 David S. Miller <davem@davemloft.net>
3451 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3452 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3453 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3455 2012-09-04 Florian Weimer <fweimer@redhat.com>
3457 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3460 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3462 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3465 * libio/iogetdelim.c: Include <limits.h>.
3466 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3467 + len + 1 would overflow.
3469 2012-09-03 Andreas Jaeger <aj@suse.de>
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3472 * sysdeps/i386/fpu/libm-test-ulps: Update.
3474 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3476 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3477 Add s_sinf-sse2, s_conf-sse2.
3479 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3480 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3481 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3482 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3484 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3485 for using routine as __sinf_ia32.
3486 Use macro for function declaration and weak_alias.
3487 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3488 for using routine as __cosf_ia32.
3489 Use macro for function declaration and weak_alias.
3491 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3492 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3494 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3495 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3498 * math/libm-test.inc (cos_test): Add more test cases.
3499 (sin_test): Likewise.
3500 (sincos_test): Likewise.
3502 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3504 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3505 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3507 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3509 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3512 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3513 first element of the GOT.
3514 (elf_machine_load_address): Return the difference between
3515 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3517 2012-09-01 Allan McRae <allan@archlinux.org>
3520 * configure.in (AWK): Require gawk version 3.0 or later.
3521 * configure: Regenerated.
3523 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3525 * sysdeps/unix/sysv/linux/kernel-features.h
3526 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3528 [__NR_clock_getres]: Make code unconditional.
3529 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3530 (clock_getcpuclockid): Remove code left unreachable by removal of
3532 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3534 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3535 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3536 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3537 Make code unconditional.
3538 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3539 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3540 * sysdeps/unix/sysv/linux/clock_settime.c
3541 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3543 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3544 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3546 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3549 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3550 scripts/test-installation.pl.
3552 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3553 and $ld_so_version if it is set.
3555 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3558 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3559 failure if reading from procfs failed.
3560 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3562 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3564 * sysdeps/unix/sysv/linux/kernel-features.h
3565 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3566 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3567 Remove conditional code.
3568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3569 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3570 Remove conditional code.
3571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3572 * sysdeps/unix/sysv/linux/i386/fxstat.c
3573 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3575 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3576 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3578 * sysdeps/unix/sysv/linux/i386/lxstat.c
3579 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3581 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3582 Remove conditional code.
3583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3584 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3585 Remove conditional code.
3586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3587 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3588 <kernel-features.h>.
3589 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3591 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3592 Remove conditional code.
3593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3594 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3597 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3600 * NEWS: Add fixed bug number.
3602 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3605 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3606 underflowing exponent in case of negative sign.
3607 * stdlib/tst-strtod-round-data: Add more tests.
3608 * stdlib/tst-strtod-round.c (tests): Regenerated.
3611 * stdlib/strtod_l.c (NDIG): Remove.
3612 (HEXNDIG): Likewise.
3613 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3614 smallest representable value.
3615 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3616 lie within an exact representation of 1/2 ulp of the result.
3617 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3619 (TENS_P9_IDX): Define unconditionally.
3620 (TENS_P9_SIZE): Likewise.
3621 (TENS_P10_IDX): Likewise.
3622 (TENS_P10_SIZE): Likewise.
3623 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3624 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3625 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3626 entries for 10^2^13 and 10^2^14.
3627 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3628 (TENS_P13_IDX): Define.
3629 (TENS_P13_SIZE): Likewise.
3630 (TENS_P14_IDX): Likewise.
3631 (TENS_P14_SIZE): Likewise.
3632 (_fpioconst_pow10): Change array size to
3633 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3635 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3636 1024]: Add entries for 10^2^13 and 10^2^14.
3637 [LAST_POW10 > _LAST_POW10]: Remove #error.
3638 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3639 (_fpioconst_pow10): Change array size to
3640 FPIOCONST_POW10_ARRAY_SIZE.
3641 * stdlib/gen-fpioconst.c: New file.
3642 * stdlib/gen-tst-strtod-round.c: Likewise.
3643 * stdlib/tst-strtod-round-data: Likewise.
3644 * stdlib/tst-strtod-round.c: Likewise.
3645 * stdlib/Makefile (tests): Add tst-strtod-round.
3648 * stdlib/strtod_l.c: Include <stdint.h>.
3649 (NDEBUG): Do not define.
3650 (round_and_return): Change EXPONENT parameter to type intmax_t.
3651 Rearrange calculations to avoid internal overflow possibilities.
3652 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3653 Rearrange calculations to avoid internal overflow possibilities.
3654 Assert that number fits inside MPNSIZE limbs.
3655 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3656 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3657 calculations and add assertions to avoid internal overflow
3658 possibilities. Add casts to avoid signed/unsigned operations.
3659 * stdlib/tst-strtod-overflow.c: New file.
3660 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3662 2012-08-25 Marek Polacek <polacek@redhat.com>
3664 * time/time.h: Fix some typos in comments.
3666 2012-08-23 Roland McGrath <roland@hack.frob.com>
3668 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3669 * posix/tst-rfc3484-2.c: Likewise.
3670 * posix/tst-rfc3484-3.c: Likewise.
3672 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3674 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3675 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3677 2012-08-23 Joseph Myers <joseph@codesourcery.com>
3679 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3680 #include of fxstatat64.c.
3682 2012-08-22 Roland McGrath <roland@hack.frob.com>
3684 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3685 * shadow/getspent_r.c: Likewise.
3686 * shadow/getspnam.c: Likewise.
3687 * shadow/getspnam_r.c: Likewise.
3688 * gshadow/getsgent.c: Likewise.
3689 * gshadow/getsgent_r.c: Likewise.
3690 * gshadow/getsgnam.c: Likewise.
3691 * gshadow/getsgnam_r.c: Likewise.
3692 * inet/getnetbyad.c: Likewise.
3693 * inet/getnetbyad_r.c: Likewise.
3694 * inet/getnetbynm.c: Likewise.
3695 * inet/getnetbynm_r.c: Likewise.
3696 * inet/getnetent.c: Likewise.
3697 * inet/getnetent_r.c: Likewise.
3698 * inet/getproto.c: Likewise.
3699 * inet/getproto_r.c: Likewise.
3700 * inet/getprtent.c: Likewise.
3701 * inet/getprtent_r.c: Likewise.
3702 * inet/getprtname.c: Likewise.
3703 * inet/getprtname_r.c: Likewise.
3704 * inet/getrpcbyname.c: Likewise.
3705 * inet/getrpcbyname_r.c: Likewise.
3706 * inet/getrpcbynumber.c: Likewise.
3707 * inet/getrpcbynumber_r.c: Likewise.
3708 * inet/getrpcent.c: Likewise.
3709 * inet/getrpcent_r.c: Likewise.
3710 * inet/getaliasent.c: Likewise.
3711 * inet/getaliasent_r.c: Likewise.
3712 * inet/getaliasname.c: Likewise.
3713 * inet/getaliasname_r.c: Likewise.
3714 * nscd/getgrgid_r.c: Likewise.
3715 * nscd/getgrnam_r.c: Likewise.
3716 * nscd/gethstbyad_r.c: Likewise.
3717 * nscd/gethstbynm3_r.c: Likewise.
3718 * nscd/getpwnam_r.c: Likewise.
3719 * nscd/getpwuid_r.c: Likewise.
3720 * nscd/getsrvbynm_r.c: Likewise.
3721 * nscd/getsrvbypt_r.c: Likewise.
3722 * nscd/gai.c: Likewise.
3724 * configure.in (build_nscd): New substituted variable, set
3725 by --disable-build-nscd and defaults to $use_nscd.
3726 * configure: Regenerated.
3727 * config.make.in (build-nscd): New substituted variable.
3728 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3729 Change conditional to require [$(build-nscd) = yes] as well.
3730 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3733 * configure.in (use_nscd): New substituted variable, set by
3734 --disable-nscd. If enabled, define USE_NSCD.
3735 * configure: Regenerated.
3736 * config.h.in: Add USE_NSCD.
3737 * config.make.in (use-nscd): New substituted variable.
3738 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3739 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3740 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3741 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3742 (CFLAGS-getgrnam_r.c): Likewise.
3743 (CFLAGS-initgroups.c): Likewise.
3744 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3745 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3747 * inet/getnetgrent_r.c
3748 (nscd_setnetgrent): New function, broken out of ...
3749 (setnetgrent): ... here. Call it.
3750 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3751 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3752 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3753 * nscd/Makefile (routines, aux): Move definitions after include of
3754 Makeconfig. Conditionalize on [$(use-nscd) != no].
3755 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3756 Conditionalize on [USE_NSCD].
3757 (is_nscd, nscd_init_cb): Likewise.
3758 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3759 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3760 * nss/nss_db/db-init.c: Likewise.
3761 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3763 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3764 (make_request): Use it.
3765 (cache_valid_p): New function.
3766 (__check_pf): Use it.
3767 * NEWS: Add item for --disable-nscd.
3769 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3771 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3772 to support sed >= 4.2.1-20-ga9bf076.
3773 * configure: Regenerated.
3775 2012-08-22 Roland McGrath <roland@hack.frob.com>
3777 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3778 Conditionalize whole body on [IREL].
3780 2012-08-22 Jeff Law <law@redhat.com>
3783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3784 if the family is PF_UNSPEC.
3786 2012-08-22 Mike Frysinger <vapier@gentoo.org>
3788 * Makerules (lib-version): Rename from V.
3789 (install-lib-nosubdir): Change V to lib-version.
3791 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3794 * powerpc32/power6/wcschr.c: New file.
3795 * powerpc32/power6/wcscpy.c: New file.
3796 * powerpc32/power6/wcsrchr.c: New file.
3797 * powerpc64/power6/wcschr.c: New file.
3798 * powerpc64/power6/wcscpy.c: New file.
3799 * powerpc64/power6/wcsrchr.c: New file.
3801 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3803 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3804 (two_way_short_needle): Use it.
3805 * string/strstr.c (AVAILABLE1_USES_J): Define.
3806 * string/strcasestr.c: Likewise.
3808 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3810 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3813 * NEWS: Add an entry.
3814 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3815 define their defaults.
3816 (two_way_short_needle): Detect end-of-string on-the-fly.
3817 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3818 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3819 * string/bug-strcasestr1.c: New test.
3820 * string/Makefile: Run it.
3822 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3825 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3826 the first character.
3828 2012-08-21 Roland McGrath <roland@hack.frob.com>
3830 * csu/elf-init.c (__libc_csu_irel): Function removed.
3831 * csu/libc-start.c (apply_irel): New function.
3832 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3834 2012-08-21 Joseph Myers <joseph@codesourcery.com>
3836 * sysdeps/unix/sysv/linux/kernel-features.h
3837 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3838 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3839 <kernel-features.h>.
3840 [__NR_fadvise64_64]: Make code unconditional.
3841 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3842 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3843 !__NR_fadvise64_64)]: Likewise.
3844 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3845 !__NR_fadvise64_64))]: Likewise.
3846 [__NR_fadvise64]: Make code unconditional.
3847 [!__NR_fadvise64]: Remove conditional code.
3848 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3849 <kernel-features.h>.
3850 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3852 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3855 not include <kernel-features.h>.
3856 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3858 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3860 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3861 include <kernel-features.h>.
3862 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3864 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3867 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3870 slight instruction rearrangements per scrollpipe analysis.
3871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3873 2012-08-20 Roland McGrath <roland@hack.frob.com>
3875 * manual/syslog.texi (syslog; vsyslog, closelog):
3876 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3877 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3879 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3880 DSOCAPS to match condition on defining it.
3882 2012-08-20 Joseph Myers <joseph@codesourcery.com>
3884 * sysdeps/unix/sysv/linux/kernel-features.h
3885 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3887 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3888 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3890 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3891 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3893 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3894 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3896 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3897 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3899 * sysdeps/unix/sysv/linux/kernel-features.h
3900 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3901 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3903 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3904 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3905 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3906 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3907 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3908 Make code unconditional.
3909 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3910 (__mmap64) [!__NR_mmap2]: Likewise.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3912 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3913 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3915 [__NR_mmap2]: Make code unconditional.
3916 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3917 (__mmap64) [!__NR_mmap2]: Likewise.
3919 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3921 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3923 2012-08-18 Andreas Jaeger <aj@suse.de>
3925 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3927 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3929 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3930 * include/unistd.h (__have_sock_cloexec): Likewise.
3931 (__have_pipe2): Likewise.
3932 (__have_dup3): Likewise.
3934 2012-08-18 Mike Frysinger <vapier@gentoo.org>
3937 * include/unistd.h (__have_pipe2): Change define into an extern int.
3938 (__have_dup3): Likewise.
3939 * socket/have_sock_cloexec.c: Include fcntl.h.
3940 (__have_pipe2): New variable.
3941 (__have_dup3): Likewise.
3943 2012-08-17 Mike Frysinger <vapier@gentoo.org>
3945 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3947 2012-08-17 Marek Polacek <polacek@redhat.com>
3949 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3950 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3952 2012-08-17 Roland McGrath <roland@hack.frob.com>
3954 * configure.in: Add AC_SUBST for sysheaders.
3955 * configure: Regenerated.
3956 * config.make.in (sysheaders): New substituted variable.
3958 * sysdeps/unix/mkfifo.c: Moved ...
3959 * sysdeps/posix/mkfifo.c: ... here.
3960 * sysdeps/unix/mkfifoat.c: Moved ...
3961 * sysdeps/posix/mkfifoat.c: ... here.
3963 * sysdeps/unix/utime.c: Moved ...
3964 * sysdeps/posix/utime.c: ... here.
3966 * sysdeps/unix/time.c: Moved ...
3967 * sysdeps/posix/time.c: ... here.
3968 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3969 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3971 * sysdeps/unix/nice.c: Moved ...
3972 * sysdeps/posix/nice.c: ... here.
3974 * sysdeps/unix/alarm.c: Moved ...
3975 * sysdeps/posix/alarm.c: ... here.
3977 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3979 2012-08-17 Jeff Law <law@redhat.com>
3981 * intl/Makefile (codeset_mo): New variable.
3982 ($(codeset_mo)): New target.
3983 (tst-codeset.out): Depend on that. Remove explicit rule.
3984 (tst-gettext3.out, tst-gettext5.out): Likewise.
3985 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3986 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3987 * intl/tst-codeset.sh: Remove.
3988 * intl/tst-gettext3.sh: Likewise.
3989 * intl/tst-gettext5.sh: Likewise.
3991 2012-08-17 Roland McGrath <roland@hack.frob.com>
3993 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3994 * sysdeps/unix/syscalls.list: ... here.
3996 * sysdeps/posix/getaddrinfo.c
3997 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3998 (gaiconf_init, gaiconf_reload): Use them.
4000 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4001 Define using time_t rather than struct timespec.
4003 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4004 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4006 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4008 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4009 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4012 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4013 __libc_cleanup_push argument.
4015 * bits/param.h: New file.
4016 * misc/sys/param.h: New file.
4017 * include/sys/param.h: New file.
4018 * misc/Makefile (headers): Add bits/param.h.
4019 * sysdeps/generic/sys/param.h: File removed.
4020 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4021 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4022 * sysdeps/mach/hurd/bits/param.h: New file.
4023 * sysdeps/mach/hurd/sys/param.h: File removed.
4025 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4028 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4030 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4031 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4034 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4035 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4036 rather than -D_IO_MTSAFE_IO conditionally.
4037 * stdio-common/Makefile (CPPFLAGS): Likewise.
4038 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4039 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4040 Use $(libio-mtsafe).
4041 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4043 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4044 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4045 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4046 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4047 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4048 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4049 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4050 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4051 (CFLAGS-fread_u_chk.c): Likewise.
4052 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4053 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4054 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4055 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4056 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4057 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4058 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4059 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4060 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4062 * libio/Makefile: Test [$(libc-reentrant) = yes]
4063 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4066 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4067 * sysdeps/pthread/configure: File removed.
4068 * sysdeps/pthread/Makeconfig: New file.
4069 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4070 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4072 2012-08-16 Gary Benson <gbenson@redhat.com>
4074 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4075 unmapping the first object in a namespace.
4077 2012-08-16 Roland McGrath <roland@hack.frob.com>
4079 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4080 (__internal_setnetgrent): ... this. Add internal_function to
4081 definition. Add libc_hidden_def.
4082 (setnetgrent): Update caller.
4083 (internal_endnetgrent): Renamed to ...
4084 (__internal_endnetgrent): ... this. Add internal_function to
4085 definition. Add libc_hidden_def.
4086 (endnetgrent): Update caller.
4087 (internal_getnetgrent_r): Renamed to ...
4088 (__internal_getnetgrent_r): ... this. Add internal_function to
4089 definition. Add libc_hidden_def.
4090 (__getnetgrent_r): Update caller.
4091 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4093 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4095 * stdlib/longlong.h: Update from GCC.
4097 2012-08-16 Roland McGrath <roland@hack.frob.com>
4099 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4100 on _QL, which is set by umul_ppmm but never used.
4101 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4102 variables, which are set by GMP macros but never used.
4103 * stdio-common/_itowa.c (_itowa): Likewise.
4104 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4105 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4107 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4109 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4110 struct La_sh_regs is not constant.
4111 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4112 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4113 and struct La_sparc64_regs are not constant.
4115 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4117 * sysdeps/unix/sysv/linux/kernel-features.h
4118 (__ASSUME_POSIX_TIMERS): Remove.
4119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4120 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4121 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4122 Make code unconditional.
4123 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4124 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4125 Make code unconditional.
4126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4127 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4128 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4130 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4131 Make code unconditional.
4132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4133 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4134 (__libc_missing_posix_timers): Remove.
4136 2012-08-15 Roland McGrath <roland@hack.frob.com>
4138 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4139 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4141 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4143 * elf/dl-sym.c: Include <stdlib.h>.
4145 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4146 constants, which avoids warnings in 32-bit builds.
4148 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4149 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4151 * misc/lseek.c: File moved to ...
4152 * io/lseek.c: ... here.
4154 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4156 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4157 shifting LEN more than 31 bits at once.
4159 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4162 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4163 segmentation fault for a case of two empty input strings.
4164 * string/test-strncasecmp.c (check1): Renamed to...
4166 (bz14195): Add new testcase for two empty input strings and N > 0.
4167 (test_main): Call new testcase, adapt for renamed function.
4169 2012-08-15 Andreas Jaeger <aj@suse.de>
4172 * crypt/md5test2.c: New test, based on test supplied by Serge
4173 Belyshev <belyshev@depni.sinp.msu.ru>.
4174 * crypt/Makefile (xtests): Add md5test-giant..
4175 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4177 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4180 * crypt/md5.c (md5_process_block): Don't assume the buffer
4181 length is less than 2**32.
4182 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4183 length is less than 2**64.
4185 2012-08-15 Roland McGrath <roland@hack.frob.com>
4187 * string/str-two-way.h: Include <sys/param.h>.
4188 (MAX): Macro removed.
4190 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4191 Move #define and #undef of memmove to just before and after
4192 including <string.h>.
4194 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4195 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4196 and after including <string.h>. Move declarations of
4197 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4198 to before #include "string/memmove.c".
4200 * include/dirent.h: Declare __getdirentries.
4202 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4203 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4205 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4207 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4208 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4209 * sysdeps/i386/configure: Regenerated.
4210 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4211 STABS_CURRENT_FILE, and STABS_FUN.
4212 (END): Remove call to STABS_FUN_END.
4213 (STABS_CURRENT_FILE1): Delete.
4214 (STABS_CURRENT_FILE): Likewise.
4215 (STABS_FUN): Likewise.
4216 (STABS_FUN_END): Likewise.
4217 (STABS_FUN2): Likewise.
4218 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4219 * sysdeps/x86_64/configure: Regenerated.
4221 2012-08-14 Roland McGrath <roland@hack.frob.com>
4223 * elf/dl-open.c: Include <atomic.h>.
4224 * elf/dl-lookup.c: Likewise.
4226 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4228 * sysdeps/unix/sysv/linux/kernel-features.h
4229 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4230 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4232 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4234 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4235 condition on __ASSUME_CLONE_THREAD_FLAGS.
4237 2012-08-14 Andreas Jaeger <aj@suse.de>
4239 * sysdeps/i386/fpu/libm-test-ulps: Update.
4241 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4243 * include/atomic.h (atomic_exchange_and_add): Split into ...
4244 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4247 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4251 2012-08-13 Jeff Law <law@redhat.com>
4253 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4254 null byte in the output string.
4256 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4258 * sysdeps/unix/sysv/linux/kernel-features.h
4259 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4260 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4261 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4263 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4264 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4265 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4267 2012-08-09 Jeff Law <law@redhat.com>
4270 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4271 When avoid_arena is set, don't retry in the that arena. Pick the
4272 next one, whatever it might be.
4273 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4274 (arena_lock): Pass in new parameter to arena_get2.
4275 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4277 (__libc_malloc): Unify retrying after main arena failure with
4278 __libc_memalign version.
4279 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4281 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4284 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4285 to __redirect_strstr.
4286 (__strstr_sse42): Use typeof __redirect_strstr.
4287 (__strstr_ia32): Likewise.
4288 (__libc_strstr): New prototype.
4289 (strstr): Renamed to ...
4290 (__libc_strstr): This.
4291 (strstr): New strong alias of __libc_strstr.
4292 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4293 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4296 (__libc_time): New prototype.
4297 (time_ifunc): Replace time with __libc_time.
4298 (time): New strong alias and hidden definition of __libc_time.
4299 (__GI_time): Remove strong alias.
4300 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4302 (memmove): Redefined to __redirect_memmove.
4303 (__memmove_sse2): Use typeof __redirect_memmove.
4304 (__memmove_ssse3): Likewise.
4305 (__memmove_ssse3_back): Likewise.
4306 (__libc_memmove): New prototype.
4307 (memmove): Renamed to ...
4308 (__libc_memmove): This.
4309 (memmove): New strong alias of __libc_memmove.
4311 2012-08-08 Mark Salter <msalter@redhat.com>
4314 (R_MN10300_TLS_GD): Define.
4315 (R_MN10300_TLS_LD): Likewise.
4316 (R_MN10300_TLS_LDO): Likewise.
4317 (R_MN10300_TLS_GOTIE): Likewise.
4318 (R_MN10300_TLS_IE): Likewise.
4319 (R_MN10300_TLS_LE): Likewise.
4320 (R_MN10300_TLS_DTPMOD): Likewise.
4321 (R_MN10300_TLS_DTPOFF): Likewise.
4322 (R_MN10300_TLS_TPOFF): Likewise.
4323 (R_MN10300_SYM_DIFF): Likewise.
4324 (R_MN10300_ALIGN): Likewise.
4325 (R_MN10300_NUM): Update.
4327 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4332 2012-08-08 Roland McGrath <roland@hack.frob.com>
4334 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4336 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4337 sysdeps/unix -> sysdeps/posix move.
4338 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4340 2012-08-07 Allan McRae <allan@archlinux.org>
4343 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4344 (SUNOS_CPP): Likewise.
4345 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4347 (open_input): Call CPP using execvp.
4349 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4351 * sysdeps/unix/sysv/linux/kernel-features.h
4352 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4353 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4354 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4355 (__ASSUME_WAITID_SYSCALL): Likewise.
4356 * sysdeps/unix/sysv/linux/dl-execstack.c
4357 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4359 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4362 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4363 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4365 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4367 [__ASSUME_WAITID_SYSCALL]: Likewise.
4368 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4370 2012-08-07 Roland McGrath <roland@hack.frob.com>
4372 * sysdeps/unix/closedir.c: Renamed to ...
4373 * sysdeps/posix/closedir.c: ... here.
4374 * sysdeps/unix/dirfd.c: Renamed to ...
4375 * sysdeps/posix/dirfd.c: ... here.
4376 * sysdeps/unix/dirstream.h: Renamed to ...
4377 * sysdeps/posix/dirstream.h: ... here.
4378 * sysdeps/unix/fdopendir.c: Renamed to ...
4379 * sysdeps/posix/fdopendir.c: ... here.
4380 * sysdeps/unix/opendir.c: Renamed to ...
4381 * sysdeps/posix/opendir.c: ... here.
4382 * sysdeps/unix/readdir.c: Renamed to ...
4383 * sysdeps/posix/readdir.c: ... here.
4384 * sysdeps/unix/readdir_r.c: Renamed to ...
4385 * sysdeps/posix/readdir_r.c: ... here.
4386 * sysdeps/unix/rewinddir.c: Renamed to ...
4387 * sysdeps/posix/rewinddir.c: ... here.
4388 * sysdeps/unix/seekdir.c: Renamed to ...
4389 * sysdeps/posix/seekdir.c: ... here.
4390 * sysdeps/unix/telldir.c: Renamed to ...
4391 * sysdeps/posix/telldir.c: ... here.
4392 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4393 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4394 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4395 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4397 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4398 * bits/fcntl.h: ... here.
4400 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4402 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4403 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4404 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4405 (struct flock): Move l_start, l_len to the beginning.
4406 Use __pid_t for l_pid.
4407 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4408 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4409 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4410 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4411 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4412 [__USE_LARGEFILE64] (struct flock64): New type.
4413 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4415 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4416 * bits/dirent.h: ... here.
4418 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4419 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4421 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4424 Change from 2.6.0 to 2.6.16.
4425 * sysdeps/unix/sysv/linux/configure: Regenerated.
4426 * sysdeps/unix/sysv/linux/kernel-features.h
4427 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4428 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4430 (__ASSUME_UTIMES): Likewise.
4431 (__ASSUME_CLONE_STOPPED): Remove.
4432 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4433 architectures, not kernel version.
4434 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4435 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4436 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4437 (__ASSUME_WAITID_SYSCALL): Likewise.
4438 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4439 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4440 * README: State 2.6.16 as minimum Linux kernel version. Do not
4441 refer to older versions.
4443 2012-08-06 Roland McGrath <roland@hack.frob.com>
4445 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4446 Define alphasort64 as an alias.
4447 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4448 Define versionsort64 as an alias.
4449 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4450 Define scandir64 as an alias.
4451 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4452 Define scandirat64 as an alias.
4453 * dirent/alphasort64.c (alphasort64):
4454 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4455 * dirent/versionsort64.c: Likewise.
4456 * dirent/scandir64.c: Likewise.
4457 * dirent/scandirat64.c: Likewise.
4458 * sysdeps/wordsize-64/alphasort.c: File removed.
4459 * sysdeps/wordsize-64/alphasort64.c: File removed.
4460 * sysdeps/wordsize-64/scandir.c: File removed.
4461 * sysdeps/wordsize-64/scandir64.c: File removed.
4462 * sysdeps/wordsize-64/scandirat.c: File removed.
4463 * sysdeps/wordsize-64/scandirat64.c: File removed.
4464 * sysdeps/wordsize-64/versionsort.c: File removed.
4465 * sysdeps/wordsize-64/versionsort64.c: File removed.
4466 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4472 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4473 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4475 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4477 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4479 [defined __arch64__ || defined __sparcv9]
4480 (__INO_T_MATCHES_INO64_T): New macro.
4481 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4482 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4483 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4484 * sysdeps/unix/sysv/linux/bits/dirent.h
4485 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4486 (_DIRENT_MATCHES_DIRENT64): New macro.
4488 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4489 Define lockf64 as an alias.
4490 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4491 Define fseeko64 as an alias.
4492 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4493 Define ftello64 as an alias.
4494 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4495 Define _IO_fgetpos64 and fgetpos64 as aliases.
4496 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4497 Define _IO_fsetpos64 and fsetpos64 as aliases.
4498 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4499 Conditionalize body on this.
4500 * libio/fseeko64.c: Likewise.
4501 * libio/ftello64.c: Likewise.
4502 * libio/iofgetpos64.c: Likewise.
4503 * libio/iofsetpos64.c: Likewise.
4504 * sysdeps/wordsize-64/lockf.c: File removed.
4505 * sysdeps/wordsize-64/lockf64.c: File removed.
4506 * sysdeps/wordsize-64/fseeko.c: File removed.
4507 * sysdeps/wordsize-64/fseeko64.c: File removed.
4508 * sysdeps/wordsize-64/ftello.c: File removed.
4509 * sysdeps/wordsize-64/ftello64.c: File removed.
4510 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4511 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4512 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4513 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4515 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4516 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4517 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4518 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4522 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4525 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4527 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4529 [defined __arch64__ || defined __sparcv9]
4530 (__OFF_T_MATCHES_OFF64_T): New macro.
4531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4532 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4534 (__OFF_T_MATCHES_OFF64_T): New macro.
4536 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4538 * stdlib/secure-getenv.c (__secure_getenv): Replace
4539 GLIBC_2_16 with GLIBC_2_17.
4541 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4546 2012-08-03 David S. Miller <davem@davemloft.net>
4548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4550 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4554 (__ASSUME_CORRECT_SI_PID): Likewise.
4555 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4556 (__ASSUME_TMPFS_NAME): Likewise.
4557 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4558 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4559 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4560 (HAVE_AUX_SECURE): Make definition unconditional.
4561 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4562 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4564 2012-08-03 Roland McGrath <roland@hack.frob.com>
4566 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4567 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4568 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4569 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4570 __eloop_threshold instead of SYMLOOP_MAX.
4572 * sysdeps/generic/eloop-threshold.h: New file.
4573 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4575 * elf/chroot_canon.c (chroot_canon): Likewise.
4577 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4581 Change to 2.6.0 everywhere.
4582 * sysdeps/unix/sysv/linux/configure: Regenerated.
4583 * sysdeps/unix/sysv/linux/kernel-features.h
4584 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4585 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4587 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4588 (__ASSUME_FUTEX_REQUEUE): Remove.
4589 (__ASSUME_STATFS64): Define unconditionally.
4590 (__ASSUME_AT_SECURE): Likewise.
4591 (__ASSUME_CORRECT_SI_PID): Likewise.
4592 (__ASSUME_TGKILL): Define without depending on kernel version for
4594 (__ASSUME_UTIMES): Likewise.
4595 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4597 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4598 (__ASSUME_TMPFS_NAME): Likewise.
4599 * README: Update reference to Linux kernel versions.
4601 2012-08-02 Marek Polacek <polacek@redhat.com>
4604 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4605 libc_cv_asm_type_prefix with %.
4606 * configure: Regenerated.
4607 * include/libc-symbols.h: Remove comment about
4608 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4609 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4610 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4611 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4612 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4613 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4614 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4615 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4616 * elf/tst-unique2mod1.c: Likewise.
4617 * elf/tst-unique1mod2.c: Likewise.
4618 * elf/tst-unique1mod1.c: Likewise.
4619 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4620 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4621 Replace ASM_TYPE_DIRECTIVE with .type.
4622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4623 * sysdeps/i386/sysdep.h: Likewise.
4624 * sysdeps/x86_64/sysdep.h: Likewise.
4625 * sysdeps/sh/sysdep.h: Likewise.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4627 Do not define ASM_TYPE_DIRECTIVE.
4628 * sysdeps/powerpc/sysdep.h: Likewise.
4629 * sysdeps/powerpc/powerpc32/sysdep.h:
4630 Replace ASM_TYPE_DIRECTIVE with .type.
4631 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4632 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4633 * sysdeps/i386/fpu/e_powf.S: Likewise.
4634 * sysdeps/i386/fpu/e_expl.S: Likewise.
4635 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4636 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4637 * sysdeps/i386/fpu/e_pow.S: Likewise.
4638 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4640 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4641 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4642 * sysdeps/i386/fpu/e_log2.S: Likewise.
4643 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4644 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4645 * sysdeps/i386/fpu/e_powl.S: Likewise.
4646 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4647 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4648 * sysdeps/i386/fpu/e_logl.S: Likewise.
4649 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4650 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4651 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4654 * sysdeps/i386/fpu/e_log.S: Likewise.
4655 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4656 * sysdeps/i386/fpu/e_logf.S: Likewise.
4657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4659 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4660 * sysdeps/i386/fpu/e_log10.S: Likewise.
4661 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4662 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4663 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4664 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4666 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4667 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4668 * sysdeps/i386/i686/strtok.S: Likewise.
4669 * sysdeps/i386/i386-mcount.S: Likewise.
4670 * sysdeps/i386/strtok.S: Likewise.
4671 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4675 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4676 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4677 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4678 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4679 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4680 * sysdeps/x86_64/_mcount.S: Likewise.
4681 * sysdeps/x86_64/strtok.S: Likewise.
4682 * sysdeps/sh/_mcount.S: Likewise.
4684 2012-08-01 Roland McGrath <roland@hack.frob.com>
4686 * libio/iofopen.c: Include <fcntl.h>.
4687 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4688 (_IO_fopen64, fopen64): Define as aliases.
4689 * libio/iofopen64.c: Include <fcntl.h>.
4690 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4691 Conditionalize body on this.
4692 * sysdeps/wordsize-64/iofopen.c: File removed.
4693 * sysdeps/wordsize-64/iofopen64.c: File removed.
4695 2012-08-01 Marek Polacek <polacek@redhat.com>
4697 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4698 Use dlfcn directly instead of a variable.
4699 (binfmt-subdir): Do not define.
4702 2012-08-01 Joseph Myers <joseph@codesourcery.com>
4704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4705 Remove all definitions.
4706 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4707 <kernel-features.h>.
4708 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4709 (miss_F_GETOWN_EX): Remove all definitions.
4710 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4712 [!__ASSUME_FCNTL64]: Remove conditional code.
4713 [__ASSUME_FCNTL64]: Make code unconditional.
4714 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4715 <kernel-features.h>.
4716 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4717 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4718 (lockf64) [__NR_fcntl64]: Make code unconditional.
4719 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4721 * sysdeps/unix/sysv/linux/kernel-features.h
4722 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4723 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4724 Make code unconditional.
4725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4728 [__NR_vfork]: Make code unconditional.
4729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4732 [__NR_vfork]: Make code unconditional.
4733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4736 2012-08-01 Roland McGrath <roland@hack.frob.com>
4738 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4739 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4741 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4742 Define mkstemp64 as an alias.
4743 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4744 Define mkstemps64 as an alias.
4745 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4746 Define mkostemp64 as an alias.
4747 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4748 Define mkostemps64 as an alias.
4749 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4750 Conditionalize body on this.
4751 * misc/mkostemp64.c: Likewise.
4752 * misc/mkostemps64.c: Likewise.
4753 * misc/mkstemps64.c: Likewise.
4754 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4755 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4756 * sysdeps/wordsize-64/mkostemp.c: File removed.
4757 * sysdeps/wordsize-64/mkstemp.c: File removed.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4764 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4765 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4766 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4767 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4769 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4770 compat_symbol macros from <shlib-compat.h> rather than the underlying
4771 default_symbol_version and symbol_version macros, so that DEFAULT
4772 lines in shlib-versions are respected.
4773 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4775 2012-08-01 Florian Weimer <fweimer@redhat.com>
4777 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4778 Declare with warn_unused_result.
4779 (setgid, setregid, setegid, setresgid): Likewise.
4780 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4782 * WUR-REPORT: Remove set*id functions.
4784 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4786 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4788 2012-07-31 Roland McGrath <roland@hack.frob.com>
4790 * include/sys/socket.h (__libc_accept, __libc_accept4):
4791 Add attribute_hidden.
4792 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4794 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4796 * inet/getnetgrent_r.c (setup): Likewise.
4798 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4800 2012-07-31 David S. Miller <davem@davemloft.net>
4802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4804 2012-07-31 Joseph Myers <joseph@codesourcery.com>
4807 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4808 value between 1.0 and 2.0 and smaller part has absolute value less
4810 * math/s_clog10.c (__clog10): Likewise.
4811 * math/s_clog10f.c (__clog10f): Likewise.
4812 * math/s_clog10l.c (__clog10l): Likewise.
4813 * math/s_clogf.c (__clogf): Likewise.
4814 * math/s_clogl.c (__clogl): Likewise.
4815 * math/libm-test.inc (clog_test): Add more tests.
4816 (clog10_test): Likewise.
4817 * sysdeps/i386/fpu/libm-test-ulps: Update.
4818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4820 2012-07-31 Florian Weimer <fweimer@redhat.com>
4822 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4823 Exit with zero in case no suitable GID is found, and write a
4824 message to standard error.
4826 2012-07-30 Roland McGrath <roland@hack.frob.com>
4828 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4830 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4831 (MAXPATHLEN): Removed.
4832 (NOGROUP, NODEV): New macros.
4833 (setbit, clrbit, isset, isclr): New macros.
4834 (howmany, roundup, powerof2): New macros.
4835 (DEV_BSIZE): New macro.
4837 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4838 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4840 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4841 definition on [!__NO_LONG_DOUBLE_MATH].
4843 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4844 PTR_MANGLE and PTR_DEMANGLE.
4846 * socket/accept4.c (accept4): Rename to __libc_accept4.
4847 Define accept4 as a weak alias.
4849 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4850 on [_DIRENT_HAVE_D_TYPE].
4851 * io/ftw.c (ftw_dir): Likewise.
4853 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4855 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4857 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4858 Use the BSD numbers rather than the arbitrary ones we had.
4859 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4860 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4861 (SIGXCPU, SIGXFSZ): New macros.
4864 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4865 initializer on [_LIBC_REENTRANT].
4867 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4868 definitions inside [_POSIX_MAPPED_FILES].
4870 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4872 * dirent/opendir.c: Include <fcntl.h>.
4874 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4875 (__libc_getspecific): Likewise.
4876 (__libc_key_create): Likewise.
4878 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4879 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4880 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4881 (tmpfile64): Define as alias.
4882 * sysdeps/wordsize-64/tmpfile.c: File removed.
4883 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4884 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4887 * stdio-common/vfscanf.c: Include <stdbool.h>.
4888 * nss/makedb.c: Likewise.
4889 * stdio-common/_i18n_number.h: Likewise.
4890 * argp/argp-help.c: Likewise.
4891 * posix/wordexp.c: Likewise.
4892 * sysdeps/posix/spawni.c: Likewise.
4893 * nss/nss_files/files-initgroups.c: Likewise.
4894 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4895 * nss/nss_files/files-initgroups.c: Likewise.
4896 * nss/nss_db/db-netgrp.c: Likewise.
4897 * nss/nss_db/db-initgroups.c: Likewise.
4898 * io/fchmodat.c: Include <sys/stat.h>.
4900 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4901 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4903 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4906 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4907 Add multiple inclusion protection.
4909 2012-07-27 David S. Miller <davem@davemloft.net>
4911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4913 2012-07-27 Gary Benson <gbenson@redhat.com>
4916 * elf/rtld.c: Include <stap-probe.h>.
4917 (dl_main): Added static probes "init_start" and "init_complete".
4918 * elf/dl-load.c: Include <stap-probe.h>.
4919 (lose): Take new parameter "nsid".
4920 Added static probe "map_failed".
4921 (_dl_map_object_from_fd): Pass namespace id to lose.
4922 Added static probe "map_start".
4923 (open_verify): Pass namespace id to lose.
4924 * elf/dl-open.c: Include <stap-probe.h>.
4925 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4926 and "reloc_complete".
4927 * elf/dl-close.c: Include <stap-probe.h>.
4928 (_dl_close_worker): Added static probes "unmap_start" and
4930 * elf/rtld-debugger-interface.txt: New file documenting the above.
4932 2012-07-26 Roland McGrath <roland@hack.frob.com>
4934 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4935 rather than a string variable.
4936 * sunrpc/rpc_main.c (h_output): Likewise.
4937 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4939 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4941 * inet/check_native.c: New file.
4943 2012-07-26 Joseph Myers <joseph@codesourcery.com>
4946 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4947 if larger part has absolute value 1.0.
4948 * math/s_clog10.c (__clog10): Likewise.
4949 * math/s_clog10f.c (__clog10f): Likewise.
4950 * math/s_clog10l.c (__clog10l): Likewise.
4951 * math/s_clogf.c (__clogf): Likewise.
4952 * math/s_clogl.c (__clogl): Likewise.
4953 * math/libm-test.inc (clog_test): Add more tests.
4954 (clog10_test): Likewise.
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4959 (pltexit): Likewise.
4960 (La_regs): Likewise.
4961 (La_retval): Likewise.
4962 (int_retval): Likewise.
4963 Update #error for removed macros to refer only to definitions in
4965 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4967 (pltexit): Likewise.
4968 (La_regs): Likewise.
4969 (La_retval): Likewise.
4970 (int_retval): Likewise.
4971 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4973 (pltexit): Likewise.
4974 (La_regs): Likewise.
4975 (La_retval): Likewise.
4976 (int_retval): Likewise.
4977 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4979 (pltexit): Likewise.
4980 (La_regs): Likewise.
4981 (La_retval): Likewise.
4982 (int_retval): Likewise.
4983 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4985 (pltexit): Likewise.
4986 (La_regs): Likewise.
4987 (La_retval): Likewise.
4988 (int_retval): Likewise.
4989 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4991 (pltexit): Likewise.
4992 (La_regs): Likewise.
4993 (La_retval): Likewise.
4994 (int_retval): Likewise.
4995 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4997 (pltexit): Likewise.
4998 (La_regs): Likewise.
4999 (La_retval): Likewise.
5000 (int_retval): Likewise.
5001 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5002 macro definitions in tst-audit.h.
5003 * sysdeps/i386/tst-audit.h: New file.
5004 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5005 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5006 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5007 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5008 * sysdeps/sh/tst-audit.h: Likewise.
5009 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5010 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5011 * sysdeps/x86_64/tst-audit.h: Likewise.
5013 2012-07-26 Andreas Jaeger <aj@suse.de>
5015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5018 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5019 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5020 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5022 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5023 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5026 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5029 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5031 (si_call_addr, si_syscall, si_arch): Define new macro.
5032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5034 (si_call_addr, si_syscall, si_arch): Define new marcro.
5035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5037 (si_call_addr, si_syscall, si_arch): Define new macro.
5038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5040 (si_call_addr, si_syscall, si_arch): Define new macro.
5042 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5046 Change to 2.4.21 where previously 2.4.1.
5047 * sysdeps/unix/sysv/linux/configure: Regenerated.
5048 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5049 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5050 Linux kernel version.
5051 (__ASSUME_STD_AUXV): Remove.
5052 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5054 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5055 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5056 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5057 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5058 (__ASSUME_NETLINK_SUPPORT): Likewise.
5059 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5060 (__no_netlink_support): Remove conditional definition.
5061 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5063 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5064 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5065 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5066 (if_nameindex_ioctl): Remove.
5067 (if_nameindex_netlink): Do not handle __no_netlink_support.
5068 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5070 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5071 Remove conditional code.
5072 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5074 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5076 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5077 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5078 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5080 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5081 [!__ASSUME_STD_AUXV]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5083 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5084 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5086 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5087 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5089 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5091 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5094 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5096 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5102 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5104 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5106 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5108 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5111 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5113 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5116 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5118 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5120 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5122 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5125 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5127 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5129 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5131 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5134 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5136 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5137 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5139 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5140 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5141 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5142 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5143 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5144 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5145 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5146 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5147 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5148 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5149 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5150 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5151 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5152 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5157 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5160 2012-07-25 Florian Weimer <fweimer@redhat.com>
5162 * Versions.def: Add GLIBC_2.17.
5163 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5164 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5165 Introduce __libc_secure_getenv.
5166 * stdlib/Versions (2.17): Add secure_getenv
5167 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5168 * stdlib/secure-getenv.c: Rename __secure_getenv to
5169 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5170 symbol __secure_getenv for GLIBC_2.0.
5171 * stdlib/tst-secure-getenv.c: New.
5172 * stdlib/Makefile (tests): Add testcase.
5173 * manual/startup.texi (Environment Access): Document
5175 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5176 __libc_secure_getenv.
5177 * inet/ruserpass.c (ruserpass): Likewise.
5178 * malloc/mtrace.c (mtrace): Likewise.
5179 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5180 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5181 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5182 * sysdeps/posix/tempname.c: Likewise. Evaluate
5184 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5185 __secure_getenv to __libc_secure_getenv.
5186 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5199 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5201 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5202 (struct La_i86_retval): Likewise.
5203 (struct La_x86_64_regs): Likewise.
5204 (struct La_x86_64_retval): Likewise.
5205 (struct La_x32_regs): Likewise.
5206 (struct La_x32_retval): Likewise.
5207 (struct La_ppc32_regs): Likewise.
5208 (struct La_ppc32_retval): Likewise.
5209 (struct La_ppc64_regs): Likewise.
5210 (struct La_ppc64_retval): Likewise.
5211 (struct La_sh_regs): Likewise.
5212 (struct La_sh_retval): Likewise.
5213 (struct La_s390_32_regs): Likewise.
5214 (struct La_s390_32_retval): Likewise.
5215 (struct La_s390_64_regs): Likewise.
5216 (struct La_s390_64_retval): Likewise.
5217 (struct La_sparc32_regs): Likewise.
5218 (struct La_sparc32_retval): Likewise.
5219 (struct La_sparc64_regs): Likewise.
5220 (struct La_sparc64_retval): Likewise.
5221 (struct audit_ifaces): Remove architecture-specific pltenter and
5223 * sysdeps/i386/ldsodefs.h: New file.
5224 * sysdeps/powerpc/ldsodefs.h: Likewise.
5225 * sysdeps/s390/ldsodefs.h: Likewise.
5226 * sysdeps/sh/ldsodefs.h: Likewise.
5227 * sysdeps/sparc/ldsodefs.h: Likewise.
5228 * sysdeps/x86_64/ldsodefs.h: Likewise.
5230 2012-07-25 Marek Polacek <polacek@redhat.com>
5233 * math/libm-test.inc (yn_test): Add another test.
5234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5235 to ERANGE when the result is +-Inf.
5236 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5237 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5238 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5239 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5241 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5243 * conform/data/time.h-data (NULL): Use macro-constant. Require
5245 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5247 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5249 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5251 * configure.in <sysdeps resolving>: Correct printing
5253 * configure: Regenerate.
5255 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5257 * math/w_ilogb.c: Include <limits.h>.
5258 * math/w_ilogbl.c: Likewise.
5260 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5262 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5263 va_copy. Document allowing for unavailable va_copy only as
5264 pre-C99 compatibility.
5265 * manual/string.texi (Copying and Concatenation): Use va_copy
5266 instead of __va_copy in concat example.
5268 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5270 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5271 (__sendto): Use create_address_port. Initialize APORT and deallocate
5274 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5275 with O_NOLINK passed to __file_name_lookup.
5277 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5278 with O_NOLINK passed to __file_name_lookup.
5280 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5281 negative N or less than NGIDS.
5283 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5284 type to string_t. Set ERANGE as errno and return it if NAME is not big
5285 enough. Use memcpy instead of strncpy.
5287 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5289 * elf/Makefile (check-data): Remove.
5290 (localplt.data): New vpath directive.
5291 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5292 instead of $(check-data).
5293 * scripts/data/localplt-generic.data: Move to ...
5294 * sysdeps/generic/localplt.data: ... here.
5295 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5296 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5297 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5300 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5303 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5306 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5309 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5312 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5316 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5318 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5319 PPC32 and PPC64 files.
5320 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5321 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5323 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5325 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5326 __makecontext_ret to ...
5327 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5328 ... here and call exit if uc_link is NULL. New file.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5330 __makecontext_ret.S.
5331 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5332 __makecontext_ret to ...
5333 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5334 ... here and call exit if uc_link is NULL. New file.
5335 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5336 __makecontext_ret.S.
5338 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5340 * elf/elf.h (R_390_IRELATIVE): New definition.
5341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5342 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5343 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5345 (elf_machine_lazy_rel): Likewise.
5346 * sysdeps/s390/dl-irel.h: New file.
5347 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5348 * sysdeps/s390/s390-64/memset.S: New asm code.
5349 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5350 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5351 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5352 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5353 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5354 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5356 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5357 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5358 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5359 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5360 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5361 * sysdeps/s390/s390-32/memset.S: New asm code.
5362 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5364 2012-07-17 Marek Polacek <polacek@redhat.com>
5367 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5368 * sysdeps/s390/s390-64/configure.in: Likewise.
5369 * sysdeps/sparc/configure.in: Likewise.
5370 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5371 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5372 * sysdeps/i386/configure.in: Likewise.
5373 * sysdeps/x86_64/configure.in: Likewise.
5374 * sysdeps/sh/configure.in: Likewise.
5375 * sysdeps/s390/s390-32/configure: Regenerated.
5376 * sysdeps/s390/s390-64/configure: Likewise.
5377 * sysdeps/x86_64/configure: Likewise.
5378 * sysdeps/sh/configure: Likewise.
5379 * sysdeps/powerpc/powerpc64/configure: Likewise.
5380 * sysdeps/powerpc/powerpc32/configure: Likewise.
5381 * sysdeps/sparc/configure: Likwise.
5382 * sysdeps/i386/configure: Likewise.
5384 * elf/dl-open.c: Comment fixes.
5386 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5388 * Makefile [CXX] (check-data): Remove.
5389 [CXX] (c++-types.data): New vpath directive.
5390 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5391 vpath. Do not allow for C++ type data being missing.
5392 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5393 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5394 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5395 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5396 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5397 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5398 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5401 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5404 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5407 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5410 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5413 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5416 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5419 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5422 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5423 definitions to architecture-specific files.
5427 * sysdeps/i386/tls-macros.h: New file.
5428 * sysdeps/powerpc/tls-macros.h: Likewise.
5429 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5430 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5431 * sysdeps/sh/tls-macros.h: Likewise.
5432 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5433 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5434 * sysdeps/x86_64/tls-macros.h: Likewise.
5436 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5438 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5439 zero value for regular exit case.
5441 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5442 (__start_context): Preserve zero value for regular exit case.
5444 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5445 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5447 * manual/setjmp.texi (setcontext): Clarify normal process
5448 termination when uc_link is the null pointer.
5449 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5452 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5454 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5455 preprocessor. Test for each exception mask separately.
5457 2012-07-16 Andreas Jaeger <aj@suse.de>
5459 * po/ru.po: Update from translation team.
5461 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5463 * conform/data/string.h-data (NULL): Use macro-constant. Require
5465 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5466 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5467 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5468 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5471 2012-07-13 Andreas Jaeger <aj@suse.de>
5473 * po/fr.po: Update from translation team.
5475 2012-07-12 Marek Polacek <polacek@redhat.com>
5478 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5479 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5482 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5486 Change to 2.4.1 where previously 2.4.0.
5487 * sysdeps/unix/sysv/linux/configure: Regenerated.
5488 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5489 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5491 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5492 (__ASSUME_AT_CLKTCK): Remove.
5493 (__ASSUME_AT_PAGESIZE): Likewise.
5494 (__ASSUME_AT_XID): Likewise.
5495 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5496 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5497 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5499 (HAVE_AUX_PAGESIZE): Likewise.
5500 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5501 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5502 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5504 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5508 the temporary buffer used to invoke __gethostbyname2_r,
5509 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5510 host_data / struct gaih_addrtuple.
5511 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5512 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5513 header file nss/nsswitch.h.
5514 * nss/nsswitch.h (global scope): Add definition of implementation
5515 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5516 resolv/nss_dns/dns-host.c).
5518 2012-07-11 Andreas Jaeger <aj@suse.de>
5520 * po/fr.po: Update from translation team.
5522 * po/sv.po: Update from translation team
5523 * po/fr.po: Another update from translation team.
5525 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5527 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5528 for subnormals or multiply small sinh result by itself.
5529 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5532 2012-07-11 David S. Miller <davem@davemloft.net>
5534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5536 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5539 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5540 (INTERNAL_MARK): Shift it here.
5542 2012-07-10 Marek Polacek <polacek@redhat.com>
5545 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5546 libc_cv_asm_global_directive with .globl.
5547 * configure: Regenerated.
5548 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5550 * sysdeps/i386/configure: Regenerated.
5551 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5553 * sysdeps/x86_64/configure: Regenerated.
5554 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5555 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5556 * elf/tst-unique2mod2.c: Likewise.
5557 * elf/tst-unique2mod1.c: Likewise.
5558 * elf/tst-unique1mod2.c: Likewise.
5559 * elf/tst-unique1mod1.c: Likewise.
5560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5561 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5563 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5564 * sysdeps/mach/sysdep.h: Likewise.
5565 * sysdeps/i386/sysdep.h: Likewise.
5566 * sysdeps/i386/i386-mcount.S: Likewise.
5567 * sysdeps/x86_64/_mcount.S: Likewise.
5568 * sysdeps/x86_64/sysdep.h: Likewise.
5569 * sysdeps/sh/_mcount.S: Likewise.
5570 * sysdeps/sh/sysdep.h: Likewise.
5571 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5572 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5573 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5574 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5575 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5576 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5577 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5578 * locale/localeinfo.h: Likewise.
5579 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5580 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5582 2012-07-09 Roland McGrath <roland@hack.frob.com>
5585 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5587 * manual/message.texi (The Uniforum approach): Likewise.
5588 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5589 (glibc iconv Implementation): Likewise.
5591 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5594 * math/s_clog.c (__clog): Avoid scaling a value down where that
5595 could result in underflow.
5596 * math/s_clog10.c (__clog10): Likewise.
5597 * math/s_clog10f.c (__clog10f): Likewise.
5598 * math/s_clog10l.c (__clog10l): Likewise.
5599 * math/s_clogf.c (__clogf): Likewise.
5600 * math/s_clogl.c (__clogl): Likewise.
5601 * math/libm-test.inc (clog_test): Add more tests.
5602 (clog10_test): Likewise.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5610 by 7 not 8 to examine high bit of fractional part.
5613 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5614 for call to __mcount_internal.
5615 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5616 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5617 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5619 2012-07-06 Joseph Myers <joseph@codesourcery.com>
5622 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5623 approximation for values within 0x1p-13f of an odd multiple of
5625 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5626 exception. Add more tests.
5627 * sysdeps/i386/fpu/libm-test-ulps: Update.
5630 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5631 inputs and return -1 for them. Do not check for +Inf in case not
5633 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5634 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5636 and return -1 for them. Do not check for +Inf in case not
5638 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5641 and return -1 for them. Do not check for +Inf in case not
5643 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5645 * sysdeps/i386/fpu/libm-test-ulps: Update.
5646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648 2012-07-06 Mike Frysinger <vapier@gentoo.org>
5650 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5652 2012-07-05 Joseph Myers <joseph@codesourcery.com>
5656 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5657 could result in spurious underflow. Scale down values above
5658 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5659 * math/s_csqrtf.c (__csqrtf): Likewise.
5660 * math/s_csqrtl.c (__csqrtl): Likewise.
5661 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5663 * sysdeps/i386/fpu/libm-test-ulps: Update.
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5668 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5670 * catgets/xopen-msg.awk: New file.
5671 * catgets/xopen-msg.sed: Removed.
5673 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5675 * intl/po2test.awk: New file.
5676 * intl/po2test.sed: Removed.
5678 2012-07-04 Joseph Myers <joseph@codesourcery.com>
5681 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5682 or multiply small sinh result by itself.
5683 * math/s_ctanf.c (__ctanf): Likewise.
5684 * math/s_ctanh.c (__ctanh): Likewise.
5685 * math/s_ctanhf.c (__ctanhf): Likewise.
5686 * math/s_ctanhl.c (__ctanhl): Likewise.
5687 * math/s_ctanl.c (__ctanl): Likewise.
5688 * math/libm-test.inc (ctan_test_tonearest): New function.
5689 (ctan_test_towardzero): Likewise.
5690 (ctan_test_downward): Likewise.
5691 (ctan_test_upward): Likewise.
5692 (ctanh_test_tonearest): Likewise.
5693 (ctanh_test_towardzero): Likewise.
5694 (ctanh_test_downward): Likewise.
5695 (ctanh_test_upward): Likewise.
5696 (main): Call these new functions.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5700 2012-07-03 Mike Frysinger <vapier@gentoo.org>
5702 * .gitignore: Delete /ports entry.
5704 2012-07-03 Andreas Jaeger <aj@suse.de>
5706 * po/bg.po: Update from translation team.
5707 * po/cs.po: Likewise.
5708 * po/de.po: Likewise.
5709 * po/hr.po: Likewise.
5710 * po/nl.pl: Likewise.
5711 * po/pl.po: Likewise.
5712 * po/vi.po: Likewise.
5714 2012-07-03 Joseph Myers <joseph@codesourcery.com>
5716 * Makeconfig [!+link] (+link-before-libc): New variable.
5717 [!+link] (+link-after-libc): Likewise.
5718 [!+link] (+link-tests): Likewise.
5719 [!+link] (+link): Define in terms of $(+link-before-libc) and
5720 $(+link-after-libc).
5721 [!+link-static] (+link-static-before-libc): New variable.
5722 [!+link-static] (+link-static-after-libc): Likewise.
5723 [!+link-static] (+link-static-tests): Likewise.
5724 [!+link-static] (+link-static): Define in terms of
5725 $(+link-static-before-libc) and $(+link-static-after-libc).
5726 [build-shared] (link-libc-before-gnulib): New variable.
5727 [build-shared] (link-libc-tests): Likewise.
5728 [build-shared] (link-libc): Define in terms of
5729 $(link-libc-before-gnulib).
5730 [!build-shared] (link-libc-tests): New variable.
5731 (link-libc-static-tests): New variable.
5732 [!gnulib] (gnulib-arch): New variable.
5733 [!gnulib] (gnulib-tests): Likewise.
5734 [!gnulib] (static-gnulib-arch): Likewise.
5735 [!gnulib] (static-gnulib-tests): Likewise.
5736 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5737 Define with "=" instead of ":=".
5738 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5739 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5740 * Rules (binaries-all-notests): New variable.
5741 (binaries-all-tests): Likewise.
5742 (binaries-static-notests): Likewise.
5743 (binaries-static-tests): Likewise.
5744 (binaries-all): Define using $(binaries-all-notests) and
5745 $(binaries-all-tests).
5746 (binaries-static): Define using $(binaries-static-notests) and
5747 $(binaries-static-tests).
5748 (binaries-shared-tests): New variable.
5749 (binaries-shared-notests): Likewise.
5750 (binaries-shared): Remove variable.
5751 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5752 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5753 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5754 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5755 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5756 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5757 * elf/Makefile (sln-modules): New variable.
5758 (extra-objs): Add $(sln-modules:=.o).
5759 (ldconfig-modules): Add static-stubs.
5760 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5761 * elf/static-stubs.c: New file.
5764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5765 by 7 not 8 to examine high bit of fractional part. Use volatile
5766 variables when splitting into final array of floats if
5767 __FLT_EVAL_METHOD__ != 0.
5768 * math/libm-test.inc (cos_test): Add another test.
5769 (sin_test): Likewise.
5770 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * math/libm-test.inc (cosh_test): Add more tests.
5775 * version.h (RELEASE): Set to "development".
5776 (VERSION): Set to "2.16.90".
5778 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5780 * NEWS: Update copyright. Remove last-updated date.
5781 Mention math library bug fixes and timezone data changes.
5782 * README: Mention GNU/Hurd, x32, and HPPA support status.
5784 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5786 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5788 2012-06-27 Andreas Jaeger <aj@suse.de>
5790 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5792 2012-06-25 Andreas Jaeger <aj@suse.de>
5794 * sysdeps/s390/fpu/libm-test-ulps: Update.
5796 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5797 Thomas Schwinge <thomas@codesourcery.com>
5799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5800 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5804 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5806 * sysdeps/mach/start.c: Remove file.
5807 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5808 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5809 * sysdeps/sh/init-first.c: Likewise.
5811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5812 registers for frame unwinding purposes, add CFI directives.
5813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5814 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5815 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5819 __fortify_fail returning.
5820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5822 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5823 sysdeps/sh/____longjmp_chk.S.
5824 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5825 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5826 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5827 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5829 * sysdeps/sh/abort-instr.h: New file.
5830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5831 process in case exit returns.
5833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5834 initialize the GOT register before use.
5836 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5837 calculation of ARGC > 4.
5839 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5840 meaningful names to some local labels.
5842 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5843 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5845 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5846 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5847 (__arch_compare_and_exchange_val_16_acq): Likewise.
5848 (__arch_compare_and_exchange_val_32_acq): Likewise.
5849 (atomic_exchange_and_add): Fix gUSA sequence.
5850 (atomic_add): Likewise.
5851 (atomic_add_negative): Likewise.
5852 (atomic_add_zero): Likewise.
5853 (atomic_bit_test_set): Likewise.
5855 2012-06-22 Andreas Schwab <schwab@redhat.com>
5858 * include/link.h (struct link_map): Add l_free_initfini.
5859 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5861 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5862 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5863 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5866 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5868 * configure.in: Use AC_LANG_SOURCE.
5869 * configure: Regenerate.
5871 2012-06-22 Roland McGrath <roland@hack.frob.com>
5873 * configure.in (libc_cv_localstatedir): New substituted variable.
5874 * configure: Regenerated.
5875 * config.make.in (localstatedir): New variable, substituted from
5876 libc_cv_localstatedir.
5877 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5878 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5879 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5880 * sysdeps/gnu/configure: Regenerated.
5882 2012-06-21 Jeff Law <law@redhat.com>
5885 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5886 free. Simplify list management for _LIBC case.
5888 2012-06-21 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5892 Clear sign bit of 64-bit integer value before comparing against
5895 * sysdeps/mach/configure: Regenerated.
5897 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5900 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5902 2012-06-21 Jeff Law <law@redhat.com>
5905 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5906 uint16_t for elements in the "seen" array to avoid char overflows.
5907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5908 * elf/dl-open.c (dl_open_worker): Likewise.
5910 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5912 * scripts/list-sources.sh: Scan PORTS for translations.
5913 * po/libc.pot: Regenerated.
5915 2012-06-21 Andreas Jaeger <aj@suse.de>
5918 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5920 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5921 * bits/byteswap-16.h (__bswap_16): Likewise.
5922 * bits/byteswap.h (__bswap_constant_16): Likewise.
5924 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5927 * sysdeps/i386/fpu_control.h: Removed.
5928 * sysdeps/x86_64/fpu_control.h: Moved to ...
5929 * sysdeps/x86/fpu_control.h: Here.
5931 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5932 (_FPU_SETCW): Likewise.
5934 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5937 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5938 * sysdeps/x86/fpu/bits/mathinline.h: This.
5939 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5943 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5944 functions if __x86_64__ is defined.
5946 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5948 * string/endian.h: Add !__ASSEMBLER__ condition for including
5949 conversion interfaces.
5951 2012-06-15 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5955 of ABS(x) in calculating zero to negative powers other than odd
5957 * math/libm-test.inc (pow_test): Add more tests.
5959 2012-06-15 Andreas Jaeger <aj@suse.de>
5961 * manual/contrib.texi (Contributors): Update entry of Liubov
5962 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5965 2012-06-15 Cyril Hrubis <metan@ucw.cz>
5967 * string/string.h: Add __wur to GNU version of strerror_r.
5969 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5972 * string/Makefile (tests): Add tst-strtok_r.
5973 * string/tst-strtok_r.c: New file.
5974 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5975 RAX_LP/RDX_LP on SAVE_PTR.
5977 2012-06-14 Roland McGrath <roland@hack.frob.com>
5979 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5981 2012-06-14 Joseph Myers <joseph@codesourcery.com>
5983 * libm_test.inc (csqrt_test): Allow more spurious underflow
5985 (j0_test): Likewise.
5986 (j1_test): Likewise.
5987 (y0_test): Likewise.
5988 (y1_test): Likewise.
5990 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5992 * po/Makefile (libc.pot): Use UTF-8 charset.
5994 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5997 Suppress sign-conversion warning from FD_SET.
5998 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5999 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6000 not unsigned long int.
6001 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6003 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6007 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6008 __extern_always_inline instead of __extern_inline.
6009 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6010 (__signbit): Likewise.
6011 (__signbitl): Support C++ namespace.
6012 (lrintf): New inline function.
6014 (llrintf): Likewise.
6026 (nearbyint): Likewise.
6027 (nearbyintf): Likewise.
6029 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6031 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6032 non-default versions.
6034 2012-06-11 Roland McGrath <roland@hack.frob.com>
6037 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6039 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6041 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6042 (FE_UPWARD, FE_DOWNWARD): Don't define.
6043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6046 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6048 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6051 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6053 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6056 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6058 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6061 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6062 * sysdeps/i386/fpu/Implies: New file.
6063 * sysdeps/x86_64/fpu/Implies: Likewise.
6064 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6065 * sysdeps/x86/fpu/bits/fenv.h: This.
6067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6070 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6073 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6074 character 0xffff that matches the last element of the
6077 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6082 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6085 values higher than 25.6283.
6087 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6090 subnormal exponent extraction and add some __builtin_expect.
6091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6092 Fix for subnormal mantissa calculation.
6094 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6096 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6097 cpu2 is -1 and errno is not ENOSYS.
6099 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6102 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6103 * sysdeps/x86/bits/string.h: This.
6104 * sysdeps/x86_64/bits/string.h: Removed.
6106 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6107 if not compiling for x86-64, but compiling for >= i486.
6109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6110 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6113 New macro from Linux kernel 3.4.0.
6114 (FP_XSTATE_MAGIC2): Likewise.
6115 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6116 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6117 (struct _fpx_sw_bytes): New struct.
6118 (struct _xsave_hdr): Likewise.
6119 (struct _ymmh_state): Likewise.
6120 (struct _xstate): Likewise.
6122 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6123 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6125 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6127 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6129 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6131 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6132 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6133 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6134 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6136 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6139 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6140 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6141 (sysdep_headers): Include sys/platform/ppc.h.
6142 * sysdeps/powerpc/test-gettimebase.c: Test for
6143 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6144 * manual/Makefile (appendices): Include platform.texi.
6145 * manual/contrib.texi (Contributors): Update @node pointers.
6146 * manual/maint.texi (Maintenance): Likewise.
6147 (Platform): New node.
6148 * manual/platform.texi: New file. Document the new features.
6150 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6151 Jakub Jelinek <jakub@redhat.com>
6154 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6155 where __builtin_expect is unavailable.
6157 2012-06-03 David S. Miller <davem@davemloft.net>
6159 * stdlib/longlong.h: Updated from GCC.
6161 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6164 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6165 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6168 (GLIBC_2.16): Likewise.
6170 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6174 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6177 (default-abi): New variable.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6179 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6181 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6183 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6188 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6189 definition. Document in comment.
6191 2012-06-01 David S. Miller <davem@davemloft.net>
6193 * stdlib/longlong.h: Updated from GCC.
6195 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6198 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6199 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6200 sys/debugreg.h sys/io.h here.
6201 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6202 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6204 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6205 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6206 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6207 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6208 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6209 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6212 Define only if __x86_64__ is defined.
6214 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6218 Use int64_t for variable i.
6219 * math/libm-test.inc (fmod_test): Add more tests.
6221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6222 z computation is not scheduled after fetestexcept.
6223 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6224 Use math_force_eval instead of asm to ensure calculation scheduled
6225 before exception test.
6226 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6227 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6229 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6232 computation is not scheduled after fetestexcept.
6234 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6237 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6238 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6240 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6242 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6243 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6245 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6250 (__WCHAR_MIN): Support __WORDSIZE == 64.
6251 (__WCHAR_MAX): Likewise.
6253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6258 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6265 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6267 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6268 Defined to 1 if __x86_64__ isn't defined.
6269 (_STAT_VER_LINUX_OLD): New.
6270 (st_atime): Remove duplicate.
6271 (st_mtime): Likewise.
6272 (st_ctime): Likewise.
6274 2012-05-31 David S. Miller <davem@davemloft.net>
6276 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6279 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6281 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6285 * elf/dl-reloc.c: Include <_itoa.h>.
6286 (_dl_reloc_bad_type): Remove use of INTUSE.
6287 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6288 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6289 * stdio-common/psiginfo.c (psiginfo): Likewise.
6290 * stdio-common/psignal.c (psignal): Likewise.
6291 * string/strsignal.c (strsignal): Likewise.
6292 * include/signal.h (_sys_siglist): Declare hidden proto.
6293 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6294 INTVARDEF with libc_hidden_data_def.
6295 * stdio-common/itoa-udigits.c: Likewise.
6296 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6297 (_itoa_lower_digits_internal): Remove declaration.
6298 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6299 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6300 (_sys_sigabbrev_internal): Remove aliases.
6301 (_sys_siglist): Define hidden alias.
6303 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6308 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6311 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6312 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6314 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6315 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6316 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6317 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6318 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6319 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6321 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6322 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6323 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6325 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6333 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6334 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6337 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6338 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6340 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6341 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6342 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6345 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6347 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6348 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6354 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6355 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6357 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6359 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6360 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6361 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6363 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6365 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6367 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6369 * math/math.h (M_El): Use two more decimal places.
6370 (M_LOG2El): Likewise.
6371 (M_LOG10El): Likewise.
6373 (M_LN10l): Likewise.
6375 (M_PI_2l): Likewise.
6376 (M_PI_4l): Likewise.
6377 (M_1_PIl): Likewise.
6378 (M_2_PIl): Likewise.
6379 (M_2_SQRTPIl): Likewise.
6380 (M_SQRT2l): Likewise.
6381 (M_SQRT1_2l): Likewise.
6383 2012-05-31 David S. Miller <davem@davemloft.net>
6385 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6386 values between float registers.
6387 * sysdeps/sparc/sparc64/memset.S: Likewise.
6388 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6390 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6392 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6393 -D_FORTIFY_SOURCE=1.
6394 (CPPFLAGS-tst-longjmp_chk.c): Define.
6395 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6396 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6397 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6398 CFLAGS-tst-wchar-h.c.
6400 2012-05-31 Marek Polacek <polacek@redhat.com>
6403 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6404 __endmntent_internal): Remove declaration.
6405 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6406 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6407 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6409 2012-05-30 David S. Miller <davem@davemloft.net>
6411 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6412 (___Q_simulate_exceptions): Use real FP ops rather than writing
6414 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6417 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6420 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6421 * sysdeps/x86/bits/xtitypes.h: This.
6423 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6424 * sysdeps/x86/bits/wordsize.h: This.
6426 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6427 * sysdeps/x86/bits/huge_vall.h: This.
6429 * sysdeps/i386/bits/select.h: Removed.
6430 * sysdeps/x86_64/bits/select.h: Renamed to ...
6431 * sysdeps/x86/bits/select.h: This.
6433 * sysdeps/i386/bits/setjmp.h: Removed.
6434 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6435 * sysdeps/x86/bits/setjmp.h: This.
6437 * sysdeps/i386/bits/mathdef.h: Removed.
6438 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6439 * sysdeps/x86/bits/mathdef.h: This.
6441 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6444 * include/sys/socket.h (__connect_internal)
6445 (__libc_sa_len_internal): Remove declaration.
6446 (__connect, __libc_sa_len): Declare hidden_proto.
6447 (SA_LEN): Remove use of INTUSE.
6448 * socket/connect.c: Add libc_hidden_def.
6449 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6450 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6451 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6453 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6454 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6455 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6456 of adding _internal alias.
6458 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6461 * sysdeps/i386/bits/link.h: Removed.
6462 * sysdeps/i386/bits/linkmap.h: Likewise.
6463 * sysdeps/x86_64/bits/link.h: Renamed to ...
6464 * sysdeps/x86/bits/link.h: This.
6465 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6466 * sysdeps/x86/bits/linkmap.h: This.
6468 * sysdeps/i386/bits/endian.h: Removed.
6469 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6470 * sysdeps/x86/bits/endian.h: This.
6472 * sysdeps/i386/bits/byteswap.h: Removed.
6473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6474 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6475 * sysdeps/x86/bits/byteswap.h: This.
6476 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6477 * sysdeps/x86/bits/byteswap-16.h: This.
6478 * sysdeps/i386/Implies: Add x86.
6479 * sysdeps/x86_64/Implies: Likewise.
6481 2012-05-30 David S. Miller <davem@davemloft.net>
6483 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6484 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6485 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6486 (FP_TRAPPING_EXCEPTIONS): Define.
6487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6488 (FP_TRAPPING_EXCEPTIONS): Define.
6489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6490 subnormals only when inexact has been signalled or underflow
6491 exceptions are enabled.
6492 (_FP_PACK_CANONICAL): Likewise.
6494 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6498 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6500 2012-05-30 Richard Henderson <rth@twiddle.net>
6502 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6503 with #ifndef NOT_IN_libc.
6505 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6506 marked to avoid plt entry.
6508 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6511 * Makeconfig (default-abi): New macro.
6512 (abi-includes): Likewise.
6513 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6514 $(abi-$(default-abi)-lib-soname) for soname if defined.
6515 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6517 * Makefile (installed-stubs): Likewise.
6518 * include/stubs-biarch.h: Removed.
6519 * scripts/lib-names.awk: Only handle one library at a time.
6520 * scripts/soversions.awk: Remove WORDSIZE support.
6521 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6523 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6525 (syscall-list-default-condition): Likewise.
6526 (syscall-list-default-condition): Likewise.
6527 (syscall-list-includes): Likewise.
6528 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6529 syscall-list-* with abi-*. Handle undefined abi-variants.
6530 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6531 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6532 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6533 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6534 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6535 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6537 (syscall-list-32-options): Likewise.
6538 (syscall-list-32-condition): Likewise.
6539 (syscall-list-64-options): Likewise.
6540 (syscall-list-64-condition): Likewise.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6543 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6546 (abi-64-ld-soname): New macro.
6547 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6548 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6551 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6552 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6554 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6556 * sysdeps/unix/sysv/linux/kernel-features.h
6557 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6558 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6559 include <kernel-features.h>.
6560 [!__NR_ftruncate64]: Remove conditional code.
6561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6562 [__NR_ftruncate64]: Make code unconditional.
6563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6564 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6565 include <kernel-features.h>.
6566 [!__NR_ftruncate64]: Remove conditional code.
6567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6568 [__NR_ftruncate64]: Make code unconditional.
6569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6571 include <kernel-features.h>.
6572 [!__NR_ftruncate64]: Remove conditional code.
6573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6574 [__NR_ftruncate64]: Make code unconditional.
6575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6577 include <kernel-features.h>.
6578 [!__NR_ftruncate64]: Remove conditional code.
6579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6580 [__NR_ftruncate64]: Make code unconditional.
6581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6583 * configure.in (libc_cv_fpie): Weaken to a compile test using
6585 * configure: Regenerated.
6587 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6602 2012-05-27 David S. Miller <davem@davemloft.net>
6604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6606 (__Q_simulate_exceptions): Return void. Change to simulate
6607 exceptions by writing into the %fsr.
6608 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6609 (__Qp_handle_exceptions): Likewise.
6611 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6612 __Qp_handle_exceptions.
6613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6614 __Qp_handle_exceptions.
6615 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6616 as unused and give dummy FP_RND_NEAREST initializer.
6617 (FP_INHIBIT_RESULTS): Define.
6618 (___Q_simulate_exceptions): Update declaration.
6619 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6622 as unused and give dummy FP_RND_NEAREST initializer.
6623 (__Qp_handle_exceptions): Update declaration.
6624 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6627 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6629 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6630 the temporary FPU control word.
6631 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6632 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6634 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6636 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6637 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6639 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6640 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6643 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6645 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6648 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6650 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6651 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6652 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6653 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6655 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6656 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6659 2012-05-27 Ulrich Drepper <drepper@gmail.com>
6661 * po/h.po: Update from translation team.
6663 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6665 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6667 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6668 handling of denormals.
6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6670 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6671 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6678 2012-05-26 Marek Polacek <polacek@redhat.com>
6681 * math/libm-test.inc (fma_test): Don't always expect underflow
6684 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6687 * elf/tst-execstack.c: Include stackinfo.h.
6688 (do_test): Adjust test case to ensure that pthread_getattr_np
6689 behaviour remains the same after marking stack executable.
6691 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6693 * sysdeps/unix/sysv/linux/kernel-features.h
6694 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6695 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6697 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6698 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6699 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6701 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6702 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6704 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6706 * configure.in: Define the default includes to being none.
6707 * configure: Regenerated.
6709 2012-05-25 Roland McGrath <roland@hack.frob.com>
6711 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6712 * sysdeps/x86_64/setjmp.S: Likewise.
6713 * sysdeps/i386/bsd-setjmp.S: Likewise.
6714 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6715 * sysdeps/i386/setjmp.S: Likewise.
6716 * sysdeps/i386/__longjmp.S: Likewise.
6717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6718 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6720 * include/stap-probe.h: New file.
6721 * configure.in: Handle --enable-systemtap.
6722 * configure: Regenerated.
6723 * config.h.in (USE_STAP_PROBE): New #undef.
6724 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6725 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6726 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6728 2012-05-25 Joseph Myers <joseph@codesourcery.com>
6731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6732 to 2.4.0 where earlier.
6733 * sysdeps/unix/sysv/linux/configure: Regenerated.
6734 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
6743 [__ASSUME_32BITUIDS]: Make code unconditional.
6744 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6745 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6746 <kernel-features.h>.
6747 [__ASSUME_32BITUIDS]: Make code unconditional.
6748 [!__ASSUME_32BITUIDS]: Remove conditional code.
6749 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6750 <kernel-features.h>.
6751 [__ASSUME_32BITUIDS]: Make code unconditional.
6752 [!__ASSUME_32BITUIDS]: Remove conditional code.
6753 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6754 <kernel-features.h>.
6755 [__ASSUME_32BITUIDS]: Make code unconditional.
6756 [!__ASSUME_32BITUIDS]: Remove conditional code.
6757 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6758 <kernel-features.h>.
6759 [__ASSUME_32BITUIDS]: Make code unconditional.
6760 [!__ASSUME_32BITUIDS]: Remove conditional code.
6761 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6762 <kernel-features.h>.
6763 [__ASSUME_32BITUIDS]: Make code unconditional.
6764 [!__ASSUME_32BITUIDS]: Remove conditional code.
6765 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6766 <kernel-features.h>.
6767 [__ASSUME_32BITUIDS]: Make code unconditional.
6768 [!__ASSUME_32BITUIDS]: Remove conditional code.
6769 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6770 <kernel-features.h>.
6771 [__ASSUME_32BITUIDS]: Make code unconditional.
6772 [!__ASSUME_32BITUIDS]: Remove conditional code.
6773 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6774 <kernel-features.h>.
6775 [__ASSUME_32BITUIDS]: Make code unconditional.
6776 [!__ASSUME_32BITUIDS]: Remove conditional code.
6777 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6778 <kernel-features.h>.
6779 [__ASSUME_32BITUIDS]: Make code unconditional.
6780 [!__ASSUME_32BITUIDS]: Remove conditional code.
6781 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6782 <kernel-features.h>.
6783 [__ASSUME_32BITUIDS]: Make code unconditional.
6784 [!__ASSUME_32BITUIDS]: Remove conditional code.
6785 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6786 <kernel-features.h>.
6787 [__NR_setresgid] (__setresgid): Do not declare.
6788 [__ASSUME_32BITUIDS]: Make code unconditional.
6789 [!__ASSUME_32BITUIDS]: Remove conditional code.
6790 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6791 <kernel-features.h>.
6792 [__NR_setresuid] (__setresuid): Do not declare.
6793 [__ASSUME_32BITUIDS]: Make code unconditional.
6794 [!__ASSUME_32BITUIDS]: Remove conditional code.
6795 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6796 <kernel-features.h>.
6797 [__ASSUME_32BITUIDS]: Make code unconditional.
6798 [!__ASSUME_32BITUIDS]: Remove conditional code.
6799 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6800 <kernel-features.h>.
6801 [__ASSUME_32BITUIDS]: Make code unconditional.
6802 [!__ASSUME_32BITUIDS]: Remove conditional code.
6803 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6804 <kernel-features.h>.
6805 [__ASSUME_32BITUIDS]: Make code unconditional.
6806 [!__ASSUME_32BITUIDS]: Remove conditional code.
6807 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6808 <kernel-features.h>.
6809 [__ASSUME_32BITUIDS]: Make code unconditional.
6810 [!__ASSUME_32BITUIDS]: Remove conditional code.
6811 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6812 <kernel-features.h>.
6813 [__ASSUME_32BITUIDS]: Make code unconditional.
6814 [!__ASSUME_32BITUIDS]: Remove conditional code.
6815 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6816 <kernel-features.h>.
6817 [__ASSUME_32BITUIDS]: Make code unconditional.
6818 [!__ASSUME_32BITUIDS]: Remove conditional code.
6819 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6820 <kernel-features.h>.
6821 [__ASSUME_32BITUIDS]: Make code unconditional.
6822 [!__ASSUME_32BITUIDS]: Remove conditional code.
6823 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6824 <kernel-features.h>.
6825 [__ASSUME_32BITUIDS]: Make code unconditional.
6826 [!__ASSUME_32BITUIDS]: Remove conditional code.
6827 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6828 <kernel-features.h>.
6829 [__ASSUME_32BITUIDS]: Make code unconditional.
6830 [!__ASSUME_32BITUIDS]: Remove conditional code.
6831 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6832 <kernel-features.h>.
6833 [__ASSUME_32BITUIDS]: Make code unconditional.
6834 [!__ASSUME_32BITUIDS]: Remove conditional code.
6835 * sysdeps/unix/sysv/linux/kernel-features.h
6836 (__ASSUME_SETRESUID_SYSCALL): Remove.
6837 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6838 (__ASSUME_32BITUIDS): Likewise.
6839 (__ASSUME_LDT_WORKS): Likewise.
6840 (__ASSUME_O_DIRECTORY): Likewise.
6841 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6842 architecture but not kernel version.
6843 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6844 (__ASSUME_MMAP2_SYSCALL): Likewise.
6845 (__ASSUME_STAT64_SYSCALL): Likewise.
6846 (__ASSUME_IPC64): Likewise.
6847 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6848 <kernel-features.h>.
6849 [__ASSUME_32BITUIDS]: Make code unconditional.
6850 [!__ASSUME_32BITUIDS]: Remove conditional code.
6851 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6852 <kernel-features.h>.
6853 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6854 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6855 132096]: Remove conditional code.
6856 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6858 <kernel-features.h>.
6859 [__ASSUME_32BITUIDS]: Make code unconditional.
6860 [!__ASSUME_32BITUIDS]: Remove conditional code.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6862 <kernel-features.h>.
6863 [__ASSUME_32BITUIDS]: Make code unconditional.
6864 [!__ASSUME_32BITUIDS]: Remove conditional code.
6865 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6866 <kernel-features.h>.
6867 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6869 (__setresgid): Do not declare.
6870 [__ASSUME_32BITUIDS]: Make code unconditional.
6871 [!__ASSUME_32BITUIDS]: Remove conditional code.
6872 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6873 <kernel-features.h>.
6874 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6876 (__setresuid): Do not declare.
6877 [__ASSUME_32BITUIDS]: Make code unconditional.
6878 [!__ASSUME_32BITUIDS]: Remove conditional code.
6879 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6880 <kernel-features.h>.
6881 [__ASSUME_32BITUIDS]: Make code unconditional.
6882 [!__ASSUME_32BITUIDS]: Remove conditional code.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6884 <kernel-features.h>.
6885 [__ASSUME_32BITUIDS]: Make code unconditional.
6886 [!__ASSUME_32BITUIDS]: Remove conditional code.
6888 2012-05-25 Richard Henderson <rth@twiddle.net>
6890 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6891 dl_hwcap to ifunc resolver.
6892 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6895 dl_hwcap to ifunc resolver.
6896 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6898 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6901 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6902 for |x| <= 2**-26, not 2**-57.
6903 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6906 2012-05-24 Jeff Law <law@redhat.com>
6908 * stdio-common/Makefile (tests): Add bug25.
6909 * stdio-common/bug25.c: New test.
6911 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6914 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6915 multiple of MALLOC_ALIGNMENT in size.
6916 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6918 2012-05-24 Joseph Myers <joseph@codesourcery.com>
6920 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6922 (FILENAME_MAX): Use macro-int-constant.
6923 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6924 (_IOFBF): Use macro-int-constant.
6927 (SEEK_CUR): Likewise.
6928 (SEEK_END): Likewise.
6929 (SEEK_SET): Likewise.
6930 (TMP_MAX): Likewise.
6931 (EOF): Use macro-int-constant. Require < 0.
6932 (NULL): Use macro-constant. Require == 0.
6933 (stdin): Require type to be FILE *.
6936 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6938 (EXIT_SUCCESS): Likewise.
6939 (NULL): Use macro-constant. Require == 0.
6940 (RAND_MAX): Use macro-int-constant.
6941 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6942 [C99-based standards] (strtof): Require function.
6943 [C99-based standards] (strtold): Likewise.
6944 [C99-based standards] (strtoll): Likewise.
6945 [C99-based standards] (strtoull): Likewise.
6946 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6947 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6948 [ISO || ISO99 || ISO11] (math.h): Likewise.
6949 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6950 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6953 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6956 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6957 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6958 * intl/dgettext.c (DCGETTEXT): Likewise.
6959 * intl/gettext.c (DCGETTEXT): Likewise.
6960 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6961 * posix/regex_internal.h (gettext): Likewise.
6962 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6964 * include/argz.h (__argz_count_internal)
6965 (__argz_stringify_internal): Remove declaration.
6966 (__argz_count, __argz_stringify): Declare hidden proto.
6967 * intl/dcgettext.c: Remove use of INTDEF.
6968 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6969 * string/argz-stringify.c: Likewise.
6970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6972 Declare hidden proto.
6973 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6974 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6975 Declare hidden proto.
6976 * include/stdio.h (__asprintf_internal): Don't declare.
6977 (__asprintf): Don't define as macro. Declare hidden proto.
6978 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6979 (__fsetlocking): Declare hidden proto.
6980 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6981 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6983 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6984 (_IO_setlinebuf): Remove use of INTUSE.
6985 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6986 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6987 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6989 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6990 (_IO_do_flush): Remove use of INTUSE.
6991 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6992 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6993 (_IO_adjust_column, _IO_least_wmarker)
6994 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6995 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6996 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6997 (_IO_default_doallocate, _IO_wdefault_doallocate)
6998 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6999 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7000 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7001 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7002 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7003 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7004 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7005 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7006 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7007 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7008 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7009 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7010 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7012 (_IO_flush_all_internal, _IO_adjust_column_internal)
7013 (_IO_default_uflow_internal, _IO_default_finish_internal)
7014 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7015 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7016 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7017 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7018 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7019 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7020 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7021 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7022 (_IO_file_close_internal, _IO_file_close_it_internal)
7023 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7024 (_IO_file_init_internal, _IO_file_attach_internal)
7025 (_IO_file_fopen_internal, _IO_file_read_internal)
7026 (_IO_file_sync_internal, _IO_file_seek_internal)
7027 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7028 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7029 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7030 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7031 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7032 (_IO_list_all_internal, _IO_link_in_internal)
7033 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7034 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7035 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7036 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7037 (_IO_do_write_internal, _IO_padn_internal)
7038 (_IO_getline_info_internal, _IO_getline_internal)
7039 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7040 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7041 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7042 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7043 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7044 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7045 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7046 with libc_hidden_ver, remove use of INTUSE.
7047 * libio/genops.c: Likewise.
7048 * libio/freopen.c: Likewise.
7049 * libio/freopen64.c: Likewise.
7050 * libio/iofclose.c: Likewise.
7051 * libio/iofdopen.c: Likewise.
7052 * libio/iofflush.c: Likewise.
7053 * libio/iofflush_u.c: Likewise.
7054 * libio/iofgets.c: Likewise.
7055 * libio/iofgets_u.c: Likewise.
7056 * libio/iofopen.c: Likewise.
7057 * libio/iofopncook.c: Likewise.
7058 * libio/iofread.c: Likewise.
7059 * libio/iofread_u.c: Likewise.
7060 * libio/ioftell.c: Likewise.
7061 * libio/iofwrite.c: Likewise.
7062 * libio/iogetline.c: Likewise.
7063 * libio/iogets.c: Likewise.
7064 * libio/iogetwline.c: Likewise.
7065 * libio/iopadn.c: Likewise.
7066 * libio/iopopen.c: Likewise.
7067 * libio/ioseekoff.c: Likewise.
7068 * libio/ioseekpos.c: Likewise.
7069 * libio/iosetbuffer.c: Likewise.
7070 * libio/iosetvbuf.c: Likewise.
7071 * libio/ioungetc.c: Likewise.
7072 * libio/ioungetwc.c: Likewise.
7073 * libio/iovdprintf.c: Likewise.
7074 * libio/iovsprintf.c: Likewise.
7075 * libio/iovsscanf.c: Likewise.
7076 * libio/memstream.c: Likewise.
7077 * libio/obprintf.c: Likewise.
7078 * libio/oldfileops.c: Likewise.
7079 * libio/oldiofclose.c: Likewise.
7080 * libio/oldiofdopen.c: Likewise.
7081 * libio/oldiofopen.c: Likewise.
7082 * libio/oldiopopen.c: Likewise.
7083 * libio/oldstdfiles.c: Likewise.
7084 * libio/putc.c: Likewise.
7085 * libio/setbuf.c: Likewise.
7086 * libio/setlinebuf.c: Likewise.
7087 * libio/stdfiles.c: Likewise.
7088 * libio/strops.c: Likewise.
7089 * libio/vasprintf.c: Likewise.
7090 * libio/vscanf.c: Likewise.
7091 * libio/vsnprintf.c: Likewise.
7092 * libio/vswprintf.c: Likewise.
7093 * libio/wfiledoalloc.c: Likewise.
7094 * libio/wfileops.c: Likewise.
7095 * libio/wgenops.c: Likewise.
7096 * libio/wmemstream.c: Likewise.
7097 * libio/wstrops.c: Likewise.
7098 * libio/__fpurge.c: Likewise.
7099 * libio/__fsetlocking.c: Likewise.
7100 * assert/assert.c: Likewise.
7101 * debug/fgets_chk.c: Likewise.
7102 * debug/fgets_u_chk.c: Likewise.
7103 * debug/fread_chk.c: Likewise.
7104 * debug/fread_u_chk.c: Likewise.
7105 * debug/gets_chk.c: Likewise.
7106 * debug/obprintf_chk.c: Likewise.
7107 * debug/vasprintf_chk.c: Likewise.
7108 * debug/vdprintf_chk.c: Likewise.
7109 * debug/vsnprintf_chk.c: Likewise.
7110 * debug/vsprintf_chk.c: Likewise.
7111 * malloc/mtrace.c: Likewise.
7112 * misc/error.c: Likewise.
7113 * misc/syslog.c: Likewise.
7114 * stdio-common/asprintf.c: Likewise.
7115 * stdio-common/fxprintf.c: Likewise.
7116 * stdio-common/getw.c: Likewise.
7117 * stdio-common/isoc99_fscanf.c: Likewise.
7118 * stdio-common/isoc99_scanf.c: Likewise.
7119 * stdio-common/isoc99_vfscanf.c: Likewise.
7120 * stdio-common/isoc99_vscanf.c: Likewise.
7121 * stdio-common/isoc99_vsscanf.c: Likewise.
7122 * stdio-common/printf-prs.c: Likewise.
7123 * stdio-common/printf_fp.c: Likewise.
7124 * stdio-common/printf_fphex.c: Likewise.
7125 * stdio-common/printf_size.c: Likewise.
7126 * stdio-common/putw.c: Likewise.
7127 * stdio-common/scanf.c: Likewise.
7128 * stdio-common/sprintf.c: Likewise.
7129 * stdio-common/tmpfile.c: Likewise.
7130 * stdio-common/vfprintf.c: Likewise.
7131 * stdio-common/vfscanf.c: Likewise.
7132 * stdlib/strfmon_l.c: Likewise.
7133 * sunrpc/openchild.c: Likewise.
7134 * sunrpc/xdr_stdio.c: Likewise.
7135 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7136 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7138 2012-05-24 Roland McGrath <roland@hack.frob.com>
7140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7142 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7143 in the third column, to generate for the shared library an IFUNC
7144 that uses _dl_vdso_vsym.
7145 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7146 * Makeconfig (object-suffixes-noshared): New variable.
7148 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7149 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7150 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7151 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7154 * include/sys/time.h (__gettimeofday): Remove macro.
7155 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7156 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7158 (__gettimeofday): Add libc_hidden_def.
7159 (gettimeofday): Add libc_hidden_weak.
7160 * sysdeps/mach/gettimeofday.c: Likewise.
7161 * sysdeps/posix/gettimeofday.c: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7163 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7165 (__gettimeofday_internal): Remove strong_alias.
7166 (__gettimeofday): Add libc_hidden_def.
7167 (gettimeofday): Add libc_hidden_weak.
7168 * sysdeps/unix/syscalls.list (gettimeofday):
7169 Remove __gettimeofday_internal alias.
7171 2012-05-24 Daniel Jacobowitz <drow@false.org>
7172 H.J. Lu <hongjiu.lu@intel.com>
7175 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7176 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7177 (largebin_index_32_big): New.
7178 (largebin_index): Use it for 16-byte alignment.
7179 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7180 correction with front_misalign.
7182 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7210 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7211 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7213 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7217 * math/libm-test.inc (exp_test): Add test from bug 14036.
7218 (pow_test): Add test from bug 10846.
7220 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7222 (special_function): Do not include flags in test name.
7223 (parse_args): Likewise.
7224 * sysdeps/i386/fpu/libm-test-ulps: Update.
7225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7226 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7227 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7230 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7232 * math/libm-test.inc ("Philosophy"): Update comment about
7234 (UNDERFLOW_EXCEPTION): New macro.
7235 (UNDERFLOW_EXCEPTION_OK): Likewise.
7236 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7237 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7238 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7239 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7240 (INVALID_EXCEPTION_OK): Update value.
7241 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7242 (OVERFLOW_EXCEPTION_OK): Likewise.
7243 (IGNORE_ZERO_INF_SIGN): Likewise.
7244 (test_exceptions): Handle underflow exceptions.
7245 (acos_test): Update for underflow exception expectations.
7246 (cexp_test): Likewise.
7247 (clog_test): Likewise.
7248 (clog10_test): Likewise.
7249 (csqrt_test): Likewise.
7250 (ctan_test): Likewise.
7251 (ctanh_test): Likewise.
7252 (exp_test): Likewise.
7253 (exp10_test): Likewise.
7254 (exp2_test): Likewise.
7255 (expm1_test): Likewise.
7256 (fma_test): Likewise.
7257 (j0_test): Likewise.
7258 (jn_test): Likewise.
7259 (nexttoward_test): Likewise.
7260 (pow_test): Likewise.
7261 (scalbn_test): Likewise.
7262 (scalbln_test): Likewise.
7263 (tan_test): Likewise.
7264 (y1_test): Likewise.
7265 * sysdeps/i386/fpu/libm-test-ulps: Update.
7266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7268 2012-05-23 David S. Miller <davem@davemloft.net>
7270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7271 (__libc_sigaction): Remove unused local variables.
7273 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7275 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7277 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7279 mktime: avoid signed integer overflow
7280 * time/mktime.c (__mktime_internal): Do not mishandle the case
7281 where diff == INT_MIN.
7283 mktime: simplify computation of average
7284 * time/mktime.c (ranged_convert): Use new time_t_avg function
7285 instead of rolling our own (probably-slower) code.
7287 mktime: do not assume signed right shift propagates sign bit
7288 * time/mktime.c (isdst_differ): New static function.
7289 (__mktime_internal): No need to normalize tm_isdst now.
7290 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7293 mktime: merge another wrapv change from gnulib
7294 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7295 from some compilers.
7297 mktime: remove incorrect attempt at unusual arithmetics
7298 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7299 The code didn't really work on such machines anyway.
7300 (TYPE_MINIMUM): Assume two's complement.
7301 (twos_complement_arithmetic): Verify that long_int and time_t
7302 are two's complement (or unsigned, in the latter case).
7304 mktime: check signed shifts on long_int and time_t, too
7305 * time/mktime.c (SHR): Check that shifts work as desired
7306 on the types long_int and time_t too, as SHR is used on
7309 mktime: do not assume 'long' is wide enough
7310 * time/mktime.c (verify): Move decl up.
7311 (long_int): New type.
7312 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7313 to remove assumption in the code that 'long' is wide enough to
7314 store year values. This assumption is not true on x32 and on
7315 some non-glibc platforms.
7317 mktime: merge wrapv change from gnulib
7318 * time/mktime.c (WRAPV): New macro.
7319 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7320 (guess_time_tm, __mktime_internal): Do not assume that signed
7321 integer overflow wraps around; modern compilers generate code
7322 where this assumption is no longer valid.
7324 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7326 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7327 Replace "jmp L(pseudo_end)" with "ret".
7328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7331 2012-05-23 Andreas Jaeger <aj@suse.de>
7333 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7334 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7336 2012-05-23 Andreas Jaeger <aj@suse.de>
7337 Maximilian Attems <max@stro.at>
7339 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7342 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7345 code so that pseudo_end is just ret and the stack pointer is
7346 correct also for static library in error case.
7348 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7350 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7351 move to syscalls.list.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7357 * manual/install.texi (Running make install): Do not mention Linux
7358 kernel version for which pt_chown is not needed.
7359 (Linux): Do not mention problems with nscd with 2.0 kernels.
7360 * INSTALL: Regenerated.
7362 2012-05-23 Andreas Jaeger <aj@suse.de>
7364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7365 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7367 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7369 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7371 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7375 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7377 * sysdeps/unix/sysv/linux/bits/in.h
7378 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7380 2012-05-22 Roland McGrath <roland@hack.frob.com>
7382 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7383 (PREPARE_VERSION): Just use assert instead, it will be elided
7384 under [NDEBUG] anyway.
7386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/unix/sysv/linux/Makefile: Include
7389 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7390 (sysdep_routines): Remove sysctl.
7391 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7392 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7395 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7397 2012-05-22 Andreas Jaeger <aj@suse.de>
7399 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7400 that pseudo_end is just ret and the stack pointer is correct also
7401 for static library in error case.
7403 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7406 * nss/nsswitch.c (defconfig_entries): New variable.
7407 (__nss_database_lookup): Don't leak defconfig entries.
7408 (nss_parse_service_list): Don't leak on error paths.
7409 (free_database_entries): New function.
7410 (free_defconfig): New function.
7411 (free_mem): Move common code to free_database_entries.
7413 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7417 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7419 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7420 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7423 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7424 (INTERNAL_SYSCALL_TYPES): Likewise.
7425 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7426 (LOAD_REGS_TYPES_[1-6]): Likewise.
7427 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7428 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7430 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7433 copysignl for GLIBC_2_0.
7434 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7435 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7437 logbl for GLIBC_2_0.
7438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7439 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7441 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7446 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7449 * time/mktime.c: Update copyright years.
7451 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7453 mktime: merge comment-quoting-style change from gnulib
7454 * time/mktime.c: Quote 'like this' in comments.
7455 The GNU coding standards suggest that we no longer quote `like this',
7456 as "`" and "'" are typically rendered asymmetrically nowadays.
7457 The typical gnulib style is to quote 'like this' when quoting
7458 code, and "like this" when quoting English.
7460 * time/mktime.c (compile-command): Add "-I.".
7462 mktime: merge mktime-internal.h change from gnulib
7463 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7465 mktime: merge time_r change from gnulib
7466 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7468 mktime: merge DEBUG change from gnulib
7469 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7470 case system <time.h> has a #define.
7472 mktime: merge <sys/types.h> change from gnulib
7473 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7474 since <time.t> is now guaranteed to define time_t.
7476 mktime: merge HAVE_CONFIG_H change from gnulib
7477 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7479 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7484 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7486 (struct rusage): Use anonymous union to pad each field to
7489 2012-05-21 David S. Miller <davem@davemloft.net>
7491 * Makefules (o-iterator): Remove .s cases.
7492 (compile-command.s): Delete.
7493 (COMPILE.s): Delete.
7494 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7496 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7498 * configure.in (libc_cv_predef_stack_protector): Only consider
7499 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7500 * configure: Regenerated.
7502 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7505 New macro. Use R*LP on int and pointer.
7506 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7507 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7508 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7509 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7511 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7512 [__WORDSIZE_TIME64_COMPAT32] instead of
7513 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7514 (struct utmp): Likewise.
7515 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7516 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7518 (__WORDSIZE_TIME64_COMPAT32): This.
7519 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7520 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7521 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7522 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7523 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7524 (__WORDSIZE_TIME64_COMPAT32): New macro.
7526 2012-05-21 Andreas Jaeger <aj@suse.de>
7528 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7529 only if [SHARED]. Add prototype for __wcschr_ia32.
7531 2012-05-21 Roland McGrath <roland@hack.frob.com>
7533 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7534 of %rbp unmolested in the jmp_buf while mangling the low bits.
7535 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7536 unmolested high bits of %rbp while demangling the low bits.
7537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7539 2012-05-21 Andreas Jaeger <aj@suse.de>
7541 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7542 * sunrpc/svc_simple.c: Use it for registerrpc.
7543 * sunrpc/xcrypt.c: Use it for passwd2des.
7545 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7547 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7549 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7550 Don't define if [__SYSCALL_WORDSIZE != 32].
7551 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7554 2012-05-21 Bruno Haible <bruno@clisp.org>
7555 Andreas Jaeger <aj@suse.de>
7557 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7558 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7559 inptr and inend for must_buffer_ch.
7560 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7561 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7562 * stdio-common/Makefile (tests): Remove bug15.
7563 (bug15-ENV): Remove macro.
7564 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7567 2012-05-19 Andreas Jaeger <aj@suse.de>
7568 Roland McGrath <roland@hack.frob.com>
7570 * manual/contrib.texi: Completely rewritten. It contains now an
7571 alphabetical list of contributors and their contributions.
7573 2012-05-21 Richard Henderson <rth@twiddle.net>
7575 * misc/getauxval.c (__getauxval): Use unsigned long int.
7576 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7577 (getauxval): Use unsigned long int.
7579 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7581 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7583 2012-05-21 Roland McGrath <roland@hack.frob.com>
7585 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7586 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7587 __alignof__ (long double).
7589 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7593 2012-05-20 Richard Henderson <rth@twiddle.net>
7595 * misc/getauxval.c: New file.
7596 * misc/sys/auxv.h: New file.
7597 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7598 (routines): Add getauxval.
7599 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7600 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7601 * elf/dl-sysdep.c (_dl_auxv): Remove.
7602 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7603 * elf/dl-support.c (_dl_auxv): New variable.
7604 (_dl_aux_init): Initialize it.
7605 * manual/startup.texi (Auxiliary Vector): New node.
7606 * sysdeps/generic/bits/hwcap.h: New file.
7607 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7608 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7609 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7610 * sysdeps/sparc/sysdep.h: ... here. Include it.
7611 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7624 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7628 2012-05-19 David S. Miller <davem@davemloft.net>
7630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7632 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7635 * math/s_ccosh.c: Include <float.h>
7636 (__ccosh): Avoid internal overflow calculating sinh and cosh
7637 values before multiplying by sin and cos values.
7638 * math/s_ccoshf.c: Likewise.
7639 * math/s_ccoshl.c: Likewise.
7640 * math/s_csin.c: Likewise.
7641 * math/s_csinf.c: Likewise.
7642 * math/s_csinl.c: Likewise.
7643 * math/s_csinh.c: Likewise.
7644 * math/s_csinhf.c: Likewise.
7645 * math/s_csinhl.c: Likewise.
7646 * math/libm-test.inc (ccos_test): Add more tests.
7647 (ccosh_test): Likewise.
7648 (csin_test): Likewise.
7649 (csinh_test): Likewise.
7650 * sysdeps/i386/fpu/libm-test-ulps: Update.
7651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7653 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7655 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7656 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7658 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7660 2012-05-19 Joseph Myers <joseph@codesourcery.com>
7662 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7663 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7664 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7665 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7666 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7667 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7668 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7669 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7670 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7671 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7672 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7673 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7674 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7675 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7676 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7677 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7678 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7679 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7680 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7681 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7682 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7683 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7684 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7685 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7686 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7687 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7688 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7689 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7690 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7691 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7692 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7694 2012-05-18 Andreas Jaeger <aj@suse.de>
7696 * csu/.gitignore: Delete.
7698 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7700 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7701 (timex): Use __syscall_slong_t.
7703 2012-05-18 Andreas Jaeger <aj@suse.de>
7704 Carlos O'Donell <carlos_odonell@mentor.com>
7706 * manual/install.texi (Configuring and compiling): Update
7707 description about files modified in the source directory.
7708 * INSTALL: Regenerated.
7710 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7712 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7713 value. Use "or" to set return value to -1.
7714 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7715 negate return value.
7717 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7719 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7720 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7721 failure if the compiler has Graphite support disabled.
7722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7724 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7725 CFLAGS-memmove.c): Likewise.
7726 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7729 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7731 * sysdeps/x86_64/x32/_itoa.h: New file.
7733 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7734 getdents system call only if kernel and user dirents have the
7735 same d_ino and d_off.
7737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7738 LLONG_MAX != LONG_MAX.
7739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7740 (_fitoa_word): Likewise.
7742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7746 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7749 include <bits/wordsize.h>. Check __x86_64__ instead of
7751 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7752 if __x86_64__ is defined. Use anonymous union on fpstate.
7754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7757 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7759 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7760 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7761 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7762 Refer to _rtld_local_ro instead of _rtld_global_ro.
7763 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7765 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7767 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7769 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7770 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7771 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7773 * sysdeps/powerpc/powerpc32/dl-machine.c
7774 (__elf_machine_runtime_setup) [PROF]: Don't reference
7777 2012-05-18 Andreas Jaeger <aj@suse.de>
7779 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7780 function only available for GCCs before 3.4 since GCC 3.4
7781 introduced a builtin.
7783 (llrintf): Likewise.
7791 (nearbyint): Likewise.
7792 (nearbyintf): Likewise.
7798 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7800 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7801 on both fields and cast pointer to __syscall_ulong_t.
7803 * bits/types.h (__fsword_t): New type.
7804 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7805 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7807 (__FSWORD_T_TYPE): Likewise.
7808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7809 (__FSWORD_T_TYPE): Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7811 (__FSWORD_T_TYPE): Likewise.
7812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7813 (__FSWORD_T_TYPE): Likewise.
7814 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7815 __SWORD_TYPE with __fsword_t.
7816 (statfs64): Likewise.
7818 2012-05-17 David S. Miller <davem@davemloft.net>
7820 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7822 2012-05-17 Andreas Jaeger <aj@suse.de>
7824 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7827 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7829 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7831 2012-05-17 Andreas Jaeger <aj@suse.de>
7833 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7836 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7838 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7840 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7842 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7843 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7845 2012-05-17 Andreas Jaeger <aj@suse.de>
7846 Carlos O'Donell <carlos_odonell@mentor.com>
7849 * sysdeps/x86_64/multiarch/init-arch.h
7850 (bit_YMM_Usable): Rename to...
7851 (bit_AVX_Usable): ... this.
7852 (bit_FMA4_Usable): New macro.
7853 (bit_XMM_state): New macro.
7854 (bit_YMM_state): New macro.
7855 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7856 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7857 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7858 (CPUID_OSXSAVE): New macro.
7859 (CPUID_AVX): New macro.
7860 (CPUID_FMA4): New macro.
7861 (index_YMM_Usable): Rename to...
7862 (index_AVX_Usable): ... this.
7863 (HAS_AVX): Use HAS_ARCH_FEATURE.
7864 (HAS_FMA4): Likewise.
7865 (HAS_YMM_USABLE): Remove.
7866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7867 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7869 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7870 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7871 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7872 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7873 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7875 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7877 * math/libm-test.c: Support platforms without multiple rounding modes.
7878 * math/bug-nextafter.c: Support platforms without FP exceptions.
7879 * math/bug-nexttoward.c: Likewise.
7880 * math/test-fenv.c: Likewise.
7881 * math/test-misc.c: Likewise.
7882 * stdlib/bug-getcontext.c: Likewise.
7884 2012-05-17 Andreas Jaeger <aj@suse.de>
7886 * manual/examples/search.c (critter_cmp): Change signature to
7888 * manual/string.texi (Collation Functions): Likewise.
7890 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7892 * bits/types.h: Fold copyright years.
7893 * bits/typesizes.h: Likewise.
7894 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7898 * time/time.h: Likewise.
7900 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7903 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7904 in instead of returning them. Return void.
7905 (__libc_mallinfo): Accumulate over all arenas.
7906 (__malloc_stats): Adjust for change in int_mallinfo interface.
7908 2012-05-16 Roland McGrath <roland@hack.frob.com>
7911 * configure.in (NM): Add AC_CHECK_TOOL for it.
7912 (libc_extra_cflags): New substituted variable.
7913 Check for -fstack-protector being used implicitly.
7914 * configure: Regenerated.
7915 * config.make.in (config-extra-cflags): New variable,
7916 gets @libc_extra_cflags@.
7917 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7920 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7921 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7922 * configure: Regenerated.
7923 * config.make.in (CPPUNDEFS): New substituted variable.
7924 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7925 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7926 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7928 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7930 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7931 (mq_attr): Use __syscall_slong_t.
7933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7935 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7936 Check __x86_64__ instead of __WORDSIZE.
7937 (_STAT_VER_LINUX): Likewise.
7938 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7939 __syscall_ulong_t and __syscall_slong_t.
7942 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7944 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7946 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7948 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7952 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7955 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7956 include <bits/wordsize.h>. Check __x86_64__ instead of
7958 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7960 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7962 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7963 include <bits/wordsize.h>. Check __x86_64__ instead of
7965 (user_regs_struct): Use "__extension__ unsigned long long"
7966 instead of "unsigned long" if __x86_64__ is defined.
7967 (user): Likewise. Pad after pointer field if __ILP32__ is
7970 2012-05-16 Joseph Myers <joseph@codesourcery.com>
7972 * configure.in (makeinfo): Require version 4.5 or later. Allow
7974 * configure: Regenerated.
7975 * manual/install.texi (texinfo): Increase version requirement to
7977 * INSTALL: Regenerated.
7979 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7981 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7983 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7985 * sysdeps/x86_64/x32/ffs.c: New file.
7987 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7989 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7990 defined. Use __syscall_ulong_t.
7991 (shminfo): Use __syscall_ulong_t.
7992 (shm_info): Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7997 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7999 (msgqnum_t): Use __syscall_ulong_t.
8000 (msglen_t): Likewise.
8001 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8004 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8005 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8007 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8009 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8010 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8012 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8015 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8016 include <bits/wordsize.h>. Check __x86_64__ instead of
8019 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8020 "unsigned long long int" if __x86_64__ is defined.
8021 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8024 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8025 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8027 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8029 (GET_PC): Cast to uintptr_t first.
8030 (GET_FRAME): Likewise.
8031 (GET_STACK): Likewise.
8033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8034 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8039 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8040 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8041 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8042 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8043 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8045 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8053 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8055 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8059 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8063 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8065 * Makerules (+depfiles): Also collect depfiles from .oS in
8067 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8068 .oS, $(libnldbl-routines)).
8070 * Makerules (native-compile-mkdep-flags): Define.
8071 * sunrpc/Makefile (extra-objs): Add $(addprefix
8072 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8073 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8074 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8075 calling $(make-target-directory).
8077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8079 * bits/types.h (__snseconds_t): Removed.
8080 * time/time.h (struct timespec): Replace __snseconds_t with
8082 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8083 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8086 (__SNSECONDS_T_TYPE): Likewise.
8087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8088 (__SNSECONDS_T_TYPE): Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8090 (__SNSECONDS_T_TYPE): Likewise.
8092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8094 * sysdeps/mach/hurd/bits/typesizes.h
8095 (__SYSCALL_SLONG_TYPE): New macro.
8096 (__SYSCALL_ULONG_TYPE): Likewise.
8098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8100 * bits/types.h (__syscall_slong_t): New type.
8101 (__syscall_ulong_t): Likewise.
8103 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8104 (__SYSCALL_ULONG_TYPE): Likewise.
8105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8106 (__SYSCALL_SLONG_TYPE): Likewise.
8107 (__SYSCALL_ULONG_TYPE): Likewise.
8108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8109 (__SYSCALL_SLONG_TYPE): Likewise.
8110 (__SYSCALL_ULONG_TYPE): Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8112 (__SYSCALL_SLONG_TYPE): Likewise.
8113 (__SYSCALL_ULONG_TYPE): Likewise.
8115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8117 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8118 Add sigaltstack-offsets.sym.
8119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8120 <sigaltstack-offsets.h>.
8121 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8122 longjmp_msg pointer.
8123 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8124 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8126 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8128 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8130 * elf/stackguard-macros.h: Remove file.
8131 * sysdeps/generic/stackguard-macros.h: New file.
8132 * sysdeps/i386/stackguard-macros.h: Likewise.
8133 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8134 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8135 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8136 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8137 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8138 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8139 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8140 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8141 <elf/stackguard-macros.h>.
8144 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8145 __aligned__ in attribute.
8146 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8147 (gregset_t): Likewise.
8149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8151 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8152 * sysdeps/x86_64/64/Implies-after: Here. New file.
8153 * sysdeps/x86_64/x32/Implies-after: New file.
8155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8157 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8158 and access return value for _dl_profile_fixup. Use R10_LP to
8161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8163 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8167 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8168 * sysdeps/x86_64/x32/sysdep.h: New file.
8170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8172 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8173 * sysdeps/x86_64/setjmp.S: Likewise.
8175 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8177 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8178 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8179 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8180 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8181 remove unused global constant.
8183 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8185 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8186 include of <not-cancel.h>.
8188 2012-05-15 Roland McGrath <roland@hack.frob.com>
8190 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8192 2012-05-15 Jeff Law <law@redhat.com>
8193 Andreas Jaeger <aj@suse.de>
8196 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8198 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8199 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8200 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8201 code changing __hst_map_handle.map.
8203 2012-05-15 Roland McGrath <roland@hack.frob.com>
8205 * configure.in (sysnames): Look for Implies-before and Implies-after
8207 * configure: Regenerated.
8209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8212 8-byte data alignment with LP_SIZE alignment.
8214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8216 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8225 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8226 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8227 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8233 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8234 (stackinfo_sub_sp): Likewise.
8236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8253 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8257 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8258 into R11_LP and load __x86_64_shared_cache_size_half into
8261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8266 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8274 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8275 powerpc32/power7/fpu/s_logb.c via #include.
8276 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8277 powerpc32/power7/fpu/s_logbf.c via #include.
8278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8279 powerpc32/power7/fpu/s_logbl.c via #include.
8281 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8283 * README.libm: Remove file.
8285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8287 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8288 count for x32. Use R*_LP and omit operand-size suffix.
8290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8292 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8293 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8294 * sysdeps/x86_64/x32/shlib-versions: New file.
8296 2012-05-14 Roland McGrath <roland@hack.frob.com>
8298 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8299 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8300 Use _dl_fatal_printf instead.
8302 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8304 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8305 set if not set by the user. Do not allow for being unset.
8306 * sysdeps/unix/sysv/linux/configure: Regenerated.
8308 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8310 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8311 the `q' suffix from lea and replace .quad with ASM_ADDR.
8313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8316 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8318 (PTR_DEMANGLE): Likewise.
8320 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8322 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8324 (ASM_ADDR): Likewise.
8342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8344 * sysdeps/x86_64/x32/dl-machine.h: New file.
8346 2012-05-14 Andreas Jaeger <aj@suse.de>
8348 * manual/Makefile (subdir): Remove export of subdir.
8349 (all): Remove target.
8350 (.PHONY): Remove all from list.
8351 (mkinstalldirs): Remove.
8352 (.PHONY): Remove installdirs from list.
8353 ($(inst_infodir)/libc.info): Use make-target-directory.
8354 (installdirs): Remove.
8356 (glibc-targets): Remove.
8359 ($(objpfx)stubs ../po/manual.pot): Remove.
8360 ($(objpfx)stamp%): Remove.
8361 (make-target-directory): Remove.
8362 (subdir_install): Remove.
8370 * manual/.gitignore: Remove, it's not needed anymore.
8371 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8373 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8375 (texis): Renamed to $(objpfx)texis.
8376 (texis-path): New, contains path to generated files.
8377 (chapters.%): Use texis-path for complete path, add extra argument
8379 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8380 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8381 (summary,texi, stamp-summary): Use complete path of
8382 files. Generate files in build dir.
8383 (dir-add.texi): Build in build dir.
8384 (libm-err.texi,stamp-libm-err): Likewise.
8385 (version.texi, stamp-version): Likewise.
8386 (.%c.texi): Likewise.
8387 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8388 (mostlyclean): Remove target.
8389 (realclean): Remove target.
8390 (generated): Add new variable with contents from mostlyclean and
8391 realclean, remove entries duplicated in common-mostlyclean, add
8392 stamp-libm-err and stamp-version.
8393 (generated-dirs): Add libc directory.
8394 ($(inst_infodir)/libc.info): Install files from build dir.
8396 * manual/install.texi (Configuring and compiling): Adjust since
8397 the info files are not part of the tar ball anymore.
8399 2012-05-14 Andreas Jaeger <aj@suse.de>
8401 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8404 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8408 to 2.2.0 where earlier.
8409 * sysdeps/unix/sysv/linux/configure: Regenerated.
8410 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8411 Remove conditional code.
8412 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8413 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8414 Remove conditional code.
8415 [!__NR_lchown]: Likewise.
8416 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8417 [__NR_lchown]: Likewise.
8418 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8419 comment referencing __ASSUME_LCHOWN_SYSCALL.
8420 * sysdeps/unix/sysv/linux/i386/sigaction.c
8421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8423 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8424 Remove conditional code.
8425 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8426 (__protocol_available): Remove #if 0 code.
8427 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8429 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8430 * sysdeps/unix/sysv/linux/kernel-features.h
8431 (__ASSUME_GETCWD_SYSCALL): Don't define.
8432 (__ASSUME_REALTIME_SIGNALS): Likewise.
8433 (__ASSUME_PREAD_SYSCALL): Likewise.
8434 (__ASSUME_PWRITE_SYSCALL): Likewise.
8435 (__ASSUME_POLL_SYSCALL): Likewise.
8436 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8437 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8439 (__ASSUME_SIOCGIFNAME): Don't define.
8440 (__ASSUME_MSG_NOSIGNAL): Likewise.
8441 (__ASSUME_SENDFILE): Define unconditionally.
8442 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8443 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8445 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8446 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8447 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8448 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8449 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8450 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8451 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8456 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8462 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8463 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8468 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8469 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8474 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8476 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8477 Remove conditional code.
8478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8479 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8480 Remove conditional code.
8481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8482 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8483 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8484 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8485 Remove conditional code.
8486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8487 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8488 Remove conditional code.
8489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8490 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8491 Remove conditional code.
8492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8493 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8494 Remove conditional code.
8495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8496 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8497 Remove conditional code.
8498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8499 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8502 * sysdeps/unix/sysv/linux/sigaction.c
8503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8505 * sysdeps/unix/sysv/linux/sigpending.c
8506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8508 * sysdeps/unix/sysv/linux/sigprocmask.c
8509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8511 * sysdeps/unix/sysv/linux/sigsuspend.c
8512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8515 (__libc_missing_rt_sigs): Remove.
8516 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8517 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8518 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8519 Remove conditional code.
8520 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8521 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8524 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8526 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8528 2012-05-14 Andreas Jaeger <aj@suse.de>
8530 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8531 it's not used in glibc.
8532 (__coshm1): Likewise.
8533 (__acosh1p): Likewise.
8536 * manual/string.texi (Copying and Concatenation): Add missing
8537 variable in concat example.
8538 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8544 __builtin_clzl with __builtin_clzll.
8546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8549 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8552 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8554 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8555 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8556 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8557 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8559 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8561 * NEWS: Update ia64 info.
8563 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8565 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8568 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8570 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8571 * sysdeps/unix/syscalls.list (dup3): Likewise.
8572 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8573 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8575 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8577 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8578 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8580 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8582 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8584 (TLS_IE): Use mov/add instead of movq/addq to load thread
8586 (TLS_GD_PREFIX): New.
8589 2012-05-11 David S. Miller <davem@davemloft.net>
8591 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8592 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8593 (_FPU_SETCW): Likewise.
8595 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8597 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8600 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8603 * iconvdata/gb18030.c: Update tables.
8604 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8605 characters specially.
8606 (BODY for TO_LOOP): Add encoding of missing ranges.
8608 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8611 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8612 * sysdeps/mach/hurd/dup3.c: Likewise.
8613 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8614 * sysdeps/powerpc/memmove.c:: Likewise.
8616 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8619 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8621 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8623 * elf/elf.h (R_X86_64_RELATIVE64): New.
8624 (R_X86_64_NUM): Updated.
8625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8626 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8627 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8628 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8629 tst-quad1pie tst-quad2pie
8630 (modules-names): Add tst-quadmod1 tst-quadmod2.
8631 ($(objpfx)tst-quad1): New dependency.
8632 ($(objpfx)tst-quad2): Likewise.
8633 ($(objpfx)tst-quad1pie): Likewise.
8634 ($(objpfx)tst-quad2pie): Likewise.
8635 * sysdeps/x86_64/tst-quad1.c: New file.
8636 * sysdeps/x86_64/tst-quad1pie.c: New file.
8637 * sysdeps/x86_64/tst-quad2.c: Likewise.
8638 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8639 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8640 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8641 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8642 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8646 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8647 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8648 * streams/stropts.h (t_scalar_t): Define type.
8650 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8651 (_PATH_PRESERVE): Set to "/var/lib".
8652 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8654 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8657 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8658 if __dir_mkfile succeeded.
8660 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8661 checking for _hurd_dtablesize. Unlock it right after having
8662 finished _hurd_dtable allocation.
8664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8666 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8667 * sysdeps/mach/hurd/configure: Regenerated.
8668 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8669 special-casing to...
8670 * sysdeps/gnu/configure.in: ... this new file.
8671 * sysdeps/unix/sysv/linux/configure: Regenerated.
8672 * sysdeps/gnu/configure: New generated file.
8674 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8675 for Linux: use nsec instead of usec, as well as:
8676 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8677 members of type struct timespec.
8678 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8680 (struct stat64): Likewise.
8681 (_STATBUF_ST_NSEC): New macro.
8682 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8684 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8685 __strtoul_internal rather than strtoul.
8687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8689 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8694 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8695 which preserves existing values.
8696 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8698 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8700 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8701 TIMEOUT values. Return EINVAL for NFDS values either negative or
8702 greater than FD_SETSIZE.
8704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8706 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8707 allocated, call __vm_protect to finish enabling the existing space, and
8708 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8709 allocate the remainder.
8711 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8713 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8714 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8718 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8719 sysdeps/mach/hurd/readlink.c.
8721 * posix/tst-sysconf.c (posix_options): Only use
8722 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8723 _POSIX_SYNCHRONIZED_IO when they are defined
8724 * sysdeps/mach/hurd/bits/posix_opt.h:
8725 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8726 (_XOPEN_REALTIME): Undefine macro.
8727 (_XOPEN_REALTIME_THREADS): Undefine macro.
8728 (_XOPEN_SHM): Undefine macro.
8729 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8731 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8733 (_POSIX_ASYNC_IO): Undefine macro.
8734 (_POSIX_PRIORITIZED_IO): Undefine macro.
8735 (_POSIX_SPIN_LOCKS): Define macro to -1.
8737 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8738 SA_NODEFER, SA_RESETHAND.
8739 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8740 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8743 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8745 * elf/Makefile (pldd-modules): Define unconditionally.
8747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8749 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8751 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8753 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8754 Return ENOENT when name is empty.
8755 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8759 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8761 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8765 Fix mlock in all cases except non-readable pages.
8766 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8767 instead of VM_PROT_ALL as parameter to __vm_wire function.
8769 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8770 (__mkdir): When path is `/', just fail with EEXIST.
8771 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8775 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8776 <sys/uio.h> (for writev).
8777 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8778 and <sys/param.h> (for MIN).
8780 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8782 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8783 REQUESTED_TIME. Properly set the remaining time and return EINTR
8786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8788 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8789 Depend on against $(link-rpcuserlibs).
8791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8793 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8794 (__libc_stack_end): Do not use attribute_relro.
8795 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8796 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8797 to libthread-provided value.
8798 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8804 * bits/libc-lock.h (__libc_once_get): New macro.
8805 * sysdeps/mach/bits/libc-lock.h: Likewise.
8806 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8808 instead of using implementation details.
8810 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8811 * libio/freopen.c: Likewise.
8812 * libio/freopen64.c: Likewise.
8813 * misc/syslog.c: Likewise.
8814 * nscd/connections.c: Likewise.
8815 * nscd/netgroupcache.c: Likewise.
8816 * sysdeps/posix/getcwd.c: Likewise.
8818 2012-05-10 Roland McGrath <roland@hack.frob.com>
8820 * math/w_ilogbf.c: Add #include <limits.h>.
8822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8824 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8825 path instead of returning without unlocking.
8827 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8828 immediate-write ioctls.
8829 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8831 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8833 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8834 __builtin_frame_address instead of making assumptions about the
8835 location of the return address relative to DATA. Force early load of
8837 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8838 __builtin_frame_address.
8841 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8842 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8843 implement dup3 and do some further code clean-ups.
8844 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8845 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8847 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8849 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8851 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8852 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8853 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8854 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8855 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8858 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8859 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8860 when handler == SIG_ERR, not when handler != SIG_ERR.
8862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8864 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8865 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8868 accept4 for GNU Hurd.
8869 * include/sys/socket.h (__libc_accept4): New prototype.
8870 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8871 to implement __libc_accept4.
8872 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8874 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8876 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8877 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8878 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8883 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
8887 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8888 assertion on O_CLOEXEC flag.
8889 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8890 * hurd/intern-fd.c: Likewise.
8891 * hurd/port2fd.c: Likewise.
8893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8896 * bits/in.h (IPV6_PKTINFO): Define new macro.
8897 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8899 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8904 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8906 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8907 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8910 * math/libm-test.inc (logb_test) : Additional logb tests.
8912 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8913 Andreas Jaeger <aj@suse.de>
8915 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8916 * configure: Regenerated.
8917 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8918 * config.make.in (link-obsolete-rpc): New substituted variable.
8919 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8920 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8921 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8922 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8923 so that libc.a contains the symbols.
8924 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8925 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8926 * sunrpc/auth_none.c: Likewise.
8927 * sunrpc/auth_unix.c: Likewise.
8928 * sunrpc/authdes_prot.c: Likewise.
8929 * sunrpc/authuxprot.c: Likewise.
8930 * sunrpc/clnt_gen.c: Likewise.
8931 * sunrpc/clnt_perr.c: Likewise.
8932 * sunrpc/clnt_raw.c: Likewise.
8933 * sunrpc/clnt_simp.c: Likewise.
8934 * sunrpc/clnt_tcp.c: Likewise.
8935 * sunrpc/clnt_udp.c: Likewise.
8936 * sunrpc/clnt_unix.c: Likewise.
8937 * sunrpc/des_crypt.c: Likewise.
8938 * sunrpc/des_soft.c: Likewise.
8939 * sunrpc/get_myaddr.c: Likewise.
8940 * sunrpc/key_call.c: Likewise.
8941 * sunrpc/key_prot.c: Likewise.
8942 * sunrpc/netname.c: Likewise.
8943 * sunrpc/pm_getmaps.c: Likewise.
8944 * sunrpc/pm_getport.c: Likewise.
8945 * sunrpc/pmap_clnt.c: Likewise.
8946 * sunrpc/pmap_prot.c: Likewise.
8947 * sunrpc/pmap_prot2.c: Likewise.
8948 * sunrpc/pmap_rmt.c: Likewise.
8949 * sunrpc/publickey.c: Likewise.
8950 * sunrpc/rpc_cmsg.c: Likewise.
8951 * sunrpc/rpc_common.c: Likewise.
8952 * sunrpc/rpc_dtable.c: Likewise.
8953 * sunrpc/rpc_prot.c: Likewise.
8954 * sunrpc/rpc_thread.c: Likewise.
8955 * sunrpc/rtime.c: Likewise.
8956 * sunrpc/svc.c: Likewise.
8957 * sunrpc/svc_auth.c: Likewise.
8958 * sunrpc/svc_raw.c: Likewise.
8959 * sunrpc/svc_run.c: Likewise.
8960 * sunrpc/svc_tcp.c: Likewise.
8961 * sunrpc/svc_udp.c: Likewise.
8962 * sunrpc/svc_unix.c: Likewise.
8963 * sunrpc/svcauth_des.c: Likewise.
8964 * sunrpc/xcrypt.c: Likewise.
8965 * sunrpc/xdr.c: Likewise.
8966 * sunrpc/xdr_array.c: Likewise.
8967 * sunrpc/xdr_float.c: Likewise.
8968 * sunrpc/xdr_intXX_t.c: Likewise.
8969 * sunrpc/xdr_mem.c: Likewise.
8970 * sunrpc/xdr_rec.c: Likewise.
8971 * sunrpc/xdr_ref.c: Likewise.
8972 * sunrpc/xdr_sizeof.c: Likewise.
8973 * sunrpc/xdr_stdio.c: Likewise.
8975 2012-05-10 Roland McGrath <roland@hack.frob.com>
8977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8978 change. Update copyright years.
8980 2012-05-10 Joseph Myers <joseph@codesourcery.com>
8982 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8984 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8985 Joseph Myers <joseph@codesourcery.com>
8986 Paul Pluzhnikov <ppluzhnikov@google.com>
8989 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8991 [cross-compiling] (extra-libs): Likewise.
8992 [cross-compiling] (extra-libs-others): Likewise.
8993 [cross-compiling] (librpcsvc-routines): Likewise.
8994 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8995 [cross-compiling] (omit-deps): Likewise.
8996 (sunrpc-CPPFLAGS): New variable.
8997 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8998 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8999 (cross-rpcgen-objs): New variable.
9000 (extra-objs): Append $(cross-rpcgen-objs).
9001 ($(cross-rpcgen-objs)): New rule.
9002 ($(objpfx)cross-rpcgen): Likewise.
9003 (rpcgen-cmd): Define to use $(built-program-file). Expand
9005 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9006 ($(objpfx)x%.stmp): Likewise.
9007 * sunrpc/proto.h [IS_IN_build] (_): Define.
9008 [IS_IN_build] (_libc_intl_domainname): Likewise.
9010 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9013 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9014 and R_X86_64_TPOFF64.
9016 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9018 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9019 sysdeps/unix/sysv/syscalls.list.
9022 * sysdeps/unix/sysv/syscalls.list: Remove file.
9024 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9027 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9028 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9029 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9030 (__LC_IDENTIFICATION): Make these macros useful in #if
9031 expressions, as required by C99.
9033 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9035 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9036 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9039 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9041 * stdlib/longlong.h: Updated from GCC.
9043 2012-05-09 Andreas Jaeger <aj@suse.de>
9045 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9046 default is first entry.
9047 (run_mode): Set type.
9048 (main): Remove informal message about syslog.
9049 (options): Fix typo.
9052 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9055 (llrintf): Likewise.
9059 (nearbyint): Likewise.
9060 (nearbyintf): Likewise.
9062 2012-05-09 Andreas Jaeger <aj@suse.de>
9063 Pedro Alves <palves@redhat.com>
9065 * nscd/nscd.c (run_mode): Use enum.
9066 (main): Cleanup coding style issue.
9068 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9069 Andreas Jaeger <aj@suse.de>
9071 * nscd/nscd.c (go_background): Replaced with...
9072 (run_mode): ... this.
9073 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9074 (options): Add -F --foreground.
9075 (main): Implement it.
9076 (parse_opt): Parse it.
9078 2012-05-09 Andreas Jaeger <aj@suse.de>
9081 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9082 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9083 -Wconversion warning.
9084 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9087 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9089 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9091 (LC_ALL): Use macro-int-constant.
9092 (LC_COLLATE): Likewise.
9093 (LC_CTYPE): Likewise.
9094 (LC_MESSAGES): Likewise.
9095 (LC_MONETARY): Likewise.
9096 (LC_NUMERIC): Likewise.
9097 (LC_TIME): Likewise.
9098 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9099 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9101 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9103 [C99-based standards] (float_t): Expect type.
9104 [C99-based standards] (double_t): Expect type.
9105 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9107 [C99-based standards] (HUGE_VALL): Likewise.
9108 [C99-based standards] (INFINITY): Likewise.
9109 [C99-based standards] (NAN): Likewise.
9110 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9111 [C99-based standards] (FP_NAN): Likewise.
9112 [C99-based standards] (FP_NORMAL): Likewise.
9113 [C99-based standards] (FP_SUBNORMAL): Likewise.
9114 [C99-based standards] (FP_ZERO): Likewise.
9115 [C99-based standards] (FP_FAST_FMA): Use
9116 optional-macro-int-constant. Specify type. Require == 1.
9117 [C99-based standards] (FP_FAST_FMAF): Likewise.
9118 [C99-based standards] (FP_FAST_FMAL): Likewise.
9119 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9120 [C99-based standards] (FP_ILOGBNAN): Likewise.
9121 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9123 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9124 [C99-based standards] (math_errhandling): Specify type.
9125 [ISO99 || ISO11] (signgam): Do not allow.
9126 [non-C99-based standards] (copysignf): Do not allow.
9127 [non-C99-based standards] (exp2f): Likewise.
9128 [non-C99-based standards] (log2f): Likewise.
9129 [non-C99-based standards] (modff): Allow.
9130 [non-C99-based standards] (erff): Do not allow.
9131 [non-C99-based standards] (erfcf): Likewise.
9132 [non-C99-based standards] (gammaf): Likewise.
9133 [non-C99-based standards] (hypotf): Likewise.
9134 [non-C99-based standards] (j0f): Likewise.
9135 [non-C99-based standards] (j1f): Likewise.
9136 [non-C99-based standards] (jnf): Likewise.
9137 [non-C99-based standards] (lgammaf): Likewise.
9138 [non-C99-based standards] (tgammaf): Likewise.
9139 [non-C99-based standards] (y0f): Likewise.
9140 [non-C99-based standards] (y1f): Likewise.
9141 [non-C99-based standards] (ynf): Likewise.
9142 [non-C99-based standards] (isnanf): Likewise.
9143 [non-C99-based standards] (acoshf): Likewise.
9144 [non-C99-based standards] (asinhf): Likewise.
9145 [non-C99-based standards] (atanhf): Likewise.
9146 [non-C99-based standards] (cbrtf): Likewise.
9147 [non-C99-based standards] (expm1f): Likewise.
9148 [non-C99-based standards] (ilogbf): Likewise.
9149 [non-C99-based standards] (log1pf): Likewise.
9150 [non-C99-based standards] (logbf): Likewise.
9151 [non-C99-based standards] (nextafterf): Likewise.
9152 [non-C99-based standards] (remainderf): Likewise.
9153 [non-C99-based standards] (rintf): Likewise.
9154 [non-C99-based standards] (scalbf): Likewise.
9155 [non-C99-based standards] (copysignl): Likewise.
9156 [non-C99-based standards] (exp2l): Likewise.
9157 [non-C99-based standards] (log2l): Likewise.
9158 [non-C99-based standards] (modfl): Allow.
9159 [non-C99-based standards] (erfl): Do not allow.
9160 [non-C99-based standards] (erfcl): Likewise.
9161 [non-C99-based standards] (gammal): Likewise.
9162 [non-C99-based standards] (hypotl): Likewise.
9163 [non-C99-based standards] (j0l): Likewise.
9164 [non-C99-based standards] (j1l): Likewise.
9165 [non-C99-based standards] (jnl): Likewise.
9166 [non-C99-based standards] (lgammal): Likewise.
9167 [non-C99-based standards] (tgammal): Likewise.
9168 [non-C99-based standards] (y0l): Likewise.
9169 [non-C99-based standards] (y1l): Likewise.
9170 [non-C99-based standards] (ynl): Likewise.
9171 [non-C99-based standards] (isnanl): Likewise.
9172 [non-C99-based standards] (acoshl): Likewise.
9173 [non-C99-based standards] (asinhl): Likewise.
9174 [non-C99-based standards] (atanhl): Likewise.
9175 [non-C99-based standards] (cbrtl): Likewise.
9176 [non-C99-based standards] (expm1l): Likewise.
9177 [non-C99-based standards] (ilogbl): Likewise.
9178 [non-C99-based standards] (log1pl): Likewise.
9179 [non-C99-based standards] (logbl): Likewise.
9180 [non-C99-based standards] (nextafterl): Likewise.
9181 [non-C99-based standards] (remainderl): Likewise.
9182 [non-C99-based standards] (rintl): Likewise.
9183 [non-C99-based standards] (scalbl): Likewise.
9184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9185 [non-C99-based standards] (FP_*): Do not allow.
9186 [C99-based standards] (FP_*): Change to
9187 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9188 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9190 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9191 (SIG_ERR): Likewise.
9192 [X/Open-based standards] (SIG_HOLD): Likewise.
9193 (SIG_IGN): Likewise.
9194 (SIGABRT): Use macro-int-constant. Specify type. Require
9199 (SIGSEGV): Likewise.
9201 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9202 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9203 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9204 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9205 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9206 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9207 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9208 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9209 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9210 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9211 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9212 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9213 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9214 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9215 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9216 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9217 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9218 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9219 [X/Open-based standards] (SIGTRAP): Likewise.
9220 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9221 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9222 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9223 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9224 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9227 2012-05-08 Ian Wienand <ianw@vmware.com>
9230 * time/tzset.c (__tzset_parse_tz): Update default rules for
9231 daylight time changes in the Energy Policy Act of 2005.
9233 2012-05-09 Andreas Jaeger <aj@suse.de>
9236 * elf/ldconfig.c (parse_conf): Change string to make clear that
9237 ldconfig only issued a warning if ld.so.conf does not exist.
9239 2012-05-08 David S. Miller <davem@davemloft.net>
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9242 movxtod instead of popping the value on the stack.
9244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9246 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9248 * config.h.in: Add HAVE_ARM_PCS_VFP.
9250 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9253 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9254 checking but the checks are disabled for any reason.
9256 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9258 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9259 and ELF64_R_TYPE with ELFW(R_TYPE).
9261 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9263 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9266 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9267 (settimeofday): Likewise.
9269 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9271 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9272 a struct th_u2 inside the union, and move tu_block/tu_code into
9273 a new th_u3 union of tu_block/tu_code inside of that. Move
9274 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9275 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9276 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9277 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9278 (th_stuff): Change to th_u1.tu_stuff.
9280 (th_msg): Change to th_u1.th_u2.tu_data.
9282 2012-05-07 David S. Miller <davem@davemloft.net>
9284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9287 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9288 (SETUP_PIC_REG): Use it.
9289 (SETUP_PIC_REG_LEAF): Use it.
9291 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9297 (EXPL_FINITE): Likewise.
9299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9300 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9304 (EXPL_FINITE): Likewise.
9306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9307 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9309 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9310 test of -max_value argument for long double.
9311 * sysdeps/i386/fpu/libm-test-ulps: Update.
9312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9314 2012-05-06 David S. Miller <davem@davemloft.net>
9316 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9317 quad soft-float symbols whose references which are compiler
9319 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9321 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9327 (EXPL_FINITE): Likewise.
9331 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9332 Adjust comments for base varying.
9333 (__expl_finite): Change alias to EXPL_FINITE.
9334 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9336 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9337 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9339 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9340 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9342 (EXPL_FINITE): Likewise.
9346 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9347 Adjust comments for base varying.
9348 (__expl_finite): Change alias to EXPL_FINITE.
9349 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9354 * math/libm-test.inc (check_float_internal): Correct ulp
9355 calculation for subnormal expected results.
9357 2012-05-06 Andreas Jaeger <aj@suse.de>
9359 * Makeconfig (+math-flags): New, set to -frounding-math.
9360 (+cflags): Add +math-flags so that all of glibc gets compiled with
9363 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9365 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9367 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9373 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9374 (__ieee754_expl): Allow for and saturate large arguments.
9375 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9376 (u_threshold): Likewise.
9377 (__exp): Call __ieee754_exp before checking for overflow and
9379 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9380 (u_threshold): Likewise.
9381 (__expf): Call __ieee754_expf before checking for overflow and
9383 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9384 (u_threshold): Likewise.
9385 (__expl): Call __ieee754_expl before checking for overflow and
9387 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9388 (__ieee754_expl): Allow for and saturate large arguments.
9389 * math/libm-test.inc (exp_test): Add another test. Do not allow
9390 missing overflow exception on overflow.
9391 (expm1_test): Do not allow missing overflow exception on overflow.
9393 * sysdeps/i386/fpu/e_expl.c: Move to ...
9394 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9395 rather than using inline asm.
9396 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9397 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9398 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9400 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9407 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9410 sysdeps/unix/common/syscalls.list.
9413 (ftruncate): Likewise.
9414 (getrusage): Likewise.
9415 (gettimeofday): Likewise.
9416 (setpgid): Likewise.
9417 (setregid): Likewise.
9418 (setreuid): Likewise.
9419 (sigaction): Likewise.
9420 (truncate): Likewise.
9421 (vhangup): Likewise.
9422 * sysdeps/unix/common/syscalls.list: Remove file.
9423 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9424 * sysdeps/unix/sysv/linux/Implies: Likewise.
9426 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9428 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9430 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9434 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9437 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9440 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9443 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9446 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9449 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9452 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9456 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9460 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9467 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9471 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/unix/common/bits/dirent.h: Remove file.
9474 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9476 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9477 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9478 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9479 * sysdeps/unix/bsd/isatty.c: Likewise.
9480 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9481 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9482 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9484 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9487 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9488 long double comparison inaccuracies.
9489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9492 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9494 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9497 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9500 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9501 nonzero digits before rounding a hex value.
9502 * stdlib/tst-strtod.c (tests): Add another test.
9504 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9506 * sysdeps/s390/fpu/libm-test-ulps: Update.
9508 2012-05-03 Andreas Jaeger <aj@suse.de>
9510 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9511 does not get optimized out.
9512 (malloc_opt_barrier): New.
9514 2012-05-03 Andreas Jaeger <aj@suse.de>
9515 Roland McGrath <roland@hack.frob.com>
9517 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9518 intermediate file deletion.
9519 (generated): Add .symlist files.
9521 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9524 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9525 Redirect under this condition.
9526 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9527 [__USE_GNU] (__dprintf_chk): Not under this condition.
9528 [__USE_GNU] (__vdprintf_chk): Likewise.
9529 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9530 under this condition.
9531 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9532 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9533 [__USE_XOPEN2K8] (vdprintf): Likewise.
9534 [__USE_GNU] (__dprintf_chk): Not under this condition.
9535 [__USE_GNU] (__vdprintf_chk): Likewise.
9536 [__USE_GNU] (dprintf): Likewise.
9537 [__USE_GNU] (vdprintf): Likewise.
9539 2012-05-03 Roland McGrath <roland@hack.frob.com>
9541 * elf/Makefile (common-generated): Set this instead of generated for
9542 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9543 $(all-built-dso)-derived lists.
9545 2012-05-03 Andreas Jaeger <aj@suse.de>
9547 * sysdeps/i386/fpu/libm-test-ulps: Update.
9551 * scripts/gen-FAQ.pl: Likewise.
9552 * manual/install.texi (Installation): Point to online location of
9554 * Makefile (files-for-dist): Remove FAQ.
9557 2012-05-02 Allan McRae <allan@archlinux.org>
9559 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9560 (LDFLAGS-reldepmod5.so): Likewise.
9561 (LDFLAGS-reldep6mod1.so): Likewise.
9562 (LDFLAGS-reldep6mod4.so): Likewise.
9563 (LDFLAGS-reldep8mod3.so): Likewise.
9564 (LDFLAGS-unload4mod1.so): Likewise.
9565 (LDFLAGS-unload4mod2.so): Likewise.
9566 (LDFLAGS-tst-initorder): Likewise.
9567 (LDFLAGS-tst-initordera2.so): Likewise.
9568 (LDFLAGS-tst-initordera3.so): Likewise.
9569 (LDFLAGS-tst-initordera4.so): Likewise.
9570 (LDFLAGS-tst-initorderb2.so): Likewise.
9571 (LDFLAGS-noload): Likewise.
9572 (LDFLAGS-next): Likewise.
9573 (LDFLAGS-order2mod1.so): Likewise.
9574 (LDFLAGS-order2mod2.so): Likewise.
9575 (LDFLAGS-tst-initorder2): Likewise.
9576 (LDFLAGS-tst-initorder2a.so): Likewise.
9577 (LDFLAGS-tst-initorder2b.so): Likewise.
9578 (LDFLAGS-tst-initorder2c.so): Likewise.
9579 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9581 2012-05-02 David S. Miller <davem@davemloft.net>
9583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9585 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9588 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9590 2012-05-02 Andreas Jaeger <aj@suse.de>
9592 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9593 since we manipulate rounding mode.
9594 (CPPFLAGS-test-idouble.c): Likewise.
9595 (CPPFLAGS-test-ifloat.c): Likewise.
9596 (CFLAGS-test-ldouble.c): Likewise.
9597 (CFLAGS-test-double.c): Likewise.
9598 (CFLAGS-test-float.c): Likewise.
9599 (CFLAGS-test-misc.c): Likewise.
9600 (CFLAGS-test-test-fenv.c): Likewise.
9602 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9607 comparisons to determine direction to adjust input.
9609 2012-05-01 Roland McGrath <roland@hack.frob.com>
9611 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9612 output to the target.
9614 * scripts/localplt.awk: New file.
9615 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9616 (check-localplt-CFLAGS): Variable removed.
9617 ($(all-built-dso:=.jmprel)): New static pattern rule.
9618 (generated): Add those targets.
9619 (localplt-built-dso): New variable.
9620 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9622 * elf/check-localplt.c: File removed.
9624 * scripts/check-execstack.awk: New file.
9625 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9626 (check-execstack-CFLAGS): Variable removed.
9627 ($(objpfx)check-execstack.h): Target removed.
9628 ($(objpfx)execstack-default): New target.
9629 (generated): Add that instead of check-execstack.h.
9630 ($(all-built-dso:=.phdr)): New static pattern rule.
9631 (generated): Add those targets.
9632 * elf/check-execstack.c: File removed.
9634 * scripts/check-textrel.awk: New file.
9635 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9636 (check-textrel-CFLAGS): Variable removed.
9637 (all-built-dso): Use := to define.o
9638 ($(all-built-dso:=.dyn)): New static pattern rule.
9639 (generated): Add those targets.
9640 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9641 * config.make.in (READELF): New substituted variable.
9642 * elf/check-textrel.c: File removed.
9644 2012-05-01 Joseph Myers <joseph@codesourcery.com>
9646 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9648 * conform/data/ctype.h-data [C99-based standards] (isblank):
9650 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9651 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9653 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9654 Specify type. Require positive value.
9657 [ISO || POSIX] (EILSEQ): Do not expect.
9658 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9659 Specify type. Require positive value.
9660 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9685 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9687 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9692 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9693 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9694 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9695 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9698 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9699 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9701 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9706 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9734 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9735 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9736 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9738 (FLT_ROUNDS): Expect as macro, not constant.
9739 (FLT_MANT_DIG): Use macro-int-constant.
9740 (DBL_MANT_DIG): Likewise.
9741 (LDBL_MANT_DIG): Likewise.
9742 (FLT_DIG): Likewise.
9743 (DBL_DIG): Likewise.
9744 (LDBL_DIG): Likewise.
9745 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9746 (DBL_MIN_EXP): Likewise.
9747 (LDBL_MIN_EXP): Likewise.
9748 (FLT_MAX_EXP): Use macro-int-constant.
9749 (DBL_MAX_EXP): Likewise.
9750 (LDBL_MAX_EXP): Likewise.
9751 (FLT_MAX_10_EXP): Likewise.
9752 (DBL_MAX_10_EXP): Likewise.
9753 (LDBL_MAX_10_EXP): Likewise.
9754 (FLT_MAX): Use macro-constant.
9755 (DBL_MAX): Likewise.
9756 (LDBL_MAX): Likewise.
9757 (FLT_EPSILON): Use macro-constant. Give upper bound.
9758 (DBL_EPSILON): Likewise.
9759 (LDBL_EPSILON): Likewise.
9760 (FLT_MIN): Likewise.
9761 (DBL_MIN): Likewise.
9762 (LDBL_MIN): Likewise.
9763 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9764 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9765 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9766 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9767 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9768 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9769 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9770 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9771 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9772 [ISO11] (FLT_TRUE_MIN): Likewise.
9773 [ISO11] (LDBL_TRUE_MIN): Likewise.
9774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9775 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9776 (SCHAR_MIN): Use macro-int-constant. Specify type.
9777 (SCHAR_MAX): Likewise.
9778 (UCHAR_MAX): Likewise.
9779 (CHAR_MIN): Likewise.
9780 (CHAR_MAX): Likewise.
9781 (MB_LEN_MAX): Use macro-int-constant.
9782 (SHRT_MIN): Use macro-int-constant. Specify type.
9783 (SHRT_MAX): Likewise.
9784 (USHRT_MAX): Likewise.
9785 (INT_MAX): Likewise.
9786 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9788 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9790 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9792 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9793 bound negative. Suffix upper bound with "L".
9794 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9796 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9798 [C99-based standards] (LLONG_MAX): Likewise.
9799 [C99-based standards] (ULLONG_MAX): Likewise.
9800 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9802 [ISO11] (max_align_t): Require type.
9803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9805 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9806 from $CFLAGS, without defining away __attribute__ calls.
9807 (checknamespace): Use $CFLAGS_namespace.
9809 * conform/conformtest.pl (@keywords): Only include C99 keywords
9810 for standards based on C99 or C11.
9812 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9814 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9817 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9818 usability of symbols in #if.
9820 * conform/conformtest.pl: If macro or constant types start
9821 "promoted:", expect the symbol to be of the following type
9822 promoted by the integer promotions.
9824 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9825 in one place. Also handle "macro-constant".
9827 * conform/conformtest.pl: Only accept expected macro values with
9828 "==". Parse all "macro" lines in one place.
9829 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9831 * conform/conformtest.pl: Handle braced types on "constant" lines
9832 instead of handling "typed-constant".
9833 * conform/data/signal.h-data: Use "constant" instead of
9836 * conform/conformtest.pl: Handle "optional-" at start of lines in
9837 one place rather than duplicating several cases. Handle each
9838 format of "macro" line with initial "optional-".
9840 * conform/conformtest.pl: Only accept expected constant or
9841 optional-constant values with "==". Parse all "constant" lines in
9842 one place. Parse all "optional-constant" lines in one place.
9843 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9844 * conform/data/fmtmsg.h-data: Likewise.
9845 * conform/data/netinet/in.h-data: Likewise.
9846 * conform/data/tar.h-data: Likewise.
9847 * conform/data/limits.h-data: Use "==" form on "constant" and
9848 "optional-constant" lines.
9850 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9851 Use -std=c99 for XOPEN2K.
9852 (@knownproblems): Remove.
9853 (newtoken): Don't check %isknown.
9855 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9856 Do not expect macro.
9857 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9869 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9870 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9887 [XPG3] (acosh): Likewise.
9888 [XPG3] (asinh): Likewise.
9889 [XPG3] (atanh): Likewise.
9890 [XPG3] (cbrt): Likewise.
9891 [XPG3] (expm1): Likewise.
9892 [XPG3] (ilogb): Likewise.
9893 [XPG3] (log1p): Likewise.
9894 [XPG3] (logb): Likewise.
9895 [XPG3] (nextafter): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9898 [XPG3] (remainder): Likewise.
9899 [XPG3] (rint): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9907 [UNIX98 || XOPEN2K] (scalb): Expect.
9908 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9909 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9990 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9991 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9992 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9993 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9994 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9995 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9996 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9997 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9998 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9999 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10000 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10001 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10003 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10004 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10005 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10006 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10007 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10008 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10009 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10010 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10011 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10012 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10013 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10014 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10015 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10016 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10017 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10018 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10019 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10020 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10021 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10022 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10023 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10024 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10025 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10026 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10027 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10028 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10029 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10030 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10031 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10032 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10033 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10034 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10035 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10036 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10037 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10038 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10039 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10040 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10041 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10042 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10043 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10044 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10046 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10047 _XOPEN_SOURCE_EXTENDED for XPG4.
10049 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10051 * Makeconfig (localtime): Remove variable.
10052 (inst_localtime-file): Likewise.
10054 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10075 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10079 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10080 comparisons to determine direction to adjust input.
10081 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10082 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10092 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10094 * math/libm-test.inc (nexttoward_test): Add more tests.
10096 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10100 in version GLIBC_2.1, not GLIBC_2.0.
10101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10104 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10109 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10110 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10111 * math/libm-test.inc (acos_test): Add more tests.
10112 (asin_test): Likewise.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10117 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10119 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10121 * math/libm-test.inc (acos_test_tonearest): New function.
10122 (acos_test_towardzero): Likewise.
10123 (acos_test_downward): Likewise.
10124 (acos_test_upward): Likewise.
10125 (asin_test_tonearest): Likewise.
10126 (asin_test_towardzero): Likewise.
10127 (asin_test_downward): Likewise.
10128 (asin_test_upward): Likewise.
10129 (main): Call the new functions.
10130 * sysdeps/i386/fpu/libm-test-ulps: Update.
10131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10135 * math/e_exp10.c: Include <float.h>.
10136 (__ieee754_exp10): Handle underflow here rather than multiplying
10137 large negative argument by M_LN10.
10138 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10140 * math/e_exp10l.c: Include <float.h>.
10141 (__ieee754_exp10l): Handle underflow here rather than multiplying
10142 large negative argument by M_LN10l.
10143 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10144 spurious overflow exception on underflow.
10146 2012-04-29 Marek Polacek <polacek@redhat.com>
10148 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10149 (__fortify_function): New macro.
10150 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10151 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10152 __extern_always_inline.
10153 * libio/bits/stdio2.h: Likewise.
10154 * libio/bits/stdio.h: Likewise.
10155 * string/string.h: Likewise.
10156 * string/bits/string3.h: Likewise.
10157 * include/stdio.h: Likewise.
10158 * stdlib/bits/stdlib.h: Likewise.
10159 * stdlib/stdlib.h: Likewise.
10160 * rt/bits/mqueue2.h: Likewise.
10161 * rt/mqueue.h: Likewise.
10162 * posix/bits/unistd.h: Likewise.
10163 * posix/unistd.h: Likewise.
10164 * io/bits/poll2.h: Likewise.
10165 * io/bits/fcntl2.h: Likewise.
10166 * io/fcntl.h: Likewise.
10167 * io/sys/poll.h: Likewise.
10168 * misc/bits/syslog.h: Likewise.
10169 * misc/bits/syslog-ldbl.h: Likewise.
10170 * misc/sys/syslog.h: Likewise.
10171 * socket/bits/socket2.h: Likewise.
10172 * socket/sys/socket.h: Likewise.
10173 * debug/tst-chk1.c: Likewise.
10174 * wcsmbs/bits/wchar2.h: Likewise.
10175 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10176 * wcsmbs/wchar.h: Likewise.
10178 2012-04-29 Andreas Jaeger <aj@suse.de>
10180 * Makerules (tests): Remove enable-check-abi protection.
10181 (check-abi-warn): Remove.
10182 (check-abi-%): Remove check-abi-warn usage.
10184 * configure.in: Remove check-abi configure option.
10185 * configure: Regenerated.
10186 * config.make.in (enable-check-abi): Remove.
10188 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10191 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10192 double functions to double *_finite functions.
10195 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10196 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10198 * stdio-common/Makefile (tests): Add tst-sprintf3.
10199 * stdio-common/tst-sprintf3.c: New file.
10201 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10202 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10204 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10206 * conform/conformtest.pl: Remove duplicate typed-constant
10209 2012-04-28 David S. Miller <davem@davemloft.net>
10211 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10212 (check-abi-%): Remove AWK script prerequisite and explicit
10214 (check-abi): Rewrite to just diff the symlist with the abilist.
10215 (config-tls, config-abi-config): Delete, no longer used.
10216 (update-abi-%): Remove AWK script and explicit abilist directory.
10217 (update-abi): Rewrite to simply compare and conditionally copy the
10218 symlist and the sysdep abilist file. Remove update-abi-config
10220 * abilist/ld.abilist: Remove.
10221 * abilist/libBrokenLocale.abilist: Remove.
10222 * abilist/libanl.abilist: Remove.
10223 * abilist/libcrypt.abilist: Remove.
10224 * abilist/libdl.abilist: Remove.
10225 * abilist/librt.abilist: Remove.
10226 * abilist/libthread_db.abilist: Remove.
10227 * abilist/libutil.abilist: Remove.
10228 * scripts/extract-abilist.awk: Remove.
10229 * scripts/merge-abilist.awk: Remove.
10230 * sysdeps/generic/libcidn.abilist: New file.
10231 * sysdeps/generic/libnss_compat.abilist: New file.
10232 * sysdeps/generic/libnss_db.abilist: New file.
10233 * sysdeps/generic/libnss_dns.abilist: New file.
10234 * sysdeps/generic/libnss_files.abilist: New file.
10235 * sysdeps/generic/libnss_hesiod.abilist: New file.
10236 * sysdeps/generic/libnss_nis.abilist: New file.
10237 * sysdeps/generic/libnss_nisplus.abilist: New file.
10238 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10239 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10240 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10242 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10243 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10244 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10245 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10246 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10247 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10248 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10249 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10250 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10252 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10253 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10254 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10255 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10257 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10258 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10259 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10261 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10262 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10265 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10266 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10268 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10371 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10372 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10373 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10375 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10376 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10377 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10378 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10379 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10380 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10381 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10382 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10383 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10384 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10436 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10438 * conform/conformtest.pl: Fix typo in handling typed-constant from
10441 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10443 * README: Cut down references to pre-2.6 Linux kernels and
10444 Linuxthreads. Update lists of configurations in libc and ports
10445 and sort alphabetically. Say "or newer" with Linux kernel version
10448 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10450 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10453 * math/libm-test.inc (logb_test_downward): New test to expose
10454 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10457 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10460 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10462 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10463 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10465 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/unix/i386/brk.S: Remove file.
10468 * sysdeps/unix/i386/dl-brk.S: Likewise.
10469 * sysdeps/unix/i386/pipe.S: Likewise.
10470 * sysdeps/unix/i386/sigreturn.S: Likewise.
10471 * sysdeps/unix/i386/syscall.S: Likewise.
10472 * sysdeps/unix/i386/vfork.S: Likewise.
10473 * sysdeps/unix/i386/wait.S: Likewise.
10475 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10476 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10478 * configure.in (arm*-none*): Do not allow without
10479 --enable-hacker-mode.
10480 (netbsd*): Remove case setting base_os.
10481 (386bsd*): Likewise.
10482 (freebsd*): Likewise.
10485 (sunos*): Likewise.
10486 (ultrix*): Likewise.
10487 (newsos*): Likewise.
10488 (dynix*): Likewise.
10494 (minix*): Likewise.
10495 (irix4*): Likewise.
10496 (irix6*): Likewise.
10497 (solaris[2-9]*): Likewise.
10499 * configure: Regenerated.
10501 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10504 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10505 overflow or cancellation in calculating denominator.
10506 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10507 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10508 down expression to avoid unexpected rounding in newer GCCs.
10509 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10511 2012-04-26 David S. Miller <davem@davemloft.net>
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10514 long-double compat symbols.
10515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10529 2012-04-25 David S. Miller <davem@davemloft.net>
10531 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10532 HWCAP_* values only after the memory barriers have been defined.
10533 (atomic_full_barrier): Define.
10534 (atomic_read_barrier): Define.
10535 (atomic_write_barrier): Define.
10537 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10539 * shlib-versions: Add libgcc_s version information.
10540 * sysdeps/generic/libgcc_s.h: Remove.
10541 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10543 * sysdeps/gnu/unwind-resume.c: Likewise.
10544 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10546 2012-04-25 David S. Miller <davem@davemloft.net>
10548 * sysdeps/unix/sparc/brk.S: Delete.
10549 * sysdeps/unix/sparc/dl-brk.S: Delete.
10550 * sysdeps/unix/sparc/pipe.S: Delete.
10551 * sysdeps/unix/sparc/sysdep.S: Delete.
10552 * sysdeps/unix/sparc/sysdep.h: Delete.
10553 * sysdeps/unix/sparc/vfork.S: Delete.
10554 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10555 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10556 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10557 ret_ERRVAL, r0, r1, MOVE): Define.
10558 (JUMPTARGET): Remove.
10559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10560 sysdeps/unix/sparc/sysdep.h
10561 (ENTRY, END): Remove.
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10564 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10566 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10567 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10570 * timezone/README: Update upstream location and email address for
10572 * timezone/zdump.c: Update from tzcode 2012b.
10573 * timezone/zic.c: Likewise.
10575 * configure.in (libc_cv_as_needed): Remove test.
10576 * configure: Regenerated.
10577 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10578 conditional definition.
10579 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10580 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10581 * config.make.in (have-as-needed): Remove variable.
10583 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10584 Paul Pluzhnikov <ppluzhnikov@google.com>
10586 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10589 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10591 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10592 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10593 * sysdeps/sh/strlen.S: Likewise.
10595 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10597 * sysdeps/unix/fork.S: Remove file.
10598 * sysdeps/unix/i386/fork.S: Likewise.
10599 * sysdeps/unix/sparc/fork.S: Likewise.
10601 * sysdeps/unix/system.c: Remove file.
10602 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10604 * sysdeps/unix/getegid.S: Remove file.
10605 * sysdeps/unix/geteuid.S: Likewise.
10607 2012-04-24 Roland McGrath <roland@hack.frob.com>
10609 * scripts/check-localplt.awk: New file.
10610 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10612 * scripts/data/localplt-generic.data: Add a comment.
10614 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10615 NODE when __dir_mkfile failed.
10616 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10617 Reported by Ludovic Courtès <ludo@gnu.org>.
10619 2012-04-24 Andreas Jaeger <aj@suse.de>
10621 * Makerules (common-clean): Also remove gen-as-const-headers
10624 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10626 * Makerules (native-compile): Do not change working directory for
10627 build. Use $(OUTPUT_OPTION) in command.
10628 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10630 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10633 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10634 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10635 * math/libm-test.inc (floor_test): Add more tests.
10636 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10638 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/unix/getdents.c: Remove file.
10641 * sysdeps/unix/sysv/getdents.c: Likewise.
10642 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10644 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10645 sysdeps/unix/mman/syscalls.list.
10647 (mprotect): Likewise.
10649 (munmap): Likewise.
10650 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10651 * sysdeps/unix/mman/syscalls.list: Remove.
10652 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10654 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10655 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10656 * configure: Regenerated.
10657 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10658 $(libgcc_s_suffix).
10659 * config.make.in (libgcc_s_suffix): Remove variable.
10661 2012-04-23 Joseph Myers <joseph@codesourcery.com>
10663 * sysdeps/unix/sysv/gethostname.c: Move to ...
10664 * sysdeps/posix/gethostname.c: ... here.
10666 * sysdeps/unix/execve.S: Remove file.
10668 * sysdeps/unix/_exit.S: Remove file.
10670 2012-04-23 Andreas Jaeger <aj@suse.de>
10673 * manual/Makefile: Remove make dist support, there's no
10674 need for a stand-alone documentation tar ball.
10675 (TEXI2DVI): Define always, it's not in Makeconfig.
10678 (edition): Removed.
10679 (glibc-doc-$(edition).tar): Removed
10683 (ETAGS): Remove, it's in Makeconfig.
10684 (move-if-change): Remove, it's in Makeconfig.
10686 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10689 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10690 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10691 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10692 (strtod_l, strtof_l, strtold_l): Remove __wur.
10693 It is not necessarily an error to ignore strtol's return value.
10694 One can reliably look at the stored endptr to decide whether
10695 the number had valid syntax.
10697 2012-04-21 Andreas Jaeger <aj@suse.de>
10700 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10702 2012-04-21 Joseph Myers <joseph@codesourcery.com>
10704 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10705 * sysdeps/unix/sysv/Versions: Remove file.
10707 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10712 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
10715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10716 version from __vm86.
10718 2012-04-20 Joseph Myers <joseph@codesourcery.com>
10720 * sysdeps/unix/common/lxstat.c: Remove file.
10721 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10723 * sysdeps/unix/sysv/Makefile: Remove file.
10725 * sysdeps/unix/sysv/direct.h: Remove file.
10727 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10728 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10729 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10730 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10731 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10732 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10733 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10735 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10737 * sysdeps/unix/xmknod.c: Remove file.
10738 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10740 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10742 * sysdeps/unix/sysv/i386/time.S: Remove file.
10744 * sysdeps/unix/fxstat.c: Remove file.
10745 * sysdeps/unix/xstat.c: Likewise.
10746 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10748 * sysdeps/unix/sysv/sigaction.c: Remove file.
10750 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10751 (sysdep_headers): Remove variable.
10752 [termio.h not in sysdep_headers] (generated): Likewise.
10753 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10754 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10755 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10756 * sysdeps/unix/sysv/tcflow.c: Likewise.
10757 * sysdeps/unix/sysv/tcflush.c: Likewise.
10758 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10759 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10760 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10761 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10762 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10764 * sysdeps/unix/siglist.c: Remove file.
10766 * sysdeps/unix/getppid.S: Remove file.
10768 * sysdeps/unix/mkdir.c: Remove file.
10769 * sysdeps/unix/rmdir.c: Likewise.
10771 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10773 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10775 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10776 errlist-compat value.
10778 2012-04-18 David S. Miller <davem@davemloft.net>
10780 * sysdeps/generic/memcopy.h (reg_char): Delete.
10781 * debug/strcat_chk.c: Use char, not reg_char.
10782 * debug/strcpy_chk.c: Likewise.
10783 * debug/strncat_chk.c: Likewise.
10784 * debug/strncpy_chk.c: Likewise.
10785 * string/memchr.c: Likewise.
10786 * string/memrchr.c: Likewise.
10787 * string/rawmemchr.c: Likewise.
10788 * string/strcat.c: Likewise.
10789 * string/strchr.c: Likewise.
10790 * string/strchrnul.c: Likewise.
10791 * string/strcmp.c: Likewise.
10792 * string/strcpy.c: Likewise.
10793 * string/strncat.c: Likewise.
10794 * string/strncmp.c: Likewise.
10795 * string/strncpy.c: Likewise.
10797 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10799 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10800 __builtin_memcopy is called when src and dest ranges are known to not
10803 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10805 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10806 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10807 fwd_align_merge macro call.
10808 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10809 bwd_align_merge macro call.
10810 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10812 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10814 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10815 bwd_align_merge macros.
10816 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10817 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10818 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10820 2012-04-18 David S. Miller <davem@davemloft.net>
10822 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10824 2012-04-18 Andreas Jaeger <aj@suse.de>
10827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10828 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10829 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10832 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10833 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10835 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10836 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10837 Adjust for changed ldbl-128 files.
10839 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10840 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10841 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10843 2012-04-17 David S. Miller <davem@davemloft.net>
10845 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10847 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10849 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10850 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10851 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10852 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10853 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10854 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10856 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10859 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10860 * math/libm-test.inc: Add ilogb errno and exception tests.
10861 * math/w_ilogb.c: New file: ilogb wrapper.
10862 * math/w_ilogbf.c: New file: ilogbf wrapper.
10863 * math/w_ilogbl.c: New file: ilogbl wrapper.
10864 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10865 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10866 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10867 exception being thrown with 0.0 as argument.
10868 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10869 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10870 exception being thrown with 0.0 as argument.
10871 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10872 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10873 exception being thrown with 0.0 as argument.
10874 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10875 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10876 exception being thrown with 0.0 as argument.
10877 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10878 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10879 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10880 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10881 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10882 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10883 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10884 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10885 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10887 2012-04-17 Petr Baudis <pasky@ucw.cz>
10889 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10892 2012-04-16 Marek Polacek <polacek@redhat.com>
10894 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10896 2012-04-16 Marek Polacek <polacek@redhat.com>
10898 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10899 operands of fdivp instruction.
10901 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10903 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10904 * elf/tst-auditmod3b.c: Likewise.
10905 * elf/tst-auditmod4b.c: Likewise.
10906 * elf/tst-auditmod5b.c: Likewise.
10907 * elf/tst-auditmod6b.c: Likewise.
10908 * elf/tst-auditmod6c.c: Likewise.
10909 * elf/tst-auditmod7b.c: Likewise.
10910 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10911 * sysdeps/x86_64/preconfigure.in: Likewise.
10912 * sysdeps/x86_64/preconfigure: Regenerated.
10914 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10916 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10919 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
10921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10922 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10924 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10927 * locale/iso-639.def: Fix gl language name. Spotted by
10930 2012-04-12 Roland McGrath <roland@hack.frob.com>
10933 * libio/libio.h (__io_write_fn): Update comment.
10935 2012-04-12 Petr Baudis <pasky@ucw.cz>
10938 * stdio.texi (Hook Functions): The user provided writer function
10939 is not allowed to return -1.
10941 2012-04-11 David S. Miller <davem@davemloft.net>
10943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10945 2012-04-11 Mike Frysinger <vapier@gentoo.org>
10947 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10948 Add a leading slash to rtkaio.
10950 2012-04-11 Jim Meyering <meyering@redhat.com>
10953 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10954 It is not necessarily an error to ignore fwrite's return
10955 value. One can reliably use ferror to test for errors after
10958 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10960 * bits/types.h (__snseconds_t): New type.
10961 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10963 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10965 (__SNSECONDS_T_TYPE): Likewise.
10966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10967 (__SNSECONDS_T_TYPE): Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10969 (__SNSECONDS_T_TYPE): Likewise.
10971 2012-04-10 Andreas Jaeger <aj@suse.de>
10974 * manual/time.texi (Processor Time): Return type of times is
10975 elapsed real time since an arbitrary point in the past.
10976 (CPU Time): Move CLK_TCK from here...
10977 (Processor Time): ...to here. Correct description.
10978 * manual/conf.texi (Constants for Sysconf): Correct description of
10981 2012-04-10 David S. Miller <davem@davemloft.net>
10984 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10985 where the is a gap between DT_REL(A) and DT_JMPREL.
10987 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10989 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10990 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10991 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10993 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10995 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10996 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10997 (dl_main): Handle --inhibit-cache.
10998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11000 * elf/dl-load.c (_dl_map_object): Use it.
11001 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11003 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11006 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11007 (__ieee754_powl): Saturate large exponents rather than testing for
11008 overflow of y*log2(x).
11009 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11010 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11014 * math/s_ctan.c: Include <float.h>.
11015 (__ctan): Avoid internal overflow or cancellation in calculating
11017 * math/s_ctanf.c: Likewise.
11018 * math/s_ctanl.c: Likewise.
11019 * math/s_ctanh.c: Likewise.
11020 * math/s_ctanhf.c: Likewise.
11021 * math/s_ctanhl.c: Likewise.
11022 * math/libm-test.inc (ctan_test): Add more tests.
11023 (ctanh_test): Likewise.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11027 2012-04-09 Andreas Jaeger <aj@suse.de>
11030 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11031 is an optional BSD extension.
11034 * manual/stdio.texi (Opening Streams): Document additional fopen
11037 2012-04-09 Roland McGrath <roland@hack.frob.com>
11039 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11040 %eax without telling the compiler.
11042 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11045 * manual/install.texi: Use sourceware.org.
11047 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11050 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11051 (__ieee754_pow): Generate overflow and underflow using huge*huge
11052 and tiny*tiny rather than just returning constant infinity or zero
11053 for large exponents.
11054 * math/libm-test.inc (pow_test): Require overflow exceptions for
11055 applicable cases of large exponents.
11058 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11059 (__ieee754_pow): Use iterative multiplication algorithm only for
11060 integer exponents with absolute value below 1024. Check for odd
11061 integer exponents when using algorithm for real exponents.
11062 * math/libm-test.inc (pow_test): Add more tests.
11063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11065 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11068 * math/libm-test.inc (exp_test): Do not allow overflow exception
11071 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11074 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11075 instead of __kernel_standard_f.
11077 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11079 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11080 * sysdeps/x86_64/memset_chk.S: Likewise.
11082 2012-04-08 Andreas Jaeger <aj@suse.de>
11085 * manual/startup.texi (Environment Access): Describe return value
11086 for putenv and setenv.
11089 * manual/filesys.texi (Directory Entries): Add description for
11093 * manual/filesys.texi (Directory Entries): Clarify that it's file
11094 system not operating system in the description of DT_UNKNOWN.
11097 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11099 2012-04-08 Stephen Compall <s11@member.fsf.org>
11102 * manual/llio.texi (Opening and Closing Files): Add cross
11103 reference to explain mode argument.
11105 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11107 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11108 * sysdeps/x86_64/memset_chk.S: Likewise.
11110 2012-04-07 David S. Miller <davem@davemloft.net>
11112 * elf/elf.h (R_SPARC_WDISP10): Define.
11113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11115 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11116 R_SPARC_SIZE64 and R_SPARC_H34.
11118 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11120 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11121 conditions and remove no longer applicable assertion.
11123 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11125 * bits/byteswap.h: Include <features.h>.
11126 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11127 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11129 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11131 * bits/byteswap.h (__bswap_16): Removed.
11132 Include <bits/byteswap-16.h> to get __bswap_16.
11133 * sysdeps/i386/bits/byteswap.h: Likewise.
11134 * sysdeps/s390/bits/byteswap.h: Likewise.
11135 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11136 * bits/byteswap-16.h: New file.
11137 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11138 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11139 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11140 * string/Makefile (headers): Add bits/byteswap-16.h.
11142 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11145 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11147 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11148 * nss/tst-nss-static.c: New.
11150 2012-04-06 Robert Millan <rmh@gnu.org>
11153 * manual/llio.texi (File Position Primitive): lseek
11154 refers to WHENCE when it really means OFFSET.
11156 2012-04-06 Andreas Jaeger <aj@suse.de>
11158 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11159 strncmp declarations.
11161 * abilist/libc.abilist: Add __poll and __ppoll.
11163 2012-04-05 David S. Miller <davem@davemloft.net>
11165 * scripts/check-local-headers.sh: Accept a host triplet in the
11166 path matched by the exclude regexp.
11168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11170 * sysdeps/powerpc/powerpc32/dl-machine.h
11171 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11172 * sysdeps/s390/s390-32/dl-machine.h
11173 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11174 * sysdeps/sparc/sparc32/dl-machine.h
11175 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11176 * sysdeps/sparc/sparc64/dl-machine.h
11177 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11179 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11181 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11182 undefined symbol errors.
11184 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11187 2012-04-05 Michael Matz <matz@suse.de>
11190 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11192 2012-04-05 Andreas Jaeger <aj@suse.de>
11195 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11198 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11200 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11201 which ROUND is no valid rounding mode.
11203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11205 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11207 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11209 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11211 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11212 an exception using FPU order intentionally.
11214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11216 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11217 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11218 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11219 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11221 2012-04-05 Simon Josefsson <simon@josefsson.org>
11224 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11225 EINVAL when BUFLEN is too smal.
11227 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11230 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11231 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11233 2012-04-03 Andreas Jaeger <aj@suse.de>
11236 * manual/setjmp.texi (System V contexts): Fix sentence.
11239 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11240 New macro for this case.
11241 [!__GNUC__] (__bswap_64): New inline function for this case.
11242 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11243 * bits/byteswap.h: Likewise.
11244 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11245 ull, guard with __GLIBC_HAVE_LONG_LONG.
11247 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11248 __GLIBC_HAVE_LONG_LONG.
11250 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11251 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11253 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11256 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11257 inptr and inend, rather than using last_ch.
11259 2012-04-02 David S. Miller <davem@davemloft.net>
11261 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11262 * stdio-common/printf-parse.h (read_int): Change return type to
11263 'int', return -1 on INT_MAX overflow.
11264 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11265 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11266 overflows INT_MAX. Check for overflow of in-format-string precision
11267 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11268 SIZE_MAX not INT_MAX for integer overflow test.
11269 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11270 skip the construct in the format string but do not record anything.
11271 * stdio-common/bug22.c: Adjust to test both width/prevision
11272 INT_MAX overflow as well as total length INT_MAX overflow. Check
11273 explicitly for proper errno values.
11275 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11277 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11279 * string/test-strcmp.c [! WIDE]: Likewise.
11280 * time/tst-mktime2.c: Likewise for INT_MAX.
11281 * string/test-string.h: #include <sys/param.h> for MIN.
11283 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11284 * sysdeps/i386/init-first.c (init): Likewise.
11285 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11286 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11287 * sysdeps/sh/init-first.c (init): Likewise.
11289 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11291 * po/ru.po: Update from translation team.
11292 * po/vi.po: Likewise.
11294 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11296 * resolv/nss_dns/dns-host.c: Merge copyright years.
11298 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11301 Optimize memcpy with prefetch if
11302 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11303 src, dst pointers have unequal 16 byte alignments.
11305 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11308 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11309 from a CNAME entry and return the minimum ttl for the query.
11310 (gaih_getanswer_slice): Likewise.
11312 2012-03-30 Jeff Law <law@redhat.com>
11314 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11316 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11317 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11319 * resolv/nss_dns/dns-host.c: Update copyright year.
11321 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11323 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11324 requests to save a system call. Fix check that all bytes are sent.
11326 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11327 comments for sendmmsg.
11329 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11332 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11333 with only 1 character between 0x0041 and 0x01b0.
11334 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11335 * wcsmbs/tst-mbsnrtowcs.c: New file.
11337 2012-03-29 David S. Miller <davem@davemloft.net>
11339 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11340 small copies by hand.
11342 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11346 _nss_compat_initgroups_dyn): Fall back to malloc/free
11347 for large group memberships.
11349 2012-03-28 David S. Miller <davem@davemloft.net>
11351 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11352 that branches into memcpy.
11353 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11355 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11356 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11359 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11360 implementation too.
11361 * sysdeps/sparc/mempcpy.S: New file.
11363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11364 the IFUNC routine in the libc case.
11365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11367 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11368 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11369 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11370 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11371 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11372 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11373 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11374 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11376 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11377 loop to 256 bytes instead of 64 bytes and fix test signedness.
11379 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11380 * sysdeps/sparc/sparc32/Makefile: rather than here...
11381 * sysdeps/sparc/sparc64/Makefile: and here.
11383 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11385 * malloc/mallocbug.c: Avoid warnings about unused variables.
11387 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11390 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11391 in the right place. Discard and retry query if response is
11392 larger than input buffer size.
11394 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11399 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11400 x for large integer exponent.
11401 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11402 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11403 sign of result as needed afterwards.
11404 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11405 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11406 result for underflowing pow the same as for overflow.
11407 (__kernel_standard_l): Handle powl overflow and underflow here
11408 rather than calling __kernel_standard.
11409 * math/libm-test.inc (pow_test): Add more tests.
11424 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11425 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11426 (__kernel_standard_l): New function.
11427 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11429 * math/w_acosl.c (__acosl): Likewise.
11430 * math/w_asinl.c (__asinl): Likewise.
11431 * math/w_atan2l.c (__atan2l): Likewise.
11432 * math/w_atanhl.c (__atanhl): Likewise.
11433 * math/w_coshl.c (__coshl): Likewise.
11434 * math/w_exp10l.c (__exp10l): Likewise.
11435 * math/w_exp2l.c (__exp2l): Likewise.
11436 * math/w_fmodl.c (__fmodl): Likewise.
11437 * math/w_hypotl.c (__hypotl): Likewise.
11438 * math/w_j0l.c (__j0l, __y0l): Likewise.
11439 * math/w_j1l.c (__j1l, __y1l): Likewise.
11440 * math/w_jnl.c (__jnl, __ynl): Likewise.
11441 * math/w_lgammal.c (__lgammal): Likewise.
11442 * math/w_log10l.c (__log10l): Likewise.
11443 * math/w_log2l.c (__log2l): Likewise.
11444 * math/w_logl.c (__logl): Likewise.
11445 * math/w_powl.c (__powl): Likewise.
11446 * math/w_remainderl.c (__remainderl): Likewise.
11447 * math/w_scalbl.c (sysv_scalbl): Likewise.
11448 * math/w_sinhl.c (__sinhl): Likewise.
11449 * math/w_sqrtl.c (__sqrtl): Likewise.
11450 * math/w_tgammal.c (__tgammal): Likewise.
11451 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11452 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11453 * math/libm-test.inc (acos_test): Add more tests.
11454 (acosh_test): Likewise.
11455 (asin_test): Likewise.
11456 (atanh_test): Likewise.
11457 (exp_test): Likewise.
11458 (exp10_test): Likewise.
11459 (exp2_test): Likewise.
11460 (expm1_test): Likewise.
11461 (lgamma_test): Likewise.
11462 (log_test): Likewise.
11463 (log10_test): Likewise.
11464 (log1p_test): Likewise.
11465 (log2_test): Likewise.
11466 (pow_test): Do not allow some spurious overflow exceptions.
11467 (sqrt_test): Add more tests.
11468 (tgamma_test): Likewise.
11469 (y0_test): Likewise.
11470 (y1_test): Likewise.
11471 (yn_test): Likewise.
11473 2012-03-27 Anton Blanchard <anton@samba.org>
11475 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11477 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11478 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11481 2012-03-27 David S. Miller <davem@davemloft.net>
11483 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11485 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11486 have-as-vis3 check.
11488 2012-03-27 Andreas Jaeger <aj@suse.de>
11490 * sysdeps/x86_64/elf/configure.in: Moved to ...
11491 * sysdeps/x86_64/configure.in: ... here.
11492 * sysdeps/x86_64/elf/start.S: Moved to ...
11493 * sysdeps/x86_64/start.S: ... here.
11494 * sysdeps/x86_64/elf/configure: Delete.
11496 * sysdeps/x86_64/configure.in: Merge contents from
11497 sysdeps/i386/configure.in (without i686 check).
11499 * sysdeps/i386/elf/Versions: Merge into ...
11500 * sysdeps/i386/Versions: ... this.
11501 * sysdeps/i386/elf/Versions: Delete file.
11502 * sysdeps/i386/elf/start.S: Moved to ...
11503 * sysdeps/i386/start.S: ...here.
11504 * sysdeps/i386/elf/configure.in: Merge into...
11505 * sysdeps/i386/configure.in: ...here.
11506 * sysdeps/i386/elf/configure.in: Delete file.
11507 * sysdeps/i386/elf/configure: Delete file.
11509 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11510 * debug/backtracesyms.c: ... here.
11511 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11512 * debug/backtracesymsfd.c: ... here.
11513 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11514 * sysdeps/generic/ifunc-sel.h: ... here.
11516 * sysdeps/unix/i386/start.c: Delete file.
11517 * sysdeps/unix/sparc/start.c: Delete file.
11518 * sysdeps/unix/start.c: Delete file.
11520 * sysdeps/sh/elf/configure.in: Moved to ...
11521 * sysdeps/sh/configure.in: ... here.
11522 * sysdeps/sh/elf/start.S: Moved to ...
11523 * sysdeps/sh/start.S: ... here.
11524 * sysdeps/sh/elf/configure: Delete file.
11526 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11527 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11528 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11529 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11530 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11531 * sysdeps/powerpc/powerpc64/start.S: here.
11532 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11533 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11534 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11535 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11536 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11538 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11539 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11540 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11541 * sysdeps/powerpc/powerpc32/start.S: ... here.
11542 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11543 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11544 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11546 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11547 * sysdeps/powerpc/ifunc-sel.h: ... here.
11548 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11549 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11551 * sysdeps/sparc/elf/configure.in: Moved to ...
11552 * sysdeps/sparc/configure.in: ... here.
11553 * sysdeps/sparc/elf/configure: Delete file.
11554 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11555 * sysdeps/sparc/sparc32/start.S: ... here.
11556 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11557 * sysdeps/sparc/sparc64/start.S: ... here.
11558 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11559 * sysdeps/sparc/sparc32/Makefile: ... this.
11560 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11561 * sysdeps/sparc/sparc64/Makefile: ... this.
11563 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11564 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11565 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11566 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11567 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11568 * sysdeps/s390/s390-32/setjmp.S: ... here.
11569 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11570 * sysdeps/s390/s390-32/configure.in: ... here.
11571 * sysdeps/s390/s390-32/elf/configure: Delete file.
11572 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11573 * sysdeps/s390/s390-32/start.S: ... here.
11575 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11576 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11577 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11578 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11579 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11580 * sysdeps/s390/s390-64/setjmp.S: ... here.
11581 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11582 * sysdeps/s390/s390-64/configure.in: ... here
11583 * sysdeps/s390/s390-64/elf/configure: Delete file.
11584 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11585 * sysdeps/s390/s390-64/start.S: ... here.
11586 * sysdeps/s390/s390-64/elf/configure: Delete.
11588 * configure.in: Remove support for elf directories in sysdeps.
11590 * configure: Regenerated.
11591 * sysdeps/i386/configure: Regenerated.
11592 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11593 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11594 * sysdeps/s390/s390-32/configure: Regenerated.
11595 * sysdeps/s390/s390-64/configure: Regenerated.
11596 * sysdeps/sh/configure: Regenerated.
11597 * sysdeps/sparc/configure: Regenerated.
11598 * sysdeps/x86_64/configure: Regenerated.
11600 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11604 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11605 denormal result into account.
11607 2012-03-25 Roland McGrath <roland@hack.frob.com>
11609 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11610 Reported by Allan McRae <allan@archlinux.org>.
11612 2012-03-23 Jeff Law <law@redhat.com>
11614 * nss/getnssent.c (__nss_getent): Fix typo.
11616 2012-03-23 David S. Miller <davem@davemloft.net>
11618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11620 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11622 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11623 to pad to uint64_t for each field.
11624 (dl_tls_index): Replace unsigned long with uint64_t.
11626 2012-03-23 Daniel Jacobowitz <dmj@google.com>
11627 Paul Pluzhnikov <ppluzhnikov@google.com>
11630 * grp/Makefile (otherlibs): Don't set it.
11631 * inet/Makefile (otherlibs): Likewise.
11632 * login/Makefile (otherlibs): Likewise.
11633 * nscd/Makefile (otherlibs): Likewise.
11634 * posix/Makefile (otherlibs): Likewise.
11635 * pwd/Makefile (otherlibs): Likewise.
11636 * rt/Makefile (otherlibs): Likewise.
11637 * sunrpc/Makefile (otherlibs): Likewise.
11638 * nss/Makefile (otherlibs): Likewise.
11639 Add libnss_files to routines and static-only-routines.
11640 ($(objpfx)getent): Remove rule.
11641 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11642 static-only-routines.
11644 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11647 * math/s_cexp.c: Include <float.h>.
11648 (__cexp): Handle exp result overflowing not necessarily
11649 overflowing both real and imaginary parts of result.
11650 * math/s_cexpf.c: Likewise.
11651 * math/s_cexpl.c: Likewise.
11652 * math/libm-test.inc (cexp_test): Add more tests.
11653 * sysdeps/i386/fpu/libm-test-ulps: Update.
11654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11658 * include/link.h (ELFW): New macro.
11659 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11660 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11662 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11664 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11667 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11669 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11671 (struct La_x32_retval): Likewise.
11673 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11675 * sysdeps/x86_64/preconfigure.in: New file.
11676 * sysdeps/x86_64/preconfigure: New generated file.
11678 2012-03-22 Joseph Myers <joseph@codesourcery.com>
11681 * math/e_exp2l.c: Include <float.h>.
11682 (__ieee754_exp2l): Handle overflow and underflow cases
11683 separately. Only pass fractional part of argument to
11685 * math/libm-test.inc (exp2_test): Add more tests.
11687 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11688 negating x to take absolute value.
11689 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11691 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11694 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11695 computing low part if x was negated.
11696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11698 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11700 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11701 la_x32_gnu_pltexit.
11702 (pltexit): Cast int_retval to ptrdiff_t.
11703 * elf/tst-auditmod3b.c: Likewise.
11704 * elf/tst-auditmod4b.c: Likewise.
11705 * elf/tst-auditmod5b.c: Likewise.
11706 * elf/tst-auditmod6b.c: Likewise.
11707 * elf/tst-auditmod6c.c: Likewise.
11708 * elf/tst-auditmod7b.c: Likewise.
11710 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11711 and x32_gnu_pltexit.
11713 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11714 __ELF_NATIVE_CLASS.
11715 (La_x32_regs): New macro.
11716 (La_x32_retval): Likewise.
11717 (la_x32_gnu_pltenter): New function prototype.
11718 (la_x32_gnu_pltexit): Likewise.
11720 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11727 * configure.in (libc_cv_cc_nofma): Check for option to disable
11728 generation of FMA instructions.
11729 * configure: Regenerate.
11730 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11731 * sysdeps/ieee754/dbl-64/Makefile: New file.
11732 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11733 Remove brandred-fma4.
11734 (CFLAGS-brandred-fma4.c): Remove.
11735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11736 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11738 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11741 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11743 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11744 LLONG_MAX != LONG_MAX.
11745 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11746 (_fitoa_word): Likewise.
11747 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11748 LLONG_MAX != LONG_MAX.
11749 * stdio-common/_itowa.h: Include <_itoa.h>.
11750 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11751 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11752 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11753 only if not defined.
11754 (_ITOA_WORD_TYPE): Likewise.
11755 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11756 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11758 2012-03-21 David S. Miller <davem@davemloft.net>
11760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11762 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11764 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11765 of x86_64 when setting libc_cv_slibdir, libdir and
11767 * sysdeps/unix/sysv/linux/configure: Regenerated.
11769 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11771 * manual/lang.texi (Old Varargs): Remove section.
11772 (How Variadic): Update menu.
11773 (va_start): Do not mention varargs.h.
11775 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11776 Joseph Myers <joseph@codesourcery.com>
11778 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11780 * configure: Regenerated.
11782 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11784 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11785 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11788 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11791 * Makefile (files-for-dist): Remove NOTES.
11792 (NOTES): Remove rule.
11793 * README: Don't refer to NOTES.
11794 * manual/creature.texi: Don't include macros.texi.
11795 * manual/intro.texi (creature.texi): Remove comment referring to
11798 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11799 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11800 * configure: Regenerated.
11801 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11802 LIBC_TRY_CC_OPTION.
11803 (libc_cv_as_i686): Likewise.
11804 (libc_cv_cc_avx): Likewise.
11805 (libc_cv_cc_sse2avx): Likewise.
11806 (libc_cv_cc_fma4): Likewise.
11807 (libc_cv_cc_novzeroupper): Likewise.
11808 * sysdeps/i386/configure: Regenerated.
11811 * sysdeps/i386/fpu/s_cexp.S: Remove.
11812 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11813 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11814 * math/libm-test.inc (cexp_test): Add more tests.
11815 * sysdeps/i386/fpu/libm-test-ulps: Update.
11816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11818 2012-03-21 Allan McRae <allan@archlinux.org>
11820 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11822 2012-03-21 Joseph Myers <joseph@codesourcery.com>
11825 * math/w_exp2.c: Do not include <float.h>.
11826 (o_threshold, u_threshold): Remove.
11827 (__exp2): Calculate result before checking finiteness and calling
11829 * math/w_exp2f.c: Likewise.
11830 * math/w_exp2l.c: Likewise.
11831 * math/libm-test.inc (exp2_test): Require overflow exception for
11835 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11836 range of signed 64-bit integers before using fistpll. Remove
11837 checks for whether integers fit in mantissa bits.
11838 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11839 the range of signed 32-bit integers before using fistpl. Remove
11840 checks for whether integers fit in mantissa bits.
11841 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11842 (__ieee754_powl): Test for y outside the range of signed 64-bit
11843 integers before using fistpll. Reduce 64-bit values to 63-bit
11845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11846 divide-by-zero is raised for zero to large negative powers.
11847 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11848 (__ieee754_powl): Test for y outside the range of signed 64-bit
11849 integers before using fistpll. Reduce 64-bit values to 63-bit
11851 * math/libm-test.inc (pow_test): Add more tests.
11853 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11855 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11856 <stdio-common/_itoa.h>.
11857 * debug/segfault.c: Likewise.
11858 * elf/dl-cache.c: Likewise.
11859 * elf/dl-minimal.c: Likewise.
11860 * elf/dl-misc.c: Likewise.
11861 * elf/dl-sysdep.c: Likewise.
11862 * elf/dl-version.c: Likewise.
11863 * elf/rtld.c: Likewise.
11864 * hurd/hurdsock.c: Likewise.
11865 * hurd/lookup-retry.c: Likewise.
11866 * malloc/malloc.c: Likewise.
11867 * malloc/mtrace.c: Likewise.
11868 * nscd/nscd_getgr_r.c: Likewise.
11869 * nscd/nscd_getpw_r.c: Likewise.
11870 * nscd/nscd_getserv_r.c: Likewise.
11871 * posix/getopt_init.c: Likewise.
11872 * posix/wordexp.c: Likewise.
11873 * stdio-common/_itoa.c: Likewise.
11874 * stdio-common/printf_fphex.c: Likewise.
11875 * stdio-common/vfprintf.c: Likewise.
11876 * string/_strerror.c: Likewise.
11877 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11878 * sysdeps/i386/i686/hp-timing.h: Likewise.
11879 * sysdeps/mach/_strerror.c: Likewise.
11880 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11881 * sysdeps/mach/hurd/sethostid.c: Likewise.
11882 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11883 * sysdeps/mach/xpg-strerror.c: Likewise.
11884 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11886 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11887 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11888 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11889 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11890 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11891 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11892 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11893 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11894 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11895 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11896 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11897 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11898 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11899 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11902 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11903 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11904 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11906 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11908 * stdio-common/_itoa.h: Moved to ...
11909 * sysdeps/generic/_itoa.h: Here.
11911 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11913 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11914 instead of "_itoa.h" and "_itowa.h".
11915 * stdio-common/vfprintf.: Likewise.
11917 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11921 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11922 (__signbit): Likwise.
11923 (llrintf): Likwise.
11926 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11928 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11931 2012-03-20 Joseph Myers <joseph@codesourcery.com>
11933 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11934 OVERFLOW_EXCEPTION_OK.
11935 * math/libm-test.inc ("Philosophy"): Update comment about
11937 (OVERFLOW_EXCEPTION): Define.
11938 (OVERFLOW_EXCEPTION_OK): Likewise.
11939 (INVALID_EXCEPTION_OK): Renumber.
11940 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11941 (IGNORE_ZERO_INF_SIGN): Likewise.
11942 (test_exceptions): Handle FE_OVERFLOW.
11943 (exp10_test): Expect overflow exceptions.
11944 (exp2_test): Likewise.
11945 (expm1_test): Likewise.
11946 (nextafter_test): Likewise.
11947 (pow_test): Likewise.
11948 (scalbn_test): Likewise.
11949 (scalbln_test): Likewise.
11951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11953 * sysdeps/x86_64/bits/atomic.h
11954 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11956 (atomic_exchange_acq): Likewise.
11957 (__arch_exchange_and_add_body): Likewise.
11958 (__arch_add_body): Likewise.
11959 (atomic_add_negative): Likewise.
11960 (atomic_add_zero): Likewise.
11962 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11964 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11965 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11969 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11970 Check __x86_64__ instead of __WORDSIZE.
11972 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11974 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11976 2012-03-19 David S. Miller <davem@davemloft.net>
11978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11980 * sysdeps/sparc/fpu/fenv_private.h: New file.
11981 * sysdeps/sparc/fpu/math_private.h: Use it.
11982 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11984 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11985 (libc_feholdexcept_setroundl): Remove.
11986 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11988 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11989 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11991 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11993 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11994 int64_t instead of long int.
11995 (INSERT_WORDS64): Likwise.
11997 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11999 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12000 _Unwind_GetCFA return to _Unwind_Ptr first.
12002 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12005 * math/s_clog.c: Include <float.h>.
12006 (__clog): Scale large or subnormal inputs.
12007 * math/s_clogf.c: Likewise.
12008 * math/s_clogl.c: Likewise.
12009 * math/s_clog10.c: Include <float.h>.
12010 (M_LOG10_2): Define.
12011 (__clog10): Scale large or subnormal inputs.
12012 * math/s_clog10f.c: Likewise.
12013 * math/s_clog10l.c: Likewise.
12014 * math/libm-test.inc (clog_test): Add more tests.
12015 (clog10_test): Likewise.
12016 * sysdeps/i386/fpu/libm-test-ulps: Update.
12017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12022 * math/libm-test.inc (atan2_test): Add another test.
12024 * Makerules (common-objdir-compile): Remove.
12025 * sysdeps/unix/Makefile (config-generated): Do not add
12026 $(unix-generated) to variable.
12027 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12028 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12030 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12032 [generic bits/local_lim.h] (before-compile): Do not append to
12034 [generic bits/local_lim.h] (common-generated): Likewise.
12035 [generic sys/param.h] (before-compile): Do not append to variable.
12036 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12037 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12038 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12039 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12041 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12042 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12043 [generic sys/param.h] ($(addprefix
12044 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12045 [generic sys/param.h] (common-generated): Do not append to
12047 [generic sys/param.h] (sysdep_headers): Likewise.
12048 [generic bits/errno.h] (before-compile): Do not append to
12050 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12052 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12053 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12054 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12055 [generic bits/errno.h] (common-generated): Do not append to
12057 [generic bits/ioctls.h] (before-compile): Do not append to
12059 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12061 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12062 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12063 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12065 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12066 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12067 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12068 [generic bits/ioctls.h] (common-generated): Do not append to
12070 [generic sys/syscall.h] (syscall.h): Remove variable.
12071 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12073 [generic sys/syscall.h] (before-compile): Do not append to
12075 [generic sys/syscall.h] (common-generated): Likewise.
12076 * sysdeps/unix/errnos-tmpl.c: Remove file.
12077 * sysdeps/unix/errnos.awk: Likewise.
12078 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12079 * sysdeps/unix/ioctls.awk: Likewise.
12080 * sysdeps/unix/mk-local_lim.c: Likewise.
12081 * sysdeps/unix/snarf-ioctls: Likewise.
12083 2012-03-19 Richard Henderson <rth@twiddle.net>
12085 * sysdeps/i386/fpu/fenv_private.h: New file.
12086 * sysdeps/i386/fpu/math_private.h: Use it.
12087 (math_opt_barrier, math_force_eval): Remove.
12088 (libc_feholdexcept_setround_53bit): Remove.
12089 (libc_feupdateenv_53bit): Remove.
12090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12091 (math_opt_barrier, math_force_eval): Remove.
12092 (libc_feholdexcept): Remove.
12093 (libc_feholdexcept_setround): Remove.
12094 (libc_fetestexcept, libc_fesetenv): Remove.
12095 (libc_feupdateenv_test): Remove.
12096 (libc_feupdateenv, libc_feholdsetround): Remove.
12097 (libc_feresetround): Remove.
12099 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12100 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12102 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12103 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12104 (libc_feupdateenv_testl): New.
12105 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12106 (libc_feupdateenv_testf): New.
12107 (libc_feupdateenv): Use libc_feupdateenv_test.
12108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12111 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12112 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12113 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12114 (libc_feresetround_noex): New.
12115 (libc_feresetround_noexf): New.
12116 (libc_feresetround_noexl): New.
12117 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12118 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12119 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12125 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12126 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12127 SET_RESTORE_ROUND_NOEX.
12128 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12129 SET_RESTORE_ROUND_NOEXF.
12130 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12131 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12132 (libc_feholdsetroundf): New.
12133 (libc_feresetround, libc_feresetroundf): New.
12135 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12136 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12137 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12139 * sysdeps/generic/math_private.h: Include <fenv.h>.
12140 (default_libc_feholdexcept): New.
12141 (default_libc_feholdexcept_setround): New.
12142 (default_libc_fesetenv, default_libc_feupdateenv): New.
12143 (libc_feholdexcept): Only define if undefined.
12144 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12145 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12146 (libc_feholdexcept_setroundl): Likewise.
12147 (libc_feholdexcept_setround_53bit): Likewise.
12148 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12149 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12150 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12151 (libc_feupdateenv_53bit): Likewise.
12152 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12153 (libc_feholdexcept): Convert from macro to inline function.
12154 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12155 (libc_fesetenv, libc_feupdateenv): Likewise.
12157 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12158 not previously defined.
12159 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12160 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12161 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12162 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12163 * sysdeps/ieee754/flt-32/math_private.h: New file.
12164 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12165 math_private.h below SET_FLOAT_WORD.
12166 (__isnan, __isinf_ns, __finite): Remove.
12167 (__isnanf, __isinf_nsf, __finitef): Remove.
12169 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12173 2012-03-17 David S. Miller <davem@davemloft.net>
12176 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12179 2012-03-16 David S. Miller <davem@davemloft.net>
12181 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12185 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12187 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12188 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12189 sysdep_routines when subdir is sysvipc.
12190 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12191 __getshmlba helper.
12193 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12195 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12197 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12200 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12202 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12203 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12204 (__lround): Renamed to ...
12205 (__llround): This. Replace long int with long long int.
12206 Define lround functions as aliases of llround functions.
12207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12209 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12211 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12212 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12213 adresses to uintptr_t. Replace "long int" and "unsigned long
12214 int" with "greg_t" on va_arg.
12216 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12218 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12219 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12221 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12222 Move e_machine check before EI_CLASS check. Handle x32
12223 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12224 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12225 SKIP_EM_IA_64 and include
12226 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12228 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12229 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12230 (add_system_dir): New macro.
12232 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12233 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12235 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12246 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12248 * math/w_j0f.c (j0f): Likewise.
12250 * math/w_j0l.c (__j0l): Likewise.
12252 * math/w_j1.c (j1): Likewise.
12254 * math/w_j1f.c (j1f): Likewise.
12256 * math/w_j1l.c (__j1l): Likewise.
12258 * math/w_jn.c (jn): Likewise.
12260 * math/w_jnf.c (jnf): Likewise.
12262 * math/w_jnl.c (__jnl): Likewise.
12264 * math/libm-test.inc (j0_test): Add more tests.
12265 (j1_test): Likewise.
12266 (jn_test): Likewise. Add trailing semicolon to existing test.
12267 (y0_test): Likewise.
12268 (y1_test): Likewise.
12269 * sysdeps/i386/fpu/libm-test-ulps: Update.
12270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12275 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12276 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12277 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12278 (__tanl): Set errno for infinite argument.
12279 * sysdeps/i386/fpu/mptan.c: Remove.
12280 * sysdeps/i386/fpu/s_tan.S: Likewise.
12281 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12282 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12283 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12284 * math/libm-test.inc (tan_test): Add more tests and enable more
12285 tests for double and long double.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12289 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12291 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12292 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12294 2012-03-16 Roland McGrath <roland@hack.frob.com>
12296 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12297 * configure.in: Use it for both main tree and add-ons.
12298 * configure: Regenerated.
12300 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12302 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12304 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12310 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12311 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12316 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12318 != 0 for prec == 2.
12319 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12320 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12321 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12322 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12323 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12324 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12325 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12326 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12327 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12328 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12329 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12330 * math/libm-test.inc (cos_test): Add more tests and enable more
12331 tests for long double.
12332 (sin_test): Likewise.
12333 (sincos_test): Likewise.
12334 * sysdeps/i386/fpu/libm-test-ulps: Update.
12335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12337 2012-03-16 David S. Miller <davem@davemloft.net>
12339 * sysdeps/sparc/fpu/math_private.h: New file.
12341 2012-03-15 David S. Miller <davem@davemloft.net>
12343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12357 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12358 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12360 * sysdeps/sparc/sparc-ifunc.h: New file.
12361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12406 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12408 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12412 2012-03-15 Andreas Jaeger <aj@suse.de>
12415 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12416 ieee754/flt-32 implementation for sin, cos and sincos.
12417 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12418 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12419 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12420 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12421 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12422 ieee754/flt-32 implementation for tan.
12424 * math/libm-test.inc (cos_test): Enable some large input tests for
12426 (sin_test): Likewise.
12427 (sincos_test): Likewise.
12428 (tan_test): Add tests for large input.
12430 * sysdeps/i386/fpu/libm-test-ulps: Update.
12432 2012-03-15 Andreas Jaeger <aj@suse.de>
12435 * math/libm-test.inc (cos_test): Add more test cases.
12436 (sin_test): Likewise.
12437 (sincos_test): Likewise.
12439 2012-03-15 Andreas Jaeger <aj@suse.de>
12442 * math/libm-test.inc (cos_test): Add a test case for large input
12444 (sin_test): Likewise.
12445 (sincos_test): Likewise.
12447 2012-03-15 Andreas Jaeger <aj@suse.de>,
12448 Joseph Myers <joseph@codesourcery.com>
12451 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12452 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12453 * sysdeps/i386/fpu/branred.c: Likewise.
12454 * sysdeps/i386/fpu/dosincos.c: Likewise.
12455 * sysdeps/i386/fpu/mpa.c: Likewise.
12456 * sysdeps/i386/fpu/s_cos.S: Likewise.
12457 * sysdeps/i386/fpu/s_sin.S: Likewise.
12458 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12459 * sysdeps/i386/fpu/sincos32.c: Likewise.
12461 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12463 (libc_feupdateenv_53bit): Define.
12464 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12466 (libc_feupdateenv_53bit): Define.
12468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12469 53 bit (without extend i386 double precision).
12471 * math/libm-test.inc (sincos_test): Add tests for large input.
12475 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12477 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12481 2012-03-15 David S. Miller <davem@davemloft.net>
12483 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12484 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12485 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12486 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12511 fmin/fmax sysdep routines.
12512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12514 2012-03-14 David S. Miller <davem@davemloft.net>
12516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12523 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12538 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12588 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12593 * sysdeps/sparc/configure.in: New file.
12594 * sysdeps/sparc/configure: Generate.
12595 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12596 * configure: Regenerate.
12597 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12598 * config.make.in (have-as-vis3): New.
12599 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12600 available use -Av9d instead of -Av9a.
12601 * sysdeps/sparc/sparc64/Makefile: Likewise.
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12614 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12615 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12617 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12618 fzeros/fnegs to load 0x80000000 into a float register instead of
12620 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12622 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12626 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12627 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12628 ($(inst_includedir)/bits/syscall.h): Remove rule.
12629 ($(objpfx)bits/syscall.d): Include instead of
12630 $(objpfx)syscall-list.d.
12631 (generated): Change syscall-list.h and syscall-list.d to
12632 bits/syscall.h and bits/syscall.d.
12634 2012-03-14 Roland McGrath <roland@hack.frob.com>
12637 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12639 2012-03-14 Joseph Myers <joseph@codesourcery.com>
12642 * math/s_csqrt.c: Include <float.h>.
12643 (__csqrt): Scale large or subnormal inputs.
12644 * math/s_csqrtf.c: Likewise.
12645 * math/s_csqrtl.c: Likewise.
12646 * math/libm-test.inc (csqrt_test): Add more tests.
12647 * sysdeps/i386/fpu/libm-test-ulps: Update.
12648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651 * math/libm-test.inc (hypot_test): Add more tests.
12653 2012-03-13 David S. Miller <davem@davemloft.net>
12656 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12657 double-precision for the calculation instead of scaling.
12659 2012-03-13 Joseph Myers <joseph@codesourcery.com>
12661 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12662 manipulate bits before adding and subtracting TWO52[sx].
12663 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12664 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12666 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12668 2012-03-13 David S. Miller <davem@davemloft.net>
12670 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12671 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12673 rtld-global-offsets.h
12674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12676 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12679 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12681 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12682 'err' in the ifdef scope in which it is actually used.
12684 * nss/nss_db/db-init.c: Include string.h
12686 2012-03-12 David S. Miller <davem@davemloft.net>
12688 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12689 masking out of the most significant byte of random value used.
12690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12691 Fix coding style in previous change.
12693 * sysdeps/unix/sysv/linux/kernel-features.h
12694 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12695 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12697 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12700 2012-03-11 David S. Miller <davem@davemloft.net>
12702 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12703 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12704 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12705 for 'resultvar' otherwise things get truncated on 64-bit.
12707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12708 Fix masking out of the most significant byte of random value used.
12710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12712 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12716 2012-03-09 David S. Miller <davem@davemloft.net>
12718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12719 variables with appropriate CPP guards.
12720 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12721 frame pointer, not the stack pointer. Correct layout comments. Fix test
12722 on resulting framesize and the management of the outregs buffer for pltexit.
12723 Preserve floating point return values across _dl_call_pltexit call.
12724 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12725 framesize and the management of the outregs buffer for pltexit.
12726 Preserve floating point return values across _dl_call_pltexit
12728 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12729 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12730 (print_exit): Fix format string for return register value.
12732 2012-03-10 Joseph Myers <joseph@codesourcery.com>
12734 * sunrpc/Makefile (others): Add rpcgen.
12735 ($(objpfx)rpcgen): Remove special build rule and dependency on
12737 * sunrpc/rpcgen.c: New file.
12739 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12742 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12743 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12744 * sysdeps/i386/crti.S: Likewise.
12745 * sysdeps/i386/crtn.S: Likewise.
12746 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12747 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12748 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12750 * sysdeps/sh/crti.S: Likewise.
12751 * sysdeps/sh/crtn.S: Likewise.
12752 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12755 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12757 * locale/programs/locfile-kw.gperf: Likewise.
12758 * locale/programs/charmap-kw.h: Regenerated.
12759 * locale/programs/locfile-kw.h: Likewise.
12762 * intl/plural.y: Replace FSF snail mail address with URL.
12763 * intl/plural.c: Regenerated.
12765 2012-03-09 Richard Henderson <rth@twiddle.net>
12767 * include/math_private.h: Remove file.
12768 * math/math_private.h: Move file ...
12769 * sysdeps/generic/math_private.h: ... here.
12771 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12772 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12773 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12775 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12776 and <math_private.h>.
12777 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12778 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12779 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12780 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12781 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12791 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12792 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12865 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12868 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12873 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12874 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12876 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12877 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12878 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12879 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12880 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12882 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12883 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12885 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12887 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12888 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12889 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12890 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12891 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12892 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12894 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12896 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12897 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12898 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12899 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12900 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12905 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12906 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12907 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12908 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12909 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12910 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12911 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12913 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12914 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12915 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12916 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12918 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12919 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12920 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12921 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12922 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12924 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12925 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12926 * sysdeps/ieee754/k_standard.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13042 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13046 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13049 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13059 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13063 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13064 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13087 * sysdeps/ieee754/s_lib_version.c: Likewise.
13088 * sysdeps/ieee754/s_matherr.c: Likewise.
13089 * sysdeps/ieee754/s_signgam.c: Likewise.
13090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13092 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13093 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13094 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13095 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13096 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13097 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13098 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13099 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13100 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13101 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13104 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13105 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13112 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13114 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13115 * sunrpc/rpc_main.c: Likewise.
13116 * sunrpc/rpc_svcout.c: Likewise.
13118 2012-03-09 David S. Miller <davem@davemloft.net>
13120 * include/math_private.h: New file.
13122 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13124 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13125 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13126 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13127 from <bits/socket_type.h>.
13128 (enum __socket_type): Don't define here.
13129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13131 bits/socket_type.h.
13134 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13135 checking __USE_GNU.
13137 * Makerules ($(inst_includedir)/%.h): New rule.
13138 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13139 (install-others): Remove variable setting.
13140 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13142 2012-03-08 Richard Henderson <rth@twiddle.net>
13144 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13145 from macro to inline function; merge with the
13146 !__LIBC_INTERNAL_MATH_INLINES version.
13147 (__ieee754_sqrtf): Likewise.
13149 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13150 to inline function.
13151 (__rintf, __floor, __floorf): Likewise.
13153 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13154 macro to inline function.
13155 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13157 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13158 not <math/math_private.h>.
13160 2012-03-08 David S. Miller <davem@davemloft.net>
13162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13164 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13166 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13168 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13170 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13171 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13173 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13175 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13176 be defined individually, they must be defined as a block. Define
13177 S for printing a string instead of hidint the different by using a
13178 macro for adding the 'l'.
13179 * stdio-common/tst-fphex-wide.c: Adjust.
13181 2012-03-07 Marek Polacek <polacek@redhat.com>
13183 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13185 2012-03-08 Marek Polacek <polacek@redhat.com>
13188 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13189 * stdio-common/tst-fphex.c: Define a few macros to make the
13190 test reusable. Use them.
13191 * stdio-common/tst-fphex-wide.c: New file.
13193 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13196 * manual/macros.texi (gnusystems): New macro.
13197 (nongnusystems): Likewise.
13198 (gnulinuxhurdsystems): Likewise.
13199 (gnuhurdsystems): Likewise..
13200 (gnulinuxsystems): Likewise.
13201 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13202 variants of the GNU system, not "GNU system".
13203 * manual/conf.texi: Likewise.
13204 * manual/errno.texi: Likewise. Update example of errno macro
13206 * manual/filesys.texi: Likewise.
13207 (getumask): Document as specific to GNU/Hurd.
13208 * manual/install.texi: Likewise. Reword some references to
13210 * manual/intro.texi: Likewise.
13211 * manual/io.texi: Likewise.
13212 (File Name Portability): Detail which constraints are inapplicable
13213 to all GNU systems and which are only inapplicable to GNU/Hurd.
13214 * manual/job.texi: Likewise.
13215 * manual/llio.texi: Likewise.
13216 (O_NOCTTY): Document as present on GNU/Linux.
13217 * manual/maint.texi: Likewise.
13218 * manual/memory.texi: Likewise.
13219 * manual/pattern.texi: Likewise.
13220 * manual/pipe.texi: Likewise.
13221 * manual/process.texi: Likewise.
13222 * manual/resource.texi: Likewise.
13223 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13225 * manual/setjmp.texi: Likewise.
13226 * manual/signal.texi: Likewise.
13227 * manual/startup.texi: Likewise.
13228 * manual/stdio.texi: Likewise.
13229 * manual/terminal.texi: Likewise.
13230 (ONLCR): Document as POSIX.
13231 (OXTABS): Document availability on GNU/Linux as XTABS.
13232 (ONOEOT): Document availability separately from other bits.
13233 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13234 * manual/time.texi: Likewise.
13235 * manual/users.texi: Likewise.
13236 * INSTALL: Regenerated.
13237 * sysdeps/gnu/errlist.c: Regenerated.
13239 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13240 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13241 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13243 * configure: Regenerated.
13245 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13247 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13248 default includes instead of AC_HEADER_CHECK.
13249 * sysdeps/i386/configure: Regenerated.
13252 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13253 * math/s_cacoshf.c (__cacoshf): Likewise.
13254 * math/s_cacoshl.c (__cacoshl): Likewise.
13255 * math/s_casinh.c (__casinh): Set signs of result from argument.
13256 * math/s_casinhf.c (__casinhf): Likewise.
13257 * math/s_casinhl.c (__casinhl): Likewise.
13258 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13259 (casinh_test): Add more tests.
13260 * sysdeps/i386/fpu/libm-test-ulps: Update.
13261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13263 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13265 * po/zh_TW.po: Update from translation team.
13267 * login/Makefile (distribute): Remove variable.
13268 * catgets/Makefile: Likewise.
13269 * mach/Makefile: Likewise.
13270 * malloc/Makefile: Likewise.
13271 * misc/Makefile: Likewise.
13272 * iconv/Makefile: Likewise.
13273 * nscd/Makefile: Likewise.
13274 * hurd/Makefile: Likewise.
13275 * manual/Makefile: Likewise.
13276 * locale/Makefile: Likewise.
13277 * intl/Makefile: Likewise.
13278 * conform/Makefile: Likewise.
13279 * nss/Makefile: Likewise.
13280 * time/Makefile: Likewise.
13281 * soft-fp/Makefile: Likewise.
13282 * dirent/Makefile: Likewise.
13283 * gmon/Makefile: Likewise.
13284 * po/Makefile: Likewise.
13285 * rt/Makefile: Likewise.
13286 * socket/Makefile: Likewise.
13287 * math/Makefile: Likewise.
13288 * signal/Makefile: Likewise.
13289 * debug/Makefile: Likewise.
13290 * elf/Makefile: Likewise.
13291 * timezone/Makefile: Likewise.
13292 * stdlib/Makefile: Likewise.
13293 * iconvdata/Makefile: Likewise.
13294 * sunrpc/Makefile: Likewise.
13295 * io/Makefile: Likewise.
13296 * argp/Makefile: Likewise.
13297 * inet/Makefile: Likewise.
13298 * hesiod/Makefile: Likewise.
13299 * grp/Makefile: Likewise.
13300 * csu/Makefile: Likewise.
13301 * wctype/Makefile: Likewise.
13302 * crypt/Makefile: Likewise.
13303 * libio/Makefile: Likewise.
13304 * string/Makefile: Likewise.
13305 * nis/Makefile: Likewise.
13306 * resolv/Makefile: Likewise.
13307 * stdio-common/Makefile: Likewise.
13308 * wcsmbs/Makefile: Likewise.
13309 * dlfcn/Makefile: Likewise.
13310 * posix/Makefile: Likewise.
13313 * timezone/Makefile: Don't install timezone files, just the programs
13316 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13318 * nss/databases.def: Add missing gshadow entry.
13320 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13322 2012-03-06 Marek Polacek <polacek@redhat.com>
13325 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13326 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13327 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13328 * stdio-common/tst-long-dbl-fphex.c: New file.
13330 2012-03-06 David S. Miller <davem@davemloft.net>
13332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13333 (set_obp_int): New function.
13334 (get_obp_int): New function.
13335 (__get_clockfreq_via_dev_openprom): Likewise.
13336 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13337 Avoid unused variable warnings on 'val' and use builtin_expect.
13338 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13340 (INLINE_CLONE_SYSCALL): Likewise.
13342 2012-03-05 David S. Miller <davem@davemloft.net>
13344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13346 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13351 only for |x| >= 40.
13352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13354 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13357 Replace gettimeofday with __vdso_gettimeofday.
13359 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13360 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13361 __vdso_clock_gettime and __vdso_getcpu.
13363 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13364 time with __vdso_time.
13366 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13368 * manual/lang.texi (size_t): Note types to which size_t may be
13369 equivalent with the GNU C Library, but do not describe when
13370 differences between them are significant.
13372 2012-03-05 Andreas Jaeger <aj@suse.de>
13374 * sysdeps/i386/fpu/libm-test-ulps: Update.
13376 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13379 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13380 (__ieee754_pow): Save and restore rounding mode and use
13381 round-to-nearest for main computations.
13382 * math/libm-test.inc (pow_test_tonearest): New function.
13383 (pow_test_towardzero): Likewise.
13384 (pow_test_downward): Likewise.
13385 (pow_test_upward): Likewise.
13386 (main): Call the new functions.
13387 * sysdeps/i386/fpu/libm-test-ulps: Update.
13388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391 * math/libm-test.inc (cosh_test_tonearest): New function.
13392 (cosh_test_towardzero): Likewise.
13393 (cosh_test_downward): Likewise.
13394 (cosh_test_upward): Likewise.
13395 (sinh_test_tonearest): Likewise.
13396 (sinh_test_towardzero): Likewise.
13397 (sinh_test_downward): Likewise.
13398 (sinh_test_upward): Likewise.
13399 (main): Call the new functions.
13400 * sysdeps/i386/fpu/libm-test-ulps: Update.
13401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13403 2012-03-05 Tom de Vries <tom@codesourcery.com>
13405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13406 default stack guard is set in last bytes.
13407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13409 2012-03-05 Kees Cook <keescook@chromium.org>
13411 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13414 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13415 possibly allocate from heap instead of stack.
13416 * stdio-common/bug-vfprintf-nargs.c: New file.
13417 * stdio-common/Makefile (tests): Add nargs overflow test.
13419 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13423 2012-03-03 Marek Polacek <polacek@redhat.com>
13425 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13426 * math/math_private.h: Likewise.
13427 * stdlib/tst-strtod.c: Likewise.
13428 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13429 * sysdeps/x86_64/bits/atomic.h: Likewise.
13431 2012-03-02 David S. Miller <davem@davemloft.net>
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13438 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13439 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13440 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13442 2012-03-02 Roland McGrath <roland@hack.frob.com>
13445 * manual/examples/README: New file, says the example source files
13446 can be used under GPL>=2.
13447 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13448 line containing just "*/".
13449 * manual/examples/add.c: Add copyright header (GPL>=2).
13450 * manual/examples/argp-ex1.c: Likewise.
13451 * manual/examples/argp-ex2.c: Likewise.
13452 * manual/examples/argp-ex3.c: Likewise.
13453 * manual/examples/argp-ex4.c: Likewise.
13454 * manual/examples/atexit.c: Likewise.
13455 * manual/examples/db.c: Likewise.
13456 * manual/examples/dir.c: Likewise.
13457 * manual/examples/dir2.c: Likewise.
13458 * manual/examples/execinfo.c: Likewise.
13459 * manual/examples/filecli.c: Likewise.
13460 * manual/examples/filesrv.c: Likewise.
13461 * manual/examples/fmtmsgexpl.c: Likewise.
13462 * manual/examples/genpass.c: Likewise.
13463 * manual/examples/inetcli.c: Likewise.
13464 * manual/examples/inetsrv.c: Likewise.
13465 * manual/examples/isockad.c: Likewise.
13466 * manual/examples/longopt.c: Likewise.
13467 * manual/examples/memopen.c: Likewise.
13468 * manual/examples/memstrm.c: Likewise.
13469 * manual/examples/mkfsock.c: Likewise.
13470 * manual/examples/mkisock.c: Likewise.
13471 * manual/examples/mygetpass.c: Likewise.
13472 * manual/examples/pipe.c: Likewise.
13473 * manual/examples/popen.c: Likewise.
13474 * manual/examples/rprintf.c: Likewise.
13475 * manual/examples/search.c: Likewise.
13476 * manual/examples/select.c: Likewise.
13477 * manual/examples/setjmp.c: Likewise.
13478 * manual/examples/sigh1.c: Likewise.
13479 * manual/examples/sigusr.c: Likewise.
13480 * manual/examples/stpcpy.c: Likewise.
13481 * manual/examples/strdupa.c: Likewise.
13482 * manual/examples/strftim.c: Likewise.
13483 * manual/examples/strncat.c: Likewise.
13484 * manual/examples/subopt.c: Likewise.
13485 * manual/examples/swapcontext.c: Likewise.
13486 * manual/examples/termios.c: Likewise.
13487 * manual/examples/testopt.c: Likewise.
13488 * manual/examples/testpass.c: Likewise.
13489 * manual/examples/timeval_subtract.c: Likewise.
13492 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13494 * manual/timeval_subtract.c.texi: ... here, new file.
13496 2012-03-02 David S. Miller <davem@davemloft.net>
13498 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13500 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13503 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13504 (__sin): Save and restore rounding mode and use round-to-nearest
13505 for all computations.
13506 (__cos): Save and restore rounding mode and use round-to-nearest
13507 for all computations.
13508 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13510 (tan): Save and restore rounding mode and use round-to-nearest for
13512 * math/libm-test.inc (cos_test_tonearest): New function.
13513 (cos_test_towardzero): Likewise.
13514 (cos_test_downward): Likewise.
13515 (cos_test_upward): Likewise.
13516 (sin_test_tonearest): Likewise.
13517 (sin_test_towardzero): Likewise.
13518 (sin_test_downward): Likewise.
13519 (sin_test_upward): Likewise.
13520 (tan_test_tonearest): Likewise.
13521 (tan_test_towardzero): Likewise.
13522 (tan_test_downward): Likewise.
13523 (tan_test_upward): Likewise.
13524 (main): Call the new functions.
13525 * sysdeps/i386/fpu/libm-test-ulps: Update.
13526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13530 small n, then large n, before computing and testing k+n.
13531 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13534 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13536 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13537 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13544 * math/libm-test.inc (scalbn_test): Add more tests.
13545 (scalbln_test): Likewise.
13547 * manual/filesys.texi (mode_t): Describe constraints on size and
13548 signedness, not exact equivalence to a particular type.
13550 (ino64_t): Likewise.
13552 (nlink_t): Likewise.
13553 (blkcnt_t): Likewise.
13554 (blkcnt64_t): Likewise.
13555 * manual/llio.texi (off_t): Likewise.
13558 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13559 (__ieee754_exp): Save and restore rounding mode and use
13560 round-to-nearest for all computations.
13561 * math/libm-test.inc (exp_test_tonearest): New function.
13562 (exp_test_towardzero): Likewise.
13563 (exp_test_downward): Likewise.
13564 (exp_test_upward): Likewise.
13565 (main): Call the new functions.
13566 * sysdeps/i386/fpu/libm-test-ulps: Update.
13567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13569 2012-03-01 Chris Demetriou <cgd@google.com>
13571 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13572 have predictable order.
13574 2012-03-01 David S. Miller <davem@davemloft.net>
13576 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13578 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13579 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13580 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13581 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13583 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13584 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13585 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13587 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13588 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13589 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13590 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13591 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13596 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13599 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13600 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13601 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13602 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13603 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13606 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13607 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13608 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13609 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13612 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13613 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13615 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13616 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13617 * sysdeps/sparc/elf/configure: Regenerated.
13619 2012-03-01 Joseph Myers <joseph@codesourcery.com>
13621 * configure.in (AS, LD): Require binutils 2.20 or later.
13622 * configure: Regenerated.
13623 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13624 as required minimum version.
13625 * INSTALL: Regenerated.
13629 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13630 before squaring exponent.
13631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13632 bottom long double and 27 bits of top long double before squaring
13634 * math/libm-test.inc (erfc_test): Add more tests.
13635 * sysdeps/i386/fpu/libm-test-ulps: Update.
13636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13639 2012-03-01 Kai Tietz <ktietz@redhat.com>
13641 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13642 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13643 containing bit-fields.
13644 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13645 * soft-fp/single.h (_FP_UNION_S): Likewise.
13646 * soft-fp/double.h (_FP_UNION_D): Likewise.
13648 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13651 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13652 not include ../strcmp.S.
13653 [USE_AS_STRNCASECMP_L]: Likewise.
13654 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13655 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13656 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13657 (__strncasecmp_l_ia32): Define as alias to
13658 __strncasecmp_l_nonascii.
13661 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13662 * sysdeps/i386/fpu/libm-test-ulps: Update.
13663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13665 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13668 2012-02-29 Jeff Law <law@redhat.com>
13670 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13671 out of bounds read.
13673 2012-02-29 Marek Polacek <polacek@redhat.com>
13676 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13677 * elf/Makefile: Add rules to run tst-unused-dep.out.
13679 2012-02-28 David S. Miller <davem@davemloft.net>
13681 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13682 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13685 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13686 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13688 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13690 * math/libm-test.inc (llround_test): Move one test from
13691 lround_test. Use TEST_f_L in moved test.
13692 (lround_test): Move misplaced test to llround_test. Add testcase
13695 2012-02-28 Ulrich Drepper <drepper@gmail.com>
13697 * sysdeps/x86_64/fpu/e_expf.S: New file.
13698 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13700 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13703 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13704 of remain_len that may cause incomplete multi-byte character and
13706 * posix/bug-regex33.c: New file.
13707 * posix/Makefile (tests): Add bug-regex33.
13709 2012-02-28 Joseph Myers <joseph@codesourcery.com>
13711 * manual/macros.texi: New file.
13712 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13713 * manual/libc.texinfo: Include macros.texi.
13714 * manual/creatute.texi: Likewise.
13715 * manual/install.texi: Likewise.
13716 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13717 @glibcadj{} in references to the GNU C Library.
13718 * manual/charset.texi: Likewise.
13719 * manual/conf.texi: Likewise.
13720 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13721 when not using those macros.
13722 * manual/creature.texi: Likewise.
13723 * manual/crypt.texi: Likewise.
13724 * manual/errno.texi: Likewise.
13725 * manual/filesys.texi: Likewise.
13726 * manual/header.texi: Likewise.
13727 * manual/install.texi: Likewise.
13728 * manual/intro.texi: Likewise.
13729 * manual/io.texi: Likewise.
13730 * manual/job.texi: Likewise.
13731 * manual/lang.texi: Likewise.
13732 * manual/libc.texiinfo: Likewise.
13733 * manual/llio.texi: Likewise.
13734 * manual/locale.texi: Likewise.
13735 * manual/maint.texi: Likewise.
13736 * manual/math.texi: Likewise.
13737 * manual/memory.texi: Likewise.
13738 * manual/message.texi: Likewise.
13739 * manual/nss.texi: Likewise.
13740 * manual/pattern.texi: Likewise.
13741 * manual/process.texi: Likewise.
13742 * manual/resource.texi: Likewise.
13743 * manual/search.texi: Likewise.
13744 * manual/setjmp.texi: Likewise.
13745 * manual/signal.texi: Likewise.
13746 * manual/socket.texi: Likewise.
13747 * manual/startup.texi: Likewise.
13748 * manual/stdio.texi: Likewise.
13749 * manual/string.texi: Likewise.
13750 * manual/sysinfo.texi: Likewise.
13751 * manual/syslog.texi: Likewise.
13752 * manual/terminal.texi: Likewise.
13753 * manual/time.texi: Likewise.
13754 * manual/users.texi: Likewise.
13755 * INSTALL: Regenerated.
13756 * NOTES: Regenerated.
13757 * sysdeps/gnu/errlist.c: Regenerated.
13759 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13761 * include/dirent.h: Include <dirstream.h> before
13764 2012-02-28 David S. Miller <davem@davemloft.net>
13766 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13767 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13768 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13769 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13771 2012-02-27 David S. Miller <davem@davemloft.net>
13773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13775 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13776 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13779 frame pointer instead of stack pointer relative arg slot.
13780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13781 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13782 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13784 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13787 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13789 2012-02-27 David S. Miller <davem@davemloft.net>
13791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13797 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13798 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13800 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13802 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13803 later. Allow versions 5-9.
13804 * configure: Regenerated.
13805 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13806 required minimum version and 4.6 as recommended version. Do not
13807 mention bugs in GCC 2.7 and 2.8.
13808 * INSTALL: Regenerated.
13810 2012-02-27 David S. Miller <davem@davemloft.net>
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13816 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13817 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13822 manipulate bits before adding and subtracting TWO112[sx].
13823 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13825 2012-02-27 Roland McGrath <roland@hack.frob.com>
13828 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13829 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13830 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13831 being in POSIX, because they are in 1003.1-2008.
13833 * rt/tst-aio.c: Include <fcntl.h>.
13834 * rt/tst-aio7.c: Likewise.
13835 * rt/tst-aio64.c: Likewise.
13837 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13839 2012-02-27 Joseph Myers <joseph@codesourcery.com>
13841 * manual/install.texi (--with-headers): Describe headers as
13842 interface headers, not private headers.
13843 (Specific advice for GNU/Linux systems): Describe use of headers
13844 from "make headers_install", not private headers from older
13846 * INSTALL: Regenerated.
13847 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13849 * sysdeps/unix/sysv/linux/configure: Regenerated.
13851 * manual/llio.texi (fclean): Remove documentation.
13853 * manual/Makefile (libc-texi-generated): New variable. Include
13855 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13856 $(libc-texi-generated), not duplicated list of files.
13857 (version.texi, stamp-version): New rules.
13858 (realclean): Remove $(libc-texi-generated), not individual files
13859 from that list. Do not remove dir-add.texinfo.
13860 * manual/libc.texinfo: Comment out uses of edition numbers and
13861 references to printed manual. Remove last-updated dates.
13862 (EDITION): Comment out.
13864 (VERSION, UPDATED): Remove.
13865 (version.texi): Include.
13867 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13869 * sysdeps/posix/spawni.c: Include <signal.h>.
13870 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13871 * sysdeps/pthread/aio_fsync.c: Likewise.
13873 2012-02-26 Ulrich Drepper <drepper@gmail.com>
13875 * conform/Makefile (tests): Run only when not cross-compiling and
13876 when fast-check is not defined.
13878 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13879 * conform/data/limits.h-data: Fixes for POSIX2008.
13880 * conform/run-conformtest.sh: Run all tests.
13881 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13883 * include/bits/dlfcn.h: Likewise.
13884 * include/langinfo.h: Likewise.
13885 * include/monetary.h: Likewise.
13886 * include/sys/poll.h: Likewise.
13888 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13890 * posix/spawn.h: Define __need_sigset_t.
13891 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13892 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13893 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13894 to get sigevent_t only.
13895 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13896 only for __USE_GNU.
13897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13898 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13899 process_vm_writev only for __USE_GNU.
13900 * termios/termios.h: Declare tcgetsid also for POSIX2008.
13902 * conform/Makefile: For now ignore errors from run-conformtest.
13903 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13904 POSIX to avoid namespace pollution. Don't prepend headers.
13905 * conform/data/aio.h-data: Fixes for POSIX testing.
13906 * conform/data/fcntl.h-data: Likewise.
13907 * conform/data/glob.h-data: Likewise.
13908 * conform/data/grp.h-data: Likewise.
13909 * conform/data/pthread.h-data: Likewise.
13910 * conform/data/pwd.h-data: Likewise.
13911 * conform/data/signal.h-data: Likewise.
13912 * conform/data/spawn.h-data: Likewise.
13913 * conform/data/stdio.h-data: Likewise.
13914 * conform/data/stdlib.h-data: Likewise.
13915 * conform/data/stropts.h-data: Likewise.
13916 * conform/data/sys/mman.h-data: Likewise.
13917 * conform/data/sys/stat.h-data: Likewise.
13918 * conform/data/sys/types.h-data: Likewise.
13919 * conform/data/sys/wait.h-data: Likewise.
13920 * conform/data/time.h-data: Likewise.
13921 * conform/data/unistd.h-data: Likewise.
13922 * conform/data/utime.h-data: Likewise.
13924 * io/sys/stat.h: fchmod was always in POSIX.
13925 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13926 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13927 * rt/aio.h: Define __need_timespec before including <time.h>.
13928 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13929 struct. Add forward declaration of pthread_attr_t and use it in
13931 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13933 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13934 always remove CLK_TCK definition.
13936 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13938 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13940 2012-02-25 Ulrich Drepper <drepper@gmail.com>
13942 * conform/run-conformtest.sh: New file.
13943 * conform/Makefile: Run run-conformtest for tests.
13944 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13947 * conform/data/uchar.h-data: New file.
13948 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13949 * conform/data/arpa/inet.h-data: Likewise.
13950 * conform/data/assert.h-data: Likewise.
13951 * conform/data/complex.h-data: Likewise.
13952 * conform/data/cpio.h-data: Likewise.
13953 * conform/data/ctype.h-data: Likewise.
13954 * conform/data/dirent.h-data: Likewise.
13955 * conform/data/dlfcn.h-data: Likewise.
13956 * conform/data/errno.h-data: Likewise.
13957 * conform/data/fcntl.h-data: Likewise.
13958 * conform/data/float.h-data: Likewise.
13959 * conform/data/fmtmsg.h-data: Likewise.
13960 * conform/data/fnmatch.h-data: Likewise.
13961 * conform/data/ftw.h-data: Likewise.
13962 * conform/data/glob.h-data: Likewise.
13963 * conform/data/grp.h-data: Likewise.
13964 * conform/data/iconv.h-data: Likewise.
13965 * conform/data/inttypes.h-data: Likewise.
13966 * conform/data/langinfo.h-data: Likewise.
13967 * conform/data/libgen.h-data: Likewise.
13968 * conform/data/limits.h-data: Likewise.
13969 * conform/data/locale.h-data: Likewise.
13970 * conform/data/math.h-data: Likewise.
13971 * conform/data/monetary.h-data: Likewise.
13972 * conform/data/mqueue.h-data: Likewise.
13973 * conform/data/ndbm.h-data: Likewise.
13974 * conform/data/net/if.h-data: Likewise.
13975 * conform/data/netdb.h-data: Likewise.
13976 * conform/data/netinet/in.h-data: Likewise.
13977 * conform/data/nl_types.h-data: Likewise.
13978 * conform/data/poll.h-data: Likewise.
13979 * conform/data/pthread.h-data: Likewise.
13980 * conform/data/pwd.h-data: Likewise.
13981 * conform/data/regex.h-data: Likewise.
13982 * conform/data/sched.h-data: Likewise.
13983 * conform/data/search.h-data: Likewise.
13984 * conform/data/semaphore.h-data: Likewise.
13985 * conform/data/setjmp.h-data: Likewise.
13986 * conform/data/signal.h-data: Likewise.
13987 * conform/data/spawn.h-data: Likewise.
13988 * conform/data/stdarg.h-data: Likewise.
13989 * conform/data/stdio.h-data: Likewise.
13990 * conform/data/stdlib.h-data: Likewise.
13991 * conform/data/string.h-data: Likewise.
13992 * conform/data/strings.h-data: Likewise.
13993 * conform/data/stropts.h-data: Likewise.
13994 * conform/data/sys/ipc.h-data: Likewise.
13995 * conform/data/sys/mman.h-data: Likewise.
13996 * conform/data/sys/msg.h-data: Likewise.
13997 * conform/data/sys/resource.h-data: Likewise.
13998 * conform/data/sys/select.h-data: Likewise.
13999 * conform/data/sys/sem.h-data: Likewise.
14000 * conform/data/sys/shm.h-data: Likewise.
14001 * conform/data/sys/socket.h-data: Likewise.
14002 * conform/data/sys/stat.h-data: Likewise.
14003 * conform/data/sys/statvfs.h-data: Likewise.
14004 * conform/data/sys/time.h-data: Likewise.
14005 * conform/data/sys/timeb.h-data: Likewise.
14006 * conform/data/sys/times.h-data: Likewise.
14007 * conform/data/sys/types.h-data: Likewise.
14008 * conform/data/sys/uio.h-data: Likewise.
14009 * conform/data/sys/un.h-data: Likewise.
14010 * conform/data/sys/utsname.h-data: Likewise.
14011 * conform/data/sys/wait.h-data: Likewise.
14012 * conform/data/syslog.h-data: Likewise.
14013 * conform/data/tar.h-data: Likewise.
14014 * conform/data/termios.h-data: Likewise.
14015 * conform/data/utime.h-data: Likewise.
14016 * conform/data/utmpx.h-data: Likewise.
14017 * conform/data/varargs.h-data: Likewise.
14018 * conform/data/wchar.h-data: Likewise.
14019 * conform/data/wctype.h-data: Likewise.
14020 * conform/data/wordexp.h-data: Likewise.
14022 * include/stropts.h: New file.
14023 * include/uchar.h: New file.
14024 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14025 * include/assert.h: Likewise.
14026 * include/ctype.h: Likewise.
14027 * include/dirent.h: Likewise.
14028 * include/dlfcn.h: Likewise.
14029 * include/fcntl.h: Likewise.
14030 * include/fnmatch.h: Likewise.
14031 * include/glob.h: Likewise.
14032 * include/grp.h: Likewise.
14033 * include/libio.h: Likewise.
14034 * include/locale.h: Likewise.
14035 * include/math.h: Likewise.
14036 * include/net/if.h: Likewise.
14037 * include/netdb.h: Likewise.
14038 * include/netinet/in.h: Likewise.
14039 * include/pthread.h: Likewise.
14040 * include/pwd.h: Likewise.
14041 * include/regex.h: Likewise.
14042 * include/sched.h: Likewise.
14043 * include/search.h: Likewise.
14044 * include/setjmp.h: Likewise.
14045 * include/signal.h: Likewise.
14046 * include/stdio.h: Likewise.
14047 * include/stdlib.h: Likewise.
14048 * include/string.h: Likewise.
14049 * include/sys/cdefs.h: Likewise.
14050 * include/sys/mman.h: Likewise.
14051 * include/sys/msg.h: Likewise.
14052 * include/sys/resource.h: Likewise.
14053 * include/sys/select.h: Likewise.
14054 * include/sys/socket.h: Likewise.
14055 * include/sys/stat.h: Likewise.
14056 * include/sys/statvfs.h: Likewise.
14057 * include/sys/time.h: Likewise.
14058 * include/sys/times.h: Likewise.
14059 * include/sys/uio.h: Likewise.
14060 * include/sys/utsname.h: Likewise.
14061 * include/sys/wait.h: Likewise.
14062 * include/termios.h: Likewise.
14063 * include/time.h: Likewise.
14064 * include/ulimit.h: Likewise.
14065 * include/unistd.h: Likewise.
14066 * include/utime.h: Likewise.
14067 * include/wchar.h: Likewise.
14068 * include/wctype.h: Likewise.
14069 * include/wordexp.h: Likewise.
14071 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14073 * time/time.h: TIME_UTC must be a macro.
14074 Make timespec_get available for ISO C11 only as well.
14076 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14078 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14079 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14081 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14083 * configure.in: Use -o not -a in test for unsupported multi-arch.
14085 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14087 * manual/texinfo.tex: Update to version 2012-01-19.16.
14089 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14091 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14093 2012-02-24 Roland McGrath <roland@hack.frob.com>
14096 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14097 * manual/fdl-1.3.texi: New file.
14098 * manual/fdl-1.1.texi: File removed.
14101 * manual/libc.texinfo (FDL_VERSION): New @set.
14102 Use it for mention of FDL in cover text.
14103 (Documentation License): Use it in @include file name.
14105 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14106 Roland McGrath <roland@hack.frob.com>
14109 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14110 not LONG_LONG_MAX and LONG_LONG_MIN.
14111 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14112 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14114 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14116 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14120 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14121 manipulate bits before adding and subtracting TWO23[sx].
14122 * math/libm-test.inc (nearbyint_test): Add more tests.
14124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14127 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14128 bits before adding and subtracting TWO23[sx].
14129 * math/libm-test.inc (rint_test): Add more tests.
14130 (rint_test_tonearest): Likewise.
14131 (rint_test_towardzero): Likewise.
14132 (rint_test_downward): Likewise.
14133 (rint_test_upward: Likewise.
14135 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14138 * include/stdc-predef.h: New file. Extracted from features.h.
14139 * include/features.h: Include stdc-predef.h.
14140 * Makefile (headers): Add stdc-predef.h.
14141 * CONFORMANCE (Compiler limitations): Update.
14143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14145 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14147 2012-02-21 David S. Miller <davem@davemloft.net>
14149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14150 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14152 2012-02-20 David S. Miller <davem@davemloft.net>
14154 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14155 using a normal save/restore sequence, rather than allocating a
14156 dummy stack frame just to store a frame pointer and restore.
14157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14159 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14161 * manual/install.texi: Fix stray word in line-wrapped comment.
14163 2012-02-20 David S. Miller <davem@davemloft.net>
14165 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14166 both binutils and gcc support GOTDATA.
14168 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14169 "rd %pc" in the PIC register setup sequences.
14171 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14172 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14173 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14174 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14175 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14177 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14180 (SYSCALL_ERROR_HANDLER): Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14184 (SYSCALL_ERROR_HANDLER): Likewise.
14186 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14187 (HAVE_GCC_GOTDATA): New.
14188 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14189 relocation support in both binutils and gcc.
14190 * sysdeps/sparc/elf/configure: Regenerate.
14192 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14193 * sysdeps/sparc/sparc32/elf/configure: Delete.
14194 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14195 * sysdeps/sparc/sparc64/elf/configure: Delete.
14196 * sysdeps/sparc/elf/configure.in: New file.
14197 * sysdeps/sparc/elf/configure: Generate.
14199 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14200 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14201 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14202 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14203 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14205 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14207 * manual/install.texi: Do not mention specific glibc version
14209 * manual/libc.texinfo (VERSION, UPDATED): Update.
14210 (@copying): Use @copyright{} and range of years.
14212 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14215 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14216 [crti.S not in sysdirs] (generated): Do not append.
14217 [crti.S not in sysdirs] (omit-deps): Likewise.
14218 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14219 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14220 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14221 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14222 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14224 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14225 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14226 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14227 * csu/defs.awk: Remove file.
14228 * sysdeps/generic/initfini.c: Likewise.
14229 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14231 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14234 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14236 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14237 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14241 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14243 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14244 (__EPOLL_PACKED): Define to empty if not defined by
14246 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14252 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14253 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14254 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14255 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14257 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14261 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14263 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14265 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14266 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14267 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14273 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14275 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14277 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14278 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14280 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14282 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14285 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14287 * math/w_acos.c: Use non-signaling floating-point comparisons.
14288 * math/w_acosf.c: Likewise.
14289 * math/w_acosh.c: Likewise.
14290 * math/w_acoshf.c: Likewise.
14291 * math/w_acoshl.c: Likewise.
14292 * math/w_acosl.c: Likewise.
14293 * math/w_asin.c: Likewise.
14294 * math/w_asinf.c: Likewise.
14295 * math/w_asinl.c: Likewise.
14296 * math/w_atanh.c: Likewise.
14297 * math/w_atanhf.c: Likewise.
14298 * math/w_atanhl.c: Likewise.
14299 * math/w_exp2.c: Likewise.
14300 * math/w_exp2f.c: Likewise.
14301 * math/w_exp2l.c: Likewise.
14302 * math/w_j0.c: Likewise.
14303 * math/w_j0f.c: Likewise.
14304 * math/w_j0l.c: Likewise.
14305 * math/w_j1.c: Likewise.
14306 * math/w_j1f.c: Likewise.
14307 * math/w_j1l.c: Likewise.
14308 * math/w_jn.c: Likewise.
14309 * math/w_jnf.c: Likewise.
14310 * math/w_log.c: Likewise.
14311 * math/w_log10.c: Likewise.
14312 * math/w_log10f.c: Likewise.
14313 * math/w_log10l.c: Likewise.
14314 * math/w_log2.c: Likewise.
14315 * math/w_log2f.c: Likewise.
14316 * math/w_log2l.c: Likewise.
14317 * math/w_logf.c: Likewise.
14318 * math/w_logl.c: Likewise.
14319 * math/w_sqrt.c: Likewise.
14320 * math/w_sqrtf.c: Likewise.
14321 * math/w_sqrtl.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14325 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14328 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14331 * manual/string.texi (strnlen): Use correct parameter name in
14332 equivalent expression.
14334 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14337 * manual/users.texi (seteuid): Consistently use neweuid for
14340 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14343 * manual/nss.texi (Services in the NSS configuration): Correct
14344 list of services in example configuration file.
14346 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14349 * manual/arith.texi: Remove statements about negative zero
14350 behaving identically to zero.
14352 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14355 * manual/install.texi: Do not document upgrading from libc5.
14357 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14360 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14362 2012-02-18 David S. Miller <davem@davemloft.net>
14364 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14365 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14366 %o7 across the call.
14367 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14370 SETUP_PIC_REG_LEAF.
14371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14372 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14373 * sysdeps/sparc/crtn.S: Likewise.
14375 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14377 * aout/Makefile: Remove.
14379 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14382 * manual/examples/argp-ex1.c (main): Format definition in GNU
14384 * manual/examples/argp-ex2.c (main): Likewise.
14385 * manual/examples/argp-ex3.c (main): Likewise.
14386 * manual/examples/argp-ex4.c (main): Likewise.
14387 * manual/examples/longopt.c (main): Use new-style prototype
14389 * manual/examples/strncat.c (main): Specify return type and use
14390 (void) for arguments.
14391 * manual/examples/subopt.c (main): Use char **argv argument.
14393 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14396 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14399 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14402 * manual/string.texi (strchr): Change when strchrnul is
14405 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14408 * manual/locale.texi (setlocale): Document LOCPATH.
14410 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14413 * manual/process.texi (execle): Move @dots{} before last argument.
14415 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14418 * manual/charset.texi (Generic Charset Conversion): Fix typo
14419 (LC_TYPE -> LC_CTYPE).
14421 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14424 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14425 (scalbnf): Likewise.
14426 (scalbnl): Likewise.
14427 (scalbln): Likewise.
14428 (scalblnf): Likewise.
14429 (scalblnl): Likewise.
14430 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14431 (vwarnx): Likewise.
14434 * manual/filesys.texi (telldir): Use braces around return type.
14435 * manual/llio.texi (mmap): Add space after comma.
14436 (mmap64): Likewise.
14437 * manual/math.texi (jn): Use @var{} on parameter names.
14443 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14445 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14447 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14448 (sched_get_priority_max): Likewise.
14449 * manual/signal.texi (sigvec): Add space after comma.
14450 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14452 (if_indextoname): Likewise.
14453 (if_freenameindex): Likewise.
14454 (sendto): Use ',' instead of '.' in prototype.
14455 * manual/startup.texi (syscall): Use @dots{} instead of literal
14457 * manual/stdio.texi (__fpending): Separate initial words of
14458 paragraph from @deftypefun line.
14459 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14461 (vsyslog): Use @var{} on parameter names.
14462 * manual/terminal.texi (stty): Use @var{} on parameter names.
14463 * manual/users.texi (getutmp): Use @var{} on parameter names.
14464 (getutmpx): Likewise.
14466 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14469 * manual/stdio.texi (fopen): Fix typos in description of
14472 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14475 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14476 get clock_id definition.
14478 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14481 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14482 (madvise): Cast every argument to void on its own.
14484 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14487 * manual/startup.texi (Exit Status): Fix typo.
14489 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14492 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14493 * manual/examples/argp-ex2.c: Likewise.
14494 * manual/examples/argp-ex3.c: Likewise.
14496 2012-02-16 Richard Henderson <rth@redhat.com>
14498 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14499 * sysdeps/s390/s390-32/initfini.c: Remove.
14500 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14501 * sysdeps/s390/s390-64/initfini.c: Remove.
14503 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14505 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14506 compiler output for sysdeps/generic/initfini.c.
14507 * sysdeps/sh/elf/initfini.c: Remove file.
14509 2012-02-16 David S. Miller <davem@davemloft.net>
14512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14514 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14515 * sysdeps/sparc/crti.S: New file.
14516 * sysdeps/sparc/crtn.S: New file.
14517 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14518 * sysdeps/sparc/sparc64/Makefile: Likewise.
14520 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14523 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14525 2012-02-15 Roland McGrath <roland@hack.frob.com>
14528 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14530 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14531 (write, read, close): Likewise.
14532 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14534 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14536 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14537 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14538 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14539 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14541 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14545 2012-02-14 Marek Polacek <polacek@redhat.com>
14547 * sysdeps/x86_64/crti.S: New file.
14548 * sysdeps/x86_64/crtn.S: New file.
14549 * sysdeps/x86_64/elf/initfini.c: Remove file.
14551 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14554 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14556 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14558 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14562 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14564 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14565 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14566 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14567 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14569 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14573 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14575 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14576 __feraiseexcept instead of feraiseexcept.
14578 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14579 nanosleep invocations.
14580 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14581 strings, and add error checking for a nanosleep invocations.
14583 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14585 Replace FSF snail mail address with URLs, as per GNU coding standards.
14586 Most of the snail mail addresses were wrong anyway, and omitting
14587 them makes the source code easier to maintain. Almost all of the
14588 changes are to license notices and to locale LC_IDENTIFICATION
14589 addresses, except for this one:
14590 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14591 not its snail mail address.
14593 2012-02-09 Richard Henderson <rth@twiddle.net>
14595 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14596 of kernel-features.h.
14598 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14600 2012-02-08 Marek Polacek <polacek@redhat.com>
14602 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14603 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14604 * sysdeps/gnu/_G_config.h: Likewise.
14605 * sysdeps/generic/_G_config.h: Likewise.
14607 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14609 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14613 * sysdeps/powerpc/powerpc32/crti.S: New file.
14614 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14615 * sysdeps/powerpc/powerpc64/crti.S: New file.
14616 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14618 * Makeconfig (have-initfini): Don't set.
14619 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14620 * configure.in (nopic_initfini): Don't substitute.
14621 * config.h.in (HAVE_INITFINI): Don't #undef.
14622 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14623 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14625 2012-02-08 Joseph Myers <joseph@codesourcery.com>
14627 Support crti.S and crtn.S provided directly by architectures.
14628 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14629 [crti.S in sysdirs] (omit-deps): Likewise.
14630 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14631 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14632 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14633 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14634 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14635 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14636 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14637 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14638 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14639 compiler output for sysdeps/generic/initfini.c.
14640 * sysdeps/i386/elf/Makefile: Remove file.
14641 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14643 2012-02-07 Marek Polacek <polacek@redhat.com>
14645 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14646 * sysdeps/gnu/_G_config.h: Likewise.
14647 * sysdeps/mach/hurd/_G_config.h: Likewise.
14649 2012-02-07 Marek Polacek <polacek@redhat.com>
14651 * math/Makefile (tests): Add tst-CMPLX2.
14652 * math/tst-CMPLX2.c: New file.
14654 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14658 * math/libm-test.inc (jn_test): Add missing L suffix.
14660 2012-02-06 Marek Polacek <polacek@redhat.com>
14662 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14663 * sysdeps/i386/fpu/e_powf.S: Likewise.
14664 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14665 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14666 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14667 * sysdeps/i386/fpu/e_pow.S: Likewise.
14668 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14669 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14670 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14671 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14672 * sysdeps/i386/fpu/e_log2.S: Likewise.
14673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14674 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14675 * sysdeps/i386/fpu/e_powl.S: Likewise.
14676 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14678 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14679 * sysdeps/i386/fpu/e_logl.S: Likewise.
14680 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14681 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14682 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14683 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14684 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14685 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14686 * sysdeps/i386/fpu/e_log.S: Likewise.
14687 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14689 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14690 * sysdeps/i386/fpu/e_logf.S: Likewise.
14691 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14692 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14693 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14694 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14695 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14696 * sysdeps/i386/fpu/e_log10.S: Likewise.
14697 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14699 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14700 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14701 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14702 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14703 * sysdeps/i386/asm-syntax.h: Likewise.
14704 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14707 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14708 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14709 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14710 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14711 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14713 * sysdeps/powerpc/sysdep.h: Likewise.
14714 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14715 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14717 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14720 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14722 2012-02-06 Joseph Myers <joseph@codesourcery.com>
14724 * sysdeps/i386/sysdep.h: Include <features.h>.
14725 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14728 2012-02-05 Joseph Myers <joseph@codesourcery.com>
14730 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14732 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14735 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14737 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14738 (SETUP_PIC_REG): Use GET_PC_THUNK.
14739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14744 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14745 for non-PIC compilation.
14746 (SETUP_PIC_REG): Add .p2align directive.
14747 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14748 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14749 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14750 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14751 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14752 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14753 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14754 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14755 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14756 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14757 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14758 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14759 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14760 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14761 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14762 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14763 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14764 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14765 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14766 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14767 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14768 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14769 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14770 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14771 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14773 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14775 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14776 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14777 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14779 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14780 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14781 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14782 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14783 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14784 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14785 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14786 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14787 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14789 2012-02-03 Joseph Myers <joseph@codesourcery.com>
14791 * math/tst-CMPLX.c: Include <stdio.h>.
14793 2012-01-31 Joseph Myers <joseph@codesourcery.com>
14795 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14797 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14798 * sysdeps/sparc/bits/mathdef.h: Likewise.
14800 2012-01-31 Marek Polacek <polacek@redhat.com>
14802 * libio/libio.h: Don't define _PARAMS.
14803 * locale/programs/config.h: Don't define PARAMS.
14804 * stdlib/strtol_l.c: Likewise.
14805 (__strtol_l): Remove PARAMS from the prototype.
14807 2012-01-31 Ulrich Drepper <drepper@gmail.com>
14809 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14810 names. Just use the correct names. Remove unnecessary wrapper
14812 * malloc/arena.c: Likewise.
14813 * malloc/hooks.c: Likewise.
14815 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14816 ARENA_TEST says not to. Simplify test for creation of a new arena.
14817 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14819 2012-01-30 Ulrich Drepper <drepper@gmail.com>
14821 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14823 (update_get_addr): New function.
14824 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14825 GET_ADDR_MODULE parameter.
14827 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14829 * crypt/cert.c: Remove __STDC__ conditionals.
14830 * crypt/crypt-entry.c: Likewise.
14831 * crypt/crypt_util.c: Likewise.
14832 * libio/filedoalloc.c: Likewise.
14833 * libio/fileops.c: Likewise.
14834 * libio/genops.c: Likewise.
14835 * libio/iofclose.c: Likewise.
14836 * libio/iofdopen.c: Likewise.
14837 * libio/iofopen.c: Likewise.
14838 * libio/iofopen64.c: Likewise.
14839 * libio/iogetdelim.c: Likewise.
14840 * libio/iopopen.c: Likewise.
14841 * libio/obprintf.c: Likewise.
14842 * libio/oldfileops.c: Likewise.
14843 * libio/oldiofclose.c: Likewise.
14844 * libio/oldiofdopen.c: Likewise.
14845 * libio/oldiofopen.c: Likewise.
14846 * libio/oldiopopen.c: Likewise.
14847 * libio/wfiledoalloc.c: Likewise.
14848 * libio/wgenops.c: Likewise.
14849 * locale/programs/xmalloc.c: Likewise.
14850 * misc/syslog.c: Likewise.
14851 * stdio-common/xbug.c: Likewise.
14852 * string/memchr.c: Likewise.
14853 * string/memcmp.c: Likewise.
14854 * string/memrchr.c: Likewise.
14855 * string/rawmemchr.c: Likewise.
14856 * sysdeps/posix/getcwd.c: Likewise.
14857 * time/strftime_l.c: Likewise.
14859 2012-01-30 Joseph Myers <joseph@codesourcery.com>
14861 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14862 * config.make.in (config-cflags-sse2avx): Define.
14863 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14866 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14868 * scripts/config.guess: Update from upstream config git repository.
14869 * scripts/config.sub: Likewise.
14871 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14873 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14875 (R_TILEPRO_*, R_TILEGX_*): New macros.
14877 * scripts/firstversions.awk: Fix bug in version range handling.
14879 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14881 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14883 * include/sys/epoll.h: New file.
14884 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14887 2012-01-28 Ulrich Drepper <drepper@gmail.com>
14889 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14890 Avoid unnecessary __WORDSIZE == 64 test.
14891 (fmaxf): Use VEX format if possible.
14896 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14897 * math/math_private.h: Remove libc_fegetround* and
14899 * sysdeps/i386/configure.in: Check for -msse2avx.
14900 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14901 also if SSE2AVX is defined.
14902 Remove libc_fegetround* and libc_fesetround*.
14903 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14904 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14908 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14910 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14913 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14915 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14917 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14921 2012-01-27 Ulrich Drepper <drepper@gmail.com>
14924 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14926 * Makeconfig (libm): Define.
14927 * elf/Makefile: Add rules to build and run tst-relsort1.
14928 * elf/tst-relsort1.c: New file.
14929 * elf/tst-relsort1mod1.c: New file.
14930 * elf/tst-relsort1mod2.c: New file.
14932 2012-01-27 Joseph Myers <joseph@codesourcery.com>
14934 * math/s_ldexp.c: Remove __STDC__ conditionals.
14935 * math/s_ldexpf.c: Likewise.
14936 * math/s_ldexpl.c: Likewise.
14937 * math/s_nextafter.c: Likewise.
14938 * math/s_nexttowardf.c: Likewise.
14939 * math/s_significand.c: Likewise.
14940 * math/s_significandf.c: Likewise.
14941 * math/s_significandl.c: Likewise.
14942 * math/w_jnl.c: Likewise.
14943 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14944 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14945 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14946 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14947 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14950 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14957 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14958 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14959 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14960 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14965 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14966 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14967 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14971 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14972 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14973 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14974 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14975 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14976 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14977 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14978 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14979 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14980 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14981 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14982 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14983 * sysdeps/ieee754/k_standard.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15045 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15050 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15059 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15063 * sysdeps/ieee754/s_matherr.c: Likewise.
15064 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15065 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15069 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15071 * crypt/md5.h: Remove __STDC__ conditionals.
15072 * libio/libioP.h: Likewise.
15073 * locale/programs/config.h: Likewise.
15074 * sysdeps/generic/sysdep.h: Likewise.
15075 * sysdeps/i386/asm-syntax.h: Likewise.
15076 * sysdeps/s390/asm-syntax.h: Likewise.
15077 * sysdeps/unix/sysdep.h: Likewise.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15081 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15083 * libio/libio.h: Remove __STDC__ conditionals.
15084 * malloc/obstack.h: Likewise.
15085 * math/complex.h: Likewise.
15086 * math/math.h: Likewise.
15087 * sysdeps/generic/_G_config.h: Likewise.
15088 * sysdeps/gnu/_G_config.h: Likewise.
15089 * sysdeps/mach/hurd/_G_config.h: Likewise.
15090 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15091 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15092 * sysdeps/sparc/bits/mathdef.h: Likewise.
15094 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15097 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15098 Clean up HAS_* macros.
15099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15100 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15110 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15112 * elf/tst-unique3.cc (gets): Remove declaration.
15113 * elf/tst-unique3lib.cc (gets): Likewise.
15114 * elf/tst-unique3lib2.cc (gets): Likewise.
15115 * elf/tst-unique4.cc (gets): Likewise.
15117 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15119 * include/stdio.h: Add C++ protection. Add gets declarations and
15121 * debug/tst-chk1.c: Don't declare gets here.
15122 * stdio-common/tst-gets.c: Likewise.
15124 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15126 * posix/glob: Remove directory.
15128 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15130 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15132 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15134 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15135 of the non-standard EPFNOSUPPORT.
15137 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15139 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15140 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15141 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15143 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15145 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15147 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15149 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15151 * nscd/grpcache.c (cache_addgr): Likewise.
15152 * nscd/hstcache.c (cache_addhst): Likewise.
15153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15154 * nscd/pwdcache.c (cache_addpw): Likewise.
15155 * nscd/servicescache.c (cache_addserv): Likewise.
15157 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15159 * malloc/malloc.c: Various cleanups.
15160 * malloc/hooks.c: Likewise.
15162 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15163 * stdlib/bug-fmtmsg1.c: New file.
15165 * stdlib/fmtmsg.c (init): Add missing unlock.
15166 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15168 2012-01-12 Marek Polacek <polacek@redhat.com>
15170 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15173 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15175 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15176 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15177 macro to ensure uniqueness of label name.
15178 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15179 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15181 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15186 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15190 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15192 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15194 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15195 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15196 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15198 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15200 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15201 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15202 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15205 * math/bits/math-finite.h: Add ldexp support.
15207 2012-01-10 Marek Polacek <polacek@redhat.com>
15209 * locale/programs/localedef.h (show_archive_content): Add noreturn
15212 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15214 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15216 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15218 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15220 * io/Makefile (headers): Add bits/poll2.h.
15222 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15225 typo #include statement.
15227 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15229 * include/sys/cdefs.h: Define __attribute_alloc_size.
15230 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15231 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15232 * elf/pldd.c: Likewise.
15233 * iconv/iconv_charmap.c: Likewise.
15234 * iconv/iconvconfig.c: Likewise.
15235 * iconv/strtab.c: Likewise.
15236 * locale/programs/locale.c: Likewise.
15237 * locale/programs/localedef.h: Likewise.
15238 * locale/programs/simple-hash.c: Likewise.
15239 * nscd/nscd.h: Likewise.
15240 * nss/makedb.c: Likewise.
15241 * sysdeps/generic/ldconfig.h: Likewise.
15242 * locale/programs/localedef.c: Remove xmalloc prototype.
15243 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15245 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15247 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15250 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15252 * math/Makefile (tests): Add tst-CMPLX.
15253 * math/tst-CMPLX.c: New file.
15255 * math/complex.h (CMPLXL): Fix typo.
15257 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15258 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15260 * debug/tst-chk1.c: Add poll and ppoll tests.
15261 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15262 * include/sys/poll.h: Add hidden proto for ppoll.
15263 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15264 * sysdeps/mach/hurd/ppoll.c: Likewise.
15265 * io/ppoll.c: Likewise.
15266 * debug/poll_chk.c: New file.
15267 * debug/ppoll_chk.c: New file.
15268 * include/bits/poll2.h: New file.
15269 * io/bits/poll2.h: New file.
15272 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15274 * configure.in: static is always set to yes. Remove.
15275 * config.make.in: Don't set build-static.
15276 * Makeconfig: Remove use of build-static.
15277 * dlfcn/Makefile: Likewise.
15278 * elf/Makefile: Likewise.
15279 * math/Makefile: Likewise.
15280 * misc/Makefile: Likewise.
15281 * nptl/Makefile: Likewise.
15282 * sysdeps/mach/hurd/Makefile: Likewise.
15284 * configure.in: PWD_P is not used anymore.
15285 * config.make.in: Remove PWD_P entry.
15287 * configure.in: Remove last remnants of RANLIB.
15288 No need to check for signed size_t anymore.
15289 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15291 Remove __builtin_expect test because we require at least gcc 3.4.
15292 * aclocal.m4: Likewise.
15294 * wcsmbs/mbrtoc16.c: Implement using towc function.
15295 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15296 * wcsmbs/wcsmbsload.c: Likewise.
15297 * iconv/gconv_simple.c: Likewise.
15298 * iconv/gconv_int.h: Likewise.
15299 * iconv/gconv_builtin.h: Likewise.
15300 * iconv/iconv_prog.c: Remove CHAR16 handling.
15302 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15304 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15306 * configure.in: Remove --with-elf and --enable-bounded options.
15307 Dont set base_machine for ia64. More non-ELF conditions removed.
15308 Remove testing and setting of leading underscore information.
15309 * config.make.in (build-bounded): Set to no.
15310 * config.h.in: Remove NO_UNDERSCORES entry.
15311 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15313 * csu/start.c: Remove !NO_UNDERSCORE code.
15314 * locale/localeinfo.h: Likewise.
15315 * sysdeps/generic/machine-gmon.h: Likewise.
15316 * sysdeps/generic/sysdep.h: Likewise.
15317 * sysdeps/i386/sysdep.h: Likewise.
15318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15319 * sysdeps/mach/sysdep.h: Likewise.
15320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15322 * sysdeps/sh/sysdep.h: Likewise.
15323 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15324 * sysdeps/unix/i386/sysdep.S: Likewise.
15325 * sysdeps/unix/sparc/start.c: Likewise.
15326 * sysdeps/unix/sparc/sysdep.S: Likewise.
15327 * sysdeps/unix/sparc/sysdep.h: Likewise.
15328 * sysdeps/unix/start.c: Likewise.
15329 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15330 * sysdeps/x86_64/sysdep.h: Likewise.
15332 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15335 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15337 * argp/argp-fmtstream.h: Use const instead __const.
15338 * argp/argp.h: Likewise.
15339 * assert/assert.h: Likewise.
15340 * bits/fenv.h: Likewise.
15341 * bits/sched.h: Likewise.
15342 * bits/sigset.h: Likewise.
15343 * bits/sigthread.h: Likewise.
15344 * catgets/nl_types.h: Likewise.
15345 * conform/data/pthread.h-data: Likewise.
15346 * crypt/crypt-private.h: Likewise.
15347 * crypt/crypt.h: Likewise.
15348 * crypt/crypt_util.c: Likewise.
15349 * ctype/ctype.h: Likewise.
15350 * debug/execinfo.h: Likewise.
15351 * debug/mbsnrtowcs_chk.c: Likewise.
15352 * debug/mbsrtowcs_chk.c: Likewise.
15353 * debug/wcsnrtombs_chk.c: Likewise.
15354 * debug/wcsrtombs_chk.c: Likewise.
15355 * debug/wcstombs_chk.c: Likewise.
15356 * dirent/dirent.h: Likewise.
15357 * dlfcn/dlfcn.h: Likewise.
15358 * elf/neededtest4.c: Likewise.
15359 * grp/grp.h: Likewise.
15360 * gshadow/gshadow.h: Likewise.
15361 * iconv/gconv.h: Likewise.
15362 * iconv/gconv_int.h: Likewise.
15363 * iconv/gconv_simple.c: Likewise.
15364 * iconv/iconv.h: Likewise.
15365 * iconv/loop.c: Likewise.
15366 * iconv/skeleton.c: Likewise.
15367 * include/aio.h: Likewise.
15368 * include/aliases.h: Likewise.
15369 * include/argz.h: Likewise.
15370 * include/arpa/inet.h: Likewise.
15371 * include/assert.h: Likewise.
15372 * include/dirent.h: Likewise.
15373 * include/dlfcn.h: Likewise.
15374 * include/execinfo.h: Likewise.
15375 * include/fcntl.h: Likewise.
15376 * include/fenv.h: Likewise.
15377 * include/glob.h: Likewise.
15378 * include/grp.h: Likewise.
15379 * include/libintl.h: Likewise.
15380 * include/mntent.h: Likewise.
15381 * include/netdb.h: Likewise.
15382 * include/pwd.h: Likewise.
15383 * include/rpc/netdb.h: Likewise.
15384 * include/sched.h: Likewise.
15385 * include/search.h: Likewise.
15386 * include/shadow.h: Likewise.
15387 * include/signal.h: Likewise.
15388 * include/stdio.h: Likewise.
15389 * include/stdlib.h: Likewise.
15390 * include/string.h: Likewise.
15391 * include/sys/socket.h: Likewise.
15392 * include/sys/stat.h: Likewise.
15393 * include/sys/statfs.h: Likewise.
15394 * include/sys/statvfs.h: Likewise.
15395 * include/sys/syslog.h: Likewise.
15396 * include/sys/time.h: Likewise.
15397 * include/sys/uio.h: Likewise.
15398 * include/time.h: Likewise.
15399 * include/unistd.h: Likewise.
15400 * include/utmp.h: Likewise.
15401 * include/wchar.h: Likewise.
15402 * include/wctype.h: Likewise.
15403 * inet/aliases.h: Likewise.
15404 * inet/arpa/inet.h: Likewise.
15405 * inet/netinet/ether.h: Likewise.
15406 * inet/netinet/in.h: Likewise.
15407 * intl/libintl.h: Likewise.
15408 * io/bits/fcntl2.h: Likewise.
15409 * io/fcntl.h: Likewise.
15410 * io/ftw.h: Likewise.
15411 * io/sys/poll.h: Likewise.
15412 * io/sys/stat.h: Likewise.
15413 * io/sys/statfs.h: Likewise.
15414 * io/sys/statvfs.h: Likewise.
15415 * io/utime.h: Likewise.
15416 * libio/bits/stdio.h: Likewise.
15417 * libio/bits/stdio2.h: Likewise.
15418 * libio/libio.h: Likewise.
15419 * libio/libioP.h: Likewise.
15420 * libio/stdio.h: Likewise.
15421 * locale/lc-ctype.c: Likewise.
15422 * locale/locale.h: Likewise.
15423 * login/utmp.h: Likewise.
15424 * malloc/arena.c: Likewise.
15425 * malloc/malloc.c: Likewise.
15426 * malloc/malloc.h: Likewise.
15427 * malloc/mcheck.c: Likewise.
15428 * malloc/mtrace.c: Likewise.
15429 * math/bits/mathcalls.h: Likewise.
15430 * math/fenv.h: Likewise.
15431 * math/math_private.h: Likewise.
15432 * misc/bits/error.h: Likewise.
15433 * misc/bits/syslog.h: Likewise.
15434 * misc/err.h: Likewise.
15435 * misc/error.h: Likewise.
15436 * misc/fstab.h: Likewise.
15437 * misc/mntent.h: Likewise.
15438 * misc/regexp.h: Likewise.
15439 * misc/search.h: Likewise.
15440 * misc/sgtty.h: Likewise.
15441 * misc/sys/mman.h: Likewise.
15442 * misc/sys/syslog.h: Likewise.
15443 * misc/sys/uio.h: Likewise.
15444 * misc/sys/xattr.h: Likewise.
15445 * misc/ttyent.h: Likewise.
15446 * nis/rpcsvc/ypclnt.h: Likewise.
15447 * nss/nss.h: Likewise.
15448 * posix/bits/unistd.h: Likewise.
15449 * posix/fnmatch.h: Likewise.
15450 * posix/glob.h: Likewise.
15451 * posix/sched.h: Likewise.
15452 * posix/spawn.h: Likewise.
15453 * posix/sys/wait.h: Likewise.
15454 * posix/unistd.h: Likewise.
15455 * posix/wordexp.h: Likewise.
15456 * pwd/pwd.h: Likewise.
15457 * resolv/netdb.h: Likewise.
15458 * resource/sys/resource.h: Likewise.
15459 * rt/aio.h: Likewise.
15460 * rt/bits/mqueue2.h: Likewise.
15461 * rt/mqueue.h: Likewise.
15462 * shadow/shadow.h: Likewise.
15463 * signal/signal.h: Likewise.
15464 * socket/send.c: Likewise.
15465 * socket/sendto.c: Likewise.
15466 * socket/sys/socket.h: Likewise.
15467 * stdio-common/printf.h: Likewise.
15468 * stdlib/bits/stdlib.h: Likewise.
15469 * stdlib/fmtmsg.h: Likewise.
15470 * stdlib/monetary.h: Likewise.
15471 * stdlib/stdlib.h: Likewise.
15472 * stdlib/ucontext.h: Likewise.
15473 * streams/stropts.h: Likewise.
15474 * string/argz.h: Likewise.
15475 * string/bits/string2.h: Likewise.
15476 * string/string.h: Likewise.
15477 * string/strings.h: Likewise.
15478 * sunrpc/rpc/auth.h: Likewise.
15479 * sunrpc/rpc/auth_des.h: Likewise.
15480 * sunrpc/rpc/clnt.h: Likewise.
15481 * sunrpc/rpc/netdb.h: Likewise.
15482 * sunrpc/rpc/pmap_clnt.h: Likewise.
15483 * sunrpc/rpc/xdr.h: Likewise.
15484 * sysdeps/generic/inttypes.h: Likewise.
15485 * sysdeps/generic/net/if.h: Likewise.
15486 * sysdeps/generic/sys/swap.h: Likewise.
15487 * sysdeps/gnu/net/if.h: Likewise.
15488 * sysdeps/gnu/utmpx.h: Likewise.
15489 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15490 * sysdeps/i386/i486/bits/string.h: Likewise.
15491 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15492 * sysdeps/s390/bits/string.h: Likewise.
15493 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15494 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15495 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15496 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15497 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15498 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15499 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15500 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15501 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15502 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15503 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15504 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15505 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15506 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15507 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15508 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15509 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15515 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15516 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15517 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15518 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15519 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15521 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15523 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15524 * sysvipc/sys/ipc.h: Likewise.
15525 * sysvipc/sys/msg.h: Likewise.
15526 * sysvipc/sys/sem.h: Likewise.
15527 * sysvipc/sys/shm.h: Likewise.
15528 * termios/termios.h: Likewise.
15529 * time/sys/time.h: Likewise.
15530 * time/time.h: Likewise.
15531 * wcsmbs/bits/wchar2.h: Likewise.
15532 * wcsmbs/uchar.h: Likewise.
15533 * wcsmbs/wchar.h: Likewise.
15534 * wctype/wctype.h: Likewise.
15537 * Makeconfig: Remove all but ELF support including AIX support.
15538 * Makerules: Likewise.
15539 * config.h.in: Likewise.
15540 * config.make.in: Likewise.
15541 * configure: Likewise.
15542 * configure.in: Likewise.
15543 * csu/Makefile: Likewise.
15544 * csu/version.c: Likewise.
15545 * debug/Makefile: Likewise.
15546 * dlfcn/Makefile: Likewise.
15547 * elf/Makefile: Likewise.
15548 * extra-lib.mk: Likewise.
15549 * iconv/Makefile: Likewise.
15550 * include/libc-symbols.h: Likewise.
15551 * include/shlib-compat.h: Likewise.
15552 * resolv/Makefile: Likewise.
15553 * resolv/res_libc.c: Likewise.
15554 * rt/Makefile: Likewise.
15555 * sysdeps/i386/asm-syntax.h: Likewise.
15556 * sysdeps/i386/sysdep.h: Likewise.
15557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15558 * sysdeps/mach/sysdep.h: Likewise.
15559 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15560 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15561 * sysdeps/s390/asm-syntax.h: Likewise.
15562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15564 * sysdeps/sh/sysdep.h: Likewise.
15565 * sysdeps/unix/sparc/sysdep.h: Likewise.
15566 * sysdeps/wordsize-32/divdi3.c: Likewise.
15567 * sysdeps/x86_64/sysdep.h: Likewise.
15569 * argp/Versions: Remove _argp_unlock_xxx.
15572 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15573 * abilist/libBrokenLocale.abilist: Likewise.
15574 * abilist/libanl.abilist: Likewise.
15575 * abilist/libc.abilist: Likewise.
15576 * abilist/libcrypt.abilist: Likewise.
15577 * abilist/libdl.abilist: Likewise.
15578 * abilist/libm.abilist: Likewise.
15579 * abilist/libnsl.abilist: Likewise.
15580 * abilist/libpthread.abilist: Likewise.
15581 * abilist/libresolv.abilist: Likewise.
15582 * abilist/librt.abilist: Likewise.
15583 * abilist/libthread_db.abilist: Likewise.
15584 * abilist/libutil.abilist: Likewise.
15585 * abilist/libnss_db.abilist: New file.
15587 * scripts/abilist.awk: Add support for indirect functions.
15589 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15591 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15593 * shlib-versions: Remove entries for ports architectures.
15595 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15597 * elf/stackguard-macros.h: Remove support for IA-64.
15598 * elf/tst-auditmod1.c: Likewise.
15599 * sysdeps/generic/ldsodefs.h: Likewise.
15601 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15602 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15606 * configure.in: Remove --enable-omitfp support.
15608 * config.make.in: Likewise.
15609 * Makeconfig: Likewise.
15610 * manual/install.texi: Likewise.
15612 In case anyone cares, the IA-64 architecture could move to ports.
15613 * sysdeps/ia64/*: Removed.
15614 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15615 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15618 * configure.in: Remove entries for unsupported architectures.
15621 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15622 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15624 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15625 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15626 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15627 fall back to using wcrtomb.
15628 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15629 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15631 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15632 * wcsmbs/tst-c16c32-1.c: New file.
15634 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15637 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15639 * elf/tst-unique3.cc: Add explicit declaration of gets.
15640 * elf/tst-unique3lib.cc: Likewise.
15641 * elf/tst-unique3lib2.cc: Likewise.
15642 * elf/tst-unique4.cc: Likewise.
15644 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15646 2012-01-06 Joseph Myers <joseph@codesourcery.com>
15649 * assert/assert.h (static_assert): Don't define for C++.
15650 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15651 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15653 2012-01-03 Ulrich Drepper <drepper@gmail.com>
15655 * iconv/loop.c (single loop): Fix assertion in storing of
15658 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15660 2012-01-01 Ulrich Drepper <drepper@gmail.com>
15662 * posix/getconf.c: Update copyright year.
15663 * nss/getent.c: Likewise.
15664 * nss/makedb.c: Likewise.
15665 * iconv/iconvconfig.c: Likewise.
15666 * iconv/iconv_prog.c: Likewise.
15667 * elf/ldconfig.c: Likewise.
15668 * elf/pldd.c: Likewise.
15669 * elf/sotruss.ksh: Likewise.
15670 * catgets/gencat.c: Likewise.
15671 * csu/version.c: Likewise.
15672 * elf/ldd.bash.in: Likewise.
15673 * elf/sprof.c (print_version): Likewise.
15674 * locale/programs/locale.c: Likewise.
15675 * locale/programs/localedef.c: Likewise.
15676 * login/programs/pt_chown.c: Likewise.
15677 * nscd/nscd.c (print_version): Likewise.
15678 * debug/xtrace.sh: Likewise.
15679 * malloc/memusage.sh: Likewise.
15680 * malloc/mtrace.pl: Likewise.
15681 * debug/catchsegv.sh: Likewise.
15683 2011-12-30 Jakub Jelinek <jakub@redhat.com>
15685 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15688 2011-12-24 Ulrich Drepper <drepper@gmail.com>
15691 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15692 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15694 * iconv/gconv_int.h: Likewise.
15695 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15696 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15697 from libc for GLIBC_2.16.
15698 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15699 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15700 * wcsmbs/uchar.h: Really define mbstate_t.
15701 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15702 * wcsmbs/c16rtomb.c: New file.
15703 * wcsmbs/mbrtoc16.c: New file.
15704 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15705 for C/POSIX locale.
15706 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15707 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15709 * wcsmbs/wchar.h: Add missing __restrict.
15711 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15714 * time/Makefile (routines): Add timespec_get.
15715 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15716 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15717 timespec for ISO C11.
15718 * time/timespec_get.c: New file.
15719 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15720 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15723 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15724 * stdlib/stdlib.h: Declare aligned_alloc.
15725 * Versions.def: Add GLIBC_2.16 for libc.
15726 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15729 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15732 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15736 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15739 * assert/assert.h (static_assert): Define.
15741 * version.h: Update for 2.16 development version.
15744 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15747 * version.h (RELEASE): Bump for 2.15 release.
15748 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15750 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15751 Patch by Marek Polacek <mpolacek@redhat.com>.
15753 * bits/byteswap.h: Protect long long constants with __extension__.
15754 * sysdeps/i386/bits/byteswap.h: Likewise.
15755 * sysdeps/ia64/bits/byteswap.h: Likewise.
15756 * sysdeps/s390/bits/byteswap.h: Likewise.
15757 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15759 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15762 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15763 destination buffer.
15764 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15766 2011-12-23 Marek Polacek <polacek@redhat.com>
15768 * elf/dl-addr.c (determine_info): Add inline keyword.
15769 * elf/tst-auditmod4b.c (check_avx): Likewise.
15770 * elf/tst-auditmod6b.c (check_avx): Likewise.
15771 * elf/tst-auditmod6c.c (check_avx): Likewise.
15772 * elf/tst-auditmod7b.c (check_avx): Likewise.
15774 2011-12-23 Ulrich Drepper <drepper@gmail.com>
15776 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15779 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15782 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15783 processing for last bytes.
15785 2011-08-06 Bruno Haible <bruno@clisp.org>
15788 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15789 U+0385, not to U+1FEE.
15792 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15793 entry for U+00A5 U+0301.
15795 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15798 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15799 buffer for the output is too small.
15801 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15805 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15806 SSE flags if possible.
15808 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15811 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15812 processing for last bytes.
15814 2011-12-22 Joseph Myers <joseph@codesourcery.com>
15816 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15817 (syscall-list-default-options, syscall-list-default-condition)
15818 (syscall-list-includes): Define.
15819 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15820 list of ABIs and options and #if conditions for each ABI. Do not
15821 handle common syscalls between ABIs specially.
15822 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15824 (syscall-list-variants, syscall-list-32bit-options)
15825 (syscall-list-32bit-condition, syscall-list-64bit-options)
15826 (syscall-list-64bit-condition): Define.
15827 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15828 (syscall-list-variants, syscall-list-32bit-options)
15829 (syscall-list-32bit-condition, syscall-list-64bit-options)
15830 (syscall-list-64bit-condition): Define.
15831 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15833 (syscall-list-variants, syscall-list-32bit-options)
15834 (syscall-list-32bit-condition, syscall-list-64bit-options)
15835 (syscall-list-64bit-condition): Define.
15836 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15838 (syscall-list-variants, syscall-list-32bit-options)
15839 (syscall-list-32bit-condition, syscall-list-64bit-options)
15840 (syscall-list-64bit-condition): Define.
15842 2011-12-22 Ulrich Drepper <drepper@gmail.com>
15844 * locale/iso-639.def: Add brx entry.
15847 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15848 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15850 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15851 __feraiseexcept_renamed.
15853 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15856 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15857 EPOLLET with unsigned values.
15858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15859 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15861 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15862 to large cancellation.
15863 * math/s_cacoshf.c: Likewise.
15864 * math/s_cacoshl.c: Likewise.
15866 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15870 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15871 * math/s_cacoshf.c: Likewise.
15872 * math/s_cacoshl.c: Likewise.
15874 2011-12-21 Ulrich Drepper <drepper@gmail.com>
15877 * iconv/gconv.h: Define __GCONV_SWAP.
15878 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15879 * iconvdata/utf-16.c: Likewise.
15880 * iconvdata/utf-32.c: Likewise.
15882 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15886 numerator after shifting it by one limb.
15888 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15890 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15891 under [__USE_EXTERN_INLINES].
15893 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15896 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15898 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15900 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15901 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15903 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15904 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15905 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15906 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15907 for strncasecmp/strncasecmp_l compilation.
15908 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15909 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15911 2011-12-08 Marek Polacek <mpolacek@redhat.com>
15914 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15917 2011-12-17 Ulrich Drepper <drepper@gmail.com>
15920 * time/tzfile.c (__tzfile_read): Check values from file header.
15922 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15924 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15925 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15926 * powerpc/powerpc32/dl-start.S: Likewise.
15927 * powerpc/powerpc32/elf/start.S: Likewise.
15928 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15929 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15930 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15931 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15932 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15933 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15934 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15935 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15936 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15937 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15938 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15939 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15940 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15941 * powerpc/powerpc32/memset.S: Likewise.
15942 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15943 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15944 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15945 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15946 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15947 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15948 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15949 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15950 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15951 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15952 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15953 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15954 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15956 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958 * math/libm-test.inc: Added more nearbyint tests.
15959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15960 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15964 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15966 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15969 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15971 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15972 Add wcscpy-ssse3 wcscpy-c.
15973 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15974 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15975 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15976 * sysdeps/x86_64/wcschr.S: New file.
15977 * sysdeps/x86_64/wcsrchr.S: New file.
15978 * string/test-strcmp.c: Remove checking of wcscmp function for
15980 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15981 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15982 wcsrchr-sse2 wcsrchr-c.
15983 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15984 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15985 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15986 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15987 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15988 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15989 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15990 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15991 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15992 * wcsmbc/wcschr.c (WCSCHR): New macro.
15994 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15996 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15997 * wcsmbs/test-wcsrchr.c: New file.
15998 * string/test-strrchr.c: Add wcsrchr support.
16000 * wcsmbs/test-wcscpy.c: New file.
16001 * string/test-strcpy.c: Add wcscpy support.
16004 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16006 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16009 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16012 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16014 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16016 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16017 Minor optimizations.
16019 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16020 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16021 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16023 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16025 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16026 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16027 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16028 for gcc to avoid warnings.
16029 * inet/Makefile (tests): Add tst-checks.
16030 * inet/tst-checks.c: New file.
16032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16035 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16038 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16039 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16041 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16043 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16045 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16048 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16050 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16052 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16053 conditional on GCC version.
16054 (__arch_compare_and_exchange_val_8_acq)
16055 (__arch_compare_and_exchange_val_16_acq)
16056 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16057 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16058 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16060 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16062 * sysdeps/sh/backtrace.c: New file.
16064 2011-12-02 Andreas Schwab <schwab@redhat.com>
16066 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16069 2011-12-01 Andreas Schwab <schwab@redhat.com>
16071 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16072 falling back to utime.
16074 2011-11-30 Andreas Schwab <schwab@redhat.com>
16076 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16077 expectations for float.
16079 2011-11-29 Andreas Schwab <schwab@redhat.com>
16081 * locale/weight.h (findidx): Add parameter len.
16082 * locale/weightwc.h (findidx): Likewise.
16083 * posix/fnmatch_loop.c (FCT): Adjust caller.
16084 * posix/regcomp.c (build_equiv_class): Likewise.
16085 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16086 * posix/regexec.c (check_node_accept_bytes): Likewise.
16087 * string/strcoll_l.c (STRCOLL): Likewise.
16088 * string/strxfrm_l.c (STRXFRM): Likewise.
16090 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16092 * Makefile.in: Remove CVSOPT handling.
16093 * configure.in: Remove use of AC_REVISION.
16094 * iconvdata/Makefile (distribute): No need to filter out CVS.
16095 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16098 2011-11-16 Andreas Schwab <schwab@redhat.com>
16100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16101 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16102 [USE_AS_STRNCASECMP_L]: Likewise.
16103 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16104 NO_TLS_DIRECT_SEG_REFS.
16105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16106 Fix argument offsets for non-PIC.
16107 [USE_AS_STRNCASECMP_L]: Likewise.
16108 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16109 NO_TLS_DIRECT_SEG_REFS.
16111 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16113 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16115 * locale/loadlocale.c (_nl_load_locale): Likewise.
16117 2011-11-15 Andreas Schwab <schwab@redhat.com>
16119 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16120 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16122 (SYSCALL_GETTIME): Set errno on error.
16124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16125 count references to noai6ai_cached.
16127 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16129 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16131 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16132 FD_CLOEXEC for /proc/self/maps.
16134 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16135 FD_CLOEXEC for /proc/meminfo.
16137 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16140 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16141 FD_CLOEXEC for given file.
16143 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16145 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16146 FD_CLOEXEC for /etc/hosts.
16147 (_gethtent): Likewise.
16149 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16151 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16152 cancellation and set FD_CLOEXEC for /etc/netgroup.
16154 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16155 reading /etc/publickey.
16157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16158 allow cancellation when reading /etc/group.
16160 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16162 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16164 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16165 when using data file.
16167 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16169 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16170 (write_nis_obj): Use "c" and "e" in fopen.
16172 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16174 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16176 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16178 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16180 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16183 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16185 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16187 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16189 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16190 file parsing and set FD_CLOEXEC.
16192 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16194 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16196 2011-11-14 Andreas Schwab <schwab@redhat.com>
16198 * malloc/arena.c (arena_get2): Don't call reused_arena when
16199 _int_new_arena failed.
16201 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16203 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16204 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16206 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16207 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16208 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16209 to compile strcasecmp and strncasecmp.
16210 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16211 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16215 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16217 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16218 locale-defines.sym to gen-as-const-headers.
16219 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16220 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16222 to compile strcasecmp and strncasecmp.
16223 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16224 strcasecmp_l and strncasecmp_l.
16225 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16226 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16227 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16229 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16230 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16231 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16232 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16233 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16234 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16235 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16237 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16239 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16240 result of SYSDEP_GETTIME_CPU to retval.
16241 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16242 parameter list to macro. Remove trailing semicolon. Adjust users.
16244 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16247 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16249 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16251 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16252 from unused variable.
16254 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16256 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16259 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16262 * sunrpc/rpc_prot.c (rejected): Fix case value.
16264 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16265 unsigned long long int to avoid warnings in shift.
16267 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16269 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16272 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16273 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16274 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16276 * nis/nis_table.c (nis_list): Use variable of correct type for
16277 result of __follow_path call.
16279 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16282 of math functions ceil, trunc, floor, round, and sqrt, when
16283 avaliable on the platform.
16284 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16287 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16288 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16290 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16292 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16293 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16295 2011-11-11 Roland McGrath <roland@hack.frob.com>
16297 * include/unistd.h: Fix __readlink return type.
16298 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16300 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16302 * stdlib/ucontext.h: Undo last change for makecontext.
16304 2011-11-11 Andreas Schwab <schwab@redhat.com>
16306 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16308 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16309 * setjmp/setjmp.h: Mark functions as non-leaf.
16310 * setjmp/bits/setjmp2.h: Likewise.
16311 * stdlib/ucontext.h: Likewise.
16313 2011-11-10 Andreas Schwab <schwab@redhat.com>
16315 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16316 (reused_arena): Don't check arena limit.
16317 (arena_get2): Atomically check arena limit.
16319 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16321 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16322 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16327 2011-11-07 Andreas Schwab <schwab@redhat.com>
16329 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16330 handler when locking.
16332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16333 Fix size of allocated buffer.
16335 2011-11-04 Andreas Schwab <schwab@redhat.com>
16338 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16339 declarations for long double functions.
16340 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16342 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16344 2011-11-03 Andreas Schwab <schwab@redhat.com>
16346 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16349 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16352 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16354 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16356 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16358 * include/alloca.h (stackinfo_alloca_round): Define.
16359 (extend_alloca): Use it.
16360 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16361 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16364 * scripts/check-local-headers.sh: Ignore libaudit.h.
16366 * nscd/Makefile (extra-objs): Make recursively expanded.
16368 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16370 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16371 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16373 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16374 * posix/tst-rfc3484-2.c: Likewise.
16375 * posix/tst-rfc3484-3.c: Likewise.
16377 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16379 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16381 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16382 process_vm_writev from libc using GLIBC_2.15 version.
16384 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16386 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16388 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16391 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16394 * nss/getent.c (initgroups_keys): Show error message in case no group
16397 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16398 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16399 __bump_nl_timestamp.
16400 * nscd/connections (nscd_init): When host database is served open
16401 netlink socket and request notification about configuration changes.
16402 (main_loop_poll): Track netlink file descriptor and bump timestamp
16403 in case data becomes available.
16404 (main_loop_epoll): Likewise.
16405 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16406 (database_pers_head): Add extra_data fileds.
16407 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16408 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16409 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16412 in6ai data, call __free_in6ai.
16413 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16414 Add -DHAVE_NETLINK.
16415 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16416 interface information. Reuse previous data if netlink timestamp
16418 (__bump_nl_timestamp): New function.
16419 (__free_in6ai): New function.
16421 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16424 close_not_cancel_no_status here.
16425 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16427 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16430 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16433 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16434 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16435 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16437 2011-07-03 Andreas Jaeger <aj@suse.de>
16440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16441 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16442 * math/libm-test.inc (sin_test): Add test case.
16444 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16447 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16448 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16450 * elf/chroot_canon.c (chroot_canon): Cleanups.
16452 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16455 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16456 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16458 * string/test-strchr.c: Make usable for strchrnul testing.
16459 * string/test-strchrnul.c: New file.
16460 * string/Makefile (strop-tests): Add strchrnul.
16462 * po/it.po: Update from translation team.
16463 * po/es.po: Likewise.
16465 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16467 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16468 the three constants needed as parameters. Drop the others.
16469 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16470 __m128i_strloadu_tolower.
16471 Create and initialize variable zero and use it in all the places
16472 where _mm_setzero_si128 was used.
16474 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16475 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16476 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16477 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16480 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16481 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16482 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16483 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16484 __mpranred, __mptan.
16485 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16486 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16487 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16488 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16489 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16490 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16491 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16492 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16493 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16495 2011-10-28 Andreas Schwab <schwab@redhat.com>
16497 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16498 redefine if SHARED.
16499 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16502 wide char related routines to wcsmbs subdir.
16504 2011-10-27 Andreas Schwab <schwab@redhat.com>
16507 * misc/sys/cdefs.h (__THROWNL): Define.
16508 * posix/unistd.h: Use __THREADNL instead of __THREAD
16509 for memory synchronization functions.
16511 2011-10-26 Roland McGrath <roland@hack.frob.com>
16514 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16516 * manual/stdio.texi (Obstack Streams): Node removed.
16518 2011-10-26 Andreas Schwab <schwab@redhat.com>
16520 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16524 * math/math_private.h (math_force_eval): Allow non-addressable
16526 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16528 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16531 file is not needed.
16533 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16534 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16535 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16536 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16537 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16538 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16539 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16540 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16542 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16543 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16544 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16545 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16546 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16547 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16548 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16550 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16551 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16552 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16553 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16554 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16555 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16556 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16557 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16558 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16559 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16560 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16562 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16563 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16565 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16566 place. Use VEX encoding when compiling for AVX.
16568 2011-10-25 Andreas Schwab <schwab@redhat.com>
16570 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16571 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16573 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16575 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16577 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16578 useless if() expression.
16579 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16588 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16591 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16593 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16595 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16596 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16597 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16599 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16601 2011-10-25 Andreas Schwab <schwab@redhat.com>
16603 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16607 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16609 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16610 .text section. Avoid duplicate constants.
16611 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16621 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16623 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16626 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16634 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16635 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16636 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16637 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16638 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16639 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16640 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16641 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16642 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16643 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16644 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16645 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16646 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16647 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16648 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16649 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16650 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16651 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16653 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16654 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16655 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16657 2011-10-24 Ulrich Drepper <drepper@gmail.com>
16659 * sysdeps/x86_64/dla.h: Move to ...
16660 * sysdeps/x86_64/fpu/dla.h: ...here.
16661 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16662 situations. Use __builtin_fma only for gcc 4.6 and up.
16664 * config.make.in: Add have-mfma4 entry.
16665 * configure.in: Substitute libc_cv_cc_fma4.
16666 * math/Makefile (dbl-only-routines): Add sincostab.
16667 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16668 Use __sincostab not sincos.
16669 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16676 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16677 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16678 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16679 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16681 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16682 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16684 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16685 define aliases when function name is a macro.
16686 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16687 sysdeps/ieee754/dbl-64/sincos.tbl.
16688 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16689 fma4-enabled routines.
16690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16691 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16692 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16693 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16694 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16695 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16696 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16697 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16699 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16700 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16701 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16702 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16703 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16705 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16706 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16707 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16708 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16709 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16710 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16711 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16715 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16717 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16718 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16719 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16721 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16732 2011-10-24 Andreas Schwab <schwab@redhat.com>
16734 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16736 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16740 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16744 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16745 Remove unused variable magic_bits.
16746 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16748 * string/strnlen.c: Define and use STRNLEN macro.
16749 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16750 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16752 * wcsmbs/wcslen.c: Define and use WCSLEN.
16753 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16754 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16755 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16756 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16757 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16758 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16761 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16764 strnlen-sse2-no-bsf.
16765 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16766 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16767 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16768 Add strnlen support.
16769 (USE_AS_STRNLEN): New macro.
16770 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16772 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16773 * sysdeps/x86_64/wcslen.S: New file.
16775 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16778 XMM-moves are used for copying on small sizes.
16780 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16782 * wcsmbs/Makefile (strop-tests): Add wcschr.
16783 * wcsmbs/test-wcschr.c: New file.
16784 * string/test-strchr.c: Update.
16785 Add wcschr support.
16788 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16790 * wcsmbs/Makefile (strop-tests): Add wcslen.
16791 * wcsmbs/test-wcslen.c: New file.
16792 * string/test-strlen.c: Update.
16793 Add wcslen support.
16796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16798 * po/it.po: Update from translation team.
16800 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16802 * sysdeps/x86_64/wcscmp.S: Update.
16803 Fix wrong comparison semantics.
16804 wcscmp shall use signed comparison not unsigned.
16805 Don't use substraction to avoid overflow bug.
16806 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16807 * wcsmbc/wcscmp.c: Likewise.
16808 * string/test-strcmp.c: Likewise.
16809 Add new tests to check cases with negative values.
16811 2011-10-23 Ulrich Drepper <drepper@gmail.com>
16813 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16814 * sysdeps/x86_64/dla.h: ...here. New file.
16815 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16825 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16828 __ynl_finite aliases.
16830 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16834 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16836 [DLA_FMA] (EMULV): Use DLA_FMA.
16837 [DLA_FMA] (MUL12): Use EMULV.
16838 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16839 that are not needed.
16840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16848 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16850 * math/s_nan.c: Undef __nan.
16851 * math/s_nanf.c: Undef __nanf.
16852 * math/s_nanl.c: Undef __nanl.
16853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16856 2011-10-22 Ulrich Drepper <drepper@gmail.com>
16858 * math/s_catan.c: Add branch predictions.
16859 * math/s_catanf.c: Likewise.
16860 * math/s_catanh.c: Likewise.
16861 * math/s_catanhf.c: Likewise.
16862 * math/s_catanhl.c: Likewise.
16863 * math/s_catanl.c: Likewise.
16864 * math/s_cexp.c: Likewise.
16865 * math/s_cexpf.c: Likewise.
16866 * math/s_cexpl.c: Likewise.
16867 * math/s_clog.c: Likewise.
16868 * math/s_clog10.c: Likewise.
16869 * math/s_clog10f.c: Likewise.
16870 * math/s_clog10l.c: Likewise.
16871 * math/s_clogf.c: Likewise.
16872 * math/s_clogl.c: Likewise.
16873 * math/s_csqrt.c: Likewise.
16874 * math/s_csqrtf.c: Likewise.
16875 * math/s_csqrtl.c: Likewise.
16876 * math/s_ctanf.c: Likewise.
16877 * math/s_ctanh.c: Likewise.
16878 * math/s_ctanhf.c: Likewise.
16879 * math/s_ctanhl.c: Likewise.
16880 * math/s_ctanl.c: Likewise.
16882 * math/math_private.h: Define __nan, __nanf, __nanl.
16883 * math/s_cacosh.c: Include <math_private.h>.
16884 * math/s_cacoshl.c: Likewise.
16885 * math/s_casinh.c: Likewise.
16886 * math/s_casinhf.c: Likewise.
16887 * math/s_casinhl.c: Likewise.
16888 * math/s_ccos.c: Rely entire on ccosh.
16889 * math/s_ccosf.c: Rely entire on ccoshf.
16890 * math/s_ccosl.c: Rely entirely on ccoshl.
16891 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16892 Remove tests for FE_INVALID.
16893 * math/s_ccoshf.c: Likewise.
16894 * math/s_ccoshl.c: Likewise.
16895 * math/s_csin.c: Likewise.
16896 * math/s_csinf.c: Likewise.
16897 * math/s_csinh.c Likewise.
16898 * math/s_csinhf.c: Likewise.
16899 * math/s_csinhl.c: Likewise.
16900 * math/s_csinl.c: Likewise.
16901 * math/s_ctan.c: Likewise.
16902 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16903 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16904 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16906 2011-10-21 Ulrich Drepper <drepper@gmail.com>
16908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16909 compilation problems.
16911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16914 2011-10-20 Ulrich Drepper <drepper@gmail.com>
16916 * sysdeps/i386/configure.in: Test for -mfma4 option.
16917 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16918 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16919 COMMON_CPUID_INDEX_80000001.
16920 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16921 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16922 use it if FMA3 is not supported.
16923 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16925 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16926 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16928 2011-10-20 Andreas Schwab <schwab@redhat.com>
16931 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16932 it would create a cycle with a link time dependency.
16934 2011-10-19 Ulrich Drepper <drepper@gmail.com>
16936 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16938 * string/Makefile (strop-tests): Add rawmemchr.
16939 * string/test-rawmemchr.c: New file.
16941 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16943 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16944 when compiling str{,n}casecmp and when AVX is available. Hook up
16945 new optimized code in initializers.
16947 2011-10-19 Andreas Schwab <schwab@redhat.com>
16949 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16950 __feraiseexcept instead of feraiseexcept.
16952 2011-10-18 Ulrich Drepper <drepper@gmail.com>
16954 * math/math_private.h: Define defaults for libc_fetestexcept and
16956 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16957 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16958 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16959 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16960 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16961 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16962 libc_fetestexcept and libc_feupdateenv.
16964 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16965 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16966 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16967 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16968 libc_feholdexcept_setround.
16970 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16971 Add s_nearbyint-c and s_nearbyintf-c.
16972 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16973 nearbyintf inlines.
16974 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16975 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16976 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16977 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16979 * math/math_private.h: Define defaults for libc_fegetround,
16980 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16981 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16982 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16984 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16985 standard functions.
16986 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16987 Remove comments and hacks for old compiler versions.
16988 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16989 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16990 libc_feholdexceptl.
16992 2011-10-18 Andreas Schwab <schwab@redhat.com>
16994 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16995 (__feraiseexcept_renamed): Add __NTH.
16996 (feraiseexcept): Add __NTH. Rename local variables to fix
16997 namespace violations.
16999 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17001 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17003 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17005 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17006 recently added interfaces.
17007 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17009 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17010 about macro parameter expansion.
17012 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17013 __NO_MATH_INLINES is defined. Cleanups.
17015 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17016 and __floorf is target has SSE4.1.
17017 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17018 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17022 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17024 (floorf): Likewise.
17026 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17028 2011-10-17 Andreas Schwab <schwab@redhat.com>
17030 * misc/sys/cdefs.h: Fix last change.
17032 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17035 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17037 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17039 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17040 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17045 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17046 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17047 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17048 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17049 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17050 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17051 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17052 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17053 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17054 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17055 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17056 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17058 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17059 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17060 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17062 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17063 ceil, ceilf, floor, floorf.
17065 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17066 Perform IRELATIVE relocations last.
17068 * elf/do-rel.h: Add another parameter nrelative, replacing the
17069 local variable with the same name. Change name of the function
17070 to end in Rel or Rela (uppercase).
17071 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17072 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17073 elf_dynamic_do_##reloc function.
17075 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17077 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17078 is sufficient, at least on modern CPUs.
17080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17082 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17083 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17085 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17087 * math/bits/math-finite.h: Add entries for exp.
17088 * math/e_expl.c: Add __*_finite alias.
17089 * sysdeps/i386/fpu/e_exp.S: Likewise.
17090 * sysdeps/i386/fpu/e_expf.S: Likewise.
17091 * sysdeps/i386/fpu/e_expl.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17093 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17094 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17097 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17100 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17101 is sufficient, at least on modern CPUs.
17103 * ctype/ctype-info.c (__ctype_init): Define.
17104 * include/ctype.h (__ctype_init): Declare.
17105 (__ctype_b_loc): The variable is always initialized.
17106 (__ctype_toupper_loc): Likewise.
17107 (__ctype_tolower_loc): Likewise.
17108 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17109 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17111 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17113 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17115 * configure.in: Also look in $cxxmachine/include for C++ system
17118 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17120 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17121 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17122 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17123 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17125 (USE_AS_WMEMCMP): New macro.
17127 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17128 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17129 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17130 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17132 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17133 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17134 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17135 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17136 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17138 (USE_AS_WMEMCMP): New macro.
17139 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17140 * sysdeps/string/test-memcmp.c: Update.
17141 Fix simple_wmemcmp.
17143 * wcsmbs/wmemcmp.c: Update.
17144 (WMEMCMP): New macro.
17147 2011-10-12 Andreas Jaeger <aj@suse.de>
17150 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17152 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17154 * libio/iofwide.c (do_length): Avoid warning.
17156 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17158 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17160 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17162 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17163 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17164 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17165 * sysdeps/i386/i686/fpu/e_log.S: New file.
17166 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17167 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17169 * ctype/ctype.h: Add support for inlined isXXX functions when
17170 compiling C++ code.
17172 2011-10-14 Andreas Schwab <schwab@redhat.com>
17174 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17176 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17178 2011-10-13 Roland McGrath <roland@hack.frob.com>
17181 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17183 2011-10-13 Andreas Schwab <schwab@redhat.com>
17185 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17186 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17189 * sysdeps/x86_64/memrchr.S: Check for zero size.
17191 * string/stratcliff.c: Add memrchr tests.
17193 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17196 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17197 rawmemchr-sse2 rawmemchr-sse2-bsf.
17198 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17199 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17200 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17201 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17202 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17203 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17204 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17205 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17206 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17207 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17208 * string/memrchr.c (MEMRCHR): New macro.
17210 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17212 Add integration with gcc's -ffinite-math-only and optimize wrapper
17214 * Versions.def: Define GLIBC_2.15 version for libm.
17215 * math/Makefile (headers): Add bits/math-finite.h.
17216 * math/bits/math-finite.h: New file.
17217 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17218 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17219 * math/e_acoshl.c: Add __*_finite alias.
17220 * math/e_acosl.c: Likewise.
17221 * math/e_asinl.c: Likewise.
17222 * math/e_atan2l.c: Likewise.
17223 * math/e_atanhl.c: Likewise.
17224 * math/e_coshl.c: Likewise.
17225 * math/e_exp10.c: Likewise.
17226 * math/e_exp10f.c: Likewise.
17227 * math/e_exp10l.c: Likewise.
17228 * math/e_exp2l.c: Likewise.
17229 * math/e_fmodl.c: Likewise.
17230 * math/e_gammal_r.c: Likewise.
17231 * math/e_hypotl.c: Likewise.
17232 * math/e_j0l.c: Likewise.
17233 * math/e_j1l.c: Likewise.
17234 * math/e_jnl.c: Likewise.
17235 * math/e_lgammal_r.c: Likewise.
17236 * math/e_log10l.c: Likewise.
17237 * math/e_log2l.c: Likewise.
17238 * math/e_logl.c: Likewise.
17239 * math/e_powl.c: Likewise.
17240 * math/e_sinhl.c: Likewise.
17241 * math/e_sqrtl.c: Likewise.
17242 * math/e_scalb.c: Completely rewritten and optimized.
17243 * math/e_scalbf.c: Likewise.
17244 * math/e_scalbl.c: Likewise.
17245 * math/w_acos.c: Likewise.
17246 * math/w_acosf.c: Likewise.
17247 * math/w_acosl.c: Likewise.
17248 * math/w_acosh.c: Likewise.
17249 * math/w_acoshf.c: Likewise.
17250 * math/w_acoshl.c: Likewise.
17251 * math/w_asin.c: Likewise.
17252 * math/w_asinf.c: Likewise.
17253 * math/w_asinl.c: Likewise.
17254 * math/w_atan2.c: Likewise.
17255 * math/w_atan2f.c: Likewise.
17256 * math/w_atan2l.c: Likewise.
17257 * math/w_atanh.c: Likewise.
17258 * math/w_atanhf.c: Likewise.
17259 * math/w_atanhl.c: Likewise.
17260 * math/w_exp10.c: Likewise.
17261 * math/w_exp10f.c: Likewise.
17262 * math/w_exp10l.c: Likewise.
17263 * math/w_fmod.c: Likewise.
17264 * math/w_fmodf.c: Likewise.
17265 * math/w_fmodl.c: Likewise.
17266 * math/w_j0.c: Likewise.
17267 * math/w_j0f.c: Likewise.
17268 * math/w_j0l.c: Likewise.
17269 * math/w_j1.c: Likewise.
17270 * math/w_j1f.c: Likewise.
17271 * math/w_j1l.c: Likewise.
17272 * math/w_jn.c: Likewise.
17273 * math/w_jnf.c: Likewise.
17274 * math/w_log.c: Likewise.
17275 * math/w_logf.c: Likewise.
17276 * math/w_logl.c: Likewise.
17277 * math/w_log10.c: Likewise.
17278 * math/w_log10f.c: Likewise.
17279 * math/w_log10l.c: Likewise.
17280 * math/w_log2.c: Likewise.
17281 * math/w_log2f.c: Likewise.
17282 * math/w_log2l.c: Likewise.
17283 * math/w_pow.c: Likewise.
17284 * math/w_powf.c: Likewise.
17285 * math/w_powl.c: Likewise.
17286 * math/w_remainder.c: Likewise.
17287 * math/w_remainderf.c: Likewise.
17288 * math/w_remainderl.c: Likewise.
17289 * math/w_scalb.c: Likewise.
17290 * math/w_scalbf.c: Likewise.
17291 * math/w_scalbl.c: Likewise.
17292 * math/w_sqrt.c: Likewise.
17293 * math/w_sqrtf.c: Likewise.
17294 * math/w_sqrtl.c: Likewise.
17295 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17296 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17298 * math/math_private.h: Declare __kernel_standard_f.
17299 * math/w_cosh.c: Remove cruft and optimize a bit.
17300 * math/w_coshf.c: Likewise.
17301 * math/w_coshl.c: Likewise.
17302 * math/w_exp2.c: Likewise.
17303 * math/w_exp2f.c: Likewise.
17304 * math/w_exp2l.c: Likewise.
17305 * math/w_hypot.c: Likewise.
17306 * math/w_hypotf.c: Likewise.
17307 * math/w_hypotl.c: Likewise.
17308 * math/w_lgamma.c: Likewise.
17309 * math/w_lgamma_r.c: Likewise.
17310 * math/w_lgammaf.c: Likewise.
17311 * math/w_lgammaf_r.c: Likewise.
17312 * math/w_lgammal.c: Likewise.
17313 * math/w_lgammal_r.c: Likewise.
17314 * math/w_sinh.c: Likewise.
17315 * math/w_sinhf.c: Likewise.
17316 * math/w_sinhl.c: Likewise.
17317 * math/w_tgamma.c: Likewise.
17318 * math/w_tgammaf.c: Likewise.
17319 * math/w_tgammal.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17322 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17323 Minor optimizations. Pretty printing. Remove cruft.
17324 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17325 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17326 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17328 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17329 * sysdeps/i386/fpu/e_asin.S: Likewise.
17330 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17331 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17332 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17333 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17335 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17336 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17337 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17338 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17339 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17340 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17341 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17342 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17343 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17344 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17345 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17346 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17347 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17348 * sysdeps/i386/fpu/e_log.S: Likewise.
17349 * sysdeps/i386/fpu/e_log10.S: Likewise.
17350 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17351 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17352 * sysdeps/i386/fpu/e_log2.S: Likewise.
17353 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17355 * sysdeps/i386/fpu/e_logf.S: Likewise.
17356 * sysdeps/i386/fpu/e_logl.S: Likewise.
17357 * sysdeps/i386/fpu/e_pow.S: Likewise.
17358 * sysdeps/i386/fpu/e_powf.S: Likewise.
17359 * sysdeps/i386/fpu/e_powl.S: Likewise.
17360 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17361 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17362 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17363 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17365 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17366 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17367 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17368 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17374 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17390 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17391 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17392 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17393 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17394 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17395 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17396 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17397 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17398 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17399 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17400 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17401 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17403 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17404 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17405 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17406 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17407 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17409 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17410 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17449 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17452 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17460 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17461 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17462 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17463 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17464 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17465 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17466 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17467 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17468 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17469 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17470 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17471 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17472 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17475 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17476 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17477 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17479 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17480 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17481 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17482 (__isnanf): Likewise.
17483 (__isinf_ns): Likewise.
17484 (__isinf_nsf): Likewise.
17485 (__finite): Likewise.
17486 (__finitef): Likewise.
17487 (__ieee754_sqrt): Define as macro.
17488 (__ieee754_sqrtf): Define as macro.
17489 (__ieee754_sqrtl): Define as macro.
17490 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17492 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17493 __FINITE_MATH_ONLY__ consistent.
17494 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17496 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17498 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17501 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17503 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17505 * po/ja.po: Update from translation team.
17507 2011-10-08 Roland McGrath <roland@hack.frob.com>
17509 * locale/programs/locarchive.c (prepare_address_space): New function.
17510 (create_archive, enlarge_archive, open_archive): Use it.
17512 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17513 inside [SHARED], where it is used.
17515 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17517 * nss/getent.c (netgroup_keys): Remove unused variable.
17518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17520 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17522 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17523 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17526 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17527 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17528 * math/Makefile (libm-calls): Add s_isinf_ns.
17529 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17530 * math/multc3.c: Likewise.
17531 * math/s_casin.c: Likewise.
17532 * math/s_casinf.c: Likewise.
17533 * math/s_casinl.c: Likewise.
17534 * math/s_ccos.c: Likewise.
17535 * math/s_ccosf.c: Likewise.
17536 * math/s_ccosl.c: Likewise.
17537 * math/s_ctan.c: Likewise.
17538 * math/s_ctanf.c: Likewise.
17539 * math/s_ctanh.c: Likewise.
17540 * math/s_ctanhf.c: Likewise.
17541 * math/s_ctanhl.c: Likewise.
17542 * math/s_ctanl.c: Likewise.
17543 * math/w_fmod.c: Likewise.
17544 * math/w_fmodf.c: Likewise.
17545 * math/w_fmodl.c: Likewise.
17546 * math/w_remainder.c: Likewise.
17547 * math/w_remainderf.c: Likewise.
17548 * math/w_remainderl.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17550 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17553 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17554 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17555 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17556 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17558 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17560 * stdio-common/printf_fphex.c: Likewise.
17561 * stdio-common/printf_size.c: Likewise.
17563 * math/e_exp10.c: Include math_private.h using <...> not "...".
17564 * math/e_exp10f.c: Likewise.
17565 * math/e_exp10l.c: Likewise.
17566 * math/e_exp2l.c: Likewise.
17567 * math/e_j0l.c: Likewise.
17568 * math/e_j1l.c: Likewise.
17569 * math/e_jnl.c: Likewise.
17570 * math/e_lgammal_r.c: Likewise.
17571 * math/e_rem_pio2l.c: Likewise.
17572 * math/e_scalb.c: Likewise.
17573 * math/e_scalbf.c: Likewise.
17574 * math/e_scalbl.c: Likewise.
17575 * math/k_cosl.c: Likewise.
17576 * math/k_sinl.c: Likewise.
17577 * math/k_tanl.c: Likewise.
17578 * math/s_cacoshf.c: Likewise.
17579 * math/s_catan.c: Likewise.
17580 * math/s_catanf.c: Likewise.
17581 * math/s_catanh.c: Likewise.
17582 * math/s_catanhf.c: Likewise.
17583 * math/s_catanhl.c: Likewise.
17584 * math/s_catanl.c: Likewise.
17585 * math/s_ccosh.c: Likewise.
17586 * math/s_ccoshf.c: Likewise.
17587 * math/s_ccoshl.c: Likewise.
17588 * math/s_cexp.c: Likewise.
17589 * math/s_cexpf.c: Likewise.
17590 * math/s_cexpl.c: Likewise.
17591 * math/s_clog.c: Likewise.
17592 * math/s_clog10.c: Likewise.
17593 * math/s_clog10f.c: Likewise.
17594 * math/s_clog10l.c: Likewise.
17595 * math/s_clogf.c: Likewise.
17596 * math/s_clogl.c: Likewise.
17597 * math/s_csin.c: Likewise.
17598 * math/s_csinf.c: Likewise.
17599 * math/s_csinh.c: Likewise.
17600 * math/s_csinhf.c: Likewise.
17601 * math/s_csinhl.c: Likewise.
17602 * math/s_csinl.c: Likewise.
17603 * math/s_csqrt.c: Likewise.
17604 * math/s_csqrtf.c: Likewise.
17605 * math/s_csqrtl.c: Likewise.
17606 * math/s_ctan.c: Likewise.
17607 * math/s_ctanf.c: Likewise.
17608 * math/s_ctanh.c: Likewise.
17609 * math/s_ctanhf.c: Likewise.
17610 * math/s_ctanhl.c: Likewise.
17611 * math/s_ctanl.c: Likewise.
17612 * math/s_ldexp.c: Likewise.
17613 * math/s_ldexpf.c: Likewise.
17614 * math/s_ldexpl.c: Likewise.
17615 * math/s_significand.c: Likewise.
17616 * math/s_significandf.c: Likewise.
17617 * math/s_significandl.c: Likewise.
17618 * math/w_acos.c: Likewise.
17619 * math/w_acosf.c: Likewise.
17620 * math/w_acosh.c: Likewise.
17621 * math/w_acoshf.c: Likewise.
17622 * math/w_acoshl.c: Likewise.
17623 * math/w_acosl.c: Likewise.
17624 * math/w_asin.c: Likewise.
17625 * math/w_asinf.c: Likewise.
17626 * math/w_asinl.c: Likewise.
17627 * math/w_atan2.c: Likewise.
17628 * math/w_atan2f.c: Likewise.
17629 * math/w_atan2l.c: Likewise.
17630 * math/w_atanh.c: Likewise.
17631 * math/w_atanhf.c: Likewise.
17632 * math/w_atanhl.c: Likewise.
17633 * math/w_cosh.c: Likewise.
17634 * math/w_coshf.c: Likewise.
17635 * math/w_coshl.c: Likewise.
17636 * math/w_dremf.c: Likewise.
17637 * math/w_exp10.c: Likewise.
17638 * math/w_exp10f.c: Likewise.
17639 * math/w_exp10l.c: Likewise.
17640 * math/w_exp2.c: Likewise.
17641 * math/w_exp2f.c: Likewise.
17642 * math/w_fmod.c: Likewise.
17643 * math/w_fmodf.c: Likewise.
17644 * math/w_fmodl.c: Likewise.
17645 * math/w_hypot.c: Likewise.
17646 * math/w_hypotf.c: Likewise.
17647 * math/w_hypotl.c: Likewise.
17648 * math/w_j0.c: Likewise.
17649 * math/w_j0f.c: Likewise.
17650 * math/w_j0l.c: Likewise.
17651 * math/w_j1.c: Likewise.
17652 * math/w_j1f.c: Likewise.
17653 * math/w_j1l.c: Likewise.
17654 * math/w_jn.c: Likewise.
17655 * math/w_jnf.c: Likewise.
17656 * math/w_jnl.c: Likewise.
17657 * math/w_lgamma.c: Likewise.
17658 * math/w_lgamma_r.c: Likewise.
17659 * math/w_lgammaf.c: Likewise.
17660 * math/w_lgammaf_r.c: Likewise.
17661 * math/w_lgammal.c: Likewise.
17662 * math/w_lgammal_r.c: Likewise.
17663 * math/w_log.c: Likewise.
17664 * math/w_log10.c: Likewise.
17665 * math/w_log10f.c: Likewise.
17666 * math/w_log10l.c: Likewise.
17667 * math/w_log2.c: Likewise.
17668 * math/w_log2f.c: Likewise.
17669 * math/w_log2l.c: Likewise.
17670 * math/w_logf.c: Likewise.
17671 * math/w_logl.c: Likewise.
17672 * math/w_pow.c: Likewise.
17673 * math/w_powf.c: Likewise.
17674 * math/w_powl.c: Likewise.
17675 * math/w_remainder.c: Likewise.
17676 * math/w_remainderf.c: Likewise.
17677 * math/w_remainderl.c: Likewise.
17678 * math/w_scalb.c: Likewise.
17679 * math/w_scalbf.c: Likewise.
17680 * math/w_scalbl.c: Likewise.
17681 * math/w_sinh.c: Likewise.
17682 * math/w_sinhf.c: Likewise.
17683 * math/w_sinhl.c: Likewise.
17684 * math/w_sqrt.c: Likewise.
17685 * math/w_sqrtf.c: Likewise.
17686 * math/w_sqrtl.c: Likewise.
17687 * math/w_tgamma.c: Likewise.
17688 * math/w_tgammaf.c: Likewise.
17689 * math/w_tgammal.c: Likewise.
17691 * po/ja.po: Update from translation team.
17693 2011-09-29 Andreas Jaeger <aj@suse.de>
17696 * sunrpc/netname.c (netname2host): Fix logic.
17700 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17702 * math/w_remainder.c (__remainder): Likewise.
17703 * math/w_remainderf.c (__remainderf): Likewise.
17704 * math/libm-test.inc (remainder_test): Add test cases.
17706 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17708 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17711 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17713 * string/test-memcmp.c: Avoid unncessary #defines.
17714 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17716 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17718 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17719 Use new sse2 version for core i3 - i7 as it's faster
17720 than sse42 version.
17721 (bit_Prefer_PMINUB_for_stringop): New.
17722 * sysdeps/x86_64/rawmemchr.S: Update.
17723 Replace with faster SSE2 version.
17724 * sysdeps/x86_64/memrchr.S: New file.
17725 * sysdeps/x86_64/memchr.S: Update.
17726 Replace with faster SSE2 version.
17728 2011-09-12 Marek Polacek <mpolacek@redhat.com>
17730 * elf/dl-load.c (lose): Add cast to avoid warning.
17732 2011-10-07 Ulrich Drepper <drepper@gmail.com>
17734 * po/ca.po: Update from translation team.
17736 * inet/getnetgrent_r.c: Hook up nscd.
17737 * nscd/Makefile (routines): Add nscd_netgroup.
17738 (nscd-modules): Add netgroupcache.
17739 (CFLAGS-netgroupcache.c): Define.
17740 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17741 (cache_search): Add const to second parameter.
17742 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17744 (dbs): Add netgrdb entry.
17745 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17746 (verify_persistent_db): Handle netgrdb.
17747 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17748 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17750 (netgroup_response_header): Define.
17751 (innetgroup_response_header): Define.
17752 (datahead): Add netgroup_response_header and innetgroup_response_header
17754 * nscd/nscd.conf: Add entries for netgroup cache.
17755 * nscd/nscd.h (dbtype): Add netgrdb.
17756 (_PATH_NSCD_NETGROUP_DB): Define.
17757 (netgroup_iov_disabled): Declare.
17758 (xmalloc, xcalloc, xrealloc): Move declarations here.
17759 (cache_search): Adjust prototype.
17760 Add netgroup-related prototypes.
17761 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17762 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17763 (__nscd_innetgr): Declare.
17764 * nscd/selinux.c (perms): Use access_vector_t as element type and
17765 add netgroup-related initializers.
17766 * nscd/netgroupcache.c: New file.
17767 * nscd/nscd_netgroup.c: New file.
17768 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17769 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17770 For four parameters use innetgr.
17771 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17772 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17773 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17774 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17776 * nscd/connections.c (register_traced_file): Don't register file
17777 for disabled databases.
17779 2011-10-06 Ulrich Drepper <drepper@gmail.com>
17781 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17783 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17784 from tree and freeing node.
17786 2011-09-25 Jiri Olsa <jolsa@redhat.com>
17788 * nss/nsswitch.c (__nss_database_lookup): Handle
17789 nss_parse_service_list out of memory case.
17791 2011-09-15 Jiri Olsa <jolsa@redhat.com>
17793 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17794 out of memory case.
17796 2011-10-04 Andreas Schwab <schwab@redhat.com>
17798 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17799 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17801 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17802 elf_machine_rela, elf_machine_lazy_rel.
17803 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17804 (ELF_DYNAMIC_DO_REL): Likewise.
17805 (ELF_DYNAMIC_DO_RELA): Likewise.
17806 (ELF_DYNAMIC_RELOCATE): Likewise.
17807 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17808 to ELF_DYNAMIC_DO_REL.
17809 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17810 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17811 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17814 skip_ifunc, don't call ifunc function if non-zero.
17815 (elf_machine_rela): Likewise.
17816 (elf_machine_lazy_rel): Likewise.
17817 (elf_machine_lazy_rela): Likewise.
17818 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17819 (elf_machine_lazy_rel): Likewise.
17820 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17822 (elf_machine_lazy_rel): Likewise.
17823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17825 (elf_machine_lazy_rel): Likewise.
17826 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17827 (elf_machine_lazy_rel): Likewise.
17828 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17829 (elf_machine_lazy_rel): Likewise.
17830 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17831 (elf_machine_lazy_rel): Likewise.
17832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17833 (elf_machine_lazy_rel): Likewise.
17834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17835 (elf_machine_lazy_rel): Likewise.
17836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17837 (elf_machine_lazy_rel): Likewise.
17839 2011-09-28 Ulrich Drepper <drepper@gmail.com>
17841 * nss/nss_files/files-init.c (_nss_files_init): Use static
17842 initialization for all the *_traced_file variables.
17844 2011-09-28 Andreas Schwab <schwab@redhat.com>
17846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17848 2011-09-27 Roland McGrath <roland@hack.frob.com>
17851 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17853 2011-09-27 Andreas Schwab <schwab@redhat.com>
17855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17856 Reread the line before reparsing it.
17858 2011-09-26 Andreas Schwab <schwab@redhat.com>
17860 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17862 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17863 Maxim Kuvyrkov <maxim@codesourcery.com>
17864 Joseph Myers <joseph@codesourcery.com>
17866 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17867 if needed for __stack_chk_guard.
17869 2011-09-19 Roland McGrath <roland@hack.frob.com>
17871 * sysdeps/posix/spawni.c (script_execute): Always define it.
17872 It will be optimized away if unused.
17873 (maybe_script_execute): New function.
17874 (__spawni): Call it.
17876 * Makerules: Don't include tls.make.
17877 (config-tls): Always set to thread.
17878 * tls.make.c: File removed.
17880 2011-09-19 Mike Frysinger <vapier@gentoo.org>
17882 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17883 * config.make.in (CPPFLAGS-config): New substituted variable.
17885 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17890 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17891 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17893 2011-09-15 Roland McGrath <roland@hack.frob.com>
17895 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17896 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17898 (CALL_FAIL): Likewise.
17899 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17900 (CALL_FAIL): Macro removed.
17901 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17903 2011-09-15 Ulrich Drepper <drepper@gmail.com>
17905 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17906 for __FINITE_MATH_ONLY__ == 1.
17908 2011-09-15 Andreas Schwab <schwab@redhat.com>
17910 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17911 __ieee754_sqrt instead of sqrt.
17912 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17913 __ieee754_sqrtf instead of sqrtf.
17914 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17915 __floorf instead of floorf.
17916 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17917 __floorf, __truncf instead of floorf, truncf.
17919 2011-09-14 Ulrich Drepper <drepper@gmail.com>
17921 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17923 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17924 __extern_always_inline.
17925 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17928 2011-09-14 Andreas Schwab <schwab@redhat.com>
17930 * elf/rtld.c (dl_main): Also relocate in dependency order when
17931 doing symbol dependency testing.
17933 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17935 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17936 Always define `refsym'.
17938 2011-09-13 Andreas Schwab <schwab@redhat.com>
17940 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17941 (__FD_ELT): Renamed from __FDELT.
17942 * misc/bits/select2.h (__FD_ELT): Likewise.
17943 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17944 __FD_MASK instead of __FDELT, __FDMASK.
17945 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17947 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17950 * elf/Makefile (gen-ldd): Fix pattern.
17952 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17953 (init_tls): Likewise.
17955 2011-09-12 Ulrich Drepper <drepper@gmail.com>
17957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17959 2011-09-12 Andreas Schwab <schwab@redhat.com>
17961 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17962 `struct cmsghdr *' instead of `void *'.
17963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17966 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17968 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17970 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17971 ldd_rewrite_script.
17973 2011-09-11 Ulrich Drepper <drepper@gmail.com>
17975 * configure.in: Remove --with-tls option.
17976 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17977 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17978 out in case it is missing.
17979 * sysdeps/ia64/elf/configure.in: Likewise.
17980 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17981 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17982 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17983 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17984 * sysdeps/sh/elf/configure.in: Likewise.
17985 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17987 * sysdeps/x86_64/elf/configure.in: Likewise.
17988 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17989 * sysdeps/mach/hurd/tls.h: Likewise.
17992 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17995 * configure.in: Fix use of AC_INIT.
17997 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17999 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18001 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18003 * malloc/hooks.c: Likewise.
18006 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18007 variables statically.
18008 (narenas): Initialize.
18009 (list_lock): Initialize.
18010 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18011 initializtion of main_arena and list_lock. Small cleanups.
18012 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18013 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18014 Add initializers to main_arena and mp_.
18015 (malloc_state): Remove pagesize member. Change all users to use
18018 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18019 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18020 is always initialized.
18022 * malloc/malloc.c: Removed unused configurations and dead code.
18023 * malloc/arena.c: Likewise.
18024 * malloc/hooks.c: Likewise.
18025 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18027 * include/tls.h: Removed. USE___THREAD must always be defined.
18028 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18029 * elf/dl-libc.c: Likewise.
18030 * elf/dl-tsd.c: Likewise.
18031 * include/errno.h: Likewise.
18032 * include/netdb.h: Likewise.
18033 * include/resolv.h: Likewise.
18034 * inet/herrno-loc.c: Likewise.
18035 * inet/herrno.c: Likewise.
18036 * malloc/arena.c: Likewise.
18037 * malloc/hooks.c: Likewise.
18038 * malloc/malloc.c: Likewise.
18039 * resolv/res-state.c: Likewise.
18040 * resolv/res_libc.c: Likewise.
18041 * sysdeps/i386/dl-machine.h: Likewise.
18042 * sysdeps/ia64/dl-machine.h: Likewise.
18043 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18044 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18045 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18046 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18047 * sysdeps/sh/dl-machine.h: Likewise.
18048 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18049 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18050 * sysdeps/unix/i386/sysdep.S: Likewise.
18051 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18052 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18057 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18062 * sysdeps/x86_64/dl-machine.h: Likewise.
18063 * tls.make.c: Likewise.
18065 * configure.in: Remove --with-__thread option. Make tests for
18066 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18067 tls_model attribute fail if no support is available. Remove
18069 * Makeconfig: Adjust for dropped configure option. All features are
18071 * Makerules: Likewise.
18072 * Versions.def: Likewise.
18073 * argp/argp-fmtstream.c: Likewise.
18074 * argp/argp-fmtstream.h: Likewise.
18075 * argp/argp-help.c: Likewise.
18076 * assert/assert.c: Likewise.
18077 * config.h.in: Likewise.
18078 * config.make.in: Likewise.
18079 * configure: Likewise.
18080 * configure.in: Likewise.
18081 * csu/Versions: Likewise.
18082 * csu/init.c: Likewise.
18083 * elf/tst-audit2.c: Likewise.
18084 * elf/tst-tls10.c: Likewise.
18085 * elf/tst-tls10.h: Likewise.
18086 * elf/tst-tls11.c: Likewise.
18087 * elf/tst-tls12.c: Likewise.
18088 * elf/tst-tls14.c: Likewise.
18089 * elf/tst-tlsmod11.c: Likewise.
18090 * elf/tst-tlsmod12.c: Likewise.
18091 * elf/tst-tlsmod13.c: Likewise.
18092 * elf/tst-tlsmod13a.c: Likewise.
18093 * elf/tst-tlsmod14a.c: Likewise.
18094 * elf/tst-tlsmod15b.c: Likewise.
18095 * elf/tst-tlsmod16a.c: Likewise.
18096 * elf/tst-tlsmod16b.c: Likewise.
18097 * elf/tst-tlsmod7.c: Likewise.
18098 * elf/tst-tlsmod8.c: Likewise.
18099 * elf/tst-tlsmod9.c: Likewise.
18100 * gmon/gmon.c: Likewise.
18101 * grp/fgetgrent_r.c: Likewise.
18102 * grp/putgrent.c: Likewise.
18103 * hurd/fopenport.c: Likewise.
18104 * include/libc-symbols.h: Likewise.
18105 * include/tls.h: Likewise.
18106 * intl/gettextP.h: Likewise.
18107 * intl/loadinfo.h: Likewise.
18108 * locale/global-locale.c: Likewise.
18109 * locale/localeinfo.h: Likewise.
18110 * mach/devstream.c: Likewise.
18111 * malloc/arena.c: Likewise.
18112 * malloc/set-freeres.c: Likewise.
18113 * misc/err.c: Likewise.
18114 * misc/getttyent.c: Likewise.
18115 * misc/mntent_r.c: Likewise.
18116 * posix/getopt.c: Likewise.
18117 * posix/wordexp.c: Likewise.
18118 * pwd/fgetpwent_r.c: Likewise.
18119 * resolv/Versions: Likewise.
18120 * resolv/res_hconf.c: Likewise.
18121 * shadow/fgetspent_r.c: Likewise.
18122 * shadow/putspent.c: Likewise.
18123 * stdio-common/printf_fphex.c: Likewise.
18124 * stdio-common/tmpfile.c: Likewise.
18125 * stdlib/abort.c: Likewise.
18126 * stdlib/fmtmsg.c: Likewise.
18127 * sunrpc/auth_unix.c: Likewise.
18128 * sunrpc/clnt_perr.c: Likewise.
18129 * sunrpc/clnt_tcp.c: Likewise.
18130 * sunrpc/clnt_udp.c: Likewise.
18131 * sunrpc/clnt_unix.c: Likewise.
18132 * sunrpc/openchild.c: Likewise.
18133 * sunrpc/svc_simple.c: Likewise.
18134 * sunrpc/svc_tcp.c: Likewise.
18135 * sunrpc/svc_udp.c: Likewise.
18136 * sunrpc/svc_unix.c: Likewise.
18137 * sunrpc/xdr.c: Likewise.
18138 * sunrpc/xdr_array.c: Likewise.
18139 * sunrpc/xdr_rec.c: Likewise.
18140 * sunrpc/xdr_ref.c: Likewise.
18141 * sunrpc/xdr_stdio.c: Likewise.
18143 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18145 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18147 2011-07-03 Andreas Jaeger <aj@suse.de>
18149 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18150 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18151 regenerate with gen-libm-tests.pl.
18153 2010-05-12 Petr Baudis <pasky@suse.cz>
18156 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18157 around j0() zero points by switching to j1().
18158 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18163 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18165 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18170 Patch in part by Pavel Roskin <proski@gnu.org>.
18173 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18175 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18176 Free memory block if necessary.
18179 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18180 be NULL. Don't lock in this case.
18182 2011-09-09 Roland McGrath <roland@hack.frob.com>
18184 * elf/elf.h (ELFOSABI_GNU): New macro.
18185 (ELFOSABI_LINUX): Define to that.
18187 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18189 * string/strncat.c (strncat): Undef the symbol in case it has been
18190 defined in bits/string.h.
18192 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18194 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18196 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18199 2011-08-17 Andreas Jaeger <aj@suse.de>
18201 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18203 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18204 Ian Lance Taylor <iant@google.com>
18206 * math/libm-test.inc (lround_test): New testcase.
18207 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18209 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18211 * Makefile: Remove support for automatic cvs check-ins.
18212 * Makerules: Likewise.
18213 * config.make.in: Likewise.
18214 * configure.in: Likewise.
18215 * intl/Makefile: Likewise.
18216 * locale/Makefile: Likewise.
18217 * po/Makefile: Likewise.
18218 * posix/Makefile: Likewise.
18219 * sysdeps/gnu/Makefile: Likewise.
18220 * sysdeps/mach/hurd/Makefile: Likewise.
18221 * sysdeps/sparc/sparc32/Makefile: Likewise.
18224 * posix/Makefile (bug-regex32-ENV): Define.
18225 Patch by John Stanley <jpsinthemix@verizon.net>.
18227 * misc/Makefile (headers): Add bits/select2.h.
18228 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18229 * misc/bits/select2.h: New file.
18230 * include/bits/select2.h: New file.
18231 * debug/Makefile (routines): Add fdelt_chk.
18232 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18233 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18235 * debug/fdelt_chk.c: New file.
18237 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18238 * wcsmbs/test-wmemcmp.c: Likewise.
18239 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18240 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18242 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18244 * string/Makefile (strop-tests): Add memcmp.
18245 * string/test-wmemcmp.c: New file.
18246 * string/test-memcmp.c: Add wmemcmp support.
18248 2011-09-08 Roland McGrath <roland@hack.frob.com>
18251 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18254 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18255 garbage value in a __mach_port_mod_refs call in the cases of the
18256 task-self and thread-self ports.
18258 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18260 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18262 2011-09-08 Andreas Schwab <schwab@redhat.com>
18264 * elf/dl-load.c (lose): Check for non-null L.
18266 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18268 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18270 * elf/dl-libc.c (dlerror_run): Pass back error code from
18274 * elf/dl-load.c (lose): Free l_origin if it is valid.
18276 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18278 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18279 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18282 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18283 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18285 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18288 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18290 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18291 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18292 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18293 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18294 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18295 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18296 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18298 2011-08-15 Alan Modra <amodra@gmail.com>
18301 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18302 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18303 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18304 ppc_mcount to static-only-routines.
18305 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18307 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18308 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18310 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18312 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18313 for finite and infinity parameters.
18315 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18317 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18318 and add nop instructions for throughput optimization.
18319 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18321 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18324 aligned copy for power7 with vector-scalar instructions.
18325 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18327 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18332 2011-09-07 Andreas Schwab <schwab@redhat.com>
18335 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18338 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18340 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18341 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18342 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18343 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18346 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18348 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18349 Forgot to demangle the pointer.
18351 * sysdeps/i386/sysdep.h: Define atom_text_section.
18352 * sysdeps/x86_64/sysdep.h: Likewise.
18353 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18354 section with atom_text_section.
18355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18357 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18359 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18361 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18362 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18363 already be defined. Change to take two parameters and don't assign
18364 result to variable. Adjust all users.
18365 Define INTERNAL_GETTIME if not already defined.
18366 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18369 HAVE_CLOCK_GETTIME_VSYSCALL.
18370 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18373 gettimeofday vsyscall, just use time.
18375 2011-09-06 Andreas Schwab <schwab@redhat.com>
18377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18380 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18382 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18386 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18387 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18388 syscall if possible.
18390 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18392 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18393 e_ident. Don't pass to find_mapsXX.
18394 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18396 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18399 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18400 * sysdeps/x86_64/multiarch/strchr.S: Update.
18401 Check bit_slow_BSF bit.
18402 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18403 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18406 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18409 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18411 (tryshell): Define.
18412 (__spawni): Change last parameter to be flag. Test
18413 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18414 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18415 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18416 * posix/spawni.c: Likewise.
18417 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18418 * posix/spawnp.c: Likewise. Change normal version to use
18419 SPAWN_XFLAGS_USE_PATH.
18420 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18421 SPAWN_XFLAGS_TRY_SHELL.
18424 * posix/glob.h: Remove gcc 1.x support.
18427 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18429 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18432 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18434 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18435 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18436 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18437 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18438 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18441 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18443 * sysdeps/x86_64/wcscmp.S: New file.
18445 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18446 wcscmp-c wcscmp-sse2
18447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18448 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18449 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18450 * wcsmbs/wcscmp.c: Allow renaming.
18452 2011-09-05 David S. Miller <davem@davemloft.net>
18454 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18455 stack slot, rather than the struct return pointer slot.
18456 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18457 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18459 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18461 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18463 * po/ja.po: Update from translation team.
18466 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18467 kernel in 64-bit binaries.
18469 2011-09-01 David S. Miller <davem@davemloft.net>
18471 * elf/elf.h (HWCAP_SPARC_*): Move to..
18472 * sysdeps/sparc/sysdep.h: this new file and add new values.
18473 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18474 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18475 _DL_HWCAP_COUNT to 24.
18476 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18478 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18479 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18480 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18482 instead of magic constants.
18483 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18485 2011-08-31 David S. Miller <davem@davemloft.net>
18487 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18489 Reimplement to do errno handling inline.
18490 (SYSCALL_ERROR_HANDLER): New macro.
18491 (__SYSCALL_STRING): Do not do errno handling in asm.
18492 (__CLONE_SYSCALL_STRING): Delete.
18493 (__INTERNAL_SYSCALL_STRING): Delete.
18494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18495 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18496 (PSEUDO): Reimplement to do errno handling inline.
18497 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18498 (SYSCALL_ERROR_HANDLER): New macro.
18499 (__SYSCALL_STRING): Do not do errno handling in asm.
18500 (__CLONE_SYSCALL_STRING): Delete.
18501 (__INTERNAL_SYSCALL_STRING): Delete.
18502 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18503 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18505 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18506 (inline_syscall*): Add 'err' argument.
18507 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18508 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18509 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18510 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18512 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18513 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18515 2011-08-30 Andreas Schwab <schwab@redhat.com>
18517 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18519 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18521 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18524 2011-08-24 David S. Miller <davem@davemloft.net>
18526 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18528 2011-08-24 Andreas Schwab <schwab@redhat.com>
18530 * elf/Makefile: Add rules to build and run unload8 test.
18531 * elf/unload8.c: New file.
18532 * elf/unload8mod1.c: New file.
18533 * elf/unload8mod1x.c: New file.
18534 * elf/unload8mod2.c: New file.
18535 * elf/unload8mod3.c: New file.
18537 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18540 2011-08-23 David S. Miller <davem@davemloft.net>
18542 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18543 subtract stack bias.
18544 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18545 %sp not %fp in calculations.
18546 (_JMPBUF_UNWINDS_ADJ): Likewise.
18548 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18549 (aio_suspend): Call it to force an exception region around the
18550 AIO_MISC_WAIT() invocation.
18552 2011-08-23 Andreas Schwab <schwab@redhat.com>
18554 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18557 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18559 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18561 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18562 and <dl-machine.h>.
18563 (Elf64_FuncDesc): Remove.
18565 2011-08-22 David S. Miller <davem@davemloft.net>
18567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18568 sigaltstack check, add missing cfi directives.
18569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18570 missing cfi directives, and sigaltstack handling.
18572 2011-08-16 Andreas Schwab <schwab@redhat.com>
18575 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18576 object is seen twice.
18577 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18579 * elf/Makefile (distribute): Add tst-initorder2.c.
18580 (tests): Add tst-initorder2.
18581 (modules-names): Add tst-initorder2a tst-initorder2b
18582 tst-initorder2c tst-initorder2d. Add rules to build them.
18583 ($(objpfx)tst-initorder2.out): New rule.
18584 * elf/tst-initorder2.c: New file.
18585 * elf/tst-initorder2.exp: New file.
18587 2011-08-22 Andreas Schwab <schwab@redhat.com>
18589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18591 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18592 dependencies back to end of function.
18594 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18595 $(elfobjdir)/ld.so.
18597 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18600 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18602 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18603 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18604 of __vdso_gettimeofday.
18605 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18606 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18608 (_libc_vdso_platform_setup): Remove initialization of
18609 __vdso_gettimeofday and __vdso_time.
18611 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18613 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18614 and fgetc_unlocked.
18615 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18618 * elf/dl-open.c (add_to_global): Report additions to the global scope
18619 for LD_DEBUG=scopes.
18620 (dl_open_worker): Also print scope of newly loaded dependencies.
18621 (_dl_show_scope): Indicate if there is no scope.
18624 * stdio-common/Makefile (tests): Add bug24.
18625 * stdio-common/bug24.c: New file.
18627 2011-08-19 Andreas Jaeger <aj@suse.de>
18630 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18631 non-existant file when using close-on-exec mode.
18633 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18635 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18636 the very first instruction.
18638 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18639 the CFI state in the end.
18640 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18641 inclusion of dl-trampoline.h.
18642 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18644 2011-08-19 Andreas Schwab <schwab@redhat.com>
18646 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18647 expectations for long double.
18649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18650 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18652 2011-08-14 David S. Miller <davem@davemloft.net>
18654 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18655 artificual limit depends upon the system page size.
18657 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18659 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18660 * resolv/Makefile: Define CFLAGS-libresolv.
18662 2011-08-17 Andreas Schwab <schwab@redhat.com>
18664 * nss/makedb.c (compute_tables): Make variables used in nested
18667 2011-08-17 Ulrich Drepper <drepper@gmail.com>
18669 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18670 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18671 if buffer was too small.
18673 * elf/pldd.c (main): Attach to all threads in the process.
18674 Rewrite /proc handling to use *at functions.
18676 2011-08-16 Ulrich Drepper <drepper@gmail.com>
18678 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18679 specifies first scope to show.
18680 (dl_open_worker): Update callers. Move printing scope of new
18681 object to before the relocation.
18682 * elf/rtld.c (dl_main): Update _dl_show_scope call.
18683 * sysdeps/generic/ldsodefs.h: Update declaration.
18685 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18686 string for the scope number.
18688 2011-08-14 Ulrich Drepper <drepper@gmail.com>
18690 * nscd/servicescache.c (cache_addserv): Make sure written is always
18693 2011-08-14 Roland McGrath <roland@hack.frob.com>
18695 * sysdeps/i386/i486/bits/atomic.h
18696 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18697 statement expression, so as to suppress "set but not used" warning.
18698 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18700 * string/strncat.c (STRNCAT): Use prototype definition.
18702 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18703 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18705 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18706 (localedef-modules): Add localedef.
18707 (locale-modules): Add locale.
18709 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18710 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18711 to avoid a warning.
18713 2011-08-14 David S. Miller <davem@davemloft.net>
18715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18716 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18718 2011-08-13 Ulrich Drepper <drepper@gmail.com>
18720 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18721 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18722 * elf/rtld.c (dl_main): Set l_name of vDSO.
18723 Call _dl_show_scope when DL_DEBUG_SCOPES.
18724 (process_dl_debug): Recognize scopes flag and also set it for all.
18725 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18726 Declare _dl_show_scope.
18728 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18729 (do_dlopen): Pass caller_dlopen to dl_open.
18730 (__libc_dlopen_mode): Initialize caller_dlopen.
18732 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18733 of libc. Make tolower call locale-independent. Optimize a bit by
18734 using isdigit instead of isalnum.
18735 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18737 2011-08-12 Ulrich Drepper <drepper@gmail.com>
18739 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18740 was a dependency or dynamically loaded.
18742 2011-08-11 Ulrich Drepper <drepper@gmail.com>
18744 * intl/l10nflist.c: Allow architecture-specific pop function.
18745 * sysdeps/x86_64/l10nflist.c: New file.
18747 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18750 2011-08-10 Andreas Schwab <schwab@redhat.com>
18752 * include/dirent.h: Add libc_hidden_proto for scandirat and
18753 scandirat64. Don't declare __scandirat64.
18754 * dirent/scandirat.c: Add libc_hidden_def.
18755 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18756 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18758 2011-08-10 David S. Miller <davem@davemloft.net>
18760 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18766 2011-08-09 Ulrich Drepper <drepper@gmail.com>
18768 * Versions.def [libc]: Add GLIBC_2.15.
18769 * dirent/Makefile (routines): Add scandirat and scandirat64.
18770 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18772 * dirent/dirent.h: Declare scandirat and scandirat64.
18773 * dirent/scandirat.c: New file.
18774 * dirent/scandirat64.c: New file.
18775 * sysdeps/wordsize-64/scandirat.c: New file.
18776 * sysdeps/wordsize-64/scandirat64.c: New file.
18777 * dirent/opendir.c: Define opendirat.
18778 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18780 * dirent/scandir64.c: Adjust for scandir.c change.
18781 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18782 __scandirat64, and __scandir_cancel_handler.
18783 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18784 additional parameter and use openat instead of open (outside of ld.so).
18785 Add new __opendir as wrapper around __opendirat.
18786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18787 here without requiring old scandirat implementation.
18789 2011-08-08 Ulrich Drepper <drepper@gmail.com>
18791 * dirent/scandir.c (cancel_handler): Renamed to
18792 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18793 defined. Adjust users.
18794 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18797 2011-08-04 Ulrich Drepper <drepper@gmail.com>
18799 * string/test-string.h (IMPL): Use __STRING to expand name and then
18802 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18805 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18807 * string/Makefile: Update.
18808 (strop-tests): Append strncat.
18809 * string/test-wcscmp.c: New file.
18810 New comprehensive test for wcscmp.
18811 * string/test-strcmp.c: Update.
18812 (WIDE): New define.
18814 2011-07-22 Andreas Schwab <schwab@redhat.com>
18816 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18819 2011-07-26 Andreas Schwab <schwab@redhat.com>
18821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18822 encoding to ACE if AI_IDN.
18824 2011-08-01 Jakub Jelinek <jakub@redhat.com>
18826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18827 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18829 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18831 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18832 Fix overflow bug in strncat.
18833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18835 * string/test-strncat.c: Update.
18836 Add new tests for checking overflow bugs.
18838 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18841 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18842 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18843 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18845 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18846 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18847 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18848 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18851 (USE_AS_STRCAT): Define.
18852 Add strcat and strncat support.
18853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18855 2011-07-25 Andreas Schwab <schwab@redhat.com>
18857 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18858 __n bigger than INT_MAX+1.
18859 (__strncmp_g): Likewise.
18861 2011-07-23 Ulrich Drepper <drepper@gmail.com>
18863 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18864 * libio/stido.h: Likewise.
18866 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18871 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18875 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18878 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18883 (_dl_x86_64_save_sse): Likewise.
18885 2011-07-22 Ulrich Drepper <drepper@gmail.com>
18887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18889 (_dl_x86_64_save_sse): Likewise.
18891 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18893 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18895 2011-07-21 Andreas Schwab <schwab@redhat.com>
18897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18899 (_dl_x86_64_save_sse): Use correct AVX check.
18901 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18903 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18904 bug in strncpy/strncat.
18905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18907 2011-07-21 Ulrich Drepper <drepper@gmail.com>
18909 * string/tester.c (test_strcat): Add tests for different alignments
18910 of source and destination.
18911 (test_strncat): Likewise.
18913 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18916 * posix/glob.c (glob): Check passed in values before using them in
18917 expressions to avoid some overflows.
18918 (glob_in_dir): Likewise.
18921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18922 check for AVX enablement so that we don't crash with old kernels and
18924 * elf/tst-audit4.c: Add same checks here.
18925 * elf/tst-audit6.c: Likewise.
18927 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18929 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18931 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18933 2011-07-20 Ulrich Drepper <drepper@gmail.com>
18935 * po/cs.po: Update from translation team.
18936 * po/bg.po: Likewise.
18938 2011-07-12 Marek Polacek <mpolacek@redhat.com>
18940 * misc/sys/cdefs.h: Add support for const attribute.
18941 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18942 to gnu_dev_{major,minor,makedev} functions.
18944 2011-07-20 Marek Polacek <mpolacek@redhat.com>
18946 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18948 2011-07-20 Andreas Schwab <schwab@redhat.com>
18950 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18953 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18956 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18957 register in order to avoid conflicts with the soft frame pointer
18958 being held in r11 when necessary.
18959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18960 (INTERNAL_VSYSCALL_NCS): Likewise.
18962 2011-07-14 Marek Polacek <mpolacek@redhat.com>
18964 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18965 * elf/dl-fini.c (_dl_fini): Adjust caller.
18966 * elf/dl-close.c (_dl_close_worker): Likewise.
18967 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18969 2011-07-15 Marek Polacek <mpolacek@redhat.com>
18971 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18972 "aux_cache->nlibs < 0".
18974 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18975 in the reload-count case.
18977 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18980 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18981 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18982 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18983 * sysdeps/x86_64/multiarch/strcat.S: New file.
18984 * sysdeps/x86_64/multiarch/strncat.S: New file.
18985 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18987 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18988 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18989 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18990 (USE_AS_STRCAT): Define.
18991 Add strcat and strncat support.
18992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18994 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18995 * string/strncat.c: Update.
18996 (USE_AS_STRNCAT): Define.
18997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18998 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19000 * sysdeps/x86_64/multiarch/init-arch.h
19001 (bit_Prefer_PMINUB_for_stringop): New.
19002 (index_Prefer_PMINUB_for_stringop): Likewise.
19003 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19004 bit_Prefer_PMINUB_for_stringop.
19006 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19008 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19010 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19011 of casting of buffer.
19012 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19013 buffer32 and buffer64.
19014 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19015 writes instead of casting of buffer.
19016 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19018 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19021 2011-07-19 Andreas Schwab <schwab@redhat.com>
19023 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19025 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19027 * nscd/nscd.c (termination_handler): Don't do anything for a database
19028 if it has not yet been initialized.
19030 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19032 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19034 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19036 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19038 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19040 * po/nl.po: Update from translation team.
19041 * po/sv.po: Likewise.
19043 2011-07-16 Roland McGrath <roland@hack.frob.com>
19045 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19046 now disallowed by GCC.
19048 * configure.in (use-default-link): Default to yes if a test -shared
19049 link meets our qualifications.
19050 * configure: Regenerated.
19052 * config.make.in (output-format): New variable.
19053 * configure.in: Check for ld --print-output-format support.
19054 * configure: Regenerated.
19055 * Makerules ($(common-objpfx)format.lds)
19056 [$(output-format) != unknown]: Just use $(output-format),
19057 instead of the linker-script munging.
19059 2011-07-14 Roland McGrath <roland@hack.frob.com>
19061 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19062 of $(common-objpfx)shlib.lds.
19063 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19065 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19066 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19068 * configure.in (-z relro check): Adjust test code to add a large
19069 writable data section after it.
19070 * configure: Regenerated.
19072 2011-07-11 Roland McGrath <roland@hack.frob.com>
19074 * configure.in (-z relro check): Fix test code to make the variable
19076 * configure: Regenerated.
19078 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19080 * nscd/nscd.h (struct traced_file): Define.
19081 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19082 elements. Add traced_files.
19083 (inotify_fd): Declare.
19084 (register_traced_file): Declare.
19085 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19086 (inotify_fd): Export.
19087 (resolv_conf_descr): Remove.
19088 (nscd_init): Move inotify descriptor creation to main.
19089 Don't register files for notification here.
19090 (register_traced_file): New function.
19091 (invalidate_cache): Don't use reset_res to determine whether to call
19092 res_init, go through the list of registered files.
19093 (main_loop_poll): The inotify descriptors are now stored in the
19094 structures for the traced files.
19095 (main_loop_epoll): Likewise
19096 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19097 to __nss_disable_nscd.
19098 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19099 for a database anymore. Check the records for all the registered
19101 * nss/Makefile (libnss_files-routines): Add files-init.
19102 (libnss_db-routines): Add db-init.
19103 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19104 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19105 * nss/nss_db/db-init.c: New file.
19106 * nss/nss_files/files-init.c: New file.
19107 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19108 __nss_lookup_function.
19109 (__nss_lookup_function): Call nss_load_library.
19110 (nss_load_all_libraries): New function.
19111 (__nss_disable_nscd): Take parameter with callback function for files
19112 to register. Set is_nscd. Load all the DSOs for the NSS modules
19113 used for the cached services.
19114 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19115 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19116 options for features to all the files in nscd.
19118 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19120 2011-07-10 Roland McGrath <roland@hack.frob.com>
19122 * csu/elf-init.c (__libc_csu_init): Comment typo.
19124 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19126 * po/pl.po: Update from translation team.
19127 * po/ja.po: Likewise.
19128 * po/ru.po: Likewise.
19129 * po/ko.po: Likewise.
19130 * po/fr.po: Likewise.
19132 2011-07-09 Roland McGrath <roland@hack.frob.com>
19134 * configure.in (.ctors/.dtors header and trailer check):
19135 Use an empirical test on a built program.
19136 * configure: Regenerated.
19138 * configure.in (-z relro check): Use an empirical test on a built DSO.
19139 Detect, but do not require, on ia64.
19140 * configure: Regenerated.
19142 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19143 Update tests that use readelf to use $READELF instead.
19144 * configure: Regenerated.
19146 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19148 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19149 if the result is not used.
19151 2011-07-05 Andreas Jaeger <aj@suse.de>
19154 * stdlib/tst-strtod.c: Add testcase.
19156 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19158 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19159 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19160 The latter has a higher limit. Take additional parameter to pass to
19162 (__pathconf): Pass file to __statfs_link_max.
19163 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19165 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19169 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19172 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19173 (__statfs_filesize_max): Likewise.
19174 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19176 2011-07-05 Andreas Jaeger <aj@suse.de>
19178 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19180 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19182 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19184 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19187 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19189 * Makefile (strop-tests): Add strncat.
19190 * string/test-strncat.c: New file.
19192 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19194 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19196 2011-06-21 Andreas Jaeger <aj@suse.de>
19198 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19199 Copy rule from iconvdata/Makefile.
19201 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19204 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19205 but no long options are defined, just return 'W'.
19207 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19210 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19212 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19214 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19216 (innetgr): Likewise.
19218 2011-07-05 Roland McGrath <roland@hack.frob.com>
19220 * config.make.in (install_root): Default to $(DESTDIR).
19222 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19224 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19226 2011-07-02 Roland McGrath <roland@hack.frob.com>
19228 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19230 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19231 containing directory rather than embedding absolute directory names.
19233 * scripts/check-local-headers.sh: Rewritten using awk.
19234 Match by word, not by line. Print error messages for matches.
19235 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19237 * Makerules [shlib-lds-flags empty]:
19238 ($(common-objpfx)libc_pic.opts): New target.
19239 ($(common-objpfx)libc_pic.os.clean): New target.
19240 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19242 * config.make.in (OBJCOPY): New variable.
19243 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19244 * configure: Regenerated.
19246 * config.make.in (use-default-link): New variable.
19247 * configure.in (use_default_link): Grok --with-default-link to set it.
19248 * configure: Regenerated.
19249 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19250 (shlib-lds, shlib-lds-flags): Define to empty.
19252 * Makerules (shlib-lds): New variable.
19253 (shlib-lds-flags): New variable.
19254 (build-shlib, build-moduile, build-module-asneeded): Use it.
19255 ($(common-objpfx)libc.so): Use $(shlib-lds).
19256 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19257 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19259 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19260 DT_FLAGS/DT_FLAGS_1 with zero flags.
19262 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19263 linker script munging.
19265 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19267 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19269 * crypt/sha512.c (sha512_process_block): Perform total addition using
19270 128-bit if possible.
19271 (__sha512_finish_ctx): Likewise.
19272 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19274 * crypt/sha256.c (SWAP64): Define.
19275 (sha256_process_block): Perform total addition using 64-bit if
19277 (__sha256_finish_ctx): Likewise.
19279 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19281 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19283 * nscd/hstcache.c (cache_addhst): Likewise.
19284 * nscd/grpcache.c (cache_addgr): Likewise.
19285 * nscd/aicache.c (addhstaiX): Likewise
19286 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19288 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19290 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19292 * nscd/hstcache.c (cache_addhst): Likewise.
19293 * nscd/grpcache.c (cache_addgr): Likewise.
19294 * nscd/aicache.c (addhstaiX): Likewise
19296 2011-07-01 Andreas Schwab <schwab@redhat.com>
19298 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19299 domain only when needed.
19301 2011-06-30 Andreas Schwab <schwab@redhat.com>
19303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19304 is always restored.
19306 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19308 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19309 are re-adding the entry.
19310 * nscd/servicescache.c (cache_addserv): Likewise.
19312 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19314 * sysdeps/generic/dl-irel.h: fix protection against multiple
19316 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19318 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19321 * malloc/memusage.sh: Fix quoting in message.
19322 * debug/xtrace.sh: Likewise.
19324 * configure.in: Remove support for --experimental-malloc option, make
19326 * config.make.in: Likewise.
19327 * malloc/Makefile: Likewise.
19329 2011-06-27 Andreas Schwab <schwab@redhat.com>
19331 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19332 two-byte characters.
19334 2011-06-27 Roland McGrath <roland@hack.frob.com>
19336 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19337 AC_CACHE_CHECK invocation.
19338 * configure: Regenerated.
19340 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19342 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19345 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19346 bit from old_res_options.
19348 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19350 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19351 value type for setfct.
19353 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19356 __gettimeofday instead of gettimeofday.
19358 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19360 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19362 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19364 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19369 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19372 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19373 strcpy-sse2-unaligned strncpy-sse2-unaligned
19374 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19375 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19376 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19377 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19378 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19379 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19381 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19382 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19383 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19384 (STRCPY): Support SSE2 and SSSE3 versions.
19386 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19390 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19391 kernels which artificially limit size of requests.
19393 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19396 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19397 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19398 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19399 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19400 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19401 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19402 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19405 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19406 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19407 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19408 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19409 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19411 Enable unaligned load optimization for Intel Core i3, i5 and i7
19413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19415 (index_Fast_Unaligned_Load): Define.
19416 (HAS_FAST_UNALIGNED_LOAD): Define.
19418 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19420 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19422 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19426 until it is clear that the information is realy needed.
19427 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19429 2011-06-22 Andreas Schwab <schwab@redhat.com>
19431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19433 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19436 /sys/devices/system/cpu/online if it is usable.
19438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19439 reading the information from the /proc filesystem to once a second.
19441 2011-06-21 Andreas Jaeger <aj@suse.de>
19443 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19444 NULL after inclusion of kernel headers.
19446 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19448 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19449 calls to internal_setent.
19452 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19453 addresses using gethostbyname4_r ignore IPv4 addresses.
19455 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19456 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19458 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19460 2011-06-20 David S. Miller <davem@davemloft.net>
19462 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19464 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19466 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19467 (elf_irel): Use it.
19468 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19469 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19470 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19471 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19472 * sysdeps/x86_64/dl-irel.h: Likewise.
19474 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19475 * elf/dl-sym.c: Likewise.
19477 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19479 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19480 need to dereference resplen2.
19482 2011-06-14 Andreas Schwab <schwab@redhat.com>
19484 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19486 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19488 * Makeconfig: Define vardbdir and inst_vardbdir.
19489 * nss/Makefile: Add rules to install db-Makefile.
19491 * nss/nss_db/db-XXX.c: Cleanup.
19493 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19494 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19496 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19497 * nss/makedb.c: Implement -g option to specify that value strings
19498 are generated and should not be added to table iterated over for
19500 * nss/nss_db/db-initgroups.c: New file.
19502 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19505 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19506 (internal_getgrouplist): Adjust to name change.
19507 Update use_initgroups_entry if this is not the first call.
19508 * nss/databases.def: Add initgroups entry.
19510 * nss/makedb.c (compute_tables): Check result of multiple hash table
19511 sizes to minimize maximum chain length.
19513 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19515 * Versions.def: Add entry for libnss_db.
19516 * shlib-versions: Likewise.
19517 * nss/Makefile: Add rules to build libnss_db.
19518 * nss/Versions: Add libnss_db information. Organize libnss_files
19520 * nss/db-Makefile: Add gshadow support. Change rules for the new
19521 makedb progra. Some minor improvements to generate smaller files.
19522 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19524 * nss/makedb.c: ...here.
19525 Improve database format to be smaller and require less memory at
19527 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19529 * nss/nss_db/db-netgrp.c: Likewise.
19530 * nss/nss_db/db-open.c: Likewise.
19531 * nss/nss_files/flies-XXX.x: Adjust comments.
19532 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19533 * nss/nss_files/files-grp.c: Likewise.
19534 * nss/nss_files/files-hosts.c: Likewise.
19535 * nss/nss_files/files-network.c: Likewise.
19536 * nss/nss_files/files-proto.c: Likewise.
19537 * nss/nss_files/files-pwd.c: Likewise.
19538 * nss/nss_files/files-rpc.c: Likewise.
19539 * nss/nss_files/files-service.c: Likewise.
19540 * nss/nss_files/files-sgrp.c: Likewise.
19541 * nss/nss_files/files-spwd.c: Likewise.
19542 * nss/nss_db/db-alias.c: Removed.
19543 * nss/nss_db/dummy-db.h: Removed.
19545 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19547 * nss/makedb.c: Rewritten to not use database library.
19548 * nss/Makefile: Update to build new makedb program.
19550 2011-06-14 Andreas Jaeger <aj@suse.de>
19552 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19553 memset declaration.
19555 2011-06-10 Andreas Schwab <schwab@redhat.com>
19557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19560 2011-06-10 Roland McGrath <roland@hack.frob.com>
19562 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19563 * elf/Makefile ($(objpfx)ld.so): Likewise.
19565 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19566 Don't list ld.so twice in dependencies.
19568 * posix/bug-regex31.c: Include <stdlib.h>.
19570 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19572 * nis/nss_compat/compat-spwd.c
19573 (getspent_next_nss_netgr): Remove unused variable.
19574 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19576 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19577 nonmembers" output to use the right array.
19579 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19581 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19583 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19584 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19585 * catgets/gencat.c (read_input_file): Likewise.
19586 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19588 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19589 variable definition inside #if's controlling its use.
19591 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19593 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19595 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19597 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19600 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19602 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19603 * configure: Regenerated.
19605 * Makerules: Revert last change.
19606 * elf/Makefile: Likewise.
19608 2011-06-09 Roland McGrath <roland@hack.frob.com>
19610 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19611 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19612 (reloc-link): Likewise.
19614 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19616 * elf/Makefile: Add rules to build pldd.
19617 * elf/pldd.c: New file.
19618 * elf/pldd-xx.c: New file.
19620 2011-06-07 Ulrich Drepper <drepper@gmail.com>
19622 * version.h: Update for 2.15 development version.
19624 2011-06-07 David S. Miller <davem@davemloft.net>
19626 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19629 elf_machine_lazy_rel): Likewise.
19630 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19631 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19632 elf_machine_lazy_rel): Likewise.
19633 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19634 dl_hwcap via passed in argument.
19635 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19638 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19640 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19642 2011-06-06 Roland McGrath <roland@hack.frob.com>
19645 * manual/fdl-1.1.texi: New file, verbatim from:
19646 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19647 * manual/lgpl-2.1.texi: New file, verbatim from:
19648 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19649 * manual/Makefile (licenses): New variable, list those new file names.
19651 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19653 * manual/fdl.texi: File removed.
19654 * manual/lesser.texi: File removed.
19655 * manual/libc.texinfo (Copying, Documentation License):
19656 Use new @include file names, put @appendix directive before @include.
19658 2011-06-04 Jakub Jelinek <jakub@redhat.com>
19661 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19662 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19663 (mq_open): Add __NTH.
19665 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19668 Assume Intel Core i3/i5/i7 processor if AVX is available.
19670 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19675 2011-05-31 Andreas Schwab <schwab@redhat.com>
19677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19678 memory. Use alloca_account. Fix memory leak when retrying.
19680 2011-05-31 Ulrich Drepper <drepper@gmail.com>
19682 * version.h (RELEASE): Bump for 2.14 release.
19683 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19685 * config.make.in (RANLIB): Remove entry.
19687 2011-05-30 Ulrich Drepper <drepper@gmail.com>
19689 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19690 (libc.pot): Work around missing support for .ksh extension in xgettext.
19693 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19694 if both request failed.
19695 (send_dg): In case of server errors clear resplen or *resplen2.
19698 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19699 when there are multiple maps.
19700 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19701 (_dl_fini): Remove test here.
19703 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19705 2011-05-29 Ulrich Drepper <drepper@gmail.com>
19708 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19709 bit from old_res_options.
19710 (gaih_inet): Likewise.
19713 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19716 * resolv/res_init.c (res_setoptions): Make the code more compact.
19719 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19723 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19725 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19728 * malloc/malloc.h: Declare malloc hook variables as volatile.
19730 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19734 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19735 raise in the comment.
19736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19738 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19740 2011-05-28 Ulrich Drepper <drepper@gmail.com>
19743 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19744 grow the buffers more if it already has to be sufficient.
19745 (build_wcs_upper_buffer): Likewise.
19746 * posix/regexec.c (check_matching): Likewise.
19747 (clean_state_log_if_needed): Likewise.
19748 (extend_buffers): Don't enlarge buffers beyond size of the input
19750 Patches mostly by Emil Wojak <emil@wojak.eu>.
19751 * posix/bug-regex32.c: New file.
19752 * posix/Makefile (tests): Add bug-regex32.
19754 * locale/findlocale.c (_nl_find_locale): Return right away if
19755 _nl_explode_name failed.
19756 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19758 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19760 * debug/xtrace.sh: Unify messages.
19761 * malloc/memusage.sh: Likewise.
19764 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19765 time symbol from vDSO. Substitute with vsyscall if not available.
19766 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19769 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19770 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19771 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19772 Add sendmmsg and internal_sendmmsg.
19773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19774 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19777 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19778 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19781 2011-05-27 Ulrich Drepper <drepper@gmail.com>
19784 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19785 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19787 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19791 * iconvdata/Makefile (tests): Add bug-iconv9.
19792 * iconvdata/bug-iconv9.c: New file.
19794 2011-05-27 Andreas Schwab <schwab@redhat.com>
19797 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19799 2011-05-25 Jakub Jelinek <jakub@redhat.com>
19801 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19802 (struct user_regs_struct): Change intcs field back to cs.
19804 2011-05-25 Ulrich Drepper <drepper@gmail.com>
19806 * po/ja.po: Update from translation team.
19808 2011-05-23 Ulrich Drepper <drepper@gmail.com>
19811 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19812 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19814 2011-05-20 Andreas Schwab <schwab@redhat.com>
19816 * stdlib/longlong.h: Update from GCC.
19818 2011-05-23 Andreas Schwab <schwab@redhat.com>
19820 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19822 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19823 Add parameter name.
19824 (__sysconf): Pass it down.
19826 2011-05-22 Ulrich Drepper <drepper@gmail.com>
19829 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19831 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19832 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19833 add in in __libc_use_alloca calls. Adjust callers.
19834 (glob): Use malloc in some situations.
19836 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19837 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19840 2011-05-21 Ulrich Drepper <drepper@gmail.com>
19842 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19843 and CLOCK_BOOTTIME_ALARM.
19846 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19849 * string/_strerror.c (__strerror_r): Print negative errors as signed
19853 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19854 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19855 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19857 * configure.in: Fix typo in redirection and correct removal of test
19858 files in two cases.
19861 * locale/setlocale.c (new_composite_name): Fix test to check for
19862 identical name of all categories.
19865 * libio/filedoalloc.c (local_isatty): New function.
19866 (_IO_file_doallocate): Use local_isatty.
19867 * stdio-common/perror.c (perror): In case a new stream is used
19868 forward the stream error.
19869 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19872 2011-05-20 Ulrich Drepper <drepper@gmail.com>
19875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19877 * include/alloca.h (extend_alloca_account): Define.
19880 * posix/regex.h: Fix comments with documentation of user-accessible
19881 fields after compilation and describe correct free'ing of pattern
19882 after re_compile_pattern.
19883 Patch by Reuben Thomas <rrt@sc3d.org>.
19885 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19887 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19888 and -mno-altivec to prevent the compiler from using Altivec and/or
19889 VSX instructions when the corresponding registers are not available.
19891 2011-05-19 Andreas Schwab <schwab@redhat.com>
19893 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19895 2011-05-19 Ulrich Drepper <drepper@gmail.com>
19897 * libio/freopen.c (freopen): Use __dup2, not dup2.
19898 * libio/freopen64.c (freopen64): Likewise.
19900 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19903 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19904 * math/Makefile (tests): Add test-powl.
19905 (CFLAGS-test-powl.c): Define.
19906 * math/test-powl.c: New file.
19908 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19910 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19912 2011-05-17 Ulrich Drepper <drepper@gmail.com>
19915 * iconvdata/gb18030.c: Update to GB18020-2005.
19917 2011-05-16 Ulrich Drepper <drepper@gmail.com>
19919 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19920 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19921 Patch by Aharon Robbins <arnold@skeeve.com>.
19924 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19928 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19929 through underflows.
19932 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19933 point to strings before performing equality test for error_one_per_line
19937 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19941 (struct user_fpregs_struct): Avoid __uint*_t types.
19944 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19945 symbol info. Use it instead of calling _dl_addr locally.
19946 (lock_and_info): New function.
19947 (tr_freehook): Call lock_and_info and pass symbol info as additional
19948 parameter to tr_where.
19949 (tr_mallochook): Likewise.
19950 (tr_reallochook): Likewise.
19951 (tr_memalignhook): Likewise.
19953 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19954 used and couldn't be at all thread-safe.
19956 2011-05-15 Ulrich Drepper <drepper@gmail.com>
19958 * libio/freopen.c (freopen): Don't close old file descriptor
19959 before the new one is opened. Instead dup the new file descriptor
19960 to the old one after the new stream is created.
19961 * libio/freopen64.c (freopen64): Likewise.
19962 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19963 * libio/fileops.c (_IO_new_file_close_it): Handle new
19964 _IO_FLAGS2_NOCLOSE flag.
19965 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19966 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19967 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19968 _IO_FLAGS2_NOCLOSE flag.
19969 * include/unistd.h: Add hidden_proto for dup3.
19970 Define __have_dup3.
19971 * io/dup3.c: Define hidden symbol.
19972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19975 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19976 when an incomplete long option is used.
19977 * posix/tst-getopt_long1.c: New file.
19978 * posix/Makefile (tests): Add tst-getopt_long1.
19981 * scripts/config.guess: Update from autoconf-2.68.
19982 * scripts/config.sub: Likewise.
19985 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19987 (has_cpuclock): ...this. New function.
19988 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19989 macro here based on has_cpuclock code.
19992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19993 First byte (not low byte) is now always NUL.
19994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19997 Use non-cancelable interfaces.
20000 * locale/iso-639.def: Add entry for Sorani.
20003 * include/stdlib.h: Move include protection to the right place.
20004 Define abort_msg_s. Declare __abort_msg with it.
20005 * stdlib/abort.c (__abort_msg): Adjust type.
20006 * assert/assert.c (__assert_fail_base): New function. Majority
20007 of code from __assert_fail. Allocate memory for __abort_msg with
20009 (__assert_fail): Now call __assert_fail_base.
20010 * assert/assert-perr.c: Remove bulk of implementation. Use
20011 __assert_fail_base.
20012 * include/assert.hL Declare __assert_fail_base.
20013 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20015 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20017 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20021 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20022 until all modules are registered in the DTV.
20023 * elf/Makefile: Add rules to build and run tst-tls19.
20024 * elf/tst-tls19.c: New file.
20025 * elf/tst-tls19mod1.c: New file.
20026 * elf/tst-tls19mod2.c: New file.
20027 * elf/tst-tls19mod3.c: New file.
20028 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20031 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20035 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20036 two-byte sequence errors.
20037 * iconvdata/Makefile (tests): Add bug-iconv8.
20038 * iconvdata/bug-iconv8.c: New file.
20041 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20044 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20047 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20048 (dummy_getcfa): New function.
20049 (init): Get _Unwind_GetCFA address, use dummy if not found.
20050 (backtrace_helper): In recursion check, also check whether CFA changes.
20051 (__backtrace): Completely initialize arg.
20053 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20054 storing incomplete byte sequence in state object. Avoid testing for
20055 guaranteed too small input if we know there is enough data available.
20057 2011-05-11 Andreas Schwab <schwab@redhat.com>
20059 * Makeconfig (+link-pie): Indent.
20060 * Rules (binaries-pie): Define if $(have-fpie) and
20062 (binaries-shared): Also filter out $(binaries-pie).
20063 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20064 * nscd/Makefile (others-pie): Add nscd.
20065 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20066 ($(objpfx)nscd): Remove command override.
20067 * login/Makefile (others-pie): Add pt_chown.
20068 ($(objpfx)pt_chown): Remove command override.
20069 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20070 remove command overrides.
20072 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20074 * libio/tst_putwc.c: Fix error messages.
20077 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20078 currently writing and seek to current position when not.
20079 * libio/Makefile (tests): Add bug-fclose1.
20080 * libio/bug-fclose1.c: New file.
20082 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20085 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20086 don't set DF_1_NODELETE here.
20087 (do_lookup_x): When entering new entry test for copy relocation
20088 and if necessary set DF_1_NODELETE flag.
20089 * elf/tst-unique4.cc: New file.
20090 * elf/tst-unique4.h: New file.
20091 * elf/tst-unique4lib.cc: New file.
20092 * elf/Makefile: Add rules to build and run tst-unique4.
20093 Patch by Piotr Bury <pbury@goahead.com>.
20095 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20098 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20101 * misc/mntent_r.c (addmntent): Flush the stream after the output
20104 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20105 (is_trusted_path_normalize): Skip initial colon. Append slash
20106 to empty buffer. Duplicate is_trusted_path code but allow
20107 constructed patch to be prefix.
20108 (is_dst): Allow $ORIGIN followed by /.
20109 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20110 Correct testing of result of is_trusted_path_normalize
20111 (decompose_rpath): Fix warning.
20113 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20116 * grp/initgroups.c (internal_getgrouplist): When we found the service
20117 list through the initgroups entry in nsswitch.conf do not always
20118 continue on a successful lookup. Don't always use the
20119 __nss_group_database value if it is set.
20120 * nss/nsswitch.conf (initgroups): Change action for successful db
20121 lookup to continue for compatibility.
20123 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20126 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20128 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20130 * iconvdata/tst-tables.sh: Likewise.
20131 * iconvdata/cp770.c: New file.
20132 * iconvdata/cp771.c: New file.
20133 * iconvdata/cp772.c: New file.
20134 * iconvdata/cp773.c: New file.
20135 * iconvdata/cp774.c: New file.
20136 * iconvdata/testdata/CP770: New file.
20137 * iconvdata/testdata/CP770..UTF8: New file.
20138 * iconvdata/testdata/CP771: New file.
20139 * iconvdata/testdata/CP771..UTF8: New file.
20140 * iconvdata/testdata/CP772: New file.
20141 * iconvdata/testdata/CP772..UTF8: New file.
20142 * iconvdata/testdata/CP773: New file.
20143 * iconvdata/testdata/CP773..UTF8: New file.
20144 * iconvdata/testdata/CP774: New file.
20145 * iconvdata/testdata/CP774..UTF8: New file.
20147 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20149 * iconvdata/gen-8bit-gap.sh: Likewise.
20150 * iconvdata/gen-8bit.sh: Likewise.
20152 * locale/iso-639.def: Add ary entry.
20155 * locale/C-translit.h.in: Add U20A1 transliteration.
20158 * locale/iso-639.def: Add wae entry.
20159 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20162 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20166 * locale/C-translit.h.in: Add entry for U20B9.
20167 Patch by pravin.d.s@gmail.com.
20169 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20172 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20173 ENAMETOOLONG use generic getcwd.
20174 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20175 in rtld. Use *stat64.
20176 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20177 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20178 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20179 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20180 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20181 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20182 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20183 __fstatat64 macros.
20184 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20185 * dirent/rewinddir.c: Add libc_hidden_def.
20186 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20187 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20189 * include/dirent.h (__alloc_dir): Add flags parameter.
20190 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20191 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20193 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20194 from fdopendir if O_CLOEXEC is already set.
20196 2011-03-15 Alan Modra <amodra@gmail.com>
20198 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20199 l_tls_firstbyte_offset non-zero. Save padding offset in
20200 l_tls_firstbyte_offset for later use.
20201 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20202 freeing static tls block.
20204 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20206 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20207 where #ifdef was intended. The intent is to prevent ARG_MAX from
20208 being defined by the kernel headers.
20210 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20213 * resolv/resolv.h: Define RES_NOTLDQUERY.
20214 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20215 no-tld-query and set RES_NOTLDQUERY.
20216 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20217 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20218 modern BIND to search name as TLD unless forbidden.
20220 2011-05-07 Petr Baudis <pasky@suse.cz>
20221 Ulrich Drepper <drepper@gmail.com>
20224 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20225 (is_trusted_path): ...to here.
20226 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20227 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20228 using is_trusted_path_normalize() in setuid scripts.
20230 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20232 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20233 __BEGIN/__END_DECLS.
20235 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20237 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20238 NSS_STATUS_NOTFOUND if no record was found.
20240 2011-05-05 Andreas Schwab <schwab@redhat.com>
20242 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20243 (headers-not-in-tirpc): Remove rpc/netdb.h
20244 * resolv/netdb.h: Revert last change.
20246 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20248 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20249 circular dependency between libgcc.a and libc.a.
20251 2011-05-05 Andreas Schwab <schwab@redhat.com>
20253 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20254 * nis/Makefile: Don't install rpcsvc/*.
20255 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20256 instead of <rpc/types.h>.
20257 (MAXHOSTNAMELEN): Define.
20259 2011-05-03 Andreas Schwab <schwab@redhat.com>
20261 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20263 2011-04-28 Maciej Babinski <mbabinski@google.com>
20266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20267 gethostbyname4_r when IPv6 results are possible.
20269 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20272 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20273 _PC_PIPE_BUF handling.
20275 2011-04-30 Bruno Haible <bruno@clisp.org>
20278 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20279 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20281 * inet/getnameinfo.c (getnameinfo): Likewise.
20283 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20285 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20286 to groups setting in database lookup.
20287 * nss/nsswitch.conf: Add initgroups entry.
20289 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20292 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20294 Patch by Eric Blake <eblake@redhat.com>.
20296 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20298 * sunrpc/Makefile (need-export-routines): Add svc_run.
20299 (routines): Remove svc_run.
20300 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20301 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20302 * sunrpc/svc_run.c (svc_run): Likewise.
20303 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20305 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20308 problem in reallocation in last patch.
20310 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20312 * sunrpc/Makefile: Move inclusion of Rules.
20314 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20316 * nss/nss_files/files-initgroups.c: New file.
20317 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20318 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20319 _nss_files_initgroups_dyn.
20321 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20323 * elf/elf.h (R_ARM_IRELATIVE): Define.
20325 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20327 * po/ru.po: Update from translation team.
20329 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20331 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20334 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20337 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20338 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20343 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20348 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20349 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20351 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20354 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20356 * stdlib/bug-getcontext.c: New file.
20357 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20359 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20361 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20362 instructions into .machine "z9-109".
20363 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20364 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20366 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20368 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20369 between environment variables and auxiliary vector.
20371 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20373 * Makefile: Add rules to build linkobj/libc.so.
20374 * include/libc-symbols.h: Define libc_hidden_nolink.
20375 * include/rpc/auth.h: Mark functions which are to be hidden.
20376 * include/rpc/auth_des.h: Likewise.
20377 * include/rpc/auth_unix.h: Likewise.
20378 * include/rpc/clnt.h: Likewise.
20379 * include/rpc/des_crypt.h: Likewise.
20380 * include/rpc/key_prot.h: Likewise.
20381 * include/rpc/pmap_clnt.h: Likewise.
20382 * include/rpc/pmap_prot.h: Likewise.
20383 * include/rpc/pmap_rmt.h: Likewise.
20384 * include/rpc/rpc_msg.h: Likewise.
20385 * include/rpc/svc.h: Likewise.
20386 * include/rpc/svc_auth.h: Likewise.
20387 * include/rpc/xdr.h: Likewise.
20388 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20389 * nss/Makefile: Likewise.
20390 * sunrpc/Makefile: Don't install headers. Build library with normal
20391 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20392 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20393 for the compat linking library. Remove use of INTDEF/INTUSE.
20394 * sunrpc/auth_none.c: Likewise.
20395 * sunrpc/auth_unix.c: Likewise.
20396 * sunrpc/authdes_prot.c: Likewise.
20397 * sunrpc/authuxprot.c: Likewise.
20398 * sunrpc/clnt_gen.c: Likewise.
20399 * sunrpc/clnt_perr.c: Likewise.
20400 * sunrpc/clnt_raw.c: Likewise.
20401 * sunrpc/clnt_simp.c: Likewise.
20402 * sunrpc/clnt_tcp.c: Likewise.
20403 * sunrpc/clnt_udp.c: Likewise.
20404 * sunrpc/clnt_unix.c: Likewise.
20405 * sunrpc/des_crypt.c: Likewise.
20406 * sunrpc/des_soft.c: Likewise.
20407 * sunrpc/get_myaddr.c: Likewise.
20408 * sunrpc/key_call.c: Likewise.
20409 * sunrpc/key_prot.c: Likewise.
20410 * sunrpc/netname.c: Likewise.
20411 * sunrpc/pm_getmaps.c: Likewise.
20412 * sunrpc/pm_getport.c: Likewise.
20413 * sunrpc/pmap_clnt.c: Likewise.
20414 * sunrpc/pmap_prot.c: Likewise.
20415 * sunrpc/pmap_prot2.c: Likewise.
20416 * sunrpc/pmap_rmt.c: Likewise.
20417 * sunrpc/publickey.c: Likewise.
20418 * sunrpc/rpc_cmsg.c: Likewise.
20419 * sunrpc/rpc_common.c: Likewise.
20420 * sunrpc/rpc_dtable.c: Likewise.
20421 * sunrpc/rpc_prot.c: Likewise.
20422 * sunrpc/rpc_thread.c: Likewise.
20423 * sunrpc/rtime.c: Likewise.
20424 * sunrpc/svc.c: Likewise.
20425 * sunrpc/svc_auth.c: Likewise.
20426 * sunrpc/svc_authux.c: Likewise.
20427 * sunrpc/svc_raw.c: Likewise.
20428 * sunrpc/svc_run.c: Likewise.
20429 * sunrpc/svc_simple.c: Likewise.
20430 * sunrpc/svc_tcp.c: Likewise.
20431 * sunrpc/svc_udp.c: Likewise.
20432 * sunrpc/svc_unix.c: Likewise.
20433 * sunrpc/svcauth_des.c: Likewise.
20434 * sunrpc/xcrypt.c: Likewise.
20435 * sunrpc/xdr.c: Likewise.
20436 * sunrpc/xdr_array.c: Likewise.
20437 * sunrpc/xdr_float.c: Likewise.
20438 * sunrpc/xdr_intXX_t.c: Likewise.
20439 * sunrpc/xdr_mem.c: Likewise.
20440 * sunrpc/xdr_rec.c: Likewise.
20441 * sunrpc/xdr_ref.c: Likewise.
20442 * sunrpc/xdr_sizeof.c: Likewise.
20443 * sunrpc/xdr_stdio.c: Likewise.
20445 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20448 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20449 * sysdeps/ia64/dl-tls.h: Likewise.
20450 * sysdeps/powerpc/dl-tls.h: Likewise.
20451 * sysdeps/s390/dl-tls.h: Likewise.
20452 * sysdeps/sh/dl-tls.h: Likewise.
20453 * sysdeps/sparc/dl-tls.h: Likewise.
20454 * sysdeps/x86_64/dl-tls.h: Likewise.
20455 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20457 2011-03-14 Andreas Schwab <schwab@redhat.com>
20459 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20460 rpath element also skip the following colon.
20461 (expand_dynamic_string_token): Add is_path parameter and pass
20462 down to DL_DST_REQUIRED and _dl_dst_substitute.
20463 (decompose_rpath): Call expand_dynamic_string_token with
20464 non-zero is_path. Ignore empty rpaths.
20465 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20468 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20473 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20476 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20477 Patch by Filipe David Manana <fdmanana@apache.org>.
20479 2011-04-07 Andreas Schwab <schwab@redhat.com>
20481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20482 Maintain aligned stack.
20483 (CHECK_RSP): Remove unused macro.
20485 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20487 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20488 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20490 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20492 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20494 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20496 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20499 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20500 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20501 * sysdeps/x86_64/memmove.c: New file.
20502 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20503 (memcpy): Renamed to ...
20504 (__new_memcpy): This.
20505 (memcpy): Provide GLIBC_2_14 memcpy.
20506 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20507 (memcpy): Provide GLIBC_2_2_5 memcpy.
20509 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20512 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20514 2011-03-30 Andreas Schwab <schwab@redhat.com>
20516 * misc/syncfs.c: New file.
20517 * misc/Makefile (routines): Add syncfs.
20518 * posix/unistd.h: Declare syncfs.
20519 * sysdeps/unix/syscalls.list: Add syncfs.
20521 2011-04-01 Andreas Schwab <schwab@redhat.com>
20523 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20526 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20530 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20533 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20535 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20543 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20544 sync_file_range.c with -fexceptions.
20545 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20546 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20547 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20548 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20549 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20550 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20551 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20552 sync_file_range as cancellation point
20553 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20554 now a wrapper around __call_sync_file_range with cancellation handling.
20555 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20556 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20557 function name to __call_sync_file_range.
20558 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20559 Add call_sync_file_range.
20561 2011-04-01 Andreas Schwab <schwab@redhat.com>
20563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20566 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20568 * iconv/iconv.h: Fix typo in comment.
20569 * io/fcntl.h: Likewise.
20570 * libio/stdio.h: Likewise.
20571 * posix/spawn.h: Likewise.
20572 * posix/unistd.h: Likewise.
20573 * stdlib/stdlib.h: Likewise.
20574 * time/time.h: Likewise.
20575 * wcsmbs/wchar.h: Likewise.
20577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20578 open_by_handle): Add.
20579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20580 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20581 Augment a few comments.
20582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20587 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20590 * io/fcntl.h (AT_EMPTY_PATH): Define.
20592 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20594 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20595 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20596 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20598 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20599 * Versions.def: Add GLIBC_2.14.
20600 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20603 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20605 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20607 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20609 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20612 * string/test-strncmp.c (do_page_test): New function.
20613 (check2): Likewise.
20614 (test_main): Call check2.
20615 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20617 2011-03-20 Ulrich Drepper <drepper@gmail.com>
20620 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20621 Handle cache information in CPU leaf 4.
20622 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20624 2011-03-18 Ulrich Drepper <drepper@gmail.com>
20627 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20628 character representation.
20629 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20631 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20633 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20634 END(__isnan) to END(__isnanf) to match function entry point/label
20635 EALIGN(__isnanf,...).
20637 2011-03-10 Jakub Jelinek <jakub@redhat.com>
20639 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20641 2011-03-10 Ulrich Drepper <drepper@gmail.com>
20644 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20645 copy from the symbol referenced in the relocation to initialize the
20647 Patch by Piotr Bury <pbury@goahead.com>.
20648 * elf/Makefile: Add rules to build and tst-unique3.
20649 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20650 * elf/tst-unique3.cc: New file.
20651 * elf/tst-unique3.h: New file.
20652 * elf/tst-unique3lib.cc: New file.
20653 * elf/tst-unique3lib2.cc: New file.
20655 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20657 2011-03-10 Mike Frysinger <vapier@gentoo.org>
20659 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20660 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20663 2011-03-06 Ulrich Drepper <drepper@gmail.com>
20665 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20666 to-be-loaded object along a path to loader is ld.so.
20668 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20669 Ulrich Drepper <drepper@gmail.com>
20671 * sysdeps/x86_64/memset.S: After aligning destination, code
20672 branches to different locations depending on the value of
20673 misalignment, when multiarch is enabled. Fix this.
20675 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20677 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20678 Set _x86_64_preferred_memory_instruction for AMD processsors.
20679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20680 Set bit_Prefer_SSE_for_memop for AMD processors.
20682 2011-03-04 Ulrich Drepper <drepper@gmail.com>
20684 * libio/fmemopen.c (fmemopen): Optimize a bit.
20686 2011-03-03 Andreas Schwab <schwab@redhat.com>
20688 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20690 2011-03-03 Roland McGrath <roland@redhat.com>
20692 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20694 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20696 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20697 __bzero_ultra1 instead of __memset_ultra1.
20699 2011-02-23 Andreas Schwab <schwab@redhat.com>
20700 Ulrich Drepper <drepper@gmail.com>
20703 * include/link.h (struct link_map): Add l_orig_initfini.
20704 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20705 returning unsuccessfully.
20706 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20707 close of a file loaded at startup, restore the original l_initfini
20709 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20710 list, store the pointer.
20711 * elf/Makefile ($(objpfx)noload-mem): New rule.
20712 (noload-ENV): Define.
20713 (tests): Add $(objpfx)noload-mem.
20714 * elf/noload.c: Include <memcheck.h>.
20715 (main): Call mtrace. Close all opened handles.
20717 2011-02-17 Andreas Schwab <schwab@redhat.com>
20720 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20721 dependencies are missing.
20723 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20725 Fix __if_freereq crash: Unlike the generic version which uses free,
20727 * sysdeps/mach/hurd/ifreq.h: New file.
20729 2011-01-27 Petr Baudis <pasky@suse.cz>
20730 Ulrich Drepper <drepper@gmail.com>
20733 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20734 to extend_alloca().
20735 * stdio-common/bug23.c: New file.
20736 * stdio-common/Makefile (tests): Add bug23.
20738 2010-09-28 Andreas Schwab <schwab@redhat.com>
20739 Ulrich Drepper <drepper@gmail.com>
20742 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20743 before performing relro protection. At old place add assertion
20744 to make sure nothing changed.
20746 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20747 Glauber de Oliveira Costa <glommer@gmail.com>
20749 * elf/elf.h: Add new ARM TLS relocs.
20751 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20754 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20756 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20758 * sysdeps/wordsize-64/tst-writev.c: New file.
20760 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20762 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20763 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20764 insns in _dl_start to prevent a TOC reference before relocs are
20767 2011-02-15 Ulrich Drepper <drepper@gmail.com>
20770 * Makeconfig: Remove RANLIB definition.
20771 * Makerules: Don't use RANLIB.
20772 * aclocal.m4: Remove ranlib test.
20773 * configure.in: No need to check for ranlib.
20774 * elf/rtld-Rules: Don't use RANLIB.
20776 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20778 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20780 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20781 inclusion protection macro.
20783 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20784 SIGRTMIN and SIGRTMAX and print information in that case only when
20785 SIGRTMIN is defined.
20787 2011-02-11 Jakub Jelinek <jakub@redhat.com>
20789 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20790 arginfo fn returning -1.
20792 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20793 and thousands string is zero terminated.
20795 2011-02-03 Andreas Schwab <schwab@redhat.com>
20797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20798 sysdeps/unix/sysv/linux/bits/socket.h.
20800 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20802 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20803 (__CPU_COUNT): Remove old macros.
20804 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20805 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20806 (__CPU_ALLOC, __CPU_FREE): Add macros.
20807 (__sched_cpualloc, __sched_cpufree): Add declarations.
20809 2011-02-05 Ulrich Drepper <drepper@gmail.com>
20811 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20812 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20813 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20814 (readdhstai): Return value of addhstaiX call.
20815 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20816 (addgrbyX): Return value returned by cache_addgr.
20817 (readdgrbyname): Return value returned by addgrbyX.
20818 (readdgrbygid): Likewise.
20819 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20820 (addpwbyX): Return value returned by cache_addpw.
20821 (readdpwbyname): Return value returned by addhstbyX.
20822 (readdpwbyuid): Likewise.
20823 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20824 (addservbyX): Return value returned by cache_addserv.
20825 (readdservbyname): Return value returned by addservbyX:
20826 (readdservbyport): Likewise.
20827 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20828 (addhstbyX): Return value returned by cache_addhst.
20829 (readdhstbyname): Return value returned by addhstbyX.
20830 (readdhstbyaddr): Likewise.
20831 (readdhstbynamev6): Likewise.
20832 (readdhstbyaddrv6): Likewise.
20833 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20834 (readdinitgroups): Return value returned by addinitgroupsX.
20835 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20836 (prune_cache): Keep track of timeout value of re-added entries.
20837 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20838 * nscd/nscd.h: Adjust prototypes of readd* functions.
20840 2011-02-04 Roland McGrath <roland@redhat.com>
20842 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20843 (nis_stats): Likewise.
20844 * nis/nis_modify.c (nis_modify): Likewise.
20845 * nis/nis_remove.c (nis_remove): Likewise.
20846 * nis/nis_add.c (nis_add): Likewise.
20848 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20850 * posix/fnmatch_loop.c: Add some consts.
20852 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20854 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20857 * config.make.in (config-cflags-novzeroupper): Define.
20858 * configure.in: Substitute libc_cv_cc_novzeroupper.
20859 * elf/Makefile (AVX-CFLAGS): Define.
20860 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20861 (CFLAGS-tst-auditmod4a.c): Likewise.
20862 (CFLAGS-tst-auditmod4b.c): Likewise.
20863 (CFLAGS-tst-auditmod6b.c): Likewise.
20864 (CFLAGS-tst-auditmod6c.c): Likewise.
20865 (CFLAGS-tst-auditmod7b.c): Likewise.
20866 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20868 2011-02-02 Ulrich Drepper <drepper@gmail.com>
20870 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20871 function to the callback.
20872 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20874 2011-02-02 Andreas Schwab <schwab@redhat.com>
20876 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20879 2011-01-19 Ulrich Drepper <drepper@gmail.com>
20882 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20884 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20886 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20889 * elf/Makefile: Add rules to build and run new test.
20890 * elf/tst-initorder.c: New file.
20891 * elf/tst-initorder.exp: New file.
20892 * elf/tst-initordera1.c: New file.
20893 * elf/tst-initordera2.c: New file.
20894 * elf/tst-initordera3.c: New file.
20895 * elf/tst-initordera4.c: New file.
20896 * elf/tst-initorderb1.c: New file.
20897 * elf/tst-initorderb2.c: New file.
20898 * elf/tst-order-a1.c: New file.
20899 * elf/tst-order-a2.c: New file.
20900 * elf/tst-order-a3.c: New file.
20901 * elf/tst-order-a4.c: New file.
20902 * elf/tst-order-b1.c: New file.
20903 * elf/tst-order-b2.c: New file.
20904 * elf/tst-order-main.c: New file.
20905 New test case by George Gensure <werkt0@gmail.com>.
20907 2010-10-01 Andreas Schwab <schwab@redhat.com>
20909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20910 decoding ACE if AI_CANONIDN.
20912 2011-01-18 Ulrich Drepper <drepper@gmail.com>
20914 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20916 2011-01-17 Ulrich Drepper <drepper@gmail.com>
20918 * version.h (RELEASE): Bump for 2.13 release.
20919 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20921 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20925 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20926 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20927 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20928 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20929 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20932 * posix/getconf.c: Update copyright year.
20933 * catgets/gencat.c: Likewise.
20934 * csu/version.c: Likewise.
20935 * debug/catchsegv.sh: Likewise.
20936 * debug/xtrace.sh: Likewise.
20937 * elf/ldconfig.c: Likewise.
20938 * elf/ldd.bash.in: Likewise.
20939 * elf/sprof.c (print_version): Likewise.
20940 * iconv/iconv_prog.c: Likewise.
20941 * iconv/iconvconfig.c: Likewise.
20942 * locale/programs/locale.c: Likewise.
20943 * locale/programs/localedef.c: Likewise.
20944 * malloc/memusage.sh: Likewise.
20945 * malloc/mtrace.pl: Likewise.
20946 * nscd/nscd.c (print_version): Likewise.
20947 * nss/getent.c: Likewise.
20949 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20950 PF_CAIF, and PF_ALG.
20951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20953 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20955 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20956 (modules-names): Use them.
20957 (ifunc-test-modules, ifunc-pie-tests): Define.
20958 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20959 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20960 (test-extras): Likewise.
20961 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20962 $(compile-command.c).
20963 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20964 (all-built-dso): Define.
20965 (check-textrel.out, check-execstack.out): Depend on it.
20967 * configure.in: Don't override --enable-multi-arch.
20969 2011-01-15 Ulrich Drepper <drepper@gmail.com>
20972 * nscd/hstcache.c (tryagain): Define.
20973 (cache_addhst): Return tryagain not notfound for temporary errors.
20974 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20977 2011-01-14 Ulrich Drepper <drepper@gmail.com>
20980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20981 to make the syscall.
20982 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20985 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20986 and fall back to matching as normal character if the string ends before
20987 the matching ']' is found. This is what POSIX requires.
20988 * posix/testfnm.c: Adjust test result.
20989 * posix/globtest.sh: Adjust test result. Add new test.
20990 * posix/tst-fnmatch.input: Likewise.
20991 * posix/tst-fnmatch2.c: Add new test.
20993 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20995 * elf/Makefile (check-execstack): Revert last change. Depend on
20997 (check-execstack.h): New target.
20998 (generated): Add check-execstack.h.
20999 * elf/check-execstack.c: Include "check-execstack.h".
21000 (main): Revert last change.
21001 (handle_file): Return zero if GNU_STACK is absent and
21002 DEFAULT_STACK_PERMS doesn't include PF_X.
21004 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21006 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21007 in child fails because the descriptor is already closed.
21008 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21009 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21010 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21013 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21017 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21018 temporary buffer used to handle multi lookups locally.
21019 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21021 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21023 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21026 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21028 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21029 alignment for SSE2.
21031 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21034 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21035 characters. When rounding increased number of integer digits recompute
21037 * stdio-common/tst-grouping.c: New file.
21038 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21040 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21042 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21043 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21045 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21047 * bits/select.h: Likewise.
21049 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21051 * po/ja.po: Update from translation team.
21053 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21056 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21057 implementation just like for lxstat, fxstatat, et al.
21059 2010-12-27 Jim Meyering <meyering@redhat.com>
21062 * posix/regexec.c (build_trtable): Return failure indication upon
21063 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21065 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21068 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21069 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21070 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21074 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21077 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21078 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21080 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21082 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21083 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21084 script has SORT_BY_INIT_PRIORITY.
21085 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21086 NO_CTORS_DTORS_SECTIONS is defined.
21087 * elf/soinit.c: Likewise.
21088 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21089 NO_CTORS_DTORS_SECTIONS is defined.
21090 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21091 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21092 * sysdeps/sh/init-first.c: Likewise.
21093 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21095 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21097 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21098 always use the slow path.
21100 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21102 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21103 similar rule which adds the sysdep directories to the header search in
21104 order to pick up the correct platform stackinfo.h.
21105 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21106 perform test if it is, otherwise return successfully without testing.
21107 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21108 DEFAULT_STACK_PERMS define in stackinfo.h.
21109 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21110 defined in stackinfo.h.
21111 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21112 DEFAULT_STACK_PERMS defined in stackinfo.h.
21113 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21114 * sysdeps/ia64/stackinfo.h: Likewise.
21115 * sysdeps/s390/stackinfo.h: Likewise.
21116 * sysdeps/sh/stackinfo.h: Likewise.
21117 * sysdeps/sparc/stackinfo.h: Likewise.
21118 * sysdeps/x86_64/stackinfo.h: Likewise.
21119 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21120 PF_X for powerpc64. Retain PF_X for powerpc32.
21122 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21124 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21127 GETDENTS_64BIT_ALIGNED.
21129 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21131 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21133 2010-12-10 Andreas Schwab <schwab@redhat.com>
21135 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21138 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21139 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21141 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21142 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21144 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21147 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21150 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21152 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21154 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21156 * po/it.po: Update from translation team.
21158 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21163 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21165 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21167 2010-11-24 Andreas Schwab <schwab@redhat.com>
21169 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21171 (gaih_getanswer_slice): Likewise.
21173 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21177 2010-05-31 Petr Baudis <pasky@suse.cz>
21180 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21181 silently even in the chroot mode.
21183 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21185 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21186 last patch a bit. Pretty printing
21188 2010-05-31 Petr Baudis <pasky@suse.cz>
21191 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21192 initialization of skip_initgroups_dyn.
21194 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21196 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21199 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21201 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21203 2010-11-11 Andreas Schwab <schwab@redhat.com>
21205 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21206 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21207 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21208 ($(objpfx)tst-fnmatch-mem): New rule.
21209 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21210 * posix/tst-fnmatch.c (main): Call mtrace.
21212 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21215 Support Intel processor model 6 and model 0x2c.
21217 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21219 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21222 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21225 * string/test-strncasecmp.c (check_result): New function.
21226 (do_one_test): Use it.
21227 (check1): New function.
21228 (test_main): Use it.
21229 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21230 Support strcasecmp and strncasecmp.
21232 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21235 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21238 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21240 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21244 * sysdeps/x86_64/multiarch/bzero.S: New file.
21245 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21246 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21247 * sysdeps/x86_64/multiarch/memset.S: New file.
21248 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21250 Set bit_Prefer_SSE_for_memop for Intel processors.
21251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21253 (index_Prefer_SSE_for_memop): Define.
21254 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21256 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21258 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21259 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21261 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21264 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21265 (__x86_64_raw_data_cache_size_half): Likewise.
21266 (__x86_64_raw_shared_cache_size): Likewise.
21267 (__x86_64_raw_shared_cache_size_half): Likewise.
21269 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21270 (__x86_64_raw_data_cache_size_half): Likewise.
21271 (__x86_64_raw_shared_cache_size): Likewise.
21272 (__x86_64_raw_shared_cache_size_half): Likewise.
21273 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21274 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21275 and __x86_64_raw_shared_cache_size_half. Round
21276 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21277 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21278 to multiple of 256 bytes.
21280 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21284 of inacessible symlinks. Verify result of symlink before returning it.
21285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21286 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21288 2010-10-28 Erich Ritz <erichritz@gmail.com>
21290 * math/math.h (isinf): Fix typo in comment.
21292 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21294 * po/da.po: Update from translation team.
21296 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21298 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21299 is added to the list.
21301 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21302 Ulrich Drepper <drepper@gmail.com>
21304 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21305 the global list here. Move code to...
21306 (_dl_add_to_namespace_list): ...here. New function.
21307 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21308 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21309 * elf/dl-load.c (lose): Don't remove the element from the list.
21310 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21311 (_dl_map_object): Likewise.
21313 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21316 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21317 into all bytes of SSE register.
21318 Patch by Richard Li <richardpku@gmail.com>.
21320 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21323 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21326 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21328 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21329 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21330 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21331 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21336 2010-10-22 Andreas Schwab <schwab@redhat.com>
21338 * include/dlfcn.h (__RTLD_SECURE): Define.
21339 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21340 mode & __RTLD_SECURE instead.
21341 (open_path): Rename preloaded parameter to secure.
21342 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21343 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21344 * elf/dl-deps.c (openaux): Likewise.
21345 * elf/rtld.c (struct map_args): Remove is_preloaded.
21346 (map_doit): Don't use it.
21347 (dl_main): Likewise.
21348 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21349 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21351 2010-09-09 Andreas Schwab <schwab@redhat.com>
21353 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21354 (sysd-rules-targets): Remove duplicates.
21355 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21356 rtld-%.$o dependency.
21358 2010-10-18 Andreas Schwab <schwab@redhat.com>
21360 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21361 _dl_map_object do it.
21363 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21365 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21366 fast fma builtins, define the macros in the C99 standard.
21367 (FP_FAST_FMAF): Likewise.
21368 (FP_FAST_FMAL): Likewise.
21369 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21371 * bits/mathdef.h: Update copyright year.
21372 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21374 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21376 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21377 builtins, define the macros in the C99 standard.
21378 (FP_FAST_FMAF): Likewise.
21379 (FP_FAST_FMAL): Likewise.
21380 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21382 (FP_FAST_FMAF): Likewise.
21384 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21387 * math/libm-test.inc (fma_test): Some new testcases.
21388 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21390 y and infinite z. Do multiplication by C already in long double.
21391 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21393 y and infinite z. Do bitwise or of inexact bit into u.d.
21394 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21395 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21396 * sysdeps/i386/fpu/s_fma.S: Removed.
21397 * sysdeps/i386/fpu/s_fmal.S: Removed.
21399 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21402 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21404 computation is not scheduled after fetestexcept. Fix value
21405 of minimum denormal long double.
21407 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21410 * math/libm-test.inc (fma_test): Add some more tests.
21411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21414 2010-10-15 Andreas Schwab <schwab@redhat.com>
21416 * scripts/data/localplt-s390-linux-gnu.data: New file.
21417 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21419 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21422 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21423 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21425 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21427 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21429 if one of x and y is very large and the other is subnormal.
21430 * sysdeps/s390/fpu/s_fmaf.c: New file.
21431 * sysdeps/s390/fpu/s_fma.c: New file.
21432 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21433 * sysdeps/powerpc/fpu/s_fma.S: New file.
21434 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21435 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21436 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21438 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21441 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21443 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21444 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21445 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21446 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21447 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21448 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21451 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21454 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21455 * posix/bug-regex31.input: Add test case.
21457 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21459 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21460 * posix/bug-regex31.input: New file.
21463 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21464 (parse_sub_exp): Fix last change, use postorder.
21466 * posix/bug-regex31.c: New file.
21467 * posix/Makefile: Add rules to build and run bug-regex31.
21469 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21472 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21475 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21476 to have entries in sys_siglist.
21479 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21482 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21485 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21486 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21487 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21488 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21489 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21490 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21491 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21492 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21493 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21494 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21495 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21496 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21497 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21498 * math/ftestexcept.c (fetestexcept): Likewise.
21499 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21500 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21501 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21502 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21503 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21504 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21505 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21507 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21510 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21513 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21515 * string/bug-strstr1.c: New file.
21516 * string/Makefile: Add rules to build and run bug-strstr1.
21518 2010-10-05 Eric Blake <eblake@redhat.com>
21521 * string/str-two-way.h (two_way_long_needle): Always clear memory
21522 when skipping input due to the shift table.
21524 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21527 * malloc/mcheck.c: Handle large requests.
21530 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21531 for strncmp and strncasecmp.
21532 * string/stratcliff.c: Add tests for strcmp and strncmp.
21533 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21535 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21537 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21540 2010-09-30 Andreas Jaeger <aj@suse.de>
21542 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21543 (CGROUP_SUPER_MAGIC): Define.
21544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21545 Handle btrfs and cgroup file systems.
21546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21549 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21551 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21552 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21554 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21557 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21558 trying to locate the ELF header.
21560 2010-09-27 Andreas Schwab <schwab@redhat.com>
21563 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21564 Mask out sign-bit copies when constructing f_fsid.
21566 2010-09-24 Petr Baudis <pasky@suse.cz>
21568 * debug/stack_chk_fail_local.c: Add missing licence exception.
21569 * debug/warning-nop.c: Likewise.
21571 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21573 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21574 implementing getdents64 using getdents syscall, set d_type if
21575 __ASSUME_GETDENTS32_D_TYPE.
21577 2010-09-16 Andreas Schwab <schwab@redhat.com>
21579 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21580 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21582 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21585 * posix/unistd.h: Undo change of feature selection for ftruncate from
21588 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21590 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21593 2010-09-20 Andreas Schwab <schwab@redhat.com>
21595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21597 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21599 2010-09-14 Andreas Schwab <schwab@redhat.com>
21601 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21602 variables after CHECK_SP call.
21603 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21605 2010-09-13 Andreas Schwab <schwab@redhat.com>
21606 Ulrich Drepper <drepper@redhat.com>
21608 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21609 re-relocationg ld.so.
21610 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21611 _dl_init_paths call.
21612 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21615 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21617 * resolv/res_init.c (__res_vinit): Count the default server we added.
21619 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21620 Ulrich Drepper <drepper@redhat.com>
21623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21624 (____longjmp_chk): Use %ebx for saving value across system call.
21627 2010-09-06 Andreas Schwab <schwab@redhat.com>
21629 * manual/Makefile: Don't mix pattern rules with normal rules.
21631 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21633 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21635 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21636 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21637 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21638 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21642 2010-09-04 Ulrich Drepper <drepper@redhat.com>
21645 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21646 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21648 2010-09-02 Ulrich Drepper <drepper@redhat.com>
21650 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21651 * sysdeps/x86_64/addmul_1.S: Likewise.
21652 * sysdeps/x86_64/lshift.S: Likewise.
21653 * sysdeps/x86_64/mul_1.S: Likewise.
21654 * sysdeps/x86_64/rshift.S: Likewise.
21655 * sysdeps/x86_64/sub_n.S: Likewise.
21656 * sysdeps/x86_64/submul_1.S: Likewise.
21658 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21660 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21661 Define __sched_param instead of SCHED_* and sched_param when
21662 <bits/sched.h> is included with __need_schedparam defined.
21663 * bits/sched.h [__need_schedparam]
21664 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21665 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21666 (__defined_schedparam): Define to 1.
21667 (__sched_param): New structure, identical to sched_param.
21668 (__need_schedparam): Undefine.
21670 2010-08-31 Mike Frysinger <vapier@gentoo.org>
21672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21673 (epoll_create1): Declare.
21675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21677 2010-08-31 Andreas Schwab <schwab@redhat.com>
21680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21681 shifting retval into place.
21683 2010-09-01 Ulrich Drepper <drepper@redhat.com>
21685 * nis/rpcsvc/nis.h: Update copyright notice.
21686 * nis/rpcsvc/nis.x: Likewise.
21687 * nis/rpcsvc/nis_callback.h: Likewise.
21688 * nis/rpcsvc/nis_callback.x: Likewise.
21689 * nis/rpcsvc/nis_object.x: Likewise.
21690 * nis/rpcsvc/nis_tags.h: Likewise.
21691 * nis/rpcsvc/yp.h: Likewise.
21692 * nis/rpcsvc/yp.x: Likewise.
21693 * nis/rpcsvc/ypupd.h: Likewise.
21694 * nis/yp_xdr.c: Likewise.
21695 * nis/ypupdate_xdr.c: Likewise.
21697 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21698 mainly the body of pmap_getport. Add parameters to specify timeouts.
21699 (pmap_getport): Use __libc_rpc_getport.
21700 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21701 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21702 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21704 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21709 2010-08-27 Roland McGrath <roland@redhat.com>
21711 * sysdeps/i386/i686/multiarch/Makefile
21712 (CFLAGS-varshift.c): New variable.
21714 2010-08-27 Ulrich Drepper <drepper@redhat.com>
21716 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21717 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21721 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21723 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21725 * sysdeps/x86_64/strlen.S: Unroll the loop.
21726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21727 strlen-sse2 strlen-sse2-bsf.
21728 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21729 __strlen_no_bsf if bit_Slow_BSF is set.
21730 (__strlen_sse42): Removed.
21731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21732 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21734 2010-08-25 Roland McGrath <roland@redhat.com>
21736 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21737 * sysdeps/x86_64/multiarch/varshift.c: New file.
21738 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21739 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21740 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21741 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21743 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21746 strlen-sse2 strlen-sse2-bsf.
21747 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21748 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21749 (__strlen_sse2): Removed.
21750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21753 bit_Slow_BSF for Atom.
21754 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21755 (index_Slow_BSF): Define.
21756 (HAS_SLOW_BSF): Define.
21758 2010-08-25 Ulrich Drepper <drepper@redhat.com>
21761 * resolv/res_init.c (__res_vinit): When no server address at all
21762 is given default to loopback.
21764 2010-08-24 Roland McGrath <roland@redhat.com>
21766 * configure.in: Remove config-name.h generation.
21767 * configure: Regenerated.
21768 * config-name.in: File removed.
21769 * scripts/config-uname.sh: New file.
21770 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21771 ($(objdir)config-name.h): New target.
21773 * sunrpc/rpc_parse.h: Avoid nested comment.
21775 2010-08-24 Richard Henderson <rth@redhat.com>
21776 Ulrich Drepper <drepper@redhat.com>
21777 H.J. Lu <hongjiu.lu@intel.com>
21779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21781 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21782 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21783 _mm_alignr_epi8 with _mm_loadu_si128.
21784 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21785 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21786 (__m128i_shift_right): Removed.
21787 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21788 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21789 * sysdeps/x86_64/multiarch/varshift.h: New file.
21790 * sysdeps/x86_64/multiarch/varshift.S: New file.
21792 2010-08-21 Mike Frysinger <vapier@gentoo.org>
21794 * configure.in: Move assembler checks to before sysdep dir checking.
21796 2010-08-20 Petr Baudis <pasky@suse.cz>
21798 * LICENSES: Sync the sunrpc license.
21800 2010-08-19 Ulrich Drepper <drepper@redhat.com>
21802 * sunrpc/auth_des.c: Update copyright notice once again.
21803 * sunrpc/auth_none.c: Likewise.
21804 * sunrpc/auth_unix.c: Likewise.
21805 * sunrpc/authdes_prot.c: Likewise.
21806 * sunrpc/authuxprot.c: Likewise.
21807 * sunrpc/bindrsvprt.c: Likewise.
21808 * sunrpc/clnt_gen.c: Likewise.
21809 * sunrpc/clnt_perr.c: Likewise.
21810 * sunrpc/clnt_raw.c: Likewise.
21811 * sunrpc/clnt_simp.c: Likewise.
21812 * sunrpc/clnt_tcp.c: Likewise.
21813 * sunrpc/clnt_udp.c: Likewise.
21814 * sunrpc/clnt_unix.c: Likewise.
21815 * sunrpc/des_crypt.c: Likewise.
21816 * sunrpc/des_soft.c: Likewise.
21817 * sunrpc/get_myaddr.c: Likewise.
21818 * sunrpc/getrpcport.c: Likewise.
21819 * sunrpc/key_call.c: Likewise.
21820 * sunrpc/key_prot.c: Likewise.
21821 * sunrpc/openchild.c: Likewise.
21822 * sunrpc/pm_getmaps.c: Likewise.
21823 * sunrpc/pm_getport.c: Likewise.
21824 * sunrpc/pmap_clnt.c: Likewise.
21825 * sunrpc/pmap_prot.c: Likewise.
21826 * sunrpc/pmap_prot2.c: Likewise.
21827 * sunrpc/pmap_rmt.c: Likewise.
21828 * sunrpc/rpc/auth.h: Likewise.
21829 * sunrpc/rpc/auth_unix.h: Likewise.
21830 * sunrpc/rpc/clnt.h: Likewise.
21831 * sunrpc/rpc/des_crypt.h: Likewise.
21832 * sunrpc/rpc/key_prot.h: Likewise.
21833 * sunrpc/rpc/netdb.h: Likewise.
21834 * sunrpc/rpc/pmap_clnt.h: Likewise.
21835 * sunrpc/rpc/pmap_prot.h: Likewise.
21836 * sunrpc/rpc/pmap_rmt.h: Likewise.
21837 * sunrpc/rpc/rpc.h: Likewise.
21838 * sunrpc/rpc/rpc_des.h: Likewise.
21839 * sunrpc/rpc/rpc_msg.h: Likewise.
21840 * sunrpc/rpc/svc.h: Likewise.
21841 * sunrpc/rpc/svc_auth.h: Likewise.
21842 * sunrpc/rpc/types.h: Likewise.
21843 * sunrpc/rpc/xdr.h: Likewise.
21844 * sunrpc/rpc_clntout.c: Likewise.
21845 * sunrpc/rpc_cmsg.c: Likewise.
21846 * sunrpc/rpc_common.c: Likewise.
21847 * sunrpc/rpc_cout.c: Likewise.
21848 * sunrpc/rpc_dtable.c: Likewise.
21849 * sunrpc/rpc_hout.c: Likewise.
21850 * sunrpc/rpc_main.c: Likewise.
21851 * sunrpc/rpc_parse.c: Likewise.
21852 * sunrpc/rpc_parse.h: Likewise.
21853 * sunrpc/rpc_prot.c: Likewise.
21854 * sunrpc/rpc_sample.c: Likewise.
21855 * sunrpc/rpc_scan.c: Likewise.
21856 * sunrpc/rpc_scan.h: Likewise.
21857 * sunrpc/rpc_svcout.c: Likewise.
21858 * sunrpc/rpc_tblout.c: Likewise.
21859 * sunrpc/rpc_util.c: Likewise.
21860 * sunrpc/rpc_util.h: Likewise.
21861 * sunrpc/rpcinfo.c: Likewise.
21862 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21863 * sunrpc/rpcsvc/key_prot.x: Likewise.
21864 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21865 * sunrpc/rpcsvc/mount.x: Likewise.
21866 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21867 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21868 * sunrpc/rpcsvc/rex.x: Likewise.
21869 * sunrpc/rpcsvc/rstat.x: Likewise.
21870 * sunrpc/rpcsvc/rusers.x: Likewise.
21871 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21872 * sunrpc/rpcsvc/spray.x: Likewise.
21873 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21874 * sunrpc/rtime.c: Likewise.
21875 * sunrpc/svc.c: Likewise.
21876 * sunrpc/svc_auth.c: Likewise.
21877 * sunrpc/svc_authux.c: Likewise.
21878 * sunrpc/svc_raw.c: Likewise.
21879 * sunrpc/svc_run.c: Likewise.
21880 * sunrpc/svc_simple.c: Likewise.
21881 * sunrpc/svc_tcp.c: Likewise.
21882 * sunrpc/svc_udp.c: Likewise.
21883 * sunrpc/svc_unix.c: Likewise.
21884 * sunrpc/svcauth_des.c: Likewise.
21885 * sunrpc/xcrypt.c: Likewise.
21886 * sunrpc/xdr.c: Likewise.
21887 * sunrpc/xdr_array.c: Likewise.
21888 * sunrpc/xdr_float.c: Likewise.
21889 * sunrpc/xdr_mem.c: Likewise.
21890 * sunrpc/xdr_rec.c: Likewise.
21891 * sunrpc/xdr_ref.c: Likewise.
21892 * sunrpc/xdr_sizeof.c: Likewise.
21893 * sunrpc/xdr_stdio.c: Likewise.
21895 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21898 2010-08-19 Andreas Schwab <schwab@redhat.com>
21900 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21902 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
21904 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21905 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21906 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21907 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21908 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21909 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21910 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21911 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21912 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21913 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21914 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21915 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21916 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21917 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21919 2010-07-26 Anton Blanchard <anton@samba.org>
21921 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21922 * malloc/arena.c (heap_trim): Likewise.
21924 2010-08-16 Ulrich Drepper <drepper@redhat.com>
21926 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21929 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21931 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21933 * sysdeps/i386/elf/Makefile: New file.
21935 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21937 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21938 from fanotify_init.
21939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21940 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21942 2010-08-15 Ulrich Drepper <drepper@redhat.com>
21944 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21946 * sysdeps/multiarch/strcmp.S: Likewise.
21948 2010-08-14 Ulrich Drepper <drepper@redhat.com>
21950 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21951 strncase_l-nonascii.
21952 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21953 Add strncase_l-ssse3.
21954 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21955 * sysdeps/x86_64/strcmp.S: Likewise.
21956 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21957 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21958 * sysdeps/x86_64/strncase.S: New file.
21959 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21960 * sysdeps/x86_64/strncase_l.S: New file.
21961 * string/Makefile (strop-tests): Add strncasecmp.
21962 * string/test-strncasecmp.c: New file.
21964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21967 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21968 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21970 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21972 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21974 2010-08-12 Ulrich Drepper <drepper@redhat.com>
21976 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21977 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21978 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21980 2010-05-01 Alan Modra <amodra@gmail.com>
21982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21983 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21984 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21985 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21986 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21987 tidying. Don't tail-call __sigjmp_save for static lib.
21988 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21990 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21991 (CALL_MCOUNT): Add eh info, and nop after bl.
21992 (TAIL_CALL_SYSCALL_ERROR): New macro.
21993 (PSEUDO_RET): Use it.
21994 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21995 Correct save location of integer regs and cr.
21996 (_dl_profile_resolve): Correct cr save location. Delete nops
21997 after bl when SHARED. Reduce cfi size a little by better
21998 placement of cfi directives.
21999 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22000 make a stack frame. Instead use parm save area as a temp.
22001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22002 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22004 Don't make a stack frame for parent, use parm save area.
22005 Increase child stack frame to 112 bytes. Don't save unused reg,
22006 and adjust reg usage. Set up cfi on error recovery and
22007 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22009 (__makecontext): Add dummy nop after jump to exit.
22010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22011 Use correct parm save area and cr save, reduce stack frame.
22012 Correct cfi for possible PSEUDO_RET frame setup.
22013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22014 Branch to local label emitted by PSEUDO_RET rather than
22017 2010-08-12 Andreas Schwab <schwab@redhat.com>
22020 * locale/programs/locale.c (print_assignment): New function.
22021 (show_locale_vars): Use it.
22023 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22025 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22027 (struct statfs64): Likewise.
22028 (_STATFS_F_FLAGS): Define.
22029 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22030 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22031 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22032 (ST_VALID): Define locally.
22033 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22034 __statvfs_getflags, use the provided value.
22035 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22036 __ASSUME_STATFS_F_FLAGS.
22038 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22040 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22041 Add sys/fanotify.h.
22042 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22043 fanotify_mask for GLIBC_2.13.
22044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22045 fanotify_init and fanotify_mark.
22046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22047 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22049 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22051 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22052 prlimit64 for GLIBC_2.13.
22053 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22058 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22059 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22061 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22063 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22066 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22067 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22069 * nss/Makefile: Add rules to build and run tst-nss-test1.
22070 * shlib-versions: Add entry for libnss_test1.
22071 * nss/nss_test1.c: New file.
22072 * nss/tst-nss-test1.c: New file.
22074 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22075 (__nss_configure_lookup): Set appropriate entry in
22076 __nss_configure_lookup to true.
22077 * nss/nsswitch.h: Define enum with indeces of databases in
22078 databases and __nss_database_custom arrays. Declare
22079 __nss_database_custom.
22080 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22081 to avoid using nscd when custom rules are installed.
22082 * nss/getXXbyYY_r.c: Likewise.
22083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22085 * nss/nss_files/files-parse.c: Whitespace fixes.
22087 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22090 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22091 * posix/fnmatch_loop.c: Likewise.
22093 2010-07-17 Andi Kleen <ak@linux.intel.com>
22095 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22096 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22097 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22098 * Versions.def [GLIBC_2.13]: Add.
22100 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22102 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22103 Also fail if tpwd after pwuid call is NULL.
22105 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22107 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22108 when converting to ms.
22110 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22112 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22113 EOPNOTSUPP errors with ENOTTY.
22114 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22115 EOPNOTSUPP errors with ENOTTY.
22117 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22119 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22120 Add strcasecmp_l-ssse3.
22121 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22123 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22124 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22125 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22127 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22129 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22131 * string/Makefile (strop-tests): Add strcasecmp.
22132 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22133 strcasecmp_l-nonascii.
22134 (gen-as-const-headers): Add locale-defines.sym.
22135 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22136 * sysdeps/x86_64/strcasecmp.S: New file.
22137 * sysdeps/x86_64/strcasecmp_l.S: New file.
22138 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22139 * sysdeps/x86_64/locale-defines.sym: New file.
22140 * string/test-strcasecmp.c: New file.
22142 * string/test-strcasestr.c: Test both ends of the range of characters.
22143 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22145 2010-07-29 Roland McGrath <roland@redhat.com>
22148 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22150 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22152 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22155 2010-07-27 Andreas Schwab <schwab@redhat.com>
22157 * manual/memory.texi (Malloc Tunable Parameters): Document
22160 2010-07-26 Roland McGrath <roland@redhat.com>
22163 * configure.in (-fgnu89-inline check): Set and substitute
22164 gnu89_inline, not libc_cv_gnu89_inline.
22165 * configure: Regenerated.
22166 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22168 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22170 * string/test-strnlen.c: New file.
22171 * string/Makefile (strop-tests): Add strnlen.
22172 * string/tester.c (test_strnlen): Add a few more test cases.
22173 * string/tst-strlen.c: Better error reporting.
22175 * sysdeps/x86_64/strnlen.S: New file.
22177 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22180 lower-latency instructions.
22182 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22184 * string/test-strcasestr.c: New file.
22185 * string/test-strstr.c: New file.
22186 * string/Makefile (strop-tests): Add strstr and strcasestr.
22187 * string/str-two-way.h: Don't undefine MAX.
22188 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22190 2010-07-21 Andreas Schwab <schwab@redhat.com>
22192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22193 strcasestr-nonascii.
22194 (CFLAGS-strcasestr-nonascii.c): Define.
22195 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22197 Remove unused attribute.
22199 2010-07-20 Roland McGrath <roland@redhat.com>
22201 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22202 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22203 ld.so.cache was broken. With it, there is no way to disable dsocaps
22204 like LD_HWCAP_MASK can disable hwcaps.
22206 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22208 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22210 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22212 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22213 call in strcasestr.
22214 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22215 __strcasestr_sse42_nonascii.
22216 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22217 strcasestr-nonascii.c.
22218 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22220 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22223 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22225 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22227 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22232 2010-07-06 Andreas Schwab <schwab@redhat.com>
22235 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22238 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22241 _PC_PIPE_BUF using F_GETPIPE_SZ.
22243 2010-07-05 Roland McGrath <roland@redhat.com>
22245 * manual/arith.texi (Rounding Functions): Fix rint description
22246 implicit in round description.
22248 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22250 * elf/Makefile: Fix linking for a few tests to make recent linker
22253 2010-06-30 Andreas Schwab <schwab@redhat.com>
22255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22256 $(common-objpfx)libc_nonshared.a.
22258 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22260 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22261 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22262 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22263 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22264 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22265 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22266 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22267 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22282 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22283 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22284 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22285 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22286 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22287 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22288 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22289 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22290 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22291 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22292 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22293 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22309 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22311 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22312 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22313 * string/memmove.c (memmove): Renamed to ...
22314 (MEMMOVE): ...this. Default to memmove.
22315 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22316 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22319 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22320 mempcpy-ssse3-back memmove-ssse3-back.
22321 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22324 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22325 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22326 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22327 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22328 * sysdeps/x86_64/multiarch/memmove.c: New file.
22329 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22330 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22331 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22332 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22333 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22336 (index_Fast_Copy_Backward): Define.
22337 (HAS_ARCH_FEATURE): Define.
22338 (HAS_FAST_REP_STRING): Define.
22339 (HAS_FAST_COPY_BACKWARD): Define.
22341 2010-06-21 Andreas Schwab <schwab@redhat.com>
22343 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22344 Restore proper fallback handling.
22346 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22349 * posix/group_member.c (__group_member): Correct checking loop.
22351 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22352 OOM in getpwuid_r correctly. Return error number when the caller
22353 should return, otherwise -1.
22354 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22355 call returning > 0 value.
22356 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22358 2010-06-07 Andreas Schwab <schwab@redhat.com>
22360 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22361 libc_nonshared.a from targets in modules-names.
22363 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22365 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22368 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22370 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22371 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22373 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22375 2010-06-02 Andreas Schwab <schwab@redhat.com>
22377 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22379 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22388 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22390 2010-06-14 Roland McGrath <roland@redhat.com>
22392 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22394 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22396 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22397 __REDIRECT followed by __THROW.
22398 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22399 * posix/getopt.h (getopt): Likewise.
22401 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22403 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22404 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22405 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22407 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22408 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22410 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22414 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22418 Properly check family and model.
22420 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22422 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22424 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22426 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22428 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22430 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22433 2010-05-19 Andreas Schwab <schwab@redhat.com>
22435 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22438 2010-05-21 Andreas Schwab <schwab@redhat.com>
22440 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22441 and internal_recvmmsg.
22442 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22443 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22444 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22445 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22447 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22448 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22449 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22451 2010-05-20 Andreas Schwab <schwab@redhat.com>
22453 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22455 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22457 POWER7 optimizations.
22458 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22459 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22461 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22463 * version.h: Update for 2.13 development version.
22465 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22467 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22468 exceptions. Return 0.
22470 2010-05-07 Roland McGrath <roland@redhat.com>
22472 * elf/ldconfig.c (main): Add a const.
22474 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22476 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22477 (args_options): Add no-idn option.
22478 (ahosts_keys_int): Add idn_flags to ai_flags.
22479 (parse_option): Handle 'i' option to clear idn_flags.
22481 * malloc/malloc.c (_int_free): Possible race in the most recently
22482 added check. Only act on the data if no current modification
22485 See ChangeLog.17 for earlier changes.