m68k: define lll_futex_timed_wait_bitset
[glibc.git] / ChangeLog
blob9bdff02e286b3780206fa75cf2b1380ca8cc036a
1 2012-11-17  David S. Miller  <davem@davemloft.net>
3         [BZ #14811]
4         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5         nonzero exponents with absolute value below 0x1p-128 to +/-
6         0x1p-128.
8 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
10         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14         * posix/getconf-speclist.c: New file.
15         * posix/posix-envs.def: Likewise.
16         * posix/confstr.c (START_ENV_GROUP): New macro.
17         (END_ENV_GROUP): Likewise.
18         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19         (KNOWN_PRESENT_ENV_STRING): Likewise.
20         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21         (UNKNOWN_ENVIRONMENT): Likewise.
22         (confstr): Include posix-envs.def instead of handling
23         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26         (END_ENV_GROUP): Likewise.
27         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29         (UNKNOWN_ENVIRONMENT): Likewise.
30         (__sysconf): Include posix-envs.def instead of handling associated
31         cases directly here.
32         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33         preprocessing getconf-speclist.c rather than running getconf or
34         generating empty file.
36 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42         [BZ #14672]
43         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
45 2012-11-16  David S. Miller  <davem@davemloft.net>
47         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48         smaller than LDBL_EPSILON/2.0L, just return xm1.
50 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52         * elf/tst-array1.c (init): Set constructor priority to 1000.
53         (fini): Set destructor priority to 1000.
54         * elf/tst-array2dep.c: Likewise.
56 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58         [BZ #11741]
59         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60         (_IO_new_file_xsputn): Also return EOF if none of the input
61         data was written when overflow failed.
62         * libio/iopadn.c (_IO_padn): Likewise.
63         * libio/iowpadn.c (_IO_wpadn): Likewise.
64         * stdio-common/tst-put-error.c: Add copyright notice.
65         (do_test): Add case for printing padded string.
66         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67         _IO_padn returned error.
68         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70         return EOF.
72 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74         * libio/libioP.h: Add comment note that the references to C++
75         bits are now obsolete.
77 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
79         * math/libm-test.inc (check_complex): Use asprintf.
81 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
83         * debug/pcprofiledump.c (print_version): Update copyright year.
84         * malloc/memusagestat.c (print_version): Likewise.
86 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
88         [BZ #14831]
89         * elf/Makefile (tests): Add tst-audit8.
90         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
91         ($(objpfx)tst-audit8.out): New target.
92         (tst-audit8-ENV): New variable.
93         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
94         audit if l_reloc_result is NULL.
95         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
96         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
97         * elf/tst-audit8.c: New file.
99 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
101         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
102         * misc/Makefile (CFLAGS-select.c): Define.
103         * posix/Makefile (CFLAGS-pause.c): Define.
105 2012-11-13  David S. Miller  <davem@davemloft.net>
107         * crypt/Makefile: Move test targets after toplevel Rules
108         inclusion.  Grab any necessary sysdep routines when linking.
109         * crypt/md5.c (md5_process_block): Remove define, we will always
110         name it __md5_process_block.
111         (md5_finish_ctx): Update md5_process_block call.
112         (md5_stream): Likewise.
113         (md5_process_bytes): Likewise.
114         (md5_process_block): Rename to __md5_process_block and move to ...
115         * crypt/md5-block.c: ... here.
116         * crypt/sha256.c (sha256_process_block): Move to ...
117         * crypt/sha256-block.c: ... here.
118         * crypt/sha512.c (sha512_process_block): Move to ...
119         * crypt/sha512-block.c: ... here.
120         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
121         path.
122         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
123         * sysdeps/sparc/sparc64/multiarch/Makefile
124         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
125         crypt subdir.
126         (localedef-aux): Add md5 crypto assembler when in locale subdir.
127         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
128         multiarch changes.
129         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
130         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
131         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
132         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
133         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
134         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
135         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
138         file.
139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
141         file.
142         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
144 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
146         * timezone/tzselect.ksh: Update from tzcode git revision
147         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
148         * timezone/zdump.c: Likewise.
149         * timezone/zic.c: Likewise.
150         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
151         in TZVERSION setting, not $(PKGVERSION).
152         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
153         REPORT_BUGS_TO settings.
155         [BZ #14838]
156         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
157         macro.
159 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
161         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
162         detection to immediately after _FP_ROUND().
163         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
164         bits are 0.
166 2012-11-11  David S. Miller  <davem@davemloft.net>
168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
169         inttypes.h
170         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
171         __close rather than their public counterparts.
173 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
175         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
176         file.
177         [UNIX98] (sem_timedwait): Do not expect.
178         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
179         [XPG4 || UNIX98] (sockatmark): Do not expect.
180         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
181         (clock_getcpuclockid): Do not expect.
182         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
183         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
184         Do not expect.
185         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
186         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
187         [UNIX98] (vwscanf): Likewise.
188         [UNIX98] (vswscanf): Likewise.
190 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
192         * timezone/version.h: Remove file.
193         * timezone/README: Do not refer to version.h.
194         * timezone/Makefile ($(objpfx)zic.o): New dependency on
195         $(objpfx)version.h.
196         ($(objpfx)zdump.o): Likewise.
197         ($(objpfx)version.h): New target.
199         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
200         2012i.
201         * timezone/README: Don't mention modification to tzselect.ksh.
202         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
203         work on unmodified tzselect.ksh.  Substitute version numbers in
204         tzselect.ksh.
206         * Makefile (format-me): Remove.
207         (INSTALL): Adjust indentation.  Use commands directly instead of
208         using $(format-me).
210         * aclocal.m4 (ACX_PKGVERSION): New macro.
211         (ACX_BUGURL): Likewise.
212         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
213         (PKGVERSION): New AC_DEFINE_UNQUOTED.
214         (REPORT_BUGS_TO): Likewise.
215         * configure: Regenerated.
216         * config.h.in (PKGVERSION): New macro.
217         (REPORT_BUGS_TO): Likewise.
218         * config.make.in (PKGVERSION): New variable.
219         (PKGVERSION_TEXI): Likewise.
220         (REPORT_BUGS_TO): Likewise.
221         (REPORT_BUGS_TEXI): Likewise.
222         * Makefile (format-me): Use -I$(common-objpfx)manual.
223         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
224         ($(common-objpfx)manual/%): New target.
225         (manual/%): Remove target.
226         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
227         (print_version): Use PKGVERSION.
228         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
229         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
230         and REPORT_BUGS_TO.
231         ($(objpfx)xtrace): Likewise.
232         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
233         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
234         (print_version): Use PKGVERSION.
235         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
236         (do_version): Use PKGVERSION.
237         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
238         REPORT_BUGS_TO.
239         (common-ldd-rewrite): Likewise.
240         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
241         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
242         (print_version): Use PKGVERSION.
243         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
244         * elf/pldd.c (argp_program_bug_address): Remove variable.
245         (more_help): New function.
246         (argp): Use more_help.
247         (print_version): Use PKGVERSION.
248         * elf/sln.c (main): Use PKGVERSION.
249         (usage): Use REPORT_BUGS_TO.
250         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
251         (top level): Use PKGVERSION.
252         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
253         (print_version): Use PKGVERSION.
254         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
255         (print_version): Use PKGVERSION.
256         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
257         (print_version): Use PKGVERSION.
258         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
259         (print_version): Use PKGVERSION.
260         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
261         (print_version): Use PKGVERSION.
262         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
263         (print_version): Use PKGVERSION.
264         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
265         and BUGURL.
266         ($(objpfx)memusage): Likewise.
267         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
268         (do_version): Use PKGVERSION.
269         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
270         (print_version): Use PKGVERSION.
271         * malloc/mtrace.pl ($PACKAGE): Remove variable.
272         ($PKGVERSION): New variable.
273         ($REPORT_BUGS_TO): Likewise.
274         (usage): Use $REPORT_BUGS_TO.
275         (top level): Use $PKGVERSION.
276         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
277         ($(objpfx)pkgvers.texi): New rule.
278         ($(objpfx)stamp-pkgvers): Likewise.
279         * manual/install.texi: Include pkgvers.texi.
280         (--with-pkgversion): Document new configure option.
281         (--with-bugurl): Likewise.
282         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
283         than necessarily for this particular distribution.  Use
284         REPORT_BUGS_TO for where to report bugs.
285         * INSTALL: Regenerated.
286         * manual/libc.texinfo: Include pkgvers.texi.
287         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
288         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
289         (print_version): Use PKGVERSION.
290         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
291         (print_version): Use PKGVERSION.
292         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
293         (print_version): Use PKGVERSION.
294         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
295         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
296         macro.
297         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
298         (print_version): Use PKGVERSION.
299         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
300         (print_version): Use PKGVERSION.
301         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
302         and PKGVERSION.
304         * timezone/checktab.awk: Update from tzcode 2012i.
305         * timezone/ialloc.c: Likewise.
306         * timezone/private.h: Likewise.
307         * timezone/scheck.c: Likewise.
308         * timezone/tzfile.h: Likewise.
309         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
310         (TZVERSION): Hardcode tzcode version number.
311         * timezone/zdump.c: Update from tzcode 2012i.
312         * timezone/zic.c: Likewise.
313         * timezone/version.h: New file.
314         * timezone/README: Describe version.h.  Update upstream location.
316         [BZ #14824]
317         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
318         (mktemp): Enable declaration.
319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
323         Likewise.
324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
325         Likewise.
326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
327         Likewise.
328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
329         Likewise.
330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
331         Likewise.
332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
333         Likewise.
335         [BZ #14821]
336         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
337         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
338         for copies of such integer values.
339         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
340         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
342 2012-11-09  Andreas Jaeger  <aj@suse.de>
344         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
345         definitions and declarations that are provided by
346         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
348 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
350         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
351         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
352         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
353         definition.
355 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
357         * elf/elf.h: Update comment before AArch64 relocations.
359 2012-11-07  David S. Miller  <davem@davemloft.net>
361         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
362         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
363         (__start_context): Declare.
364         (__makecontext_ret): Delete.
365         (__makecontext): Hook up __start_context instead of
366         __makecontext_ret.
367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
368         (sysdep_routines): Add __start_context when in stdlib.
370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
372         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
373         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
374         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
375         hardcoded "nm".
376         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
377         (READELF): New variable.  Use it instead of hardcoded "readelf".
379 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
381         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
382         * sysdeps/x86/Makefile: Here.
383         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
384         * sysdeps/x86/tst-xmmymm.sh: This.
386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
388         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
389         expectations.
390         [UNIX98] (pthread_barrier_t): Do not expect.
391         [UNIX98] (pthread_barrierattr_t): Likewise.
392         [UNIX98] (pthread_spinlock_t): Likewise.
393         [UNIX98] (pthread_barrier_destroy): Likewise.
394         [UNIX98] (pthread_barrier_init): Likewise.
395         [UNIX98] (pthread_barrier_wait): Likewise.
396         [UNIX98] (pthread_barrierattr_destroy): Likewise.
397         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
398         [UNIX98] (pthread_barrierattr_init): Likewise.
399         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
400         [UNIX98] (pthread_getcpuclockid): Likewise.
401         [UNIX98] (pthread_mutex_timedlock): Likewise.
402         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
403         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
404         [UNIX98] (pthread_sigmask): Likewise.
405         [UNIX98] (pthread_spin_destroy): Likewise.
406         [UNIX98] (pthread_spin_init): Likewise.
407         [UNIX98] (pthread_spin_lock): Likewise.
408         [UNIX98] (pthread_spin_trylock): Likewise.
409         [UNIX98] (pthread_spin_unlock): Likewise.
410         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
411         Do not expect.
412         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
413         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
414         [XPG3 || XPG4] (pthread_cond_t): Likewise.
415         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
416         [XPG3 || XPG4] (pthread_key_t): Likewise.
417         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
418         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
419         [XPG3 || XPG4] (pthread_once_t): Likewise.
420         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
421         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
422         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
423         [XPG3 || XPG4] (pthread_t): Likewise.
425         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
426         not expect.
427         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
429         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
430         Change function return type to int.
432         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
433         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
434         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
435         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
436         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
437         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
438         [!POSIX] (posix_madvise): Likewise.
439         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
440         && !UNIX98].
441         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
442         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
443         (mode_t): Likewise.
444         (posix_mem_offset): Likewise.
445         (posix_typed_mem_get_info): Likewise.
446         (posix_typed_mem_open): Likewise.
448         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
449         Change condition to [XOPEN2K8].
451         * conform/conformtest.pl: Preprocess allow-header data with -x c
452         instead of from stdin.
453         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
454         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
455         [C99-based standards] (cerfc): Likewise.
456         [C99-based standards] (cexp2): Likewise.
457         [C99-based standards] (cexpm1): Likewise.
458         [C99-based standards] (clog10): Likewise.
459         [C99-based standards] (clog1p): Likewise.
460         [C99-based standards] (clog2): Likewise.
461         [C99-based standards] (clgamma): Likewise.
462         [C99-based standards] (ctgamma): Likewise.
463         [C99-based standards] (cerff): Likewise.
464         [C99-based standards] (cerfcf): Likewise.
465         [C99-based standards] (cexp2f): Likewise.
466         [C99-based standards] (cexpm1f): Likewise.
467         [C99-based standards] (clog10f): Likewise.
468         [C99-based standards] (clog1pf): Likewise.
469         [C99-based standards] (clog2f): Likewise.
470         [C99-based standards] (clgammaf): Likewise.
471         [C99-based standards] (ctgammaf): Likewise.
472         [C99-based standards] (cerfl): Likewise.
473         [C99-based standards] (cerfcl): Likewise.
474         [C99-based standards] (cexp2l): Likewise.
475         [C99-based standards] (cexpm1l): Likewise.
476         [C99-based standards] (clog10l): Likewise.
477         [C99-based standards] (clog1pl): Likewise.
478         [C99-based standards] (clog2l): Likewise.
479         [C99-based standards] (clgammal): Likewise.
480         [C99-based standards] (ctgammal): Likewise.
481         * conform/data/inttypes.h-data [C99-based standards]: Include
482         stdint.h-data.  Remove all expectations for stdint.h contents.
483         [C99-based standards] (PRI*): Do not allow.
484         [C99-based standards] (SCN*): Likewise.
485         [C99-based standards] (*_t): Likewise.
486         [C99-based-standards] (PRId8): Expect macro.
487         [C99-based-standards] (PRIi8): Likewise.
488         [C99-based-standards] (PRIo8): Likewise.
489         [C99-based-standards] (PRIu8): Likewise.
490         [C99-based-standards] (PRIx8): Likewise.
491         [C99-based-standards] (PRIX8): Likewise.
492         [C99-based-standards] (SCNd8): Likewise.
493         [C99-based-standards] (SCNi8): Likewise.
494         [C99-based-standards] (SCNo8): Likewise.
495         [C99-based-standards] (SCNu8): Likewise.
496         [C99-based-standards] (SCNx8): Likewise.
497         [C99-based-standards] (PRIdLEAST8): Likewise.
498         [C99-based-standards] (PRIiLEAST8): Likewise.
499         [C99-based-standards] (PRIoLEAST8): Likewise.
500         [C99-based-standards] (PRIuLEAST8): Likewise.
501         [C99-based-standards] (PRIxLEAST8): Likewise.
502         [C99-based-standards] (PRIXLEAST8): Likewise.
503         [C99-based-standards] (SCNdLEAST8): Likewise.
504         [C99-based-standards] (SCNiLEAST8): Likewise.
505         [C99-based-standards] (SCNoLEAST8): Likewise.
506         [C99-based-standards] (SCNuLEAST8): Likewise.
507         [C99-based-standards] (SCNxLEAST8): Likewise.
508         [C99-based-standards] (PRIdFAST8): Likewise.
509         [C99-based-standards] (PRIiFAST8): Likewise.
510         [C99-based-standards] (PRIoFAST8): Likewise.
511         [C99-based-standards] (PRIuFAST8): Likewise.
512         [C99-based-standards] (PRIxFAST8): Likewise.
513         [C99-based-standards] (PRIXFAST8): Likewise.
514         [C99-based-standards] (SCNdFAST8): Likewise.
515         [C99-based-standards] (SCNiFAST8): Likewise.
516         [C99-based-standards] (SCNoFAST8): Likewise.
517         [C99-based-standards] (SCNuFAST8): Likewise.
518         [C99-based-standards] (SCNxFAST8): Likewise.
519         [C99-based-standards] (PRId16): Likewise.
520         [C99-based-standards] (PRIi16): Likewise.
521         [C99-based-standards] (PRIo16): Likewise.
522         [C99-based-standards] (PRIu16): Likewise.
523         [C99-based-standards] (PRIx16): Likewise.
524         [C99-based-standards] (PRIX16): Likewise.
525         [C99-based-standards] (SCNd16): Likewise.
526         [C99-based-standards] (SCNi16): Likewise.
527         [C99-based-standards] (SCNo16): Likewise.
528         [C99-based-standards] (SCNu16): Likewise.
529         [C99-based-standards] (SCNx16): Likewise.
530         [C99-based-standards] (PRIdLEAST16): Likewise.
531         [C99-based-standards] (PRIiLEAST16): Likewise.
532         [C99-based-standards] (PRIoLEAST16): Likewise.
533         [C99-based-standards] (PRIuLEAST16): Likewise.
534         [C99-based-standards] (PRIxLEAST16): Likewise.
535         [C99-based-standards] (PRIXLEAST16): Likewise.
536         [C99-based-standards] (SCNdLEAST16): Likewise.
537         [C99-based-standards] (SCNiLEAST16): Likewise.
538         [C99-based-standards] (SCNoLEAST16): Likewise.
539         [C99-based-standards] (SCNuLEAST16): Likewise.
540         [C99-based-standards] (SCNxLEAST16): Likewise.
541         [C99-based-standards] (PRIdFAST16): Likewise.
542         [C99-based-standards] (PRIiFAST16): Likewise.
543         [C99-based-standards] (PRIoFAST16): Likewise.
544         [C99-based-standards] (PRIuFAST16): Likewise.
545         [C99-based-standards] (PRIxFAST16): Likewise.
546         [C99-based-standards] (PRIXFAST16): Likewise.
547         [C99-based-standards] (SCNdFAST16): Likewise.
548         [C99-based-standards] (SCNiFAST16): Likewise.
549         [C99-based-standards] (SCNoFAST16): Likewise.
550         [C99-based-standards] (SCNuFAST16): Likewise.
551         [C99-based-standards] (SCNxFAST16): Likewise.
552         [C99-based-standards] (PRId32): Likewise.
553         [C99-based-standards] (PRIi32): Likewise.
554         [C99-based-standards] (PRIo32): Likewise.
555         [C99-based-standards] (PRIu32): Likewise.
556         [C99-based-standards] (PRIx32): Likewise.
557         [C99-based-standards] (PRIX32): Likewise.
558         [C99-based-standards] (SCNd32): Likewise.
559         [C99-based-standards] (SCNi32): Likewise.
560         [C99-based-standards] (SCNo32): Likewise.
561         [C99-based-standards] (SCNu32): Likewise.
562         [C99-based-standards] (SCNx32): Likewise.
563         [C99-based-standards] (PRIdLEAST32): Likewise.
564         [C99-based-standards] (PRIiLEAST32): Likewise.
565         [C99-based-standards] (PRIoLEAST32): Likewise.
566         [C99-based-standards] (PRIuLEAST32): Likewise.
567         [C99-based-standards] (PRIxLEAST32): Likewise.
568         [C99-based-standards] (PRIXLEAST32): Likewise.
569         [C99-based-standards] (SCNdLEAST32): Likewise.
570         [C99-based-standards] (SCNiLEAST32): Likewise.
571         [C99-based-standards] (SCNoLEAST32): Likewise.
572         [C99-based-standards] (SCNuLEAST32): Likewise.
573         [C99-based-standards] (SCNxLEAST32): Likewise.
574         [C99-based-standards] (PRIdFAST32): Likewise.
575         [C99-based-standards] (PRIiFAST32): Likewise.
576         [C99-based-standards] (PRIoFAST32): Likewise.
577         [C99-based-standards] (PRIuFAST32): Likewise.
578         [C99-based-standards] (PRIxFAST32): Likewise.
579         [C99-based-standards] (PRIXFAST32): Likewise.
580         [C99-based-standards] (SCNdFAST32): Likewise.
581         [C99-based-standards] (SCNiFAST32): Likewise.
582         [C99-based-standards] (SCNoFAST32): Likewise.
583         [C99-based-standards] (SCNuFAST32): Likewise.
584         [C99-based-standards] (SCNxFAST32): Likewise.
585         [C99-based-standards] (PRId64): Likewise.
586         [C99-based-standards] (PRIi64): Likewise.
587         [C99-based-standards] (PRIo64): Likewise.
588         [C99-based-standards] (PRIu64): Likewise.
589         [C99-based-standards] (PRIx64): Likewise.
590         [C99-based-standards] (PRIX64): Likewise.
591         [C99-based-standards] (SCNd64): Likewise.
592         [C99-based-standards] (SCNi64): Likewise.
593         [C99-based-standards] (SCNo64): Likewise.
594         [C99-based-standards] (SCNu64): Likewise.
595         [C99-based-standards] (SCNx64): Likewise.
596         [C99-based-standards] (PRIdLEAST64): Likewise.
597         [C99-based-standards] (PRIiLEAST64): Likewise.
598         [C99-based-standards] (PRIoLEAST64): Likewise.
599         [C99-based-standards] (PRIuLEAST64): Likewise.
600         [C99-based-standards] (PRIxLEAST64): Likewise.
601         [C99-based-standards] (PRIXLEAST64): Likewise.
602         [C99-based-standards] (SCNdLEAST64): Likewise.
603         [C99-based-standards] (SCNiLEAST64): Likewise.
604         [C99-based-standards] (SCNoLEAST64): Likewise.
605         [C99-based-standards] (SCNuLEAST64): Likewise.
606         [C99-based-standards] (SCNxLEAST64): Likewise.
607         [C99-based-standards] (PRIdFAST64): Likewise.
608         [C99-based-standards] (PRIiFAST64): Likewise.
609         [C99-based-standards] (PRIoFAST64): Likewise.
610         [C99-based-standards] (PRIuFAST64): Likewise.
611         [C99-based-standards] (PRIxFAST64): Likewise.
612         [C99-based-standards] (PRIXFAST64): Likewise.
613         [C99-based-standards] (SCNdFAST64): Likewise.
614         [C99-based-standards] (SCNiFAST64): Likewise.
615         [C99-based-standards] (SCNoFAST64): Likewise.
616         [C99-based-standards] (SCNuFAST64): Likewise.
617         [C99-based-standards] (SCNxFAST64): Likewise.
618         [C99-based-standards] (PRIdMAX): Likewise.
619         [C99-based-standards] (PRIiMAX): Likewise.
620         [C99-based-standards] (PRIoMAX): Likewise.
621         [C99-based-standards] (PRIuMAX): Likewise.
622         [C99-based-standards] (PRIxMAX): Likewise.
623         [C99-based-standards] (PRIXMAX): Likewise.
624         [C99-based-standards] (SCNdMAX): Likewise.
625         [C99-based-standards] (SCNiMAX): Likewise.
626         [C99-based-standards] (SCNoMAX): Likewise.
627         [C99-based-standards] (SCNuMAX): Likewise.
628         [C99-based-standards] (SCNxMAX): Likewise.
629         [C99-based-standards] (PRIdPTR): Likewise.
630         [C99-based-standards] (PRIiPTR): Likewise.
631         [C99-based-standards] (PRIoPTR): Likewise.
632         [C99-based-standards] (PRIuPTR): Likewise.
633         [C99-based-standards] (PRIxPTR): Likewise.
634         [C99-based-standards] (PRIXPTR): Likewise.
635         [C99-based-standards] (SCNdPTR): Likewise.
636         [C99-based-standards] (SCNiPTR): Likewise.
637         [C99-based-standards] (SCNoPTR): Likewise.
638         [C99-based-standards] (SCNuPTR): Likewise.
639         [C99-based-standards] (SCNxPTR): Likewise.
640         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
641         allow.
642         * conform/data/stdint.h-data: Update comments to clarify
643         requirements.
644         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
645         type.
646         [C99-based standards] (INT8_MAX): Likewise.
647         [C99-based standards] (INT16_MIN): Likewise.
648         [C99-based standards] (INT16_MAX): Likewise.
649         [C99-based standards] (INT32_MIN): Likewise.
650         [C99-based standards] (INT32_MAX): Likewise.
651         [C99-based standards] (INT64_MIN): Likewise.
652         [C99-based standards] (INT64_MAX): Likewise.
653         [C99-based standards] (UINT8_MAX): Likewise.
654         [C99-based standards] (UINT16_MAX): Likewise.
655         [C99-based standards] (UINT32_MAX): Likewise.
656         [C99-based standards] (UINT64_MAX): Likewise.
657         [C99-based standards] (INT_LEAST8_MIN): Likewise.
658         [C99-based standards] (INT_LEAST8_MAX): Likewise.
659         [C99-based standards] (INT_LEAST16_MIN): Likewise.
660         [C99-based standards] (INT_LEAST16_MAX): Likewise.
661         [C99-based standards] (INT_LEAST32_MIN): Likewise.
662         [C99-based standards] (INT_LEAST32_MAX): Likewise.
663         [C99-based standards] (INT_LEAST64_MIN): Likewise.
664         [C99-based standards] (INT_LEAST64_MAX): Likewise.
665         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
666         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
667         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
668         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
669         [C99-based standards] (INT_FAST8_MIN): Likewise.
670         [C99-based standards] (INT_FAST8_MAX): Likewise.
671         [C99-based standards] (INT_FAST16_MIN): Likewise.
672         [C99-based standards] (INT_FAST16_MAX): Likewise.
673         [C99-based standards] (INT_FAST32_MIN): Likewise.
674         [C99-based standards] (INT_FAST32_MAX): Likewise.
675         [C99-based standards] (INT_FAST64_MIN): Likewise.
676         [C99-based standards] (INT_FAST64_MAX): Likewise.
677         [C99-based standards] (UINT_FAST8_MAX): Likewise.
678         [C99-based standards] (UINT_FAST16_MAX): Likewise.
679         [C99-based standards] (UINT_FAST32_MAX): Likewise.
680         [C99-based standards] (UINT_FAST64_MAX): Likewise.
681         [C99-based standards] (INTPTR_MIN): Likewise.
682         [C99-based standards] (INTPTR_MAX): Likewise.
683         [C99-based standards] (UINTPTR_MAX): Likewise.
684         [C99-based standards] (INTMAX_MIN): Likewise.
685         [C99-based standards] (INTMAX_MAX): Likewise.
686         [C99-based standards] (UINTMAX_MAX): Likewise.
687         [C99-based standards] (PTRDIFF_MIN): Likewise.
688         [C99-based standards] (PTRDIFF_MAX): Likewise.
689         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
690         [C99-based standards] (SIZE_MAX): Likewise.
691         [C99-based standards] (WCHAR_MAX): Likewise.
692         [C99-based standards] (WINT_MAX): Likewise.
693         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
694         constraint on value.
695         [C99-based standards] (WCHAR_MIN): Likewise.
696         [C99-based standards] (WINT_MIN): Likewise.
697         [C99-based standards] (*_t): Allow.
698         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
699         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
700         Include math.h-data and complex.h-data.  Remove all expectations
701         of math.h and complex.h contents.
702         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
703         at end of line.
704         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
705         (struct tm): Expect tag.
706         [C99-based-standards] (wcstof): Expect function.
707         [C99-based-standards] (wcstold): Likewise.
708         [C99-based-standards] (wcstoll): Likewise.
709         [C99-based-standards] (wcstoull): Likewise.
710         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
711         macro-int-constant.  Specify type.
712         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
713         constraint on value.
714         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
715         Specify type.
716         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
717         Specify value.
718         [ISO C standards]: Do not allow headers.
719         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
720         wcs[abcdefghijklmnopqrstuvwxyz]*.
721         [ISO C standards] (*_t): Do not allow.
722         * conform/data/wctype.h-data [C99-based standards] (iswblank):
723         Expect function.
724         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
725         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
726         Specify type.
727         [ISO C standards]: Do not allow headers.
728         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
729         is[abcdefghijklmnopqrstuvwxyz]*.
730         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
731         to[abcdefghijklmnopqrstuvwxyz]*.
732         [ISO C standards] (*_t): Do not allow.
733         * conform/data/stdalign.h-data: New file.
734         * conform/data/stdbool.h-data: Likewise.
735         * conform/data/stdnoreturn.h-data: Likewise.
737 2012-11-07  Andreas Jaeger  <aj@suse.de>
739         [BZ #14809]
740         * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
741         (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
742         guards are changed.  Only define if not yet defined, #undef back
743         after including linux/sysctl.h if defined here.
745 2012-11-07  Roland McGrath  <roland@hack.frob.com>
747         [BZ #14815]
748         * manual/filesys.texi (Directory Entries): Typo fix.
749         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
751 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
753         * elf/elf.h (EM_AARCH64): New macro.
754         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
755         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
756         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
757         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
758         (R_AARCH64_TLSDESC): Likewise.
759         (NT_ARM_TLS): Likewise.
760         (NT_ARM_HW_BREAK): Likewise.
761         (NT_ARM_HW_WATCH): Likewise.
763 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #14811]
766         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
767         (__ieee754_powl): Saturate nonzero exponents with absolute value
768         below 0x1p-79 to +/- 0x1p-79.
769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
770         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
771         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
772         nonzero exponents with absolute value below 0x1p-32 to +/-
773         0x1p-32.
774         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
775         (__ieee754_powl): Saturate nonzero exponents with absolute value
776         below 0x1p-79 to +/- 0x1p-79.
777         * math/libm-test.inc (pow_test): Add more tests.
779 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
781         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
782         _dl_s390_cap_flags with kernel. Increase string length.
783         (_dl_s390_platforms): Add z196 and zEC12.
785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
787         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
788         Change XOPEN21K to XOPEN2K.
790 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
792         * string/memmove.c: Use memcpy when possible.
794 2012-11-06  Andreas Jaeger  <aj@suse.de>
796         * po/eo.po: Update from translation team.
798 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
800         [BZ #14793]
801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
802         exponent and small x and y exponents, scale x or y up.  Increase
803         by 2 the exponent used in scaling up.
804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
806         * math/libm-test.inc (fma_test): Add more tests.
807         (fma_test_towardzero): Likewise.
808         (fma_test_downward): Likewise.
809         (fma_test_upward): Likewise.
811 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
813         [BZ #14805]
814         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
815         fenv_t *.
817         [BZ #14801]
818         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
819         namespace for names of struct fields.
820         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
821         fenv_t fields.
822         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
823         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
825 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
827         [BZ #3665]
828         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
830 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
832         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
833         PTR_DEMANGLE.
835         [BZ #5246]
836         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
837         PTR_DEMANGLE.
839 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
841         [BZ #14797]
842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
843         definitely overflow as x * y not x * y + z.
844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
846         * math/libm-test.inc (fma_test): Add more tests.
847         (fma_test_towardzero): Likewise.
848         (fma_test_downward): Likewise.
849         (fma_test_upward): Likewise.
851 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
853         [BZ #157]
855         * include/stub-tag.h: Remove file.
856         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
857         '#include' of it.
858         * manual/maint.texi (Porting): Don't reference it.
859         * Makerules ($(objpfx)stubs): Likewise.
860         * dirent/closedir.c: Don't include <stub-tag.h>.
861         * dirent/dirfd.c: Likewise.
862         * dirent/fdopendir.c: Likewise.
863         * dirent/getdents.c: Likewise.
864         * dirent/getdents64.c: Likewise.
865         * dirent/opendir.c: Likewise.
866         * dirent/readdir.c: Likewise.
867         * dirent/readdir64.c: Likewise.
868         * dirent/readdir64_r.c: Likewise.
869         * dirent/readdir_r.c: Likewise.
870         * dirent/rewinddir.c: Likewise.
871         * dirent/seekdir.c: Likewise.
872         * dirent/telldir.c: Likewise.
873         * gmon/profil.c: Likewise.
874         * grp/setgroups.c: Likewise.
875         * inet/if_index.c: Likewise.
876         * io/access.c: Likewise.
877         * io/chdir.c: Likewise.
878         * io/chmod.c: Likewise.
879         * io/chown.c: Likewise.
880         * io/close.c: Likewise.
881         * io/dup.c: Likewise.
882         * io/dup2.c: Likewise.
883         * io/dup3.c: Likewise.
884         * io/euidaccess.c: Likewise.
885         * io/faccessat.c: Likewise.
886         * io/fchdir.c: Likewise.
887         * io/fchmod.c: Likewise.
888         * io/fchmodat.c: Likewise.
889         * io/fchown.c: Likewise.
890         * io/fchownat.c: Likewise.
891         * io/fcntl.c: Likewise.
892         * io/flock.c: Likewise.
893         * io/fstatfs.c: Likewise.
894         * io/fstatfs64.c: Likewise.
895         * io/fstatvfs.c: Likewise.
896         * io/fstatvfs64.c: Likewise.
897         * io/futimens.c: Likewise.
898         * io/fxstat.c: Likewise.
899         * io/fxstat64.c: Likewise.
900         * io/fxstatat.c: Likewise.
901         * io/fxstatat64.c: Likewise.
902         * io/getcwd.c: Likewise.
903         * io/isatty.c: Likewise.
904         * io/lchmod.c: Likewise.
905         * io/lchown.c: Likewise.
906         * io/link.c: Likewise.
907         * io/linkat.c: Likewise.
908         * io/lseek.c: Likewise.
909         * io/lseek64.c: Likewise.
910         * io/lxstat64.c: Likewise.
911         * io/mkdir.c: Likewise.
912         * io/mkdirat.c: Likewise.
913         * io/mkfifo.c: Likewise.
914         * io/mkfifoat.c: Likewise.
915         * io/open.c: Likewise.
916         * io/open64.c: Likewise.
917         * io/openat.c: Likewise.
918         * io/openat64.c: Likewise.
919         * io/pipe.c: Likewise.
920         * io/pipe2.c: Likewise.
921         * io/poll.c: Likewise.
922         * io/posix_fadvise.c: Likewise.
923         * io/posix_fadvise64.c: Likewise.
924         * io/posix_fallocate.c: Likewise.
925         * io/posix_fallocate64.c: Likewise.
926         * io/read.c: Likewise.
927         * io/readlink.c: Likewise.
928         * io/readlinkat.c: Likewise.
929         * io/rmdir.c: Likewise.
930         * io/sendfile.c: Likewise.
931         * io/sendfile64.c: Likewise.
932         * io/statfs.c: Likewise.
933         * io/statfs64.c: Likewise.
934         * io/statvfs.c: Likewise.
935         * io/statvfs64.c: Likewise.
936         * io/symlink.c: Likewise.
937         * io/symlinkat.c: Likewise.
938         * io/ttyname.c: Likewise.
939         * io/ttyname_r.c: Likewise.
940         * io/umask.c: Likewise.
941         * io/unlink.c: Likewise.
942         * io/unlinkat.c: Likewise.
943         * io/utime.c: Likewise.
944         * io/utimensat.c: Likewise.
945         * io/write.c: Likewise.
946         * io/xmknod.c: Likewise.
947         * io/xmknodat.c: Likewise.
948         * io/xstat.c: Likewise.
949         * io/xstat64.c: Likewise.
950         * login/getpt.c: Likewise.
951         * login/grantpt.c: Likewise.
952         * login/unlockpt.c: Likewise.
953         * math/e_acoshl.c: Likewise.
954         * math/e_acosl.c: Likewise.
955         * math/e_asinl.c: Likewise.
956         * math/e_atan2l.c: Likewise.
957         * math/e_atanhl.c: Likewise.
958         * math/e_coshl.c: Likewise.
959         * math/e_expl.c: Likewise.
960         * math/e_fmodl.c: Likewise.
961         * math/e_gammal_r.c: Likewise.
962         * math/e_hypotl.c: Likewise.
963         * math/e_j0l.c: Likewise.
964         * math/e_j1l.c: Likewise.
965         * math/e_jnl.c: Likewise.
966         * math/e_lgammal_r.c: Likewise.
967         * math/e_log10l.c: Likewise.
968         * math/e_log2l.c: Likewise.
969         * math/e_logl.c: Likewise.
970         * math/e_powl.c: Likewise.
971         * math/e_rem_pio2l.c: Likewise.
972         * math/e_sinhl.c: Likewise.
973         * math/e_sqrtl.c: Likewise.
974         * math/fclrexcpt.c: Likewise.
975         * math/fedisblxcpt.c: Likewise.
976         * math/feenablxcpt.c: Likewise.
977         * math/fegetenv.c: Likewise.
978         * math/fegetexcept.c: Likewise.
979         * math/fegetround.c: Likewise.
980         * math/feholdexcpt.c: Likewise.
981         * math/fesetenv.c: Likewise.
982         * math/fesetround.c: Likewise.
983         * math/feupdateenv.c: Likewise.
984         * math/fgetexcptflg.c: Likewise.
985         * math/fraiseexcpt.c: Likewise.
986         * math/fsetexcptflg.c: Likewise.
987         * math/ftestexcept.c: Likewise.
988         * math/k_cosl.c: Likewise.
989         * math/k_rem_pio2l.c: Likewise.
990         * math/k_sinl.c: Likewise.
991         * math/k_tanl.c: Likewise.
992         * math/s_asinhl.c: Likewise.
993         * math/s_atanl.c: Likewise.
994         * math/s_cbrtl.c: Likewise.
995         * math/s_erfl.c: Likewise.
996         * math/s_expm1l.c: Likewise.
997         * math/s_log1pl.c: Likewise.
998         * math/s_tanhl.c: Likewise.
999         * misc/acct.c: Likewise.
1000         * misc/brk.c: Likewise.
1001         * misc/chflags.c: Likewise.
1002         * misc/chroot.c: Likewise.
1003         * misc/fchflags.c: Likewise.
1004         * misc/fgetxattr.c: Likewise.
1005         * misc/flistxattr.c: Likewise.
1006         * misc/fremovexattr.c: Likewise.
1007         * misc/fsetxattr.c: Likewise.
1008         * misc/fsync.c: Likewise.
1009         * misc/ftruncate.c: Likewise.
1010         * misc/futimes.c: Likewise.
1011         * misc/futimesat.c: Likewise.
1012         * misc/getdomain.c: Likewise.
1013         * misc/getdtsz.c: Likewise.
1014         * misc/gethostid.c: Likewise.
1015         * misc/gethostname.c: Likewise.
1016         * misc/getloadavg.c: Likewise.
1017         * misc/getpagesize.c: Likewise.
1018         * misc/getsysstats.c: Likewise.
1019         * misc/getxattr.c: Likewise.
1020         * misc/gtty.c: Likewise.
1021         * misc/ioctl.c: Likewise.
1022         * misc/lgetxattr.c: Likewise.
1023         * misc/listxattr.c: Likewise.
1024         * misc/llistxattr.c: Likewise.
1025         * misc/lremovexattr.c: Likewise.
1026         * misc/lsetxattr.c: Likewise.
1027         * misc/lutimes.c: Likewise.
1028         * misc/madvise.c: Likewise.
1029         * misc/mincore.c: Likewise.
1030         * misc/mlock.c: Likewise.
1031         * misc/mlockall.c: Likewise.
1032         * misc/mmap.c: Likewise.
1033         * misc/mprotect.c: Likewise.
1034         * misc/msync.c: Likewise.
1035         * misc/munlock.c: Likewise.
1036         * misc/munlockall.c: Likewise.
1037         * misc/munmap.c: Likewise.
1038         * misc/preadv.c: Likewise.
1039         * misc/preadv64.c: Likewise.
1040         * misc/ptrace.c: Likewise.
1041         * misc/pwritev.c: Likewise.
1042         * misc/pwritev64.c: Likewise.
1043         * misc/readv.c: Likewise.
1044         * misc/reboot.c: Likewise.
1045         * misc/remap_file_pages.c: Likewise.
1046         * misc/removexattr.c: Likewise.
1047         * misc/revoke.c: Likewise.
1048         * misc/select.c: Likewise.
1049         * misc/setdomain.c: Likewise.
1050         * misc/setegid.c: Likewise.
1051         * misc/seteuid.c: Likewise.
1052         * misc/sethostid.c: Likewise.
1053         * misc/sethostname.c: Likewise.
1054         * misc/setregid.c: Likewise.
1055         * misc/setreuid.c: Likewise.
1056         * misc/setxattr.c: Likewise.
1057         * misc/sstk.c: Likewise.
1058         * misc/stty.c: Likewise.
1059         * misc/swapoff.c: Likewise.
1060         * misc/swapon.c: Likewise.
1061         * misc/sync.c: Likewise.
1062         * misc/syncfs.c: Likewise.
1063         * misc/syscall.c: Likewise.
1064         * misc/truncate.c: Likewise.
1065         * misc/ualarm.c: Likewise.
1066         * misc/usleep.c: Likewise.
1067         * misc/ustat.c: Likewise.
1068         * misc/utimes.c: Likewise.
1069         * misc/vhangup.c: Likewise.
1070         * misc/writev.c: Likewise.
1071         * posix/_exit.c: Likewise.
1072         * posix/alarm.c: Likewise.
1073         * posix/execve.c: Likewise.
1074         * posix/fexecve.c: Likewise.
1075         * posix/fork.c: Likewise.
1076         * posix/fpathconf.c: Likewise.
1077         * posix/getaddrinfo.c: Likewise.
1078         * posix/getegid.c: Likewise.
1079         * posix/geteuid.c: Likewise.
1080         * posix/getgid.c: Likewise.
1081         * posix/getgroups.c: Likewise.
1082         * posix/getlogin.c: Likewise.
1083         * posix/getlogin_r.c: Likewise.
1084         * posix/getpgid.c: Likewise.
1085         * posix/getpid.c: Likewise.
1086         * posix/getppid.c: Likewise.
1087         * posix/getresgid.c: Likewise.
1088         * posix/getresuid.c: Likewise.
1089         * posix/getsid.c: Likewise.
1090         * posix/getuid.c: Likewise.
1091         * posix/glob64.c: Likewise.
1092         * posix/nanosleep.c: Likewise.
1093         * posix/pathconf.c: Likewise.
1094         * posix/pause.c: Likewise.
1095         * posix/posix_madvise.c: Likewise.
1096         * posix/pread.c: Likewise.
1097         * posix/pread64.c: Likewise.
1098         * posix/pwrite.c: Likewise.
1099         * posix/pwrite64.c: Likewise.
1100         * posix/sched_getaffinity.c: Likewise.
1101         * posix/sched_getp.c: Likewise.
1102         * posix/sched_gets.c: Likewise.
1103         * posix/sched_primax.c: Likewise.
1104         * posix/sched_primin.c: Likewise.
1105         * posix/sched_rr_gi.c: Likewise.
1106         * posix/sched_setaffinity.c: Likewise.
1107         * posix/sched_setp.c: Likewise.
1108         * posix/sched_sets.c: Likewise.
1109         * posix/sched_yield.c: Likewise.
1110         * posix/setgid.c: Likewise.
1111         * posix/setlogin.c: Likewise.
1112         * posix/setpgid.c: Likewise.
1113         * posix/setresgid.c: Likewise.
1114         * posix/setresuid.c: Likewise.
1115         * posix/setsid.c: Likewise.
1116         * posix/setuid.c: Likewise.
1117         * posix/sleep.c: Likewise.
1118         * posix/spawni.c: Likewise.
1119         * posix/sysconf.c: Likewise.
1120         * posix/times.c: Likewise.
1121         * posix/wait.c: Likewise.
1122         * posix/wait3.c: Likewise.
1123         * posix/wait4.c: Likewise.
1124         * posix/waitpid.c: Likewise.
1125         * resolv/gai_sigqueue.c: Likewise.
1126         * resource/getpriority.c: Likewise.
1127         * resource/getrlimit.c: Likewise.
1128         * resource/getrusage.c: Likewise.
1129         * resource/nice.c: Likewise.
1130         * resource/setpriority.c: Likewise.
1131         * resource/setrlimit.c: Likewise.
1132         * resource/ulimit.c: Likewise.
1133         * rt/aio_cancel.c: Likewise.
1134         * rt/aio_fsync.c: Likewise.
1135         * rt/aio_read.c: Likewise.
1136         * rt/aio_sigqueue.c: Likewise.
1137         * rt/aio_suspend.c: Likewise.
1138         * rt/aio_write.c: Likewise.
1139         * rt/clock_getres.c: Likewise.
1140         * rt/clock_gettime.c: Likewise.
1141         * rt/clock_nanosleep.c: Likewise.
1142         * rt/clock_settime.c: Likewise.
1143         * rt/lio_listio.c: Likewise.
1144         * rt/mq_close.c: Likewise.
1145         * rt/mq_getattr.c: Likewise.
1146         * rt/mq_notify.c: Likewise.
1147         * rt/mq_open.c: Likewise.
1148         * rt/mq_receive.c: Likewise.
1149         * rt/mq_send.c: Likewise.
1150         * rt/mq_setattr.c: Likewise.
1151         * rt/mq_timedreceive.c: Likewise.
1152         * rt/mq_timedsend.c: Likewise.
1153         * rt/mq_unlink.c: Likewise.
1154         * rt/shm_open.c: Likewise.
1155         * rt/shm_unlink.c: Likewise.
1156         * rt/timer_create.c: Likewise.
1157         * rt/timer_delete.c: Likewise.
1158         * rt/timer_getoverr.c: Likewise.
1159         * rt/timer_gettime.c: Likewise.
1160         * rt/timer_settime.c: Likewise.
1161         * setjmp/__longjmp.c: Likewise.
1162         * setjmp/setjmp.c: Likewise.
1163         * signal/kill.c: Likewise.
1164         * signal/killpg.c: Likewise.
1165         * signal/raise.c: Likewise.
1166         * signal/sigaction.c: Likewise.
1167         * signal/sigaltstack.c: Likewise.
1168         * signal/sigblock.c: Likewise.
1169         * signal/sigignore.c: Likewise.
1170         * signal/sigintr.c: Likewise.
1171         * signal/signal.c: Likewise.
1172         * signal/sigpause.c: Likewise.
1173         * signal/sigpending.c: Likewise.
1174         * signal/sigqueue.c: Likewise.
1175         * signal/sigreturn.c: Likewise.
1176         * signal/sigset.c: Likewise.
1177         * signal/sigsetmask.c: Likewise.
1178         * signal/sigstack.c: Likewise.
1179         * signal/sigsuspend.c: Likewise.
1180         * signal/sigtimedwait.c: Likewise.
1181         * signal/sigvec.c: Likewise.
1182         * signal/sigwait.c: Likewise.
1183         * signal/sigwaitinfo.c: Likewise.
1184         * signal/sysv_signal.c: Likewise.
1185         * socket/accept.c: Likewise.
1186         * socket/accept4.c: Likewise.
1187         * socket/bind.c: Likewise.
1188         * socket/connect.c: Likewise.
1189         * socket/getpeername.c: Likewise.
1190         * socket/getsockname.c: Likewise.
1191         * socket/getsockopt.c: Likewise.
1192         * socket/isfdtype.c: Likewise.
1193         * socket/listen.c: Likewise.
1194         * socket/recv.c: Likewise.
1195         * socket/recvfrom.c: Likewise.
1196         * socket/recvmsg.c: Likewise.
1197         * socket/send.c: Likewise.
1198         * socket/sendmsg.c: Likewise.
1199         * socket/sendto.c: Likewise.
1200         * socket/setsockopt.c: Likewise.
1201         * socket/shutdown.c: Likewise.
1202         * socket/sockatmark.c: Likewise.
1203         * socket/socket.c: Likewise.
1204         * socket/socketpair.c: Likewise.
1205         * stdio-common/ctermid.c: Likewise.
1206         * stdio-common/cuserid.c: Likewise.
1207         * stdio-common/remove.c: Likewise.
1208         * stdio-common/rename.c: Likewise.
1209         * stdio-common/renameat.c: Likewise.
1210         * stdio-common/tempname.c: Likewise.
1211         * stdlib/getcontext.c: Likewise.
1212         * stdlib/makecontext.c: Likewise.
1213         * stdlib/setcontext.c: Likewise.
1214         * stdlib/swapcontext.c: Likewise.
1215         * stdlib/system.c: Likewise.
1216         * streams/fattach.c: Likewise.
1217         * streams/fdetach.c: Likewise.
1218         * streams/getmsg.c: Likewise.
1219         * streams/getpmsg.c: Likewise.
1220         * streams/putmsg.c: Likewise.
1221         * streams/putpmsg.c: Likewise.
1222         * sysdeps/unix/bsd/getpt.c: Likewise.
1223         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1224         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1225         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1227         Likewise.
1228         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1229         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1230         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1231         * sysvipc/msgctl.c: Likewise.
1232         * sysvipc/msgget.c: Likewise.
1233         * sysvipc/msgrcv.c: Likewise.
1234         * sysvipc/msgsnd.c: Likewise.
1235         * sysvipc/semctl.c: Likewise.
1236         * sysvipc/semget.c: Likewise.
1237         * sysvipc/semop.c: Likewise.
1238         * sysvipc/semtimedop.c: Likewise.
1239         * sysvipc/shmat.c: Likewise.
1240         * sysvipc/shmctl.c: Likewise.
1241         * sysvipc/shmdt.c: Likewise.
1242         * sysvipc/shmget.c: Likewise.
1243         * termios/tcdrain.c: Likewise.
1244         * termios/tcflow.c: Likewise.
1245         * termios/tcflush.c: Likewise.
1246         * termios/tcgetattr.c: Likewise.
1247         * termios/tcgetpgrp.c: Likewise.
1248         * termios/tcsendbrk.c: Likewise.
1249         * termios/tcsetattr.c: Likewise.
1250         * termios/tcsetpgrp.c: Likewise.
1251         * time/adjtime.c: Likewise.
1252         * time/clock.c: Likewise.
1253         * time/getitimer.c: Likewise.
1254         * time/gettimeofday.c: Likewise.
1255         * time/setitimer.c: Likewise.
1256         * time/settimeofday.c: Likewise.
1257         * time/stime.c: Likewise.
1258         * time/time.c: Likewise.
1260 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
1262         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1263         /usr/old/bin.
1265         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1266         instead of spaces.
1267         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1269 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
1271         [BZ #14796]
1272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1273         FE_TONEAREST before applying Dekker multiplication and Knuth
1274         addition.  Clear inexact exceptions and check for exact zero
1275         results afterwards.
1276         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1277         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1279         * math/libm-test.inc (fma_test): Add more tests.
1280         (fma_test_towardzero): Likewise.
1281         (fma_test_downward): Likewise.
1282         (fma_test_upward): Likewise.
1283         * sysdeps/generic/math_private.h (default_libc_fesetround): New
1284         function.
1285         (libc_fesetround): New macro.
1286         (libc_fesetroundf): Likewise.
1287         (libc_fesetroundl): Likewise.
1288         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1289         function.
1290         (libc_fesetround_387): Likewise.
1291         (libc_fesetroundf): New macro.
1292         (libc_fesetround): Likewise.
1293         (libc_fesetroundl): Likewise.
1294         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1295         function.
1296         (libc_fesetroundf): New macro.
1297         (libc_fesetround): Likewise.
1298         (libc_fesetroundl): Likewise.
1299         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1300         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1301         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1302         libm_hidden_ver.
1303         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1304         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1305         libm_hidden_def.
1306         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1307         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1308         libm_hidden_ver.
1309         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1310         libm_hidden_def.
1312         [BZ #3439]
1313         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1314         integer constant usable in #if and use that to give value to enum
1315         constant.
1316         (FE_DIVBYZERO): Likewise.
1317         (FE_UNDERFLOW): Likewise.
1318         (FE_OVERFLOW): Likewise.
1319         (FE_INVALID): Likewise.
1320         (FE_INVALID_SNAN): Likewise.
1321         (FE_INVALID_ISI): Likewise.
1322         (FE_INVALID_IDI): Likewise.
1323         (FE_INVALID_ZDZ): Likewise.
1324         (FE_INVALID_IMZ): Likewise.
1325         (FE_INVALID_COMPARE): Likewise.
1326         (FE_INVALID_SOFTWARE): Likewise.
1327         (FE_INVALID_SQRT): Likewise.
1328         (FE_INVALID_INTEGER_CONVERSION): Likewise.
1329         (FE_TONEAREST): Likewise.
1330         (FE_TOWARDZERO): Likewise.
1331         (FE_UPWARD): Likewise.
1332         (FE_DOWNWARD): Likewise.
1333         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1334         (FE_DIVBYZERO): Likewise.
1335         (FE_OVERFLOW): Likewise.
1336         (FE_UNDERFLOW): Likewise.
1337         (FE_INEXACT): Likewise.
1338         (FE_TONEAREST): Likewise.
1339         (FE_DOWNWARD): Likewise.
1340         (FE_UPWARD): Likewise.
1341         (FE_TOWARDZERO): Likewise.
1342         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1343         (FE_UNDERFLOW): Likewise.
1344         (FE_OVERFLOW): Likewise.
1345         (FE_DIVBYZERO): Likewise.
1346         (FE_INVALID): Likewise.
1347         (FE_TONEAREST): Likewise.
1348         (FE_TOWARDZERO): Likewise.
1349         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1350         (FE_OVERFLOW): Likewise.
1351         (FE_UNDERFLOW): Likewise.
1352         (FE_DIVBYZERO): Likewise.
1353         (FE_INEXACT): Likewise.
1354         (FE_TONEAREST): Likewise.
1355         (FE_TOWARDZERO): Likewise.
1356         (FE_UPWARD): Likewise.
1357         (FE_DOWNWARD): Likewise.
1358         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1359         (FE_DIVBYZERO): Likewise.
1360         (FE_OVERFLOW): Likewise.
1361         (FE_UNDERFLOW): Likewise.
1362         (FE_INEXACT): Likewise.
1363         (FE_TONEAREST): Likewise.
1364         (FE_DOWNWARD): Likewise.
1365         (FE_UPWARD): Likewise.
1366         (FE_TOWARDZERO): Likewise.
1368 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
1370         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1372 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
1374         * scripts/cross-test-ssh.sh (command): Use newlines to separate
1375         commands.  Quote $PWD.
1376         (blacklist_exports): Don't use remove_newlines.  Replace "declare
1377         -x" by "export".
1378         (remove_newlines): Remove.
1380 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
1382         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1383         * stdlib/stdlib.h (atof): Moved to ...
1384         * include/bits/stdlib-float.h: Here.  New file.
1385         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1386         * stdlib/bits/stdlib-float.h: New file.
1387         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1388         -mno-sse -mno-mmx.
1389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1390         <xmmintrin.h>.
1392 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1394         * conform/conformtest.pl (@headers): Add fenv.h.
1395         * conform/data/fenv.h-data: New file.
1396         * include/fenv.h [_ISOMAC]: Disable all contents of file except
1397         include of <math/fenv.h>.
1399         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1400         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1401         && !UNIX98].  Enables tests for XOPEN2K8.
1402         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1403         POSIX2008]: Likewise.
1405         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1406         (struct rusage): Do not expect type or its members.
1408         [BZ #3439]
1409         * math/math.h (FP_NAN): Define macro to integer constant usable in
1410         #if and use that to give value to enum constant.
1411         (FP_INFINITE): Likewise.
1412         (FP_ZERO): Likewise.
1413         (FP_SUBNORMAL): Likewise.
1414         (FP_NORMAL): Likewise.
1416 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
1418         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1419         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1420         arguments.
1422 2012-11-02  Roland McGrath  <roland@hack.frob.com>
1424         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1425         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1426         autoconf-time if not.
1427         * configure.in: Remove AC_PREREQ.
1429 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1431         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1432         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1433         of the internal implementation.
1435 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1437         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1438         except include of <misc/sys/syslog.h>.
1440 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1443         function returns with a NULL context exit with zero.
1445 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1447         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1449 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
1451         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1452         (run_program_cmd): This.
1453         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1454         (tst_langinfo): New variable.  Use it.
1456 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
1458         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1459         floating point opcodes.
1461 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1463         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1464         variable.
1466         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1468         * sysdeps/mach/hurd/powerpc: Remove directory.
1469         * sysdeps/mach/powerpc: Likewise.
1471 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1473         * scripts/check-local-headers.sh: Ignore c++ headers.
1475 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1477         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1478         __libc_cleanup_region_start argument.
1480 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
1482         [BZ #14784]
1483         [BZ #14785]
1484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1485         x * y using scaling, not as x * y + z.
1486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1488         * math/libm-test.inc (fma_test): Add more tests.
1489         (fma_test_towardzero): Likewise.
1490         (fma_test_downward): Likewise.
1491         (fma_test_upward): Likewise.
1493 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1495         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1497 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1499         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1500         New variable.
1502 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
1504         * rt/tst-shm.c (worker): Correct checking for mmap failure.
1506 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1509         Fix sort order.
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1511         Likewise.
1513 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1516         Fix the order of the list for glibc 2.17.
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1518         Likewise.
1520 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1526         [BZ #14610]
1527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1528         for low part of x being zero before using __atanl (y).
1529         * math/libm-test.inc (atan2_test): Add another test.
1531         * manual/install.texi (Configuring and compiling): Document
1532         general use of test-wrapper and test-wrapper-env.
1533         * INSTALL: Regenerated.
1535         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1536         (__fma): Do not extract and scale down low bits on after-rounding
1537         systems when result rounded to normal precision would have normal
1538         exponent.
1539         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1540         (__fmal): Do not extract and scale down low bits on after-rounding
1541         systems when result rounded to normal precision would have normal
1542         exponent.
1543         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1544         (__fmal): Do not extract and scale down low bits on after-rounding
1545         systems when result rounded to normal precision would have normal
1546         exponent.
1547         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1548         macro.
1549         (fma_test): Add more tests.
1550         (fma_test_towardzero): Likewise.
1551         (fma_test_downward): Likewise.
1552         (fma_test_upward): Likewise.
1554 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
1556         * sysdeps/i386/tininess.h: Renamed to ...
1557         * sysdeps/x86/tininess.h: This.
1558         * sysdeps/x86_64/tininess.h: Removed.
1560 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1562         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1563         input.  Use $(build-program-cmd).
1564         ($(objpfx)tst-array1-static.out): Likewise.
1565         ($(objpfx)tst-array2.out): Likewise.
1566         ($(objpfx)tst-array3.out): Likewise.
1567         ($(objpfx)tst-array4.out): Likewise.
1568         ($(objpfx)tst-array5.out): Likewise.
1569         ($(objpfx)tst-array5-static.out): Likewise.
1571 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
1573         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1574         if defined.
1576         * nss/nsswitch.h (nss_interface_function): Provide new
1577         macro for use with NSS functions.
1578         * grp/initgroups.c: Use new macro.
1579         * nss/getXXbyYY.c: Likewise.
1580         * nss/getXXbyYY_r.c: Likewise.
1581         * nss/getXXent.c: Likewise.
1582         * nss/getXXent_r.c: Likewise.
1583         * sysdeps/posix/getaddrinfo.c: Likewise.
1585 2012-10-30  Andreas Jaeger  <aj@suse.de>
1587         * po/ru.po: Update Russion translation from translation project.
1589 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1591         [BZ #14152]
1592         [BZ #14783]
1593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1594         result and shift together with sticky bit instead of replicating
1595         round-to-nearest rounding.
1596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1598         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
1599         missing underflow exceptions.
1600         (fma_test_towardzero): Add more tests.
1601         (fma_test_downward): Likewise.
1602         (fma_test_upward): Likewise.
1604         [BZ #14047]
1605         * sysdeps/generic/tininess.h: New file.
1606         * sysdeps/i386/tininess.h: Likewise.
1607         * sysdeps/sh/tininess.h: Likewise.
1608         * sysdeps/x86_64/tininess.h: Likewise.
1609         * stdlib/tst-strtod-underflow.c: Likewise.
1610         * stdlib/tst-tininess.c: Likewise.
1611         * stdlib/strtod_l.c: Include <tininess.h>.
1612         (round_and_return): Do not set errno for exact underflow cases.
1613         Force an underflow exception when setting errno for underflow.
1614         Determine underflow based on rounding to normal precision if
1615         TININESS_AFTER_ROUNDING.
1616         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1617         ERANGE for exact underflow cases.
1618         * stdlib/Makefile (tests): Add tst-tininess and
1619         tst-strtod-underflow.
1620         ($(objpfx)tst-tininess): Use $(link-libm).
1621         ($(objpfx)tst-strtod-underflow): Likewise.
1623 2012-10-30  Andreas Jaeger  <aj@suse.de>
1625         [BZ#14767]
1626         * elf/Makefile (tests): Remove conditional for have-initfini-array
1627         since this is now always required and the variable does not exist
1628         anymore.
1629         (tests-static): Likewise.
1630         (modules-names): Likewise.
1632         * po/eo.po: Add Esperanto translation from translation project.
1634         * elf/tst-array1.c (fini_array): Make writeable so that it can be
1635         merged with constructor/destructor.
1636         (init_array): Likewise.
1637         * elf/tst-array2dep.c (fini_array): Likewise.
1638         (init_array): Likewise.
1640 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
1642         * manual/message.texi: Delete @cartouche tags.
1644 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
1646         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1647         EOPNOTSUPP.
1648         * sysdeps/mach/hurd/fsync.c: Likewise.
1650         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1651         [_POSIX_REALTIME_SIGNALS]: Change condition to
1652         [_POSIX_REALTIME_SIGNALS > 0].
1654 2012-10-27  Andreas Jaeger  <aj@suse.de>
1656         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1657         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1659         [__WORDSIZE != 64]: Likewise.
1661 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
1663         *  iconvdata/tst-table.sh: Remove ${SHELL}.
1664         *  iconvdata/tst-tables.sh: Likewise.
1666 2012-10-25  David S. Miller  <davem@davemloft.net>
1668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1669         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1670         of strtoull.
1672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1673         ifunc-impl-list.c
1674         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1675         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1676         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1677         file.
1679 2012-10-25  Roland McGrath  <roland@hack.frob.com>
1681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1682         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1683         __getdirentries.
1685 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1686             Jim Blandy  <jimb@codesourcery.com>
1688         * scripts/cross-test-ssh.sh: New file.
1689         * manual/install.texi (Configuring and compiling): Document use of
1690         cross-test-ssh.sh.
1691         * INSTALL: Regenerated.
1693 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
1695         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1696         EOPNOTSUPP.
1698 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1700         * Makeconfig (run-program-prefix): Fix comment.
1702 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1703             Jim Blandy  <jimb@codesourcery.com>
1705         * Makeconfig (test-wrapper): New variable,
1706         (test-wrapper-env): Likewise.
1707         [$(cross-compiling) = yes && $(test-wrapper) != ""]
1708         (run-built-tests): Define to yes.
1709         (run-program-prefix): Use $(test-wrapper).
1710         (built-program-cmd): Likewise.
1711         * Rules (make-test-out): Use $(test-wrapper-env) and
1712         $(host-built-program-cmd).
1713         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1714         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1715         tst-pathopt.sh.
1716         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1717         $(test-wrapper-env) to tst-rtld-load-self.sh.
1718         ($(objpfx)order2.out): Use $(test-wrapper).
1719         ($(objpfx)tst-initorder.out): Likewise.
1720         ($(objpfx)tst-initorder2.out): Likewise.
1721         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1722         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1723         (test_wrapper_env): New variable.  Use it to run ld.so.
1724         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1725         Use it to run ld.so.
1726         (test_wrapper_env): Likewise.
1727         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1728         $(test-wrapper) to run-iconv-test.sh.
1729         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1730         (ICONV): Use $test_wrapper.
1731         * posix/Makefile ($(objpfx)globtest.out): Pass
1732         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1733         globtest.sh, not $(run-program-prefix).
1734         * posix/globtest.sh (run_via_rtld_prefix): New variable.
1735         (test_wrapper): Likewise.
1736         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
1737         set together with run_via_rtld_prefix.
1738         (run_program_prefix): Define in terms of test_wrapper and
1739         run_via_rtld_prefix.
1741 2012-10-24  Roland McGrath  <roland@hack.frob.com>
1743         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1744         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1745         Targets removed.
1747         [BZ #14743]
1748         * include/time.h: Remove librt_hidden_proto (clock_gettime).
1749         Declare __clock_getres, __clock_gettime, __clock_settime,
1750         __clock_nanosleep, and __clock_getcpuclockid.
1751         * rt/clock_gettime.c: Define __clock_gettime as an alias.
1752         Remove librt_hidden_def (clock_gettime).
1753         * sysdeps/unix/clock_gettime.c: Likewise.
1754         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1755         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1756         * rt/clock_getres.c: Define __clock_getres as an alias.
1757         * sysdeps/posix/clock_getres.c: Likewise.
1758         * rt/clock_settime.c: Define __clock_settime as an alias.
1759         * sysdeps/unix/clock_settime.c: Likewise.
1760         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1761         * sysdeps/unix/clock_nanosleep.c: Likewise.
1762         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1763         * rt/clock-compat.c: New file.
1764         * rt/Makefile (librt-routines): Add clock-compat and move
1765         $(clock-routines) to ...
1766         (routines): ... here, new variable.
1767         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1768         Don't add get_clockfreq here.
1769         * rt/Versions (libc: GLIBC_2.17): New version set.
1770         Add clock_* symbols here.
1771         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
1772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1773         (GLIBC_2.17): Add clock_* symbols.
1774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1776         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1778         Likewise.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1780         Likewise.
1781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1785         * NEWS: Mention the move.
1787         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1788         Use __open, __read, __close rather than their public counterparts.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1790         (__get_clockfreq_via_cpuinfo): Likewise.
1791         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1792         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1794         * config.h.in (HAVE_IFUNC): New #undef.
1795         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1796         was successful.
1797         * configure: Regenerated.
1799 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1801         * configure.in: Move READELF check to start of file.
1802         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1803         libc_cv_asm_gnu_indirect_function in the process.
1804         * configure: Regenerated.
1806 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1808         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1809         send the output to /dev/null.
1810         (libc_cv_cc_with_libunwind): Likewise.
1811         (libc_cv_as_noexecstack): Likewise.
1812         * configure: Regenerate.
1814 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1816         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1818         * posix/globtest.sh (TMPDIR): Do not set.
1819         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1820         (testout): Likewise.
1822 2012-10-24  Andreas Jaeger  <aj@suse.de>
1824         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1825         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1826         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1827         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1828         posix_fadvise64, posix_fallocate64.
1830         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1831         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1832         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1833         Likewise.
1834         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1835         Likewise.
1836         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1839         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1840         <bits/fcntl-linux.h>.
1841         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1843         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1844         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1845         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1846         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1847         [__WORDSIZE != 64]: Likewise.
1849 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1851         * Makeconfig (run-built-tests): New variable.
1852         * Rules [$(cross-compiling) = yes]: Change condition to
1853         [$(run-built-tests) = no].
1854         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1855         to [$(run-built-tests) = yes].
1856         * elf/Makefile [$(cross-compiling) = no]: Likewise
1857         * grp/Makefile [$(cross-compiling) = no]: Likewise.
1858         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1859         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1860         * intl/Makefile [$(cross-compiling) = no]: Likewise.
1861         * io/Makefile [$(cross-compiling) = no]: Likewise.
1862         * libio/Makefile [$(cross-compiling) = no]: Likewise.
1863         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1864         * misc/Makefile [$(cross-compiling) = no]: Likewise.
1865         * posix/Makefile [$(cross-compiling) = no]: Likewise.
1866         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1867         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1868         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1869         * string/Makefile [$(cross-compiling) = no]: Likewise.
1871         * posix/Makefile ($(objpfx)globtest.out): Pass
1872         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1873         $(rtld-installed-name).
1874         * posix/globtest.sh (elf_objpfx): Remove variable.
1875         (rtld_installed_name): Likewise.
1876         (library_path): Likewise.
1877         (run_program_prefix): New variable.  Use for running globtest
1878         binary.
1880 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
1881             Joseph Myers  <joseph@codesourcery.com>
1883         * Makeconfig (host-built-program-cmd): New variable.
1884         * elf/Makefile (tst-stackguard1-ARGS): Use
1885         $(host-built-program-cmd).
1886         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1887         (tst-spawn-ARGS): Likewise.
1888         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1890 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1891             Jim Blandy  <jimb@codesourcery.com>
1893         * Makeconfig (run-via-rtld-prefix): New variable.
1894         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1895         (built-program-cmd): Likewise.
1897 2012-10-22  Andreas Jaeger  <aj@suse.de>
1899         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1900         __O_RSYNC if it exists, otherwise to O_SYNC.
1902 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
1903             Joseph Myers  <joseph@codesourcery.com>
1905         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1906         /dev/null.
1907         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1908         from /dev/null
1909         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1910         /dev/null.
1912 2012-10-22  Andreas Jaeger  <aj@suse.de>
1914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1915         Define always.
1916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1919         bits/fcntl-linux.h.
1921         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1922         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1925         to __O_LARGEFILE.
1926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1927         to __O_LARGEFILE.
1929 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
1930             Joseph Myers  <joseph@codesourcery.com>
1932         * config.make.in (NM): New variable.
1934 2012-10-21  Andreas Jaeger  <aj@suse.de>
1936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1937         definitions and declarations that are provided by
1938         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1940 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1942         [BZ #14683]
1943         * elf/Makefile (tests-static): Add tst-leaks1-static.
1944         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1945         ($(objpfx)tst-leaks1-static): New rule.
1946         ($(objpfx)tst-leaks1-static-mem): Likewise.
1947         (tst-leaks1-static-ENV): New macro.
1948         * elf/dl-open.c (dl_open_worker): Check the main application
1949         only if SHARED is defined.
1950         * elf/tst-leaks1-static.c: New file.
1952 2012-10-20  Andreas Jaeger  <aj@suse.de>
1954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1955         generic values for Linux.
1956         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1957         and declarations that are provided by <bits/fcntl-linux.h> and
1958         include <bits/fcntl-linux.h>.
1959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1962 2012-10-20  Roland McGrath  <roland@hack.frob.com>
1964         * io/fcntl.h: Move include of <bits/types.h> to the top and
1965         include it unconditionally.
1967 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1969         * wcsmbs/Makefile (tests-ifunc): New variable.
1970         (tests): Add $(tests-ifunc).
1971         * wcsmbs/test-wcschr-ifunc.c: New file.
1972         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1973         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1974         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1975         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1976         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1978         * string/Makefile (tests-ifunc): New variable.
1979         (tests): Add $(tests-ifunc).
1980         * string/test-memccpy.c (TEST_NAME): New macro.
1981         * string/test-memchr.c (TEST_NAME): Likewise.
1982         * string/test-memcmp.c (TEST_NAME): Likewise.
1983         * string/test-memcpy.c (TEST_NAME): Likewise.
1984         * string/test-memmem.c (TEST_NAME): Likewise.
1985         * string/test-memmove.c (TEST_NAME): Likewise.
1986         * string/test-memset.c (TEST_NAME): Likewise.
1987         * string/test-rawmemchr.c (TEST_NAME): Likewise.
1988         * string/test-stpcpy.c (TEST_NAME): Likewise.
1989         * string/test-stpncpy.c (TEST_NAME): Likewise.
1990         * string/test-strcasecmp.c (TEST_NAME): Likewise.
1991         * string/test-strcasestr.c (TEST_NAME): Likewise.
1992         * string/test-strcat.c (TEST_NAME): Likewise.
1993         * string/test-strchr.c (TEST_NAME): Likewise.
1994         * string/test-strcmp.c(TEST_NAME): Likewise.
1995         * string/test-strcpy.c (TEST_NAME): Likewise.
1996         * string/test-strcspn.c (TEST_NAME): Likewise.
1997         * string/test-strlen.c (TEST_NAME): Likewise.
1998         * string/test-strncasecmp.c (TEST_NAME): Likewise.
1999         * string/test-strncmp.c (TEST_NAME): Likewise.
2000         * string/test-strncpy.c (TEST_NAME): Likewise.
2001         * string/test-strnlen.c (TEST_NAME): Likewise.
2002         * string/test-strpbrk.c (TEST_NAME): Likewise.
2003         * string/test-strrchr.c (TEST_NAME): Likewise.
2004         * string/test-strspn.c (TEST_NAME): Likewise.
2005         * string/test-strstr.c (TEST_NAME): Likewise.
2006         * string/test-bcopy-ifunc.c: New file.
2007         * string/test-bzero-ifunc.c: Likewise.
2008         * string/test-memccpy-ifunc.c: Likewise.
2009         * string/test-memchr-ifunc.c: Likewise.
2010         * string/test-memcmp-ifunc.c: Likewise.
2011         * string/test-memcpy-ifunc.c: Likewise.
2012         * string/test-memmem-ifunc.c: Likewise.
2013         * string/test-memmove-ifunc.c: Likewise.
2014         * string/test-mempcpy-ifunc.c: Likewise.
2015         * string/test-memset-ifunc.c: Likewise.
2016         * string/test-rawmemchr-ifunc.c: Likewise.
2017         * string/test-stpcpy-ifunc.c: Likewise.
2018         * string/test-stpncpy-ifunc.c: Likewise.
2019         * string/test-strcasecmp-ifunc.c: Likewise.
2020         * string/test-strcasestr-ifunc.c: Likewise.
2021         * string/test-strcat-ifunc.c: Likewise.
2022         * string/test-strchr-ifunc.c: Likewise.
2023         * string/test-strchrnul-ifunc.c: Likewise.
2024         * string/test-strcmp-ifunc.c: Likewise.
2025         * string/test-strcpy-ifunc.c: Likewise.
2026         * string/test-strcspn-ifunc.c: Likewise.
2027         * string/test-strlen-ifunc.c: Likewise.
2028         * string/test-strncasecmp-ifunc.c: Likewise.
2029         * string/test-strncat-ifunc.c: Likewise.
2030         * string/test-strncmp-ifunc.c: Likewise.
2031         * string/test-strncpy-ifunc.c: Likewise.
2032         * string/test-strnlen-ifunc.c: Likewise.
2033         * string/test-strpbrk-ifunc.c: Likewise.
2034         * string/test-strrchr-ifunc.c: Likewise.
2035         * string/test-strspn-ifunc.c: Likewise.
2036         * string/test-strstr-ifunc.c: Likewise.
2038         * debug/Makefile (tests-ifunc): New variable.
2039         (tests): Add $(tests-ifunc).
2040         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2041         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2042         * debug/test-stpcpy_chk-ifunc.c: New file.
2043         * debug/test-strcpy_chk-ifunc.c: Likewise.
2045 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2047         [BZ #13601]
2048         * elf/dl-load.c (open_verify): Retry read if the entire ELF
2049         header is not read in.
2051 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
2053         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
2054         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
2055         directly.  Pass built executable to script as
2056         $(built-program-cmd).
2057         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
2058         $testprogram without using LD_LIBRARY_PATH and $ldso.
2060         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2061         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2062         $(rtld-installed-name).
2063         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2064         (rtld_installed_name): Likewise.
2065         (library_path): Likewise.
2066         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
2067         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2068         $(run-program-prefix) to tst-tables.sh.
2069         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
2070         it to run tst-table-from and tst-table-to.
2071         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2072         Pass it to tst-table.sh.
2073         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2074         $(run-program-prefix) to tst-gettext.sh.
2075         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2076         tst-translit.sh.
2077         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2078         tst-gettext2.sh.
2079         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
2080         to run tst-gettext.
2081         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
2082         to run tst-gettext2.
2083         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
2084         to run tst-translit.
2085         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2086         $(run-program-prefix) to tst-mtrace.sh.
2087         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
2088         to run tst-mtrace.
2089         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2090         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2091         $(rtld-installed-name).
2092         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2093         (rtld_installed_name): Likewise.
2094         (run_program_prefix): New variable.  Use it to run wordexp-test.
2096         * Makeconfig (ARCH): Remove all definitions.
2097         (machine): Likewise.
2098         [ARCH]: Remove conditional code.
2099         [!objdir]: Give error.
2100         [!objdir] (objpfx): Remove.
2101         [!objdir] (common-objpfx): Likewise.
2102         [!objdir] (common-objdir): Likewise.
2103         * configure.in (config_makefile): Remove.  Hardcode Makefile in
2104         AC_CONFIG_FILES call.
2105         * configure: Regenerated.
2107         [BZ #13888]
2108         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2109         or TMPDIR.
2110         (testout): Likewise.
2112         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2113         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2114         $(rtld-installed-name).
2115         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2116         (rtld_installed_name): Likwise.
2117         (runit): Remove function.
2118         (run_getconf): New variable,  Use it for running getconf binary.
2120 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
2122         [BZ #14716]
2123         * string/test-memmem.c (check_result): New function.
2124         (do_one_test): Use it.
2125         (check1): New function.
2126         (test_main): Use it.
2128 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
2130         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2132 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
2134         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2135         (_G_LSEEK64): Likewise.
2136         (_G_MMAP64): Likewise.
2137         (_G_FSTAT64): Likewise.
2138         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2139         (_G_LSEEK64): Likewise.
2140         (_G_MMAP64): Likewise.
2141         (_G_FSTAT64): Likewise.
2142         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2143         unconditional.  Call __mmap64 directly.
2144         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2145         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
2146         __lseek64 directly.
2147         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2148         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
2149         __mmap64 directly.
2150         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2151         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2152         __lseek64 directly.
2153         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2154         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2155         __lseek64 directly.
2156         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2157         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
2158         __lseek64 directly.
2159         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2160         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
2161         __fxstat64 directly.
2162         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2163         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2164         unconditional.
2165         (freopen64) [!_G_OPEN64]: Remove conditional code.
2166         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2167         unconditional.
2168         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2169         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2170         unconditional.
2171         (ftello64) [!_G_LSEEK64]: Remove conditional code.
2172         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2173         unconditional.
2174         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2175         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2176         unconditional.
2177         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2178         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2179         unconditional.
2180         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2181         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2182         unconditional.
2183         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2184         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2185         unconditional.
2186         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2188 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190         [BZ #12140]
2191         * manual/memory.texi (Malloc Tunable Parameters): Add note
2192         about free list pointers overwriting some perturb bytes.
2193         Wording suggested by Roland McGrath.
2195 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
2197         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2198         (lgamma_test): Likewise.
2199         (tgamma_test): Likewise.
2201 2012-10-16  Florian Weimer  <fweimer@redhat.com>
2203         [BZ #14700]
2204         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2205         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2207 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
2209         * NEWS: Mention BZ #14716.
2210         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2211         when removing AVAILABLE1_USES_J macro.
2213 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2215         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2216         (__bswap_64): __uint64_t for unsigned 64-bit int.
2218 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
2220         * include/string.h (memmem): Declare libc hidden alias.
2221         * string/memmem.c (memmem): Define libc hidden alias.
2222         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2223         __read, __close instead of open, read, close.
2225 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2228         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2229         global and hidden.
2230         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2231         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2232         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2233         Likewise.
2234         (__rawmemchr_sse2): Likewise.
2235         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2236         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2237         (__strchr_sse2): Likewise.
2238         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2239         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2240         (__strcasecmp_sse2): Likewise.
2241         (__strncasecmp_sse2): Likewise.
2242         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2243         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2244         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2245         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2246         (__strrchr_sse2): Likewise.
2247         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2248         ifunc-impl-list.c.
2249         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2250         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2251         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2252         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2253         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2254         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2255         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2257         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2258         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2259         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2260         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2261         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2262         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2263         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2264         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2265         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2266         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2267         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2268         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2269         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2270         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2271         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2272         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2273         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2274         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2275         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2276         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2277         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2278         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2280         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2281         global and hidden.
2282         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2283         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2284         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2285         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2286         Likewise.
2287         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2288         Likewise.
2289         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2290         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2291         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2292         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2293         ifunc-impl-list.c.
2294         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2295         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2297         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2298         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2299         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2300         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2301         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2302         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2303         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2304         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2305         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2306         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2307         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2308         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2309         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2310         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2311         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2312         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2313         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2314         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2315         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2316         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2317         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2318         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2319         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2320         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2321         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2322         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2324         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2325         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2326         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2327         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2328         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2329         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2330         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2331         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2332         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2333         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2334         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2336         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2337         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2338         * include/ifunc-impl-list.h: New file.
2339         * misc/ifunc-impl-list.c: Likewise.
2340         * misc/Makefile (routines): Add ifunc-impl-list.
2341         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2342         * string/test-string.h: Include <ifunc-impl-list.h>.
2343         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2344         impl_array): New variables.
2345         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2346         are defined.
2347         (test_init): Call __libc_ifunc_impl_list to initialize
2348         func_list if TEST_IFUNC and TEST_NAME are defined.
2350         * string/Makefile (strop-tests): Add bcopy and bzero.
2351         * string/test-bcopy.c: New file.
2352         * string/test-bzero.c: Likewise.
2353         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2354         defined.
2355         * string/test-memset.c: Support bzero test if TEST_BZERO is
2356         defined.
2357         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2358         __libc_memmove.
2359         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2360         __libc_memset.
2361         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2362         of memset.
2364 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
2366         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2367         * configure: Regenerated.
2369         * Makeconfig (+link-static-before-libc): Don't include
2370         $(link-static-libc).
2372         * libio/libio.h (_IO_pos_t): Remove.
2374 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2376         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
2377         McGrath.
2379 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2381         * crypt/crypt-entry.c: Include fips-private.h.
2382         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2383         * crypt/md5c-test.c (main): Tolerate disabled MD5.
2384         * sysdeps/unix/sysv/linux/fips-private.h: New file.
2385         * sysdeps/generic/fips-private.h: New file, dummy fallback.
2387 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2389         * crypt/crypt-private.h: Include stdbool.h.
2390         (_ufc_setup_salt_r): Return bool.
2391         * crypt/crypt-entry.c: Include errno.h.
2392         (__crypt_r): Return NULL with EINVAL for bad salt.
2393         * crypt/crypt_util.c (bad_for_salt): New.
2394         (_ufc_setup_salt_r): Check that salt is long enough and within
2395         the specified alphabet.
2396         * crypt/badsalttest.c: New file.
2397         * crypt/Makefile (tests): Add it.
2398         ($(objpfx)badsalttest): New.
2400 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
2402         * NEWS: Add entry for BZ #14602.
2404 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2406         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2407         type-generic.
2408         * math/libm-test.inc: Update comment listing what functions and
2409         macros are tested.
2410         (isgreater_test): New function.
2411         (isgreaterequal_test): Likewise.
2412         (isless_test): Likewise.
2413         (islessequal_test): Likewise.
2414         (islessgreater_test): Likewise.
2415         (isunordered_test): Likewise.
2416         (main): Call the new functions.
2418 2012-10-09  Roland McGrath  <roland@hack.frob.com>
2420         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2421         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2422         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2423         * sysdeps/i386/configure: Regenerated.
2424         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2425         * sysdeps/mach/configure: Regenerated.
2426         * sysdeps/mach/hurd/configure: Regenerated.
2427         * sysdeps/powerpc/configure: Regenerated.
2428         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2429         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2430         * sysdeps/s390/s390-32/configure: Regenerated.
2431         * sysdeps/s390/s390-64/configure: Regenerated.
2432         * sysdeps/sh/configure: Regenerated.
2433         * sysdeps/sparc/configure: Regenerated.
2434         * sysdeps/unix/sysv/linux/configure: Regenerated.
2435         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2436         * sysdeps/x86_64/configure: Regenerated.
2438         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2439         defined.  Don't check if MAP is NULL.
2441 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2443         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2444         (_G_stat64): Likewise.
2445         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2446         (_G_stat64): Likewise.
2447         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2448         instead of struct _G_stat64.
2449         * libio/fileops.c (mmap_remap_check): Likewise.
2450         (decide_maybe_mmap): Likewise.
2451         (_IO_new_file_seekoff): Likewise.
2452         (_IO_file_stat): Likewise.
2453         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2454         _G_off64_t.
2455         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2456         instead of struct _G_stat64.
2457         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2459 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
2461         [BZ #14602]
2462         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2463         Replace with ...
2464         (CHECK_EOL): New macro.
2465         (two_way_short_needle): Check beginning of haystack for EOL.  Use
2466         CHECK_EOL.
2467         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2468         Replace with CHECK_EOL.
2469         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2470         Replace with CHECK_EOL.
2472 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
2474         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2475         type-generic.
2476         * math/libm-test.inc: Update comment listing what functions and
2477         macros are tested.
2478         (finite_test): New function.
2479         (isinf_test): Likewise.
2480         (isnan_test): Likewise.
2481         (fpclassify_test): Test subnormal input.
2482         (isfinite_test): Likewise.
2483         (isnormal_test): Likewise.
2484         (main): Call the new functions.
2486 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
2488         [BZ #14660]
2489         * Makerules (%.dynsym): Force C locale when running
2490         $(OBJDUMP) --dynamic-syms.
2492 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2494         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2495         <stdint.h>.
2497 2012-10-06  David S. Miller  <davem@davemloft.net>
2499         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2500         upper 32-bits of the length value in %o2 since we use branch-on-register
2501         tests which consider the entire 64-bit register.
2503 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
2505         * string/test-strstr.c (check2): Add a test for page boundary.
2507 2012-10-05  David S. Miller  <davem@davemloft.net>
2509         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2510         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2511         file.
2512         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2513         sysdep_routines.
2514         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2515         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2516         and bzero when HWCAP_SPARC_CRYPTO is present.
2518 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
2520         [BZ #14602]
2521         * string/test-strstr.c (check2): New function.
2522         (test_main): Call check2.
2524         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2525         and bug-strchr1.
2526         * string/bug-strcasestr1.c (do_test): Moved to ...
2527         * string/test-strcasestr.c (check1): Here.  New function.
2528         (do_one_test): Break out result checking code into ...
2529         (check_result): This.  New function.
2530         (do_one_test): Call check_result.
2531         (test_main): Call check1.
2532         * string/bug-strchr1.c (do_test): Moved to ...
2533         * string/test-strchr.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-strstr1.c (main): 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-strcasestr1.c: Removed.
2545         * string/bug-strchr1.c: Likewise.
2546         * string/bug-strstr1.c: Likewise.
2548         * elf/Makefile (dl-routines): Add hwcaps.
2549         * elf/dl-support.c (_dl_important_hwcaps): Removed.
2550         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2551         (_dl_important_hwcaps): Moved to ...
2552         * elf/dl-hwcaps.c: Here.  New file.
2553         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2555         [BZ #14557]
2556         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2557         if IS_IN_rtld isn't defined.
2559         * elf/dl-support.c (_dl_sysinfo_map): New.
2560         Include "get-dynamic-info.h" and "setup-vdso.h".
2561         (_dl_non_dynamic_init): Call setup_vdso.
2562         * elf/dynamic-link.h: Don't include <assert.h>.
2563         (elf_get_dynamic_info): Moved to ...
2564         * elf/get-dynamic-info.h: Here.  New file.
2565         * elf/dynamic-link.h: Include "get-dynamic-info.h".
2566         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2567         * elf/setup-vdso.h: Here.  New file.
2568         * elf/rtld.c: Include "setup-vdso.h".
2569         (dl_main): Call setup_vdso.
2571 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
2573         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2574         creal in comment listing functions tested.  List finite, isinf,
2575         isnan, isless, islessequal, isgreater, isgreaterequal,
2576         islessgreater, isunordered, lgamma_r and pow10 as functions and
2577         macros not tested.  Mention which functions not tested are aliases
2578         for other functions.  Fix typo.  Note that signs of NaNs are not
2579         tested.
2581         * scripts/config.guess: Update from config.git.
2582         * scripts/config.sub: Likewise.
2584 2012-10-04  Roland McGrath  <roland@hack.frob.com>
2586         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2587         * misc/madvise.c (madvise): Renamed to __madvise.
2588         Make madvise a weak alias.
2589         * include/sys/mman.h: Declare __madvise.
2590         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2591         * sysdeps/unix/syscalls.list
2592         (madvise): Make __madvise the strong name, and madvise a weak alias.
2593         * sysdeps/unix/sysv/linux/syscalls.list
2594         (madvise, mmap): Remove redundant entries.
2595         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2596         * malloc/malloc.c (mtrim): Likewise.
2597         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2599 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2601         * sysdeps/mach/hurd/dl-cache.c: File removed.
2602         * config.h.in (USE_LDCONFIG): New #undef.
2603         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2604         * configure: Regenerated.
2605         * elf/Makefile (dl-routines): Add dl-cache only under
2606         [$(use-ldconfig) = yes].
2607         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2608         cache on [USE_LDCONFIG].
2609         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2610         [USE_LDCONFIG].
2611         * elf/rtld.c (dl_main): Likewise.
2613 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
2615         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2616         _SC_LEVEL4_CACHE_LINESIZE.
2618 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2620         * sysdeps/unix/bsd/confstr.h: File removed.
2622 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
2624         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2625         sys/sdt-config.h.
2627 2012-10-02  Roland McGrath  <roland@hack.frob.com>
2629         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2630         Make 'mapoff' field ElfW(Off) rather than off_t.
2632 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
2634         * nscd/Makefile: Remove nscd-cflags and all its users.
2635         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2636         (CFLAGS-nonlib): Add compiler flags for nscd modules.
2638         [BZ #10631]
2639         * malloc.c (malloc_printerr): Clarify error message.
2641 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
2643         [BZ #14648]
2644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2645         Set bit_FMA_Usable if FMA is supported.
2646         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2647         macro.
2648         (bit_FMA4_Usable): Updated.
2649         (index_FMA_Usable): New macro.
2650         (CPUID_FMA): Likewise
2651         (HAS_FMA): Defined with bit_FMA_Usable.
2653 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2655         * bits/types.h (__swblk_t): Type removed.
2656         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2657         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2659         (__SWBLK_T_TYPE): Likewise.
2660         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2661         (__SWBLK_T_TYPE): Likewise.
2662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2663         (__SWBLK_T_TYPE): Likewise.
2664         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2665         (__SWBLK_T_TYPE): Likewise.
2667 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
2668             Honza Horak <hhorak@redhat.com>
2670         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2671         (xdr_mapname): Use YPMAXMAP as maxsize.
2672         (xdr_peername): Use YPMAXPEER as maxsize.
2673         (xdr_keydat): Use YPAXRECORD as maxsize.
2674         (xdr_valdat): Use YPMAXRECORD as maxsize.
2676 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2678         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2680         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2681         * csu/init-first.c: ... here.
2682         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2683         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2684         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2685         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2686         * sysdeps/i386/init-first.c: File removed.
2687         * sysdeps/sh/init-first.c: File removed.
2689 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
2691         [BZ #14645]
2692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2693         if x * y might underflow to zero and z is zero.
2694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2696         * math/libm-test.inc (min_subnorm_value): New variable.
2697         (fma_test): Add more tests.
2698         (fma_test_towardzero): Likewise.
2699         (fma_test_downward): Likewise
2700         (fma_test_upward): Likewise.
2701         (initialize): Set min_subnorm_value.
2703 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
2705         [BZ #14638]
2706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2707         0 + 0.
2708         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2709         mode for addition resulting in exact zero.
2710         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2712         exact 0 + 0.
2713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2715         * math/libm-test.inc (fma_test): Add more tests.
2716         (fma_test_towardzero): New function.
2717         (fma_test_downward): Likewise.
2718         (fma_test_upward): Likewise.
2719         (main): Call the new functions.
2721 2012-09-28  David S. Miller  <davem@davemloft.net>
2723         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2725 2012-09-28  Roland McGrath  <roland@hack.frob.com>
2727         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2728         instead of SIGALRM.
2730         * sysdeps/gnu/_G_config.h: Moved to ...
2731         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2732         * sysdeps/mach/hurd/_G_config.h: Moved to ...
2733         * sysdeps/generic/_G_config.h: ... here.
2735         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
2737         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2739         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2740         Conditionalize target on [libnss_test1.so-version].
2742         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2744         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2745         (elfobjdir): Move out of conditionals.
2747         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2748         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2749         (__nss_lookup_function): Conditionalize label remove_from_tree on
2750         [!DO_STATIC_NSS || SHARED], matching its only use.
2752 2012-09-28  David S. Miller  <davem@davemloft.net>
2754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2755         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2756         file.
2757         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2758         sysdep_routines.
2759         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2761         when HWCAP_SPARC_CRYPTO is present.
2763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2765         * io/tst-mknodat.c: Create a FIFO instead of a socket.
2767 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
2769         [BZ #6530]
2770         * stdio-common/vfprintf.c (process_string_arg): Revert
2771         2000-07-22 change.
2773 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
2775         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2776         for testcase.
2777         * stdio-common/tst-sprintf.c: Include <locale.h>
2778         (main): Test sprintf's handling of incomplete multibyte
2779         characters.
2781 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
2783         * elf/dl-runtime.c (VERSYMIDX): Removed.
2784         * elf/dl-version.c (VERSYMIDX): Likewise.
2785         * elf/do-rel.h (VERSYMIDX): Likewise.
2786         (VALIDX): Likewise.
2787         * elf/dynamic-link.h (VERSYMIDX): Likewise.
2788         * elf/rtld.c (VALIDX): Likewise.
2789         (ADDRIDX): Likewise.
2790         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2791         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2792         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2793         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2794         (VALIDX): Likewise.
2795         (ADDRIDX): Likewise.
2797 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2799         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2801 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
2803         [BZ #11438]
2804         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2805         to global scope.
2806         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2807         addresses are in the same scope as 192.0.2/24.
2808         * posix/gai.conf: Document new scope table defaults.
2810 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2812         [BZ #5298]
2813         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2814         for ftell.  Compute offsets from write pointers instead.
2815         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2817 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2819         [BZ #14543]
2820         * libio/Makefile (tests): New test case tst-fseek.
2821         * libio/tst-fseek.c: New test case to verify that fseek/ftell
2822         combination works in wide mode.
2823         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2824         state when the external buffer state changes.
2826 2012-09-27  David S. Miller  <davem@davemloft.net>
2828         [BZ #14376]
2829         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2830         pass reloc->r_addend in as the 'high' argument to
2831         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2835 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2837         * rt/tst-aio2.c: Include <pthread.h>.
2838         * rt/tst-aio3.c: Likewise.
2840 2012-09-27  Steve Ellcey  <sellcey@mips.com>
2842         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2844 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
2846         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2847         contents on [SHARED].
2849 2012-09-26  Marek Polacek  <polacek@redhat.com>
2851         [BZ #14530]
2852         [BZ #13741]
2853         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2854         for C++ and GCC <4.3 as well as for non GCC compilers.
2856 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2860 2012-09-25  Roland McGrath  <roland@hack.frob.com>
2862         * Makefile.in (all, install): Declare with .PHONY.
2863         Reported by Michael Hope <michael.hope@linaro.org>.
2865 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2867         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2868         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2869         system header.
2870         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2871         Likewise.
2872         (sydep_routines): Add the new and the internal functions.
2873         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2874         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2876         (GLIBC_2.17): Add the new function.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2878         (GLIBC_2.17): Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2880         (GLIBC_2.17): Likewise.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2882         (GLIBC_2.17): Likewise.
2883         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2885 2012-09-25  Alan Modra  <amodra@gmail.com>
2887         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2888         Add release barrier before setting once_control to say
2889         initialisation is done.  Add hints on lwarx.  Use macro in
2890         place of isync.
2891         (clear_once_control): Add release barrier.
2893 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2895         [BZ #13629]
2896         * math/s_clog.c (__clog): Handle more values close to |z| = 1
2897         specially.
2898         * math/s_clog10.c (__clog10): Likewise.
2899         * math/s_clog10f.c (__clog10f): Likewise.
2900         * math/s_clog10l.c (__clog10l): Likewise.
2901         * math/s_clogf.c (__clogf): Likewise.
2902         * math/s_clogl.c (__clogl): Likewise.
2903         * math/Makefile (libm-calls): Add x2y2m1.
2904         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2905         (__x2y2m1): Likewise.
2906         (__x2y2m1l): Likewise.
2907         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2908         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2909         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2911         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2912         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2913         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2914         * sysdeps/i386/fpu/libm-test-ulps: Update.
2915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917         [BZ #14621]
2918         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2919         int as type of variable DEPTH.
2920         (glob): Use size_t instead of int as type of variables NEWCOUNT
2921         and OLD_PATHC.
2923 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2925         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2926         Add s_sincosf-sse2.
2927         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2928         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2929         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2930         macros for using routine as __sincosf_ia32.
2931         Use macro for function declaration and weak_alias.
2932         * sysdeps/i386/fpu/libm-test-ulps: Update.
2934         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2937         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2938         subnormal argument.
2939         * math/s_cexpf.c (__cexpf): Likewise.
2940         * math/s_csinf.c (__csinf): Likewise.
2941         * math/s_csinhf.c (__csinhf): Likewise.
2942         * math/s_ctanf.c (__ctanf): Likewise.
2943         * math/s_ctanhf.c (__ctanhf): Likewise.
2944         * math/s_ccosh.c (__ccoshf): Likewise.
2945         * math/s_cexp.c (__cexpl): Likewise.
2946         * math/s_csin.c (__csin): Likewise.
2947         * math/s_csinh.c (__csinh): Likewise.
2948         * math/s_ctan.c (__ctan): Likewise.
2949         * math/s_ctanh.c (ctanh): Likewise.
2950         * math/s_ccoshl.c (__ccoshl): Likewise.
2951         * math/s_cexpl.c (__cexpl): Likewise.
2952         * math/s_csinl.c (__csinl): Likewise.
2953         * math/s_csinhl.c (__csinhl): Likewise.
2954         * math/s_ctanl.c (__ctanl): Likewise.
2955         * math/s_ctanhl.c (__ctanhl): Likewise.
2957 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2959         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2960         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2961         (_IO_off_t): Define to __off_t, not _G_off_t.
2962         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2963         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2964         (_IO_wint_t): Define to wint_t, not _G_wint_t.
2965         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2966         type of __dummy and __dummy2 fields.
2967         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2968         (_G_ssize_t): Likewise.
2969         (_G_off_t): Likewise.
2970         (_G_pid_t): Likewise.
2971         (_G_uid_t): Likewise.
2972         (_G_wchar_t): Likewise.
2973         (_G_wint_t): Likewise.
2974         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2975         (_G_ssize_t): Likewise.
2976         (_G_off_t): Likewise.
2977         (_G_pid_t): Likewise.
2978         (_G_uid_t): Likewise.
2979         (_G_wchar_t): Likewise.
2980         (_G_wint_t): Likewise.
2981         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2982         (_G_ssize_t): Likewise.
2983         (_G_off_t): Likewise.
2984         (_G_pid_t): Likewise.
2985         (_G_uid_t): Likewise.
2986         (_G_wchar_t): Likewise.
2987         (_G_wint_t): Likewise.
2989 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2991         * malloc/arena.c: Include malloc-sysdep.h.
2992         (shrink_heap): Use check_may_shrink_heap to decide if madvise
2993         is sufficient to shrink the heap or an unmap is needed.
2994         * sysdeps/generic/malloc-sysdep.h: New file.  Define
2995         new function check_may_shrink_heap.
2996         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
2997         new function check_may_shrink_heap.
2999 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3001         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3002         comments.
3004 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
3006         * catgets/test-gencat.sh: Add "set -e".
3007         * elf/tst-pathopt.sh: Likewise.
3008         * grp/tst_fgetgrent.sh: Likewise.
3009         * iconvdata/run-iconv-test.sh: Likewise.
3010         * intl/tst-gettext.sh: Likewise.
3011         * intl/tst-gettext2.sh: Likewise.
3012         * intl/tst-gettext4.sh: Likewise.
3013         * intl/tst-gettext6.sh: Likewise.
3014         * intl/tst-translit.sh: Likewise.
3015         * io/ftwtest-sh: Likewise.
3016         * libio/test-freopen.sh: Likewise.
3017         * malloc/tst-mtrace.sh: Likewise.
3018         * posix/globtest.sh: Likewise.
3019         * posix/tst-getconf.sh: Likewise.
3020         * posix/wordexp-tst.sh: Likewise.
3021         * stdio-common/tst-printf.sh: Likewise.
3022         * stdio-common/tst-unbputc.sh: Likewise.
3023         * stdlib/tst-fmtmsg.sh: Likewise.
3024         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3025         * catgets/Makefile: Do not specify -e option when running
3026         testsuite shell scripts.
3027         * elf/Makefile: Likewise.
3028         * grp/Makefile: Likewise.
3029         * iconvdata/Makefile: Likewise.
3030         * intl/Makefile: Likewise.
3031         * io/Makefile: Likewise.
3032         * libio/Makefile: Likewise.
3033         * malloc/Makefile: Likewise.
3034         * posix/Makefile: Likewise.
3035         * stdio-common/Makefile: Likewise.
3036         * stdlib/Makefile: Likewise.
3037         * sysdeps/x86_64/Makefile: Likewise.
3039         * io/ftwtest-sh: Add copyright header.
3040         * posix/globtest.sh: Likewise.
3041         * posix/tst-getconf.sh: Likewise.
3042         * posix/wordexp-tst.sh: Likewise.
3043         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3045 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
3047         [BZ #13679]
3048         * Makeconfig (+link): Defined as $(+link-static) if
3049         $(build-shared) isn't yes.
3050         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3051         isn't yes.
3052         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3054         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3056         [BZ #14562]
3057         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3058         new chunk size with MALLOC_ALIGN_MASK.
3060 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
3062         [BZ #5044]
3063         * stdio-common/printf_fphex.c: Include <stdbool.h> and
3064         <rounding-mode.h>.
3065         (__printf_fphex): Determine rounding using get_rounding_mode and
3066         round_away.
3067         * stdio-common/tst-printf-round.c (struct hex_test): New
3068         structure.
3069         (hex_tests): New variable.
3070         (test_hex_in_one_mode): New function.
3071         (do_test): Also run tests for hex float output.
3073 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
3075         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3076         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3077         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3078         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3079         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3080         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3081         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3084 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
3086         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3087         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3088         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3089         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3091 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
3093         [BZ #14579]
3094         * elf/rtld.c (dl_main): Limit the check for self loading to normal
3095         mode only.
3096         * elf/tst-rtld-load-self.sh: New test.
3097         * elf/Makefile: Run it.
3099 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
3101         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3102         (tst-writev-ENV): Remove.
3103         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3105 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
3107         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3109 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
3111         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3112         unconditional.
3113         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3114         Likewise.
3115         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3116         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3117         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3118         Likewise.
3120 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3122         [BZ #14587]
3123         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3124         * config.make.in (have-cpp-asm-debuginfo): Removed.
3125         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3126         * configure: Regenerated.
3128 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
3130         [BZ #5044]
3131         * stdio-common/printf_fp.c: Include <stdbool.h> and
3132         <rounding-mode.h>.
3133         (___printf_fp): Determine rounding using get_rounding_mode and
3134         round_away.
3135         * stdio-common/tst-printf-round.c: New file.
3136         * stdio-common/Makefile (tests): Add tst-printf-round.
3137         (link-libm): New variable.
3138         ($(objpfx)tst-printf-round): Depend in $(link-libm).
3140 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
3142         [BZ #14576]
3143         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3144         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3145         Likewise.
3146         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3147         Likewise.
3149 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
3151         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3152         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3153         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3154         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3156 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
3158         [BZ #14518]
3159         * include/rounding-mode.h: New file.
3160         * sysdeps/generic/get-rounding-mode.h: Likewise.
3161         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3162         * stdlib/strtod_l.c: Include <rounding-mode.h>.
3163         (MAX_VALUE): New macro.
3164         (MIN_VALUE): Likewise.
3165         (overflow_value): New function.
3166         (underflow_value): Likewise.
3167         (round_and_return): Use overflow_value and underflow_value to
3168         determine return values in overflow and underflow cases.  Use
3169         round_away to determine rounding depending on rounding mode.
3170         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3171         determine return values in overflow and underflow cases.
3172         * stdlib/tst-strtod-round.c: Include <fenv.h>.
3173         (struct test_results): New structure.
3174         (struct test): Use struct test_results to store expected results
3175         for all rounding modes.
3176         (TEST): Include expected results for all rounding modes.
3177         (test_in_one_mode): New function.
3178         (do_test): Use test_in_one_mode to compute and check results.
3179         Check results for all rounding modes.
3180         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3181         $(link-libm).
3183 2012-12-09  Allan McRae  <allan@archlinux.org>
3185         * sysdeps/i386/fpu/libm-test-ulps: Update
3187 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
3189         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3190         (_G_int32_t): Likewise.
3191         (_G_uint16_t): Likewise.
3192         (_G_uint32_t): Likewise.
3193         (_G_HAVE_BOOL): Likewise.
3194         (_G_HAVE_ATEXIT): Likewise.
3195         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3196         (_G_HAVE_IO_FILE_OPEN): Likewise.
3197         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3198         (_G_int32_t): Likewise.
3199         (_G_uint16_t): Likewise.
3200         (_G_uint32_t): Likewise.
3201         (_G_HAVE_BOOL): Likewise.
3202         (_G_HAVE_ATEXIT): Likewise.
3203         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3204         (_G_HAVE_IO_FILE_OPEN): Likewise.
3205         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3206         (_G_int32_t): Likewise.
3207         (_G_uint16_t): Likewise.
3208         (_G_uint32_t): Likewise.
3209         (_G_HAVE_BOOL): Likewise.
3210         (_G_HAVE_ATEXIT): Likewise.
3211         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3212         (_G_HAVE_IO_FILE_OPEN): Likewise.
3214 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
3216         * csu/libc-tls.c: Update copyright years.
3218 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
3220         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3221         [!_G_USING_THUNKS]: Remove conditional code.
3222         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3223         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3225         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3226         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3227         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3228         (_G_VTABLE_LABEL_PREFIX): Likewise.
3229         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3230         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3231         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3232         (_G_VTABLE_LABEL_PREFIX): Likewise.
3233         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3234         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3235         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3236         (_G_VTABLE_LABEL_PREFIX): Likewise.
3237         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3239 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
3241         * libio/Makefile: Include ../Makeconfig before tests.
3242         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3243         only if $(build-shared) is yes.
3245         * iconv/gconv_db.c: Update copyright years.
3247 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3249         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3250         unwind info if defined PIC. Fix special cases description.
3251         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3253         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3254         DP_HI_MASK entry.
3255         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3257 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
3259         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3261         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3262         is NULL.
3264         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3265         (LDLIBS-tst-chk4): This.
3266         (LDFLAGS-tst-chk5): Renamed to ...
3267         (LDLIBS-tst-chk5): This.
3268         (LDFLAGS-tst-chk6): Renamed to ...
3269         (LDLIBS-tst-chk6): This.
3270         (LDFLAGS-tst-lfschk4): Renamed to ...
3271         (LDLIBS-tst-lfschk4): This.
3272         (LDFLAGS-tst-lfschk5): Renamed to ...
3273         (LDLIBS-tst-lfschk5): This.
3274         (LDFLAGS-tst-lfschk6): Renamed to ...
3275         (LDLIBS-tst-lfschk6): This.
3277         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3278         on $(common-objpfx)soversions.mk.
3280 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
3282         [BZ #10014]
3283         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3284         example host name.
3286 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3288         * malloc/arena.c (arena_get_retry): New function that gets
3289         another arena for the caller to try its request on.
3290         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3291         current arena cannot fulfill the request.
3292         (__libc_memalign): Likewise.
3293         (__libc_memalign): Likewise.
3294         (__libc_pvalloc): Likewise.
3295         (__libc_calloc): Likewise.
3297 2012-09-05  John Tobey  <john.tobey@gmail.com>
3299         [BZ #13542]
3300         * manual/arith.texi (Operations on Complex): Fix description
3301         of carg branch cut.
3303 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #10014]
3306         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3307         host name.
3309         [BZ #10038]
3310         * manual/memory.texi (Memory): Make order of menu items match
3311         order of sections.
3313 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3315         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3316         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
3317         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3319 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3321         * csu/libc-tls.c (static_dtv): Renamed to ...
3322         (_dl_static_dtv): This.  Make it global.
3323         (_dl_initial_dtv): Removed.
3324         (__libc_setup_tls): Updated.
3325         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3326         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3327         DL_INITIAL_DTV.
3329 2012-09-06  Petr Machata  <pmachata@redhat.com>
3331         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3332         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3333         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3334         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3338         [BZ #14545]
3339         * csu/libc-tls.c (_dl_initial_dtv): New variable.
3340         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3341         freeing dtv[-1].
3343 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3345         [BZ #14544]
3346         * Makeconfig (link-static-before-libc): Replace $(+prector)
3347         with $(+prectorT).
3348         (link-static-after-libc): Replace $(+postctor) with
3349         $(+postctorT).
3350         (link-bounded): Replace $(+prector)/$(+postctor) with
3351         $(+prectorT)/$(+postctorT).
3352         (+prectorT): New macro.
3353         (+postctorT): Likewise.
3355 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
3357         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3358         (round_str): Handle values above the maximum for IBM long double
3359         as inexact.
3360         * stdlib/tst-strtod-round.c (tests): Regenerated.
3362 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3364         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3365         assembler flag.
3366         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3367         zarch_nohighgprs around the zarch optimized routines.
3368         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3369         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3370         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3371         for zarch.
3373 2012-09-05  David S. Miller  <davem@davemloft.net>
3375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3377         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3378         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3379         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3380         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3381         entries.
3383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3385         * malloc/arena.c: Fold copyright years.
3386         * malloc/mcheck.c, malloc/memusage.c: Likewise.
3388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3390         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3394         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
3396 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3398         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3399         change internal state upon failure.
3401 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3403         * malloc/mcheck.c (mcheck_check_all): Fix typo.
3404         * malloc/memusage.c (mmap): Likewise.
3405         (mmap64, mremap): Likewise.  Adjust name in comment.
3407 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3409         * libio/fileops.c: Fix typos in comments.
3410         * libio/oldfileops.c: Likewise.
3411         * libio/wfileops.c: Likewise.
3413 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3415         [BZ #1349]
3416         * malloc/Makefile (tests): Add tst-malloc-usable test case.
3417         (tst-malloc-usable-ENV): Set environment for test case.
3418         * malloc/hooks.c (malloc_check_get_size): New function to get
3419         requested size.
3420         * malloc/malloc.c (musable): Use malloc_check_get_size.
3421         * malloc/tst-malloc-usable.c: New test case.
3423 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3425         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3427 2012-09-05  Allan McRae  <allan@archlinux.org>
3429         [BZ #13966]
3430         * configure.in (CXX_SYSINCLUDES): Use compiler output to
3431         determine header location.
3432         * configure: Regenerated.
3434 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3436         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3437         float format.
3438         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3439         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3440         format.
3441         (test): Regenerate.
3443 2012-09-04  David S. Miller  <davem@davemloft.net>
3445         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3446         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3449 2012-09-04  Florian Weimer  <fweimer@redhat.com>
3451         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3452         failures.
3454         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3456 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
3458         [BZ #9914]
3459         * libio/iogetdelim.c: Include <limits.h>.
3460         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3461         + len + 1 would overflow.
3463 2012-09-03  Andreas Jaeger  <aj@suse.de>
3465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3466         * sysdeps/i386/fpu/libm-test-ulps: Update.
3468 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3470         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3471         Add s_sinf-sse2, s_conf-sse2.
3473         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3474         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3475         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3476         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3478         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3479         for using routine as __sinf_ia32.
3480         Use macro for function declaration and weak_alias.
3481         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3482         for using routine as __cosf_ia32.
3483         Use macro for function declaration and weak_alias.
3485         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3486         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3488         * sysdeps/x86_64/fpu/s_sinf.S: New file.
3489         * sysdeps/x86_64/fpu/s_cosf.S: New file.
3490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3492         * math/libm-test.inc (cos_test): Add more test cases.
3493         (sin_test): Likewise.
3494         (sincos_test): Likewise.
3496 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3498         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3499         (IFUNC_RESOLVE): Make pointers to the specialized implementations
3500         hidden.
3501         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3503 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
3505         [BZ #14538]
3506         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3507         first element of the GOT.
3508         (elf_machine_load_address): Return the difference between
3509         the runtime address of _DYNAMIC and elf_machine_dynamic ().
3511 2012-09-01  Allan McRae  <allan@archlinux.org>
3513         [BZ #13412]
3514         * configure.in (AWK): Require gawk version 3.0 or later.
3515         * configure: Regenerated.
3517 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
3519         * sysdeps/unix/sysv/linux/kernel-features.h
3520         (__ASSUME_POSIX_CPU_TIMERS): Remove.
3521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3522         [__NR_clock_getres]: Make code unconditional.
3523         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3524         (clock_getcpuclockid): Remove code left unreachable by removal of
3525         conditionals.
3526         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3527         code unconditional.
3528         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3530         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3531         Make code unconditional.
3532         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3533         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3534         * sysdeps/unix/sysv/linux/clock_settime.c
3535         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3536         conditional code.
3537         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3538         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3540 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
3542         [BZ #14476]
3543         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3544         scripts/test-installation.pl.
3546         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3547         and $ld_so_version if it is set.
3549 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3551         [BZ #14516]
3552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3553         failure if reading from procfs failed.
3554         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3556 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3558         * sysdeps/unix/sysv/linux/kernel-features.h
3559         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3560         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3561         Remove conditional code.
3562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3563         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3564         Remove conditional code.
3565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3566         * sysdeps/unix/sysv/linux/i386/fxstat.c
3567         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3569         * sysdeps/unix/sysv/linux/i386/fxstatat.c
3570         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3571         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3572         * sysdeps/unix/sysv/linux/i386/lxstat.c
3573         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3574         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3575         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3576         Remove conditional code.
3577         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3578         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3579         Remove conditional code.
3580         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3581         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3582         <kernel-features.h>.
3583         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3584         Remove.
3585         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3586         Remove conditional code.
3587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3588         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3589         Remove conditional.
3591 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
3593         [BZ #5400]
3594         * NEWS: Add fixed bug number.
3596 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3598         [BZ #14519]
3599         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3600         underflowing exponent in case of negative sign.
3601         * stdlib/tst-strtod-round-data: Add more tests.
3602         * stdlib/tst-strtod-round.c (tests): Regenerated.
3604         [BZ #3479]
3605         * stdlib/strtod_l.c (NDIG): Remove.
3606         (HEXNDIG): Likewise.
3607         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3608         smallest representable value.
3609         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3610         lie within an exact representation of 1/2 ulp of the result.
3611         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3612         unconditionally.
3613         (TENS_P9_IDX): Define unconditionally.
3614         (TENS_P9_SIZE): Likewise.
3615         (TENS_P10_IDX): Likewise.
3616         (TENS_P10_SIZE): Likewise.
3617         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3618         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3619         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3620         entries for 10^2^13 and 10^2^14.
3621         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3622         (TENS_P13_IDX): Define.
3623         (TENS_P13_SIZE): Likewise.
3624         (TENS_P14_IDX): Likewise.
3625         (TENS_P14_SIZE): Likewise.
3626         (_fpioconst_pow10): Change array size to
3627         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
3628         unconditional.
3629         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3630         1024]: Add entries for 10^2^13 and 10^2^14.
3631         [LAST_POW10 > _LAST_POW10]: Remove #error.
3632         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3633         (_fpioconst_pow10): Change array size to
3634         FPIOCONST_POW10_ARRAY_SIZE.
3635         * stdlib/gen-fpioconst.c: New file.
3636         * stdlib/gen-tst-strtod-round.c: Likewise.
3637         * stdlib/tst-strtod-round-data: Likewise.
3638         * stdlib/tst-strtod-round.c: Likewise.
3639         * stdlib/Makefile (tests): Add tst-strtod-round.
3641         [BZ #14459]
3642         * stdlib/strtod_l.c: Include <stdint.h>.
3643         (NDEBUG): Do not define.
3644         (round_and_return): Change EXPONENT parameter to type intmax_t.
3645         Rearrange calculations to avoid internal overflow possibilities.
3646         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3647         Rearrange calculations to avoid internal overflow possibilities.
3648         Assert that number fits inside MPNSIZE limbs.
3649         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3650         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
3651         calculations and add assertions to avoid internal overflow
3652         possibilities.  Add casts to avoid signed/unsigned operations.
3653         * stdlib/tst-strtod-overflow.c: New file.
3654         * stdlib/Makefile (tests): Add tst-strtod-overflow.
3656 2012-08-25  Marek Polacek  <polacek@redhat.com>
3658         * time/time.h: Fix some typos in comments.
3660 2012-08-23  Roland McGrath  <roland@hack.frob.com>
3662         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3663         * posix/tst-rfc3484-2.c: Likewise.
3664         * posix/tst-rfc3484-3.c: Likewise.
3666 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
3668         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3669         (EF_ARM_ABI_FLOAT_HARD): Likewise.
3671 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
3673         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3674         #include of fxstatat64.c.
3676 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3678         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3679         * shadow/getspent_r.c: Likewise.
3680         * shadow/getspnam.c: Likewise.
3681         * shadow/getspnam_r.c: Likewise.
3682         * gshadow/getsgent.c: Likewise.
3683         * gshadow/getsgent_r.c: Likewise.
3684         * gshadow/getsgnam.c: Likewise.
3685         * gshadow/getsgnam_r.c: Likewise.
3686         * inet/getnetbyad.c: Likewise.
3687         * inet/getnetbyad_r.c: Likewise.
3688         * inet/getnetbynm.c: Likewise.
3689         * inet/getnetbynm_r.c: Likewise.
3690         * inet/getnetent.c: Likewise.
3691         * inet/getnetent_r.c: Likewise.
3692         * inet/getproto.c: Likewise.
3693         * inet/getproto_r.c: Likewise.
3694         * inet/getprtent.c: Likewise.
3695         * inet/getprtent_r.c: Likewise.
3696         * inet/getprtname.c: Likewise.
3697         * inet/getprtname_r.c: Likewise.
3698         * inet/getrpcbyname.c: Likewise.
3699         * inet/getrpcbyname_r.c: Likewise.
3700         * inet/getrpcbynumber.c: Likewise.
3701         * inet/getrpcbynumber_r.c: Likewise.
3702         * inet/getrpcent.c: Likewise.
3703         * inet/getrpcent_r.c: Likewise.
3704         * inet/getaliasent.c: Likewise.
3705         * inet/getaliasent_r.c: Likewise.
3706         * inet/getaliasname.c: Likewise.
3707         * inet/getaliasname_r.c: Likewise.
3708         * nscd/getgrgid_r.c: Likewise.
3709         * nscd/getgrnam_r.c: Likewise.
3710         * nscd/gethstbyad_r.c: Likewise.
3711         * nscd/gethstbynm3_r.c: Likewise.
3712         * nscd/getpwnam_r.c: Likewise.
3713         * nscd/getpwuid_r.c: Likewise.
3714         * nscd/getsrvbynm_r.c: Likewise.
3715         * nscd/getsrvbypt_r.c: Likewise.
3716         * nscd/gai.c: Likewise.
3718         * configure.in (build_nscd): New substituted variable, set
3719         by --disable-build-nscd and defaults to $use_nscd.
3720         * configure: Regenerated.
3721         * config.make.in (build-nscd): New substituted variable.
3722         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3723         Change conditional to require [$(build-nscd) = yes] as well.
3724         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3726         [BZ# 13696]
3727         * configure.in (use_nscd): New substituted variable, set by
3728         --disable-nscd.  If enabled, define USE_NSCD.
3729         * configure: Regenerated.
3730         * config.h.in: Add USE_NSCD.
3731         * config.make.in (use-nscd): New substituted variable.
3732         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3733         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3734         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3735         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3736         (CFLAGS-getgrnam_r.c): Likewise.
3737         (CFLAGS-initgroups.c): Likewise.
3738         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3739         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3740         Variables removed.
3741         * inet/getnetgrent_r.c
3742         (nscd_setnetgrent): New function, broken out of ...
3743         (setnetgrent): ... here.  Call it.
3744         (innetgr): Conditionalize nscd bits on [USE_NSCD].
3745         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3746         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3747         * nscd/Makefile (routines, aux): Move definitions after include of
3748         Makeconfig.  Conditionalize on [$(use-nscd) != no].
3749         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3750         Conditionalize on [USE_NSCD].
3751         (is_nscd, nscd_init_cb): Likewise.
3752         (nss_load_library): Conditionalize init callback on [USE_NSCD].
3753         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3754         * nss/nss_db/db-init.c: Likewise.
3755         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3756         [USE_NSCD].
3757         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3758         (make_request): Use it.
3759         (cache_valid_p): New function.
3760         (__check_pf): Use it.
3761         * NEWS: Add item for --disable-nscd.
3763 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
3765         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3766         to support sed >= 4.2.1-20-ga9bf076.
3767         * configure: Regenerated.
3769 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3771         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3772         Conditionalize whole body on [IREL].
3774 2012-08-22  Jeff Law <law@redhat.com>
3776         [BZ #14505]
3777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3778         if the family is PF_UNSPEC.
3780 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
3782         * Makerules (lib-version): Rename from V.
3783         (install-lib-nosubdir): Change V to lib-version.
3785 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
3787         [BZ #14252]
3788         * powerpc32/power6/wcschr.c: New file.
3789         * powerpc32/power6/wcscpy.c: New file.
3790         * powerpc32/power6/wcsrchr.c: New file.
3791         * powerpc64/power6/wcschr.c: New file.
3792         * powerpc64/power6/wcscpy.c: New file.
3793         * powerpc64/power6/wcsrchr.c: New file.
3795 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3797         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3798         (two_way_short_needle): Use it.
3799         * string/strstr.c (AVAILABLE1_USES_J): Define.
3800         * string/strcasestr.c: Likewise.
3802         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3803         array references.
3804         * string/strcasestr.c (TOLOWER): Make side-effect safe.
3806         [BZ #11607]
3807         * NEWS: Add an entry.
3808         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3809         define their defaults.
3810         (two_way_short_needle): Detect end-of-string on-the-fly.
3811         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3812         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3813         * string/bug-strcasestr1.c: New test.
3814         * string/Makefile: Run it.
3816 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3818         [BZ #11607]
3819         * string/str-two-way.h (two_way_short_needle): Optimize matching of
3820         the first character.
3822 2012-08-21  Roland McGrath  <roland@hack.frob.com>
3824         * csu/elf-init.c (__libc_csu_irel): Function removed.
3825         * csu/libc-start.c (apply_irel): New function.
3826         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3828 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
3830         * sysdeps/unix/sysv/linux/kernel-features.h
3831         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3832         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3833         <kernel-features.h>.
3834         [__NR_fadvise64_64]: Make code unconditional.
3835         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3836         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3837         !__NR_fadvise64_64)]: Likewise.
3838         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3839         !__NR_fadvise64_64))]: Likewise.
3840         [__NR_fadvise64]: Make code unconditional.
3841         [!__NR_fadvise64]: Remove conditional code.
3842         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3843         <kernel-features.h>.
3844         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3845         unconditional.
3846         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3847         conditional code.
3848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3849         not include <kernel-features.h>.
3850         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3851         unconditional.
3852         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3853         conditional code.
3854         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3855         include <kernel-features.h>.
3856         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3857         unconditional.
3858         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3859         conditional code.
3861 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3863         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3864         slight instruction rearrangements per scrollpipe analysis.
3865         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3867 2012-08-20  Roland McGrath  <roland@hack.frob.com>
3869         * manual/syslog.texi (syslog; vsyslog, closelog):
3870         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3871         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3873         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3874         DSOCAPS to match condition on defining it.
3876 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
3878         * sysdeps/unix/sysv/linux/kernel-features.h
3879         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3881         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3882         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3884         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3885         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3887         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3888         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3891         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3893         * sysdeps/unix/sysv/linux/kernel-features.h
3894         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3895         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3896         unconditional.
3897         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3898         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3899         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3900         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3901         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3902         Make code unconditional.
3903         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3904         (__mmap64) [!__NR_mmap2]: Likewise.
3905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3906         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3907         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3908         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3909         [__NR_mmap2]: Make code unconditional.
3910         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3911         (__mmap64) [!__NR_mmap2]: Likewise.
3913 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3915         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3917 2012-08-18  Andreas Jaeger  <aj@suse.de>
3919         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3921 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3923         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3924         * include/unistd.h (__have_sock_cloexec): Likewise.
3925         (__have_pipe2): Likewise.
3926         (__have_dup3): Likewise.
3928 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3930         [BZ #9685]
3931         * include/unistd.h (__have_pipe2): Change define into an extern int.
3932         (__have_dup3): Likewise.
3933         * socket/have_sock_cloexec.c: Include fcntl.h.
3934         (__have_pipe2): New variable.
3935         (__have_dup3): Likewise.
3937 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
3939         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3941 2012-08-17  Marek Polacek  <polacek@redhat.com>
3943         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3944         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3946 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3948         * configure.in: Add AC_SUBST for sysheaders.
3949         * configure: Regenerated.
3950         * config.make.in (sysheaders): New substituted variable.
3952         * sysdeps/unix/mkfifo.c: Moved ...
3953         * sysdeps/posix/mkfifo.c: ... here.
3954         * sysdeps/unix/mkfifoat.c: Moved ...
3955         * sysdeps/posix/mkfifoat.c: ... here.
3957         * sysdeps/unix/utime.c: Moved ...
3958         * sysdeps/posix/utime.c: ... here.
3960         * sysdeps/unix/time.c: Moved ...
3961         * sysdeps/posix/time.c: ... here.
3962         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3963         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3965         * sysdeps/unix/nice.c: Moved ...
3966         * sysdeps/posix/nice.c: ... here.
3968         * sysdeps/unix/alarm.c: Moved ...
3969         * sysdeps/posix/alarm.c: ... here.
3971         * intl/Makefile ($(codeset_mo)): Depend on the input file.
3973 2012-08-17  Jeff Law <law@redhat.com>
3975         * intl/Makefile (codeset_mo): New variable.
3976         ($(codeset_mo)): New target.
3977         (tst-codeset.out): Depend on that.  Remove explicit rule.
3978         (tst-gettext3.out, tst-gettext5.out): Likewise.
3979         (LOCPATH-ENV, tst-codeset-ENV): New variables.
3980         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3981         * intl/tst-codeset.sh: Remove.
3982         * intl/tst-gettext3.sh: Likewise.
3983         * intl/tst-gettext5.sh: Likewise.
3985 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3987         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
3988         * sysdeps/unix/syscalls.list: ... here.
3990         * sysdeps/posix/getaddrinfo.c
3991         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3992         (gaiconf_init, gaiconf_reload): Use them.
3993         [!_STATBUF_ST_NSEC]
3994         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3995         Define using time_t rather than struct timespec.
3997         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3998         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3999         Macros removed.
4000         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4001         [!NO_THREADS].
4002         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4003         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4004         Likewise.
4006         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4007         __libc_cleanup_push argument.
4009         * bits/param.h: New file.
4010         * misc/sys/param.h: New file.
4011         * include/sys/param.h: New file.
4012         * misc/Makefile (headers): Add bits/param.h.
4013         * sysdeps/generic/sys/param.h: File removed.
4014         * sysdeps/unix/sysv/linux/bits/param.h: New file.
4015         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4016         * sysdeps/mach/hurd/bits/param.h: New file.
4017         * sysdeps/mach/hurd/sys/param.h: File removed.
4019         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4020         last change.
4022         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4023         [_IO_MTSAFE_IO].
4024         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4025         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4026         New macros.
4028         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4029         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4030         rather than -D_IO_MTSAFE_IO conditionally.
4031         * stdio-common/Makefile (CPPFLAGS): Likewise.
4032         * wcsmbs/Makefile (CPPFLAGS): Likewise.
4033         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4034         Use $(libio-mtsafe).
4035         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4036         of -D_IO_MTSAFE_IO.
4037         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4038         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4039         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4040         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4041         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4042         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4043         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4044         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4045         (CFLAGS-fread_u_chk.c): Likewise.
4046         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4047         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4048         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4049         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4050         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4051         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4052         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4053         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4054         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4056         * libio/Makefile: Test [$(libc-reentrant) = yes]
4057         instead of [$(filter %REENTRANT, $(defines)) nonempty].
4059         * Makeconfig
4060         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4061         * sysdeps/pthread/configure: File removed.
4062         * sysdeps/pthread/Makeconfig: New file.
4063         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4064         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4066 2012-08-16  Gary Benson  <gbenson@redhat.com>
4068         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4069         unmapping the first object in a namespace.
4071 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4073         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4074         (__internal_setnetgrent): ... this.  Add internal_function to
4075         definition.  Add libc_hidden_def.
4076         (setnetgrent): Update caller.
4077         (internal_endnetgrent): Renamed to ...
4078         (__internal_endnetgrent): ... this.  Add internal_function to
4079         definition.  Add libc_hidden_def.
4080         (endnetgrent): Update caller.
4081         (internal_getnetgrent_r): Renamed to ...
4082         (__internal_getnetgrent_r): ... this.  Add internal_function to
4083         definition.  Add libc_hidden_def.
4084         (__getnetgrent_r): Update caller.
4085         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
4087 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4089         * stdlib/longlong.h: Update from GCC.
4091 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4093         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4094         on _QL, which is set by umul_ppmm but never used.
4095         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4096         variables, which are set by GMP macros but never used.
4097         * stdio-common/_itowa.c (_itowa): Likewise.
4098         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4099         * stdlib/mod_1.c (mpn_mod_1): Likewise.
4101 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
4103         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4104         struct La_sh_regs is not constant.
4105         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4106         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4107         and struct La_sparc64_regs are not constant.
4109 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4111         * sysdeps/unix/sysv/linux/kernel-features.h
4112         (__ASSUME_POSIX_TIMERS): Remove.
4113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4115         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4116         Make code unconditional.
4117         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4118         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4119         Make code unconditional.
4120         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4121         * sysdeps/unix/sysv/linux/clock_nanosleep.c
4122         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4123         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4124         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4125         Make code unconditional.
4126         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4127         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4128         (__libc_missing_posix_timers): Remove.
4130 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4132         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4133         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4135         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4137         * elf/dl-sym.c: Include <stdlib.h>.
4139         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4140         constants, which avoids warnings in 32-bit builds.
4142         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4143         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4145         * misc/lseek.c: File moved to ...
4146         * io/lseek.c: ... here.
4148         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4150         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4151         shifting LEN more than 31 bits at once.
4153 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4155         [BZ #14195]
4156         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4157         segmentation fault for a case of two empty input strings.
4158         * string/test-strncasecmp.c (check1): Renamed to...
4159         (bz12205): ...this.
4160         (bz14195): Add new testcase for two empty input strings and N > 0.
4161         (test_main): Call new testcase, adapt for renamed function.
4163 2012-08-15  Andreas Jaeger  <aj@suse.de>
4165         [BZ #14090]
4166         * crypt/md5test2.c: New test, based on test supplied by Serge
4167         Belyshev <belyshev@depni.sinp.msu.ru>.
4168         * crypt/Makefile (xtests): Add md5test-giant..
4169         * crypt/Makefile ($(objpfx)md5test-giant): Add.
4171 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4173         [BZ #14090]
4174         * crypt/md5.c (md5_process_block): Don't assume the buffer
4175         length is less than 2**32.
4176         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4177         length is less than 2**64.
4179 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4181         * string/str-two-way.h: Include <sys/param.h>.
4182         (MAX): Macro removed.
4184         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4185         Move #define and #undef of memmove to just before and after
4186         including <string.h>.
4188         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4189         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4190         and after including <string.h>.  Move declarations of
4191         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4192         to before #include "string/memmove.c".
4194         * include/dirent.h: Declare __getdirentries.
4196         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4197         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4199 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
4201         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4202         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4203         * sysdeps/i386/configure: Regenerated.
4204         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4205         STABS_CURRENT_FILE, and STABS_FUN.
4206         (END): Remove call to STABS_FUN_END.
4207         (STABS_CURRENT_FILE1): Delete.
4208         (STABS_CURRENT_FILE): Likewise.
4209         (STABS_FUN): Likewise.
4210         (STABS_FUN_END): Likewise.
4211         (STABS_FUN2): Likewise.
4212         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4213         * sysdeps/x86_64/configure: Regenerated.
4215 2012-08-14  Roland McGrath  <roland@hack.frob.com>
4217         * elf/dl-open.c: Include <atomic.h>.
4218         * elf/dl-lookup.c: Likewise.
4220 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
4222         * sysdeps/unix/sysv/linux/kernel-features.h
4223         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4224         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4225         unconditionally.
4226         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4227         unconditionally.
4228         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4229         condition on __ASSUME_CLONE_THREAD_FLAGS.
4231 2012-08-14  Andreas Jaeger  <aj@suse.de>
4233         * sysdeps/i386/fpu/libm-test-ulps: Update.
4235 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
4237         * include/atomic.h (atomic_exchange_and_add): Split into ...
4238         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4239         New atomic macros.
4241 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
4243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4245 2012-08-13  Jeff Law <law@redhat.com>
4247         * manual/stdio.texi (snprintf): Clarify handling of the trailing
4248         null byte in the output string.
4250 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
4252         * sysdeps/unix/sysv/linux/kernel-features.h
4253         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4254         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4255         (__ASSUME_ARG_MAX_STACK_BASED): Define.
4256         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4257         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4258         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
4259         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4261 2012-08-09  Jeff Law <law@redhat.com>
4263         [BZ #13939]
4264         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4265         When avoid_arena is set, don't retry in the that arena.  Pick the
4266         next one, whatever it might be.
4267         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4268         (arena_lock): Pass in new parameter to arena_get2.
4269         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4270         arena_get2.
4271         (__libc_malloc): Unify retrying after main arena failure with
4272         __libc_memalign version.
4273         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4275 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
4277         [BZ #14166]
4278         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4279         to __redirect_strstr.
4280         (__strstr_sse42): Use typeof __redirect_strstr.
4281         (__strstr_ia32): Likewise.
4282         (__libc_strstr): New prototype.
4283         (strstr): Renamed to ...
4284         (__libc_strstr): This.
4285         (strstr): New strong alias of __libc_strstr.
4286         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4287         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4288         __redirect_time.
4289         Include <time.h>.
4290         (__libc_time): New prototype.
4291         (time_ifunc): Replace time with __libc_time.
4292         (time): New strong alias and hidden definition of __libc_time.
4293         (__GI_time): Remove strong alias.
4294         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4295         Include <stddef.h>.
4296         (memmove): Redefined to __redirect_memmove.
4297         (__memmove_sse2): Use typeof __redirect_memmove.
4298         (__memmove_ssse3): Likewise.
4299         (__memmove_ssse3_back): Likewise.
4300         (__libc_memmove): New prototype.
4301         (memmove): Renamed to ...
4302         (__libc_memmove): This.
4303         (memmove): New strong alias of __libc_memmove.
4305 2012-08-08  Mark Salter  <msalter@redhat.com>
4307         * elf/elf.h
4308         (R_MN10300_TLS_GD): Define.
4309         (R_MN10300_TLS_LD): Likewise.
4310         (R_MN10300_TLS_LDO): Likewise.
4311         (R_MN10300_TLS_GOTIE): Likewise.
4312         (R_MN10300_TLS_IE): Likewise.
4313         (R_MN10300_TLS_LE): Likewise.
4314         (R_MN10300_TLS_DTPMOD): Likewise.
4315         (R_MN10300_TLS_DTPOFF): Likewise.
4316         (R_MN10300_TLS_TPOFF): Likewise.
4317         (R_MN10300_SYM_DIFF): Likewise.
4318         (R_MN10300_ALIGN): Likewise.
4319         (R_MN10300_NUM): Update.
4321 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
4323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4324         Remove.
4326 2012-08-08  Roland McGrath  <roland@hack.frob.com>
4328         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4330         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4331         sysdeps/unix -> sysdeps/posix move.
4332         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4334 2012-08-07      Allan McRae     <allan@archlinux.org>
4336         [BZ #14303]
4337         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4338         (SUNOS_CPP): Likewise.
4339         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4340         not found.
4341         (open_input): Call CPP using execvp.
4343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
4345         * sysdeps/unix/sysv/linux/kernel-features.h
4346         (__ASSUME_PROT_GROWSUPDOWN): Remove.
4347         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4348         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4349         (__ASSUME_WAITID_SYSCALL): Likewise.
4350         * sysdeps/unix/sysv/linux/dl-execstack.c
4351         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4352         code unconditional.
4353         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4354         conditional code.
4355         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4356         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4357         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4358         code.
4359         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4360         unconditional.
4361         [__ASSUME_WAITID_SYSCALL]: Likewise.
4362         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4364 2012-08-07  Roland McGrath  <roland@hack.frob.com>
4366         * sysdeps/unix/closedir.c: Renamed to ...
4367         * sysdeps/posix/closedir.c: ... here.
4368         * sysdeps/unix/dirfd.c: Renamed to ...
4369         * sysdeps/posix/dirfd.c: ... here.
4370         * sysdeps/unix/dirstream.h: Renamed to ...
4371         * sysdeps/posix/dirstream.h: ... here.
4372         * sysdeps/unix/fdopendir.c: Renamed to ...
4373         * sysdeps/posix/fdopendir.c: ... here.
4374         * sysdeps/unix/opendir.c: Renamed to ...
4375         * sysdeps/posix/opendir.c: ... here.
4376         * sysdeps/unix/readdir.c: Renamed to ...
4377         * sysdeps/posix/readdir.c: ... here.
4378         * sysdeps/unix/readdir_r.c: Renamed to ...
4379         * sysdeps/posix/readdir_r.c: ... here.
4380         * sysdeps/unix/rewinddir.c: Renamed to ...
4381         * sysdeps/posix/rewinddir.c: ... here.
4382         * sysdeps/unix/seekdir.c: Renamed to ...
4383         * sysdeps/posix/seekdir.c: ... here.
4384         * sysdeps/unix/telldir.c: Renamed to ...
4385         * sysdeps/posix/telldir.c: ... here.
4386         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4387         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4388         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4389         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4391         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4392         * bits/fcntl.h: ... here.
4394         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4395         not 0.
4396         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4397         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4398         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4399         (struct flock): Move l_start, l_len to the beginning.
4400         Use __pid_t for l_pid.
4401         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4402         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4403         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4404         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4405         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4406         [__USE_LARGEFILE64] (struct flock64): New type.
4407         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4409         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4410         * bits/dirent.h: ... here.
4412         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4413         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4415 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
4417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4418         Change from 2.6.0 to 2.6.16.
4419         * sysdeps/unix/sysv/linux/configure: Regenerated.
4420         * sysdeps/unix/sysv/linux/kernel-features.h
4421         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4422         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4423         version.
4424         (__ASSUME_UTIMES): Likewise.
4425         (__ASSUME_CLONE_STOPPED): Remove.
4426         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4427         architectures, not kernel version.
4428         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4429         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4430         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4431         (__ASSUME_WAITID_SYSCALL): Likewise.
4432         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4433         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4434         * README: State 2.6.16 as minimum Linux kernel version.  Do not
4435         refer to older versions.
4437 2012-08-06  Roland McGrath  <roland@hack.frob.com>
4439         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4440         Define alphasort64 as an alias.
4441         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4442         Define versionsort64 as an alias.
4443         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4444         Define scandir64 as an alias.
4445         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4446         Define scandirat64 as an alias.
4447         * dirent/alphasort64.c (alphasort64):
4448         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4449         * dirent/versionsort64.c: Likewise.
4450         * dirent/scandir64.c: Likewise.
4451         * dirent/scandirat64.c: Likewise.
4452         * sysdeps/wordsize-64/alphasort.c: File removed.
4453         * sysdeps/wordsize-64/alphasort64.c: File removed.
4454         * sysdeps/wordsize-64/scandir.c: File removed.
4455         * sysdeps/wordsize-64/scandir64.c: File removed.
4456         * sysdeps/wordsize-64/scandirat.c: File removed.
4457         * sysdeps/wordsize-64/scandirat64.c: File removed.
4458         * sysdeps/wordsize-64/versionsort.c: File removed.
4459         * sysdeps/wordsize-64/versionsort64.c: File removed.
4460         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4461         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4462         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4463         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4464         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4465         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4466         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4467         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4469         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4471         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4473         [defined __arch64__ || defined __sparcv9]
4474         (__INO_T_MATCHES_INO64_T): New macro.
4475         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4476         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4477         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4478         * sysdeps/unix/sysv/linux/bits/dirent.h
4479         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4480         (_DIRENT_MATCHES_DIRENT64): New macro.
4482         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4483         Define lockf64 as an alias.
4484         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4485         Define fseeko64 as an alias.
4486         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4487         Define ftello64 as an alias.
4488         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4489         Define _IO_fgetpos64 and fgetpos64 as aliases.
4490         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4491         Define _IO_fsetpos64 and fsetpos64 as aliases.
4492         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4493         Conditionalize body on this.
4494         * libio/fseeko64.c: Likewise.
4495         * libio/ftello64.c: Likewise.
4496         * libio/iofgetpos64.c: Likewise.
4497         * libio/iofsetpos64.c: Likewise.
4498         * sysdeps/wordsize-64/lockf.c: File removed.
4499         * sysdeps/wordsize-64/lockf64.c: File removed.
4500         * sysdeps/wordsize-64/fseeko.c: File removed.
4501         * sysdeps/wordsize-64/fseeko64.c: File removed.
4502         * sysdeps/wordsize-64/ftello.c: File removed.
4503         * sysdeps/wordsize-64/ftello64.c: File removed.
4504         * sysdeps/wordsize-64/iofgetpos.c: File removed.
4505         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4506         * sysdeps/wordsize-64/iofsetpos.c: File removed.
4507         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4509         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4510         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4511         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4512         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4513         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4514         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4515         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4516         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4517         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4519         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4521         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4522         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4523         [defined __arch64__ || defined __sparcv9]
4524         (__OFF_T_MATCHES_OFF64_T): New macro.
4525         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4526         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4527         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4528         (__OFF_T_MATCHES_OFF64_T): New macro.
4530 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4532         * stdlib/secure-getenv.c (__secure_getenv): Replace
4533         GLIBC_2_16 with GLIBC_2_17.
4535 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4537         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4538         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4540 2012-08-03  David S. Miller  <davem@davemloft.net>
4542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4544 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4546         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4547         Remove.
4548         (__ASSUME_CORRECT_SI_PID): Likewise.
4549         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4550         (__ASSUME_TMPFS_NAME): Likewise.
4551         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4552         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4553         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4554         (HAVE_AUX_SECURE): Make definition unconditional.
4555         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4556         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4558 2012-08-03  Roland McGrath  <roland@hack.frob.com>
4560         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4561         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4562         * sysdeps/mach/hurd/eloop-threshold.h: New file.
4563         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4564         __eloop_threshold instead of SYMLOOP_MAX.
4566         * sysdeps/generic/eloop-threshold.h: New file.
4567         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4568         of MAXSYMLINKS.
4569         * elf/chroot_canon.c (chroot_canon): Likewise.
4571 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4573         [BZ #13717]
4574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4575         Change to 2.6.0 everywhere.
4576         * sysdeps/unix/sysv/linux/configure: Regenerated.
4577         * sysdeps/unix/sysv/linux/kernel-features.h
4578         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4579         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4580         kernel versions.
4581         (__ASSUME_POSIX_TIMERS): Define unconditionally.
4582         (__ASSUME_FUTEX_REQUEUE): Remove.
4583         (__ASSUME_STATFS64): Define unconditionally.
4584         (__ASSUME_AT_SECURE): Likewise.
4585         (__ASSUME_CORRECT_SI_PID): Likewise.
4586         (__ASSUME_TGKILL): Define without depending on kernel version for
4587         i386.
4588         (__ASSUME_UTIMES): Likewise.
4589         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4590         kernel version.
4591         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4592         (__ASSUME_TMPFS_NAME): Likewise.
4593         * README: Update reference to Linux kernel versions.
4595 2012-08-02  Marek Polacek  <polacek@redhat.com>
4597         [BZ# 14150]
4598         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
4599         libc_cv_asm_type_prefix with %.
4600         * configure: Regenerated.
4601         * include/libc-symbols.h: Remove comment about
4602         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4603         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4604         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4605         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4606         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4607         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4608         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4609         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4610         * elf/tst-unique2mod1.c: Likewise.
4611         * elf/tst-unique1mod2.c: Likewise.
4612         * elf/tst-unique1mod1.c: Likewise.
4613         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4614         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4615         Replace ASM_TYPE_DIRECTIVE with .type.
4616         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4617         * sysdeps/i386/sysdep.h: Likewise.
4618         * sysdeps/x86_64/sysdep.h: Likewise.
4619         * sysdeps/sh/sysdep.h: Likewise.
4620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4621         Do not define ASM_TYPE_DIRECTIVE.
4622         * sysdeps/powerpc/sysdep.h: Likewise.
4623         * sysdeps/powerpc/powerpc32/sysdep.h:
4624         Replace ASM_TYPE_DIRECTIVE with .type.
4625         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4626         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4627         * sysdeps/i386/fpu/e_powf.S: Likewise.
4628         * sysdeps/i386/fpu/e_expl.S: Likewise.
4629         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4630         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4631         * sysdeps/i386/fpu/e_pow.S: Likewise.
4632         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4633         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4634         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4635         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4636         * sysdeps/i386/fpu/e_log2.S: Likewise.
4637         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4638         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4639         * sysdeps/i386/fpu/e_powl.S: Likewise.
4640         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4641         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4642         * sysdeps/i386/fpu/e_logl.S: Likewise.
4643         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4644         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4645         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4646         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4647         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4648         * sysdeps/i386/fpu/e_log.S: Likewise.
4649         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4650         * sysdeps/i386/fpu/e_logf.S: Likewise.
4651         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4652         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4653         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4654         * sysdeps/i386/fpu/e_log10.S: Likewise.
4655         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4656         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4657         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4658         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4659         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4660         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4661         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4662         * sysdeps/i386/i686/strtok.S: Likewise.
4663         * sysdeps/i386/i386-mcount.S: Likewise.
4664         * sysdeps/i386/strtok.S: Likewise.
4665         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4666         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4667         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4668         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4669         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4670         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4671         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4672         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4673         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4674         * sysdeps/x86_64/_mcount.S: Likewise.
4675         * sysdeps/x86_64/strtok.S: Likewise.
4676         * sysdeps/sh/_mcount.S: Likewise.
4678 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4680         * libio/iofopen.c: Include <fcntl.h>.
4681         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4682         (_IO_fopen64, fopen64): Define as aliases.
4683         * libio/iofopen64.c: Include <fcntl.h>.
4684         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4685         Conditionalize body on this.
4686         * sysdeps/wordsize-64/iofopen.c: File removed.
4687         * sysdeps/wordsize-64/iofopen64.c: File removed.
4689 2012-08-01  Marek Polacek  <polacek@redhat.com>
4691         * libc/Makeconfig: Use elf in place of binfmt-subdir.
4692         Use dlfcn directly instead of a variable.
4693         (binfmt-subdir): Do not define.
4694         (dlfcn): Likewise.
4696 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
4698         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4699         Remove all definitions.
4700         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4701         <kernel-features.h>.
4702         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4703         (miss_F_GETOWN_EX): Remove all definitions.
4704         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4705         macro definition.
4706         [!__ASSUME_FCNTL64]: Remove conditional code.
4707         [__ASSUME_FCNTL64]: Make code unconditional.
4708         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4709         <kernel-features.h>.
4710         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4711         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4712         (lockf64) [__NR_fcntl64]: Make code unconditional.
4713         (lockf64) [__ASSUME_FCNTL64]: Likewise.
4715         * sysdeps/unix/sysv/linux/kernel-features.h
4716         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4717         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4718         Make code unconditional.
4719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4722         [__NR_vfork]: Make code unconditional.
4723         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4724         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4726         [__NR_vfork]: Make code unconditional.
4727         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4728         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4730 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4732         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4733         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4735         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4736         Define mkstemp64 as an alias.
4737         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4738         Define mkstemps64 as an alias.
4739         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4740         Define mkostemp64 as an alias.
4741         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4742         Define mkostemps64 as an alias.
4743         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4744         Conditionalize body on this.
4745         * misc/mkostemp64.c: Likewise.
4746         * misc/mkostemps64.c: Likewise.
4747         * misc/mkstemps64.c: Likewise.
4748         * sysdeps/wordsize-64/mkstemp64.c: File removed.
4749         * sysdeps/wordsize-64/mkostemp64.c: File removed.
4750         * sysdeps/wordsize-64/mkostemp.c: File removed.
4751         * sysdeps/wordsize-64/mkstemp.c: File removed.
4752         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4753         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4754         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4755         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4757         [BZ #14138]
4758         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4759         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4760         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4761         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4763         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4764         compat_symbol macros from <shlib-compat.h> rather than the underlying
4765         default_symbol_version and symbol_version macros, so that DEFAULT
4766         lines in shlib-versions are respected.
4767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4769 2012-08-01  Florian Weimer  <fweimer@redhat.com>
4771         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4772         Declare with warn_unused_result.
4773         (setgid, setregid, setegid, setresgid): Likewise.
4774         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4775         Likewise.
4776         * WUR-REPORT: Remove set*id functions.
4778 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
4780         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4782 2012-07-31  Roland McGrath  <roland@hack.frob.com>
4784         * include/sys/socket.h (__libc_accept, __libc_accept4):
4785         Add attribute_hidden.
4786         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4788         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4789         use of PTR_MANGLE.
4790         * inet/getnetgrent_r.c (setup): Likewise.
4792         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4794 2012-07-31  David S. Miller  <davem@davemloft.net>
4796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4798 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
4800         [BZ #13629]
4801         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4802         value between 1.0 and 2.0 and smaller part has absolute value less
4803         than 1.0.
4804         * math/s_clog10.c (__clog10): Likewise.
4805         * math/s_clog10f.c (__clog10f): Likewise.
4806         * math/s_clog10l.c (__clog10l): Likewise.
4807         * math/s_clogf.c (__clogf): Likewise.
4808         * math/s_clogl.c (__clogl): Likewise.
4809         * math/libm-test.inc (clog_test): Add more tests.
4810         (clog10_test): Likewise.
4811         * sysdeps/i386/fpu/libm-test-ulps: Update.
4812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4814 2012-07-31  Florian Weimer  <fweimer@redhat.com>
4816         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4817         Exit with zero in case no suitable GID is found, and write a
4818         message to standard error.
4820 2012-07-30  Roland McGrath  <roland@hack.frob.com>
4822         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4823         rather than to 1.
4824         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4825         (MAXPATHLEN): Removed.
4826         (NOGROUP, NODEV): New macros.
4827         (setbit, clrbit, isset, isclr): New macros.
4828         (howmany, roundup, powerof2): New macros.
4829         (DEV_BSIZE): New macro.
4831         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4832         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4834         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4835         definition on [!__NO_LONG_DOUBLE_MATH].
4837         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4838         PTR_MANGLE and PTR_DEMANGLE.
4840         * socket/accept4.c (accept4): Rename to __libc_accept4.
4841         Define accept4 as a weak alias.
4843         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4844         on [_DIRENT_HAVE_D_TYPE].
4845         * io/ftw.c (ftw_dir): Likewise.
4847         * io/xmknod.c (__xmknod): Don't check PATH for being null.
4849         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4851         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4852         Use the BSD numbers rather than the arbitrary ones we had.
4853         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4854         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4855         (SIGXCPU, SIGXFSZ): New macros.
4856         (_NSIG): Now 32.
4858         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4859         initializer on [_LIBC_REENTRANT].
4861         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4862         definitions inside [_POSIX_MAPPED_FILES].
4864         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4866         * dirent/opendir.c: Include <fcntl.h>.
4868         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4869         (__libc_getspecific): Likewise.
4870         (__libc_key_create): Likewise.
4872         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4873         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4874         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4875         (tmpfile64): Define as alias.
4876         * sysdeps/wordsize-64/tmpfile.c: File removed.
4877         * sysdeps/wordsize-64/tmpfile64.c: File removed.
4878         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4879         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4881         * stdio-common/vfscanf.c: Include <stdbool.h>.
4882         * nss/makedb.c: Likewise.
4883         * stdio-common/_i18n_number.h: Likewise.
4884         * argp/argp-help.c: Likewise.
4885         * posix/wordexp.c: Likewise.
4886         * sysdeps/posix/spawni.c: Likewise.
4887         * nss/nss_files/files-initgroups.c: Likewise.
4888         * stdio-common/reg-modifier.c: Include <stdlib.h>.
4889         * nss/nss_files/files-initgroups.c: Likewise.
4890         * nss/nss_db/db-netgrp.c: Likewise.
4891         * nss/nss_db/db-initgroups.c: Likewise.
4892         * io/fchmodat.c: Include <sys/stat.h>.
4894         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4895         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4897         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4898         [HAVE_MMAP].
4900         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4901         Add multiple inclusion protection.
4903 2012-07-27  David S. Miller  <davem@davemloft.net>
4905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4907 2012-07-27  Gary Benson  <gbenson@redhat.com>
4909         [BZ #14298]
4910         * elf/rtld.c: Include <stap-probe.h>.
4911         (dl_main): Added static probes "init_start" and "init_complete".
4912         * elf/dl-load.c: Include <stap-probe.h>.
4913         (lose): Take new parameter "nsid".
4914         Added static probe "map_failed".
4915         (_dl_map_object_from_fd): Pass namespace id to lose.
4916         Added static probe "map_start".
4917         (open_verify): Pass namespace id to lose.
4918         * elf/dl-open.c: Include <stap-probe.h>.
4919         (dl_open_worker) Added static probes "map_complete", "reloc_start"
4920         and "reloc_complete".
4921         * elf/dl-close.c: Include <stap-probe.h>.
4922         (_dl_close_worker): Added static probes "unmap_start" and
4923         "unmap_complete".
4924         * elf/rtld-debugger-interface.txt: New file documenting the above.
4926 2012-07-26  Roland McGrath  <roland@hack.frob.com>
4928         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4929         rather than a string variable.
4930         * sunrpc/rpc_main.c (h_output): Likewise.
4931         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4933 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
4935         * inet/check_native.c: New file.
4937 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
4939         [BZ #13629]
4940         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4941         if larger part has absolute value 1.0.
4942         * math/s_clog10.c (__clog10): Likewise.
4943         * math/s_clog10f.c (__clog10f): Likewise.
4944         * math/s_clog10l.c (__clog10l): Likewise.
4945         * math/s_clogf.c (__clogf): Likewise.
4946         * math/s_clogl.c (__clogl): Likewise.
4947         * math/libm-test.inc (clog_test): Add more tests.
4948         (clog10_test): Likewise.
4949         * sysdeps/i386/fpu/libm-test-ulps: Update.
4950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4952         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4953         (pltexit): Likewise.
4954         (La_regs): Likewise.
4955         (La_retval): Likewise.
4956         (int_retval): Likewise.
4957         Update #error for removed macros to refer only to definitions in
4958         tst-audit.h.
4959         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4960         macro.
4961         (pltexit): Likewise.
4962         (La_regs): Likewise.
4963         (La_retval): Likewise.
4964         (int_retval): Likewise.
4965         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4966         macro.
4967         (pltexit): Likewise.
4968         (La_regs): Likewise.
4969         (La_retval): Likewise.
4970         (int_retval): Likewise.
4971         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4972         macro.
4973         (pltexit): Likewise.
4974         (La_regs): Likewise.
4975         (La_retval): Likewise.
4976         (int_retval): Likewise.
4977         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4978         macro.
4979         (pltexit): Likewise.
4980         (La_regs): Likewise.
4981         (La_retval): Likewise.
4982         (int_retval): Likewise.
4983         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4984         macro.
4985         (pltexit): Likewise.
4986         (La_regs): Likewise.
4987         (La_retval): Likewise.
4988         (int_retval): Likewise.
4989         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4990         macro.
4991         (pltexit): Likewise.
4992         (La_regs): Likewise.
4993         (La_retval): Likewise.
4994         (int_retval): Likewise.
4995         * sysdeps/generic/tst-audit.h: Update comment to refer only to
4996         macro definitions in tst-audit.h.
4997         * sysdeps/i386/tst-audit.h: New file.
4998         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4999         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5000         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5001         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5002         * sysdeps/sh/tst-audit.h: Likewise.
5003         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5004         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5005         * sysdeps/x86_64/tst-audit.h: Likewise.
5007 2012-07-26  Andreas Jaeger  <aj@suse.de>
5009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5010         ptrace.
5012         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5013         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5014         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5015         PTRACE_O_MASK.
5016         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5017         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5018         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5020         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5021         value.
5023         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5024         _sigsys.
5025         (si_call_addr, si_syscall, si_arch): Define new macro.
5026         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5027         _sigsys.
5028         (si_call_addr, si_syscall, si_arch): Define new marcro.
5029         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5030         _sigsys.
5031         (si_call_addr, si_syscall, si_arch): Define new macro.
5032         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5033         _sigsys.
5034         (si_call_addr, si_syscall, si_arch): Define new macro.
5036 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5038         [BZ #13717]
5039         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5040         Change to 2.4.21 where previously 2.4.1.
5041         * sysdeps/unix/sysv/linux/configure: Regenerated.
5042         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5043         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5044         Linux kernel version.
5045         (__ASSUME_STD_AUXV): Remove.
5046         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5047         kernel version.
5048         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5049         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5050         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5051         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5052         (__ASSUME_NETLINK_SUPPORT): Likewise.
5053         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5054         (__no_netlink_support): Remove conditional definition.
5055         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5056         Remove.
5057         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5058         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5059         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5060         (if_nameindex_ioctl): Remove.
5061         (if_nameindex_netlink): Do not handle __no_netlink_support.
5062         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5063         code.
5064         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5065         Remove conditional code.
5066         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5067         code.
5068         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5069         unconditional.
5070         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5071         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5072         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5073         Remove.
5074         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5075         [!__ASSUME_STD_AUXV]: Remove conditional code.
5076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5077         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5078         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5080         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5081         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5082         code.
5083         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5085         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5086         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5087         conditional code.
5088         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5090         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5091         code.
5092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5093         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5094         conditional code.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5096         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5097         code unconditional.
5098         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5099         conditional code.
5100         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5101         unconditional.
5102         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5103         conditional code.
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5105         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5106         unconditional.
5107         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5108         conditional code.
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5110         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5111         code unconditional.
5112         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5113         conditional code.
5114         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5115         unconditional.
5116         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5117         conditional code.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5119         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5120         code unconditional.
5121         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5122         conditional code.
5123         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5124         unconditional.
5125         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5126         conditional code.
5128 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5130         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5131         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5132         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5133         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5134         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5135         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5136         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5137         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5138         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5139         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5140         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5141         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5142         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5143         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5144         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5145         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5146         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5148         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5150         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5151         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5154 2012-07-25  Florian Weimer  <fweimer@redhat.com>
5156         * Versions.def: Add GLIBC_2.17.
5157         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5158         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5159         Introduce __libc_secure_getenv.
5160         * stdlib/Versions (2.17): Add secure_getenv
5161         (GLIBC_PRIVATE): Add __libc_secure_getenv.
5162         * stdlib/secure-getenv.c: Rename __secure_getenv to
5163         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
5164         symbol __secure_getenv for GLIBC_2.0.
5165         * stdlib/tst-secure-getenv.c: New.
5166         * stdlib/Makefile (tests): Add testcase.
5167         * manual/startup.texi (Environment Access): Document
5168         secure_getenv.
5169         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5170         __libc_secure_getenv.
5171         * inet/ruserpass.c (ruserpass): Likewise.
5172         * malloc/mtrace.c (mtrace): Likewise.
5173         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5174         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5175         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5176         * sysdeps/posix/tempname.c: Likewise.  Evaluate
5177         HAVE_SECURE_GETENV.
5178         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5179         __secure_getenv to __libc_secure_getenv.
5180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5182         Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5184         Likewise.
5185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5193 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5195         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5196         (struct La_i86_retval): Likewise.
5197         (struct La_x86_64_regs): Likewise.
5198         (struct La_x86_64_retval): Likewise.
5199         (struct La_x32_regs): Likewise.
5200         (struct La_x32_retval): Likewise.
5201         (struct La_ppc32_regs): Likewise.
5202         (struct La_ppc32_retval): Likewise.
5203         (struct La_ppc64_regs): Likewise.
5204         (struct La_ppc64_retval): Likewise.
5205         (struct La_sh_regs): Likewise.
5206         (struct La_sh_retval): Likewise.
5207         (struct La_s390_32_regs): Likewise.
5208         (struct La_s390_32_retval): Likewise.
5209         (struct La_s390_64_regs): Likewise.
5210         (struct La_s390_64_retval): Likewise.
5211         (struct La_sparc32_regs): Likewise.
5212         (struct La_sparc32_retval): Likewise.
5213         (struct La_sparc64_regs): Likewise.
5214         (struct La_sparc64_retval): Likewise.
5215         (struct audit_ifaces): Remove architecture-specific pltenter and
5216         pltexit members.
5217         * sysdeps/i386/ldsodefs.h: New file.
5218         * sysdeps/powerpc/ldsodefs.h: Likewise.
5219         * sysdeps/s390/ldsodefs.h: Likewise.
5220         * sysdeps/sh/ldsodefs.h: Likewise.
5221         * sysdeps/sparc/ldsodefs.h: Likewise.
5222         * sysdeps/x86_64/ldsodefs.h: Likewise.
5224 2012-07-25  Marek Polacek  <polacek@redhat.com>
5226         [BZ #6808]
5227         * math/libm-test.inc (yn_test): Add another test.
5228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5229         to ERANGE when the result is +-Inf.
5230         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5231         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5232         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5233         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5235 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
5237         * conform/data/time.h-data (NULL): Use macro-constant.  Require
5238         equal to 0.
5239         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
5240         clock_t.
5241         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
5243 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
5245         * configure.in <sysdeps resolving>: Correct printing
5246         Implies_before.
5247         * configure: Regenerate.
5249 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
5251         * math/w_ilogb.c: Include <limits.h>.
5252         * math/w_ilogbl.c: Likewise.
5254 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
5256         * manual/lang.texi (__va_copy): Document primarily as ISO C99
5257         va_copy.  Document allowing for unavailable va_copy only as
5258         pre-C99 compatibility.
5259         * manual/string.texi (Copying and Concatenation): Use va_copy
5260         instead of __va_copy in concat example.
5262 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
5264         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5265         (__sendto): Use create_address_port.  Initialize APORT and deallocate
5266         it if not null.
5268         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5269         with O_NOLINK passed to __file_name_lookup.
5271         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5272         with O_NOLINK passed to __file_name_lookup.
5274         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5275         negative N or less than NGIDS.
5277         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5278         type to string_t.  Set ERANGE as errno and return it if NAME is not big
5279         enough.  Use memcpy instead of strncpy.
5281 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
5283         * elf/Makefile (check-data): Remove.
5284         (localplt.data): New vpath directive.
5285         ($(objpfx)check-localplt.out): Use localplt.data from vpath
5286         instead of $(check-data).
5287         * scripts/data/localplt-generic.data: Move to ...
5288         * sysdeps/generic/localplt.data: ... here.
5289         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5290         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5291         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5293         ... here.
5294         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5296         ... here.
5297         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5299         ... here.
5300         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5302         ... here.
5303         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5305         ... here.
5306         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5308         ... here.
5310 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5312         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5313         PPC32 and PPC64 files.
5314         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5315         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5317 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5319         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5320         __makecontext_ret to ...
5321         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5322         ... here and call exit if uc_link is NULL.  New file.
5323         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5324         __makecontext_ret.S.
5325         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5326         __makecontext_ret to ...
5327         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5328         ... here and call exit if uc_link is NULL.  New file.
5329         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5330         __makecontext_ret.S.
5332 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5334         * elf/elf.h (R_390_IRELATIVE): New definition.
5335         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5336         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
5337         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5339         (elf_machine_lazy_rel): Likewise.
5340         * sysdeps/s390/dl-irel.h: New file.
5341         * sysdeps/s390/s390-64/memcpy.S: New asm code.
5342         * sysdeps/s390/s390-64/memset.S: New asm code.
5343         * sysdeps/s390/s390-64/memcmp.S: New asm code.
5344         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5345         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5346         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5347         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5348         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5349         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5350         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5351         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5352         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5353         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5354         * sysdeps/s390/s390-32/memcpy.S: New asm code.
5355         * sysdeps/s390/s390-32/memset.S: New asm code.
5356         * sysdeps/s390/s390-32/memcmp.S: New asm code.
5358 2012-07-17  Marek Polacek  <polacek@redhat.com>
5360         [BZ #14349]
5361         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5362         * sysdeps/s390/s390-64/configure.in: Likewise.
5363         * sysdeps/sparc/configure.in: Likewise.
5364         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5365         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5366         * sysdeps/i386/configure.in: Likewise.
5367         * sysdeps/x86_64/configure.in: Likewise.
5368         * sysdeps/sh/configure.in: Likewise.
5369         * sysdeps/s390/s390-32/configure: Regenerated.
5370         * sysdeps/s390/s390-64/configure: Likewise.
5371         * sysdeps/x86_64/configure: Likewise.
5372         * sysdeps/sh/configure: Likewise.
5373         * sysdeps/powerpc/powerpc64/configure: Likewise.
5374         * sysdeps/powerpc/powerpc32/configure: Likewise.
5375         * sysdeps/sparc/configure: Likwise.
5376         * sysdeps/i386/configure: Likewise.
5378         * elf/dl-open.c: Comment fixes.
5380 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
5382         * Makefile [CXX] (check-data): Remove.
5383         [CXX] (c++-types.data): New vpath directive.
5384         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5385         vpath.  Do not allow for C++ type data being missing.
5386         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5387         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5388         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5389         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5390         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5391         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5392         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5394         ... here.
5395         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5397         ... here.
5398         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5400         ... here.
5401         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5403         ... here.
5404         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5406         ... here.
5407         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5409         ... here.
5410         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5412         ... here.
5413         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5416         * elf/tls-macros.h (TLS_LE): Move architecture-specific
5417         definitions to architecture-specific files.
5418         (TLS_IE): Likewise.
5419         (TLS_LD): Likewise.
5420         (TLS_GD): Likewise.
5421         * sysdeps/i386/tls-macros.h: New file.
5422         * sysdeps/powerpc/tls-macros.h: Likewise.
5423         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5424         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5425         * sysdeps/sh/tls-macros.h: Likewise.
5426         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5427         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5428         * sysdeps/x86_64/tls-macros.h: Likewise.
5430 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5432         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5433         zero value for regular exit case.
5435         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5436         (__start_context): Preserve zero value for regular exit case.
5438 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5439             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5441         * manual/setjmp.texi (setcontext): Clarify normal process
5442         termination when uc_link is the null pointer.
5443         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5444         exit call.
5446 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
5448         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5449         preprocessor.  Test for each exception mask separately.
5451 2012-07-16  Andreas Jaeger  <aj@suse.de>
5453         * po/ru.po: Update from translation team.
5455 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
5457         * conform/data/string.h-data (NULL): Use macro-constant.  Require
5458         equal to 0.
5459         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5460         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5461         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5462         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5463         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5465 2012-07-13  Andreas Jaeger  <aj@suse.de>
5467         * po/fr.po: Update from translation team.
5469 2012-07-12  Marek Polacek  <polacek@redhat.com>
5471         [BZ #14173]
5472         * math/libm-test.inc (yn_test): Add test for BZ #14173.
5473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5474         loop condition.
5476 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
5478         [BZ #13717]
5479         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5480         Change to 2.4.1 where previously 2.4.0.
5481         * sysdeps/unix/sysv/linux/configure: Regenerated.
5482         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5483         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5484         version.
5485         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5486         (__ASSUME_AT_CLKTCK): Remove.
5487         (__ASSUME_AT_PAGESIZE): Likewise.
5488         (__ASSUME_AT_XID): Likewise.
5489         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5490         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5491         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5492         unconditionally.
5493         (HAVE_AUX_PAGESIZE): Likewise.
5494         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5495         [__ASSUME_AT_CLKTCK]: Make code unconditional.
5496         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5498 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
5500         [BZ #14307]
5501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5502         the temporary buffer used to invoke __gethostbyname2_r,
5503         __gethostbyaddr_r and gethostbyname4_r to make room for struct
5504         host_data / struct gaih_addrtuple.
5505         * resolv/nss_dns/dns-host.c (global scope): Move definition of
5506         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5507         header file nss/nsswitch.h.
5508         * nss/nsswitch.h (global scope): Add definition of implementation
5509         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5510         resolv/nss_dns/dns-host.c).
5512 2012-07-11  Andreas Jaeger  <aj@suse.de>
5514         * po/fr.po: Update from translation team.
5516         * po/sv.po: Update from translation team
5517         * po/fr.po: Another update from translation team.
5519 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5522         for subnormals or multiply small sinh result by itself.
5523         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5526 2012-07-11  David S. Miller  <davem@davemloft.net>
5528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5530 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
5532         [BZ #14347]
5533         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5534         (INTERNAL_MARK): Shift it here.
5536 2012-07-10  Marek Polacek  <polacek@redhat.com>
5538         [BZ #14151]
5539         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
5540         libc_cv_asm_global_directive with .globl.
5541         * configure: Regenerated.
5542         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5543         with .globl.
5544         * sysdeps/i386/configure: Regenerated.
5545         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5546         with .globl.
5547         * sysdeps/x86_64/configure: Regenerated.
5548         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5549         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5550         * elf/tst-unique2mod2.c: Likewise.
5551         * elf/tst-unique2mod1.c: Likewise.
5552         * elf/tst-unique1mod2.c: Likewise.
5553         * elf/tst-unique1mod1.c: Likewise.
5554         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5555         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5557         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5558         * sysdeps/mach/sysdep.h: Likewise.
5559         * sysdeps/i386/sysdep.h: Likewise.
5560         * sysdeps/i386/i386-mcount.S: Likewise.
5561         * sysdeps/x86_64/_mcount.S: Likewise.
5562         * sysdeps/x86_64/sysdep.h: Likewise.
5563         * sysdeps/sh/_mcount.S: Likewise.
5564         * sysdeps/sh/sysdep.h: Likewise.
5565         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5566         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5567         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5568         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5569         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5570         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5571         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5572         * locale/localeinfo.h: Likewise.
5573         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5574         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5576 2012-07-09  Roland McGrath  <roland@hack.frob.com>
5578         [BZ #14336]
5579         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5580         system".
5581         * manual/message.texi (The Uniforum approach): Likewise.
5582         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5583         (glibc iconv Implementation): Likewise.
5585 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
5587         [BZ #14337]
5588         * math/s_clog.c (__clog): Avoid scaling a value down where that
5589         could result in underflow.
5590         * math/s_clog10.c (__clog10): Likewise.
5591         * math/s_clog10f.c (__clog10f): Likewise.
5592         * math/s_clog10l.c (__clog10l): Likewise.
5593         * math/s_clogf.c (__clogf): Likewise.
5594         * math/s_clogl.c (__clogl): Likewise.
5595         * math/libm-test.inc (clog_test): Add more tests.
5596         (clog10_test): Likewise.
5597         * sysdeps/i386/fpu/libm-test-ulps: Update.
5598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5600 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
5602         [BZ #14283]
5603         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5604         by 7 not 8 to examine high bit of fractional part.
5606         [BZ #14042]
5607         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5608         for call to __mcount_internal.
5609         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5610         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5611         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5613 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
5615         [BZ #14154]
5616         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5617         approximation for values within 0x1p-13f of an odd multiple of
5618         pi/4.
5619         * math/libm-test.inc (tan_test): Do not allow spurious underflow
5620         exception.  Add more tests.
5621         * sysdeps/i386/fpu/libm-test-ulps: Update.
5623         [BZ #6778]
5624         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5625         inputs and return -1 for them.  Do not check for +Inf in case not
5626         reachable for +Inf.
5627         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5628         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5629         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5630         and return -1 for them.  Do not check for +Inf in case not
5631         reachable for +Inf.
5632         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5633         define.
5634         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5635         and return -1 for them.  Do not check for +Inf in case not
5636         reachable for +Inf.
5637         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
5638         spurious underflow.
5639         * sysdeps/i386/fpu/libm-test-ulps: Update.
5640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5642 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
5644         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5646 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
5648         [BZ #14157]
5649         [BZ #14331]
5650         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5651         could result in spurious underflow.  Scale down values above
5652         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5653         * math/s_csqrtf.c (__csqrtf): Likewise.
5654         * math/s_csqrtl.c (__csqrtl): Likewise.
5655         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
5656         spurious underflow.
5657         * sysdeps/i386/fpu/libm-test-ulps: Update.
5658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5660 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5662         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5663         xopen-msg.sed.
5664         * catgets/xopen-msg.awk: New file.
5665         * catgets/xopen-msg.sed: Removed.
5667         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5668         po2text.sed.
5669         * intl/po2test.awk: New file.
5670         * intl/po2test.sed: Removed.
5672 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
5674         [BZ #14328]
5675         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5676         or multiply small sinh result by itself.
5677         * math/s_ctanf.c (__ctanf): Likewise.
5678         * math/s_ctanh.c (__ctanh): Likewise.
5679         * math/s_ctanhf.c (__ctanhf): Likewise.
5680         * math/s_ctanhl.c (__ctanhl): Likewise.
5681         * math/s_ctanl.c (__ctanl): Likewise.
5682         * math/libm-test.inc (ctan_test_tonearest): New function.
5683         (ctan_test_towardzero): Likewise.
5684         (ctan_test_downward): Likewise.
5685         (ctan_test_upward): Likewise.
5686         (ctanh_test_tonearest): Likewise.
5687         (ctanh_test_towardzero): Likewise.
5688         (ctanh_test_downward): Likewise.
5689         (ctanh_test_upward): Likewise.
5690         (main): Call these new functions.
5691         * sysdeps/i386/fpu/libm-test-ulps: Update.
5692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5694 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
5696         * .gitignore: Delete /ports entry.
5698 2012-07-03  Andreas Jaeger  <aj@suse.de>
5700         * po/bg.po: Update from translation team.
5701         * po/cs.po: Likewise.
5702         * po/de.po: Likewise.
5703         * po/hr.po: Likewise.
5704         * po/nl.pl: Likewise.
5705         * po/pl.po: Likewise.
5706         * po/vi.po: Likewise.
5708 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
5710         * Makeconfig [!+link] (+link-before-libc): New variable.
5711         [!+link] (+link-after-libc): Likewise.
5712         [!+link] (+link-tests): Likewise.
5713         [!+link] (+link): Define in terms of $(+link-before-libc) and
5714         $(+link-after-libc).
5715         [!+link-static] (+link-static-before-libc): New variable.
5716         [!+link-static] (+link-static-after-libc): Likewise.
5717         [!+link-static] (+link-static-tests): Likewise.
5718         [!+link-static] (+link-static): Define in terms of
5719         $(+link-static-before-libc) and $(+link-static-after-libc).
5720         [build-shared] (link-libc-before-gnulib): New variable.
5721         [build-shared] (link-libc-tests): Likewise.
5722         [build-shared] (link-libc): Define in terms of
5723         $(link-libc-before-gnulib).
5724         [!build-shared] (link-libc-tests): New variable.
5725         (link-libc-static-tests): New variable.
5726         [!gnulib] (gnulib-arch): New variable.
5727         [!gnulib] (gnulib-tests): Likewise.
5728         [!gnulib] (static-gnulib-arch): Likewise.
5729         [!gnulib] (static-gnulib-tests): Likewise.
5730         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
5731         Define with "=" instead of ":=".
5732         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
5733         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
5734         * Rules (binaries-all-notests): New variable.
5735         (binaries-all-tests): Likewise.
5736         (binaries-static-notests): Likewise.
5737         (binaries-static-tests): Likewise.
5738         (binaries-all): Define using $(binaries-all-notests) and
5739         $(binaries-all-tests).
5740         (binaries-static): Define using $(binaries-static-notests) and
5741         $(binaries-static-tests).
5742         (binaries-shared-tests): New variable.
5743         (binaries-shared-notests): Likewise.
5744         (binaries-shared): Remove variable.
5745         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5746         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5747         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5748         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5749         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5750         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5751         * elf/Makefile (sln-modules): New variable.
5752         (extra-objs): Add $(sln-modules:=.o).
5753         (ldconfig-modules): Add static-stubs.
5754         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5755         * elf/static-stubs.c: New file.
5757         [BZ #14283]
5758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5759         by 7 not 8 to examine high bit of fractional part.  Use volatile
5760         variables when splitting into final array of floats if
5761         __FLT_EVAL_METHOD__ != 0.
5762         * math/libm-test.inc (cos_test): Add another test.
5763         (sin_test): Likewise.
5764         * sysdeps/i386/fpu/libm-test-ulps: Update.
5766         [BZ #14273]
5767         * math/libm-test.inc (cosh_test): Add more tests.
5769         * version.h (RELEASE): Set to "development".
5770         (VERSION): Set to "2.16.90".
5772 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
5774         * NEWS: Update copyright. Remove last-updated date.
5775         Mention math library bug fixes and timezone data changes.
5776         * README: Mention GNU/Hurd, x32, and HPPA support status.
5778 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
5780         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5782 2012-06-27  Andreas Jaeger  <aj@suse.de>
5784         * manual/contrib.texi (Contributors): Add Samuel Thibault.
5786 2012-06-25  Andreas Jaeger  <aj@suse.de>
5788         * sysdeps/s390/fpu/libm-test-ulps: Update.
5790 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
5791             Thomas Schwinge  <thomas@codesourcery.com>
5793         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5794         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5796         fanotify_mark.
5798 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
5800         * sysdeps/mach/start.c: Remove file.
5801         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5802         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5803         * sysdeps/sh/init-first.c: Likewise.
5805         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5806         registers for frame unwinding purposes, add CFI directives.
5807         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5808         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5809         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5810         Likewise.
5812         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5813         __fortify_fail returning.
5814         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5816         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5817         sysdeps/sh/____longjmp_chk.S.
5818         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5819         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5820         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5821         (gen-as-const-headers): Append sigaltstack-offsets.sym.
5823         * sysdeps/sh/abort-instr.h: New file.
5824         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5825         process in case exit returns.
5827         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5828         initialize the GOT register before use.
5830         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5831         calculation of ARGC > 4.
5833         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5834         meaningful names to some local labels.
5836 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5837             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5839         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5840         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5841         (__arch_compare_and_exchange_val_16_acq): Likewise.
5842         (__arch_compare_and_exchange_val_32_acq): Likewise.
5843         (atomic_exchange_and_add): Fix gUSA sequence.
5844         (atomic_add): Likewise.
5845         (atomic_add_negative): Likewise.
5846         (atomic_add_zero): Likewise.
5847         (atomic_bit_test_set): Likewise.
5849 2012-06-22  Andreas Schwab  <schwab@redhat.com>
5851         [BZ #13579]
5852         * include/link.h (struct link_map): Add l_free_initfini.
5853         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5854         l_initfini.
5855         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5856         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5857         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5858         set.
5860 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
5862         * configure.in: Use AC_LANG_SOURCE.
5863         * configure: Regenerate.
5865 2012-06-22  Roland McGrath  <roland@hack.frob.com>
5867         * configure.in (libc_cv_localstatedir): New substituted variable.
5868         * configure: Regenerated.
5869         * config.make.in (localstatedir): New variable, substituted from
5870         libc_cv_localstatedir.
5871         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5872         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5873         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5874         * sysdeps/gnu/configure: Regenerated.
5876 2012-06-21  Jeff Law  <law@redhat.com>
5878         [BZ #14277]
5879         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5880         free.  Simplify list management for _LIBC case.
5882 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
5884         [BZ #14273]
5885         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5886         Clear sign bit of 64-bit integer value before comparing against
5887         overflow value.
5889         * sysdeps/mach/configure: Regenerated.
5891 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
5893         [BZ #14278]
5894         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5896 2012-06-21  Jeff Law  <law@redhat.com>
5898         [BZ #13882]
5899         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
5900         uint16_t for elements in the "seen" array to avoid char overflows.
5901         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5902         * elf/dl-open.c (dl_open_worker): Likewise.
5904 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
5906         * scripts/list-sources.sh: Scan PORTS for translations.
5907         * po/libc.pot: Regenerated.
5909 2012-06-21  Andreas Jaeger  <aj@suse.de>
5911         [BZ #12194]
5912         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5913         warning.
5914         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5915         * bits/byteswap-16.h (__bswap_16): Likewise.
5916         * bits/byteswap.h (__bswap_constant_16): Likewise.
5918 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
5920         [BZ #14117]
5921         * sysdeps/i386/fpu_control.h: Removed.
5922         * sysdeps/x86_64/fpu_control.h: Moved to ...
5923         * sysdeps/x86/fpu_control.h: Here.
5925         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5926         (_FPU_SETCW): Likewise.
5928 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
5930         [BZ #14117]
5931         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5932         * sysdeps/x86/fpu/bits/mathinline.h: This.
5933         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5935         [BZ #14050]
5936         [BZ #14117]
5937         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5938         functions if __x86_64__ is defined.
5940 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
5942         * string/endian.h: Add !__ASSEMBLER__ condition for including
5943         conversion interfaces.
5945 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
5947         [BZ #14241]
5948         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5949         of ABS(x) in calculating zero to negative powers other than odd
5950         integers.
5951         * math/libm-test.inc (pow_test): Add more tests.
5953 2012-06-15  Andreas Jaeger  <aj@suse.de>
5955         * manual/contrib.texi (Contributors): Update entry of Liubov
5956         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5957         Machado Filho.
5959 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
5961         * string/string.h: Add __wur to GNU version of strerror_r.
5963 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
5965         [BZ #14229]
5966         * string/Makefile (tests): Add tst-strtok_r.
5967         * string/tst-strtok_r.c: New file.
5968         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5969         RAX_LP/RDX_LP on SAVE_PTR.
5971 2012-06-14  Roland McGrath  <roland@hack.frob.com>
5973         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5975 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
5977         * libm_test.inc (csqrt_test): Allow more spurious underflow
5978         exceptions.
5979         (j0_test): Likewise.
5980         (j1_test): Likewise.
5981         (y0_test): Likewise.
5982         (y1_test): Likewise.
5984 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
5986         * po/Makefile (libc.pot): Use UTF-8 charset.
5988 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
5990         [BZ #14210]
5991         Suppress sign-conversion warning from FD_SET.
5992         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5993         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5994         not unsigned long int.
5995         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5997 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
5999         [BZ #14050]
6000         [BZ #14117]
6001         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6002         __extern_always_inline instead of __extern_inline.
6003         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6004         (__signbit): Likewise.
6005         (__signbitl): Support C++ namespace.
6006         (lrintf): New inline function.
6007         (lrint): Likewise.
6008         (llrintf): Likewise.
6009         (llrint): Likewise.
6010         (fmaxf): Likewise.
6011         (fmax): Likewise.
6012         (fminf): Likewise.
6013         (fmin): Likewise.
6014         (rint): Likewise.
6015         (rintf): Likewise.
6016         (ceil): Likewise.
6017         (ceilf): Likewise.
6018         (floor): Likewise.
6019         (floorf): Likewise.
6020         (nearbyint): Likewise.
6021         (nearbyintf): Likewise.
6023 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
6025         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6026         non-default versions.
6028 2012-06-11  Roland McGrath  <roland@hack.frob.com>
6030         [BZ #14218]
6031         * manual/argp.texi (Argp): Reword argp_parse description slightly.
6033 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
6035         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6036         (FE_UPWARD, FE_DOWNWARD): Don't define.
6037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6038         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6040         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6041         reading it.
6042         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6043         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6045 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6047         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6049         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6050         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6052 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6054         [BZ #14117]
6055         * sysdeps/i386/fpu/bits/fenv.h: Removed.
6056         * sysdeps/i386/fpu/Implies: New file.
6057         * sysdeps/x86_64/fpu/Implies: Likewise.
6058         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6059         * sysdeps/x86/fpu/bits/fenv.h: This.
6061         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6062         __SSE_MATH__.
6064 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6066         [BZ #14134]
6067         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6068         character 0xffff that matches the last element of the
6069         conversion table.
6071 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6074         fmodl commit.
6076 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6079         values higher than 25.6283.
6081 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6083         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6084         subnormal exponent extraction and add some __builtin_expect.
6085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6086         Fix for subnormal mantissa calculation.
6088 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
6090         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6091         cpu2 is -1 and errno is not ENOSYS.
6093 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
6095         [BZ #14117]
6096         * sysdeps/i386/i486/bits/string.h: Renamed to ...
6097         * sysdeps/x86/bits/string.h: This.
6098         * sysdeps/x86_64/bits/string.h: Removed.
6100         * sysdeps/i386/i486/bits/string.h: Define inline functions only
6101         if not compiling for x86-64, but compiling for >= i486.
6103         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6104         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6106         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6107         New macro from Linux kernel 3.4.0.
6108         (FP_XSTATE_MAGIC2): Likewise.
6109         (FP_XSTATE_MAGIC2_SIZE): Likewise.
6110         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6111         (struct _fpx_sw_bytes): New struct.
6112         (struct _xsave_hdr): Likewise.
6113         (struct _ymmh_state): Likewise.
6114         (struct _xstate): Likewise.
6116         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6117         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6118         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6119         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6120         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6121         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6123         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6124         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6125         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6126         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6127         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6128         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6130 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6132         [BZ #13743]
6133         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6134         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6135         (sysdep_headers): Include sys/platform/ppc.h.
6136         * sysdeps/powerpc/test-gettimebase.c: Test for
6137         __ppc_get_timebase() to catch future ISA opcode/insn changes.
6138         * manual/Makefile (appendices): Include platform.texi.
6139         * manual/contrib.texi (Contributors): Update @node pointers.
6140         * manual/maint.texi (Maintenance): Likewise.
6141         (Platform): New node.
6142         * manual/platform.texi: New file.  Document the new features.
6144 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6145             Jakub Jelinek  <jakub@redhat.com>
6147         [BZ #14188]
6148         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6149         where __builtin_expect is unavailable.
6151 2012-06-03  David S. Miller  <davem@davemloft.net>
6153         * stdlib/longlong.h: Updated from GCC.
6155 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
6157         [BZ #14042]
6158         * sysdeps/powerpc/powerpc32/mcount.c: New file.
6159         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6160         __mcount_internal.
6161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6162         (GLIBC_2.16): Likewise.
6164 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6166         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6168 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6171         (default-abi): New variable.
6172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6173         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6174         variable.
6175         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6176         Likewise.
6177         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6178         Likewise.
6179         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6180         Likewise.
6182         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6183         definition.  Document in comment.
6185 2012-06-01  David S. Miller  <davem@davemloft.net>
6187         * stdlib/longlong.h: Updated from GCC.
6189 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6191         [BZ #14117]
6192         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6193         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6194         sys/debugreg.h sys/io.h here.
6195         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6196         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6197         sys/io.h.
6198         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6199         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6200         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6201         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6202         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6203         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6206         Define only if __x86_64__ is defined.
6208 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6210         [BZ #14048]
6211         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6212         Use int64_t for variable i.
6213         * math/libm-test.inc (fmod_test): Add more tests.
6215         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6216         z computation is not scheduled after fetestexcept.
6217         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6218         Use math_force_eval instead of asm to ensure calculation scheduled
6219         before exception test.
6220         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6221         Ensure a1 + u.d computation is not scheduled after fetestexcept.
6223 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
6225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6226         computation is not scheduled after fetestexcept.
6228 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6230         [BZ #14117]
6231         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6232         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6234 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6236         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6237         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6239 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
6241         [BZ #14117]
6242         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6243         <bits/wordsize.h>.
6244         (__WCHAR_MIN): Support __WORDSIZE == 64.
6245         (__WCHAR_MAX): Likewise.
6247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6248         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6250         [BZ #14183]
6251         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6252         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6254         [BZ #14117]
6255         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6256         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6258         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6259         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6261         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6262         Defined to 1 if __x86_64__ isn't defined.
6263         (_STAT_VER_LINUX_OLD): New.
6264         (st_atime): Remove duplicate.
6265         (st_mtime): Likewise.
6266         (st_ctime): Likewise.
6268 2012-05-31  David S. Miller  <davem@davemloft.net>
6270         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6271         entries.
6273 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
6275         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6276         gen-libm-test.pl.
6278         [BZ #14132]
6279         * elf/dl-reloc.c: Include <_itoa.h>.
6280         (_dl_reloc_bad_type): Remove use of INTUSE.
6281         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6282         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6283         * stdio-common/psiginfo.c (psiginfo): Likewise.
6284         * stdio-common/psignal.c (psignal): Likewise.
6285         * string/strsignal.c (strsignal): Likewise.
6286         * include/signal.h (_sys_siglist): Declare hidden proto.
6287         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
6288         INTVARDEF with libc_hidden_data_def.
6289         * stdio-common/itoa-udigits.c: Likewise.
6290         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6291         (_itoa_lower_digits_internal): Remove declaration.
6292         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6293         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6294         (_sys_sigabbrev_internal): Remove aliases.
6295         (_sys_siglist): Define hidden alias.
6297 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
6299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6300         bits/sysctl.h.
6302 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
6304         [BZ #14117]
6305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6306         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6308         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6309         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6310         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6311         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6312         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6313         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6315         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6316         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6317         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6319         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6320         with __addr.
6321         (insw): Likewise.
6322         (insl): Likewise.
6323         (outsb): Likewise.
6324         (outsw): Likewise.
6325         (outsl): Likewise.
6327         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6328         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6329         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6331         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6332         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6333         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6334         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6335         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6336         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6338         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6339         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6341         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6342         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6344         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6346         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6348         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6349         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6350         to ...
6351         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6353         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6354         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6355         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6357         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6358         for x86-64.
6359         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6361 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
6363         * math/math.h (M_El): Use two more decimal places.
6364         (M_LOG2El): Likewise.
6365         (M_LOG10El): Likewise.
6366         (M_LN2l): Likewise.
6367         (M_LN10l): Likewise.
6368         (M_PIl): Likewise.
6369         (M_PI_2l): Likewise.
6370         (M_PI_4l): Likewise.
6371         (M_1_PIl): Likewise.
6372         (M_2_PIl): Likewise.
6373         (M_2_SQRTPIl): Likewise.
6374         (M_SQRT2l): Likewise.
6375         (M_SQRT1_2l): Likewise.
6377 2012-05-31  David S. Miller  <davem@davemloft.net>
6379         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6380         values between float registers.
6381         * sysdeps/sparc/sparc64/memset.S: Likewise.
6382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6384 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
6386         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6387         -D_FORTIFY_SOURCE=1.
6388         (CPPFLAGS-tst-longjmp_chk.c): Define.
6389         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6390         (CPPFLAGS-tst-longjmp_chk2.c): Define.
6391         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6392         CFLAGS-tst-wchar-h.c.
6394 2012-05-31  Marek Polacek  <polacek@redhat.com>
6396         [BZ #14132]
6397         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6398         __endmntent_internal): Remove declaration.
6399         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6400         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6401         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6403 2012-05-30  David S. Miller  <davem@davemloft.net>
6405         * sysdeps/sparc/sparc32/soft-fp/q_util.c
6406         (___Q_simulate_exceptions): Use real FP ops rather than writing
6407         into the %fsr.
6408         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6409         Likewise.
6411 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6413         [BZ #14117]
6414         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6415         * sysdeps/x86/bits/xtitypes.h: This.
6417         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6418         * sysdeps/x86/bits/wordsize.h: This.
6420         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6421         * sysdeps/x86/bits/huge_vall.h: This.
6423         * sysdeps/i386/bits/select.h: Removed.
6424         * sysdeps/x86_64/bits/select.h: Renamed to ...
6425         * sysdeps/x86/bits/select.h: This.
6427         * sysdeps/i386/bits/setjmp.h: Removed.
6428         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6429         * sysdeps/x86/bits/setjmp.h: This.
6431         * sysdeps/i386/bits/mathdef.h: Removed.
6432         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6433         * sysdeps/x86/bits/mathdef.h: This.
6435 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
6437         [BZ #14132]
6438         * include/sys/socket.h (__connect_internal)
6439         (__libc_sa_len_internal): Remove declaration.
6440         (__connect, __libc_sa_len): Declare hidden_proto.
6441         (SA_LEN): Remove use of INTUSE.
6442         * socket/connect.c: Add libc_hidden_def.
6443         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6444         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6445         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6446         alias.
6447         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6448         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6449         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6450         of adding _internal alias.
6452 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6454         [BZ #14117]
6455         * sysdeps/i386/bits/link.h: Removed.
6456         * sysdeps/i386/bits/linkmap.h: Likewise.
6457         * sysdeps/x86_64/bits/link.h: Renamed to ...
6458         * sysdeps/x86/bits/link.h: This.
6459         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6460         * sysdeps/x86/bits/linkmap.h: This.
6462         * sysdeps/i386/bits/endian.h: Removed.
6463         * sysdeps/x86_64/bits/endian.h: Renamed to ...
6464         * sysdeps/x86/bits/endian.h: This.
6466         * sysdeps/i386/bits/byteswap.h: Removed.
6467         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6468         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6469         * sysdeps/x86/bits/byteswap.h: This.
6470         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6471         * sysdeps/x86/bits/byteswap-16.h: This.
6472         * sysdeps/i386/Implies: Add x86.
6473         * sysdeps/x86_64/Implies: Likewise.
6475 2012-05-30  David S. Miller  <davem@davemloft.net>
6477         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6478         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6480         (FP_TRAPPING_EXCEPTIONS): Define.
6481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6482         (FP_TRAPPING_EXCEPTIONS): Define.
6483         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6484         subnormals only when inexact has been signalled or underflow
6485         exceptions are enabled.
6486         (_FP_PACK_CANONICAL): Likewise.
6488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6490         [BZ #14183]
6491         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6492         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6494 2012-05-30  Richard Henderson  <rth@twiddle.net>
6496         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6497         with #ifndef NOT_IN_libc.
6499         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
6500         marked to avoid plt entry.
6502 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6504         [BZ #14112]
6505         * Makeconfig (default-abi): New macro.
6506         (abi-includes): Likewise.
6507         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
6508         $(abi-$(default-abi)-lib-soname) for soname if defined.
6509         ($(common-objpfx)gnu/lib-names.stmp): Generate from
6510         abi-variants.
6511         * Makefile (installed-stubs): Likewise.
6512         * include/stubs-biarch.h: Removed.
6513         * scripts/lib-names.awk: Only handle one library at a time.
6514         * scripts/soversions.awk: Remove WORDSIZE support.
6515         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6516         entries.
6517         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6518         Removed.
6519         (syscall-list-default-condition): Likewise.
6520         (syscall-list-default-condition): Likewise.
6521         (syscall-list-includes): Likewise.
6522         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6523         syscall-list-* with abi-*.  Handle undefined abi-variants.
6524         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6525         * sysdeps/unix/sysv/linux/i386/Implies: New file.
6526         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6527         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6528         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6529         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6530         Removed.
6531         (syscall-list-32-options): Likewise.
6532         (syscall-list-32-condition): Likewise.
6533         (syscall-list-64-options): Likewise.
6534         (syscall-list-64-condition): Likewise.
6535         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6536         macro.
6537         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6538         Renamed to ...
6539         (abi-*): This.
6540         (abi-64-ld-soname): New macro.
6541         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6542         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6543         Renamed to ...
6544         (abi-*): This.
6545         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6546         * sysdeps/x86_64/x32/shlib-versions: Likewise.
6548 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
6550         * sysdeps/unix/sysv/linux/kernel-features.h
6551         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6552         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6553         include <kernel-features.h>.
6554         [!__NR_ftruncate64]: Remove conditional code.
6555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6556         [__NR_ftruncate64]: Make code unconditional.
6557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6558         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
6577         * configure.in (libc_cv_fpie): Weaken to a compile test using
6578         LIBC_TRY_CC_OPTION.
6579         * configure: Regenerated.
6581 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6587         Refreshed.
6588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6594         Refreshed.
6596 2012-05-27  David S. Miller  <davem@davemloft.net>
6598         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6599         (___Q_zero): New.
6600         (__Q_simulate_exceptions): Return void.  Change to simulate
6601         exceptions by writing into the %fsr.
6602         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6603         (__Qp_handle_exceptions): Likewise.
6604         (numbers): Delete.
6605         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6606         __Qp_handle_exceptions.
6607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6608         __Qp_handle_exceptions.
6609         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6610         as unused and give dummy FP_RND_NEAREST initializer.
6611         (FP_INHIBIT_RESULTS): Define.
6612         (___Q_simulate_exceptions): Update declaration.
6613         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6614         formatting.
6615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6616         as unused and give dummy FP_RND_NEAREST initializer.
6617         (__Qp_handle_exceptions): Update declaration.
6618         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6619         formatting.
6621 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
6623         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6624         the temporary FPU control word.
6625         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6626         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6627         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6628         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6629         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6630         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6631         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6632         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6633         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6634         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6635         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6637 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6639         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6640         fields.
6642 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
6644         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6645         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6646         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6647         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6648         Likewise.
6649         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6650         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6651         Likewise.
6653 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
6655         * po/h.po: Update from translation team.
6657 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
6659         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6662         handling of denormals.
6663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6664         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6665         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6666         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6670         Likewise.
6672 2012-05-26  Marek Polacek  <polacek@redhat.com>
6674         [BZ #14152]
6675         * math/libm-test.inc (fma_test): Don't always expect underflow
6676         exception.
6678 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6680         [BZ #12416]
6681         * elf/tst-execstack.c: Include stackinfo.h.
6682         (do_test): Adjust test case to ensure that pthread_getattr_np
6683         behaviour remains the same after marking stack executable.
6685 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6687         * sysdeps/unix/sysv/linux/kernel-features.h
6688         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6689         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6690         kernel-features.h.
6691         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6692         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6693         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6694         kernel-features.h.
6695         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6696         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6698 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
6700         * configure.in: Define the default includes to being none.
6701         * configure: Regenerated.
6703 2012-05-25  Roland McGrath  <roland@hack.frob.com>
6705         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6706         * sysdeps/x86_64/setjmp.S: Likewise.
6707         * sysdeps/i386/bsd-setjmp.S: Likewise.
6708         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6709         * sysdeps/i386/setjmp.S: Likewise.
6710         * sysdeps/i386/__longjmp.S: Likewise.
6711         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6712         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6714         * include/stap-probe.h: New file.
6715         * configure.in: Handle --enable-systemtap.
6716         * configure: Regenerated.
6717         * config.h.in (USE_STAP_PROBE): New #undef.
6718         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6719         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6720         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6722 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6724         [BZ #13717]
6725         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6726         to 2.4.0 where earlier.
6727         * sysdeps/unix/sysv/linux/configure: Regenerated.
6728         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6729         <kernel-features.h>.
6730         [__ASSUME_32BITUIDS]: Make code unconditional.
6731         [!__ASSUME_32BITUIDS]: Remove conditional code.
6732         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6733         <kernel-features.h>.
6734         [__ASSUME_32BITUIDS]: Make code unconditional.
6735         [!__ASSUME_32BITUIDS]: Remove conditional code.
6736         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6737         [__ASSUME_32BITUIDS]: Make code unconditional.
6738         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6739         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6740         <kernel-features.h>.
6741         [__ASSUME_32BITUIDS]: Make code unconditional.
6742         [!__ASSUME_32BITUIDS]: Remove conditional code.
6743         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6744         <kernel-features.h>.
6745         [__ASSUME_32BITUIDS]: Make code unconditional.
6746         [!__ASSUME_32BITUIDS]: Remove conditional code.
6747         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6748         <kernel-features.h>.
6749         [__ASSUME_32BITUIDS]: Make code unconditional.
6750         [!__ASSUME_32BITUIDS]: Remove conditional code.
6751         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6752         <kernel-features.h>.
6753         [__ASSUME_32BITUIDS]: Make code unconditional.
6754         [!__ASSUME_32BITUIDS]: Remove conditional code.
6755         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6756         <kernel-features.h>.
6757         [__ASSUME_32BITUIDS]: Make code unconditional.
6758         [!__ASSUME_32BITUIDS]: Remove conditional code.
6759         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6760         <kernel-features.h>.
6761         [__ASSUME_32BITUIDS]: Make code unconditional.
6762         [!__ASSUME_32BITUIDS]: Remove conditional code.
6763         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6764         <kernel-features.h>.
6765         [__ASSUME_32BITUIDS]: Make code unconditional.
6766         [!__ASSUME_32BITUIDS]: Remove conditional code.
6767         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6768         <kernel-features.h>.
6769         [__ASSUME_32BITUIDS]: Make code unconditional.
6770         [!__ASSUME_32BITUIDS]: Remove conditional code.
6771         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6772         <kernel-features.h>.
6773         [__ASSUME_32BITUIDS]: Make code unconditional.
6774         [!__ASSUME_32BITUIDS]: Remove conditional code.
6775         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6776         <kernel-features.h>.
6777         [__ASSUME_32BITUIDS]: Make code unconditional.
6778         [!__ASSUME_32BITUIDS]: Remove conditional code.
6779         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6780         <kernel-features.h>.
6781         [__NR_setresgid] (__setresgid): Do not declare.
6782         [__ASSUME_32BITUIDS]: Make code unconditional.
6783         [!__ASSUME_32BITUIDS]: Remove conditional code.
6784         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6785         <kernel-features.h>.
6786         [__NR_setresuid] (__setresuid): Do not declare.
6787         [__ASSUME_32BITUIDS]: Make code unconditional.
6788         [!__ASSUME_32BITUIDS]: Remove conditional code.
6789         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6790         <kernel-features.h>.
6791         [__ASSUME_32BITUIDS]: Make code unconditional.
6792         [!__ASSUME_32BITUIDS]: Remove conditional code.
6793         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6794         <kernel-features.h>.
6795         [__ASSUME_32BITUIDS]: Make code unconditional.
6796         [!__ASSUME_32BITUIDS]: Remove conditional code.
6797         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6798         <kernel-features.h>.
6799         [__ASSUME_32BITUIDS]: Make code unconditional.
6800         [!__ASSUME_32BITUIDS]: Remove conditional code.
6801         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6802         <kernel-features.h>.
6803         [__ASSUME_32BITUIDS]: Make code unconditional.
6804         [!__ASSUME_32BITUIDS]: Remove conditional code.
6805         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6806         <kernel-features.h>.
6807         [__ASSUME_32BITUIDS]: Make code unconditional.
6808         [!__ASSUME_32BITUIDS]: Remove conditional code.
6809         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6810         <kernel-features.h>.
6811         [__ASSUME_32BITUIDS]: Make code unconditional.
6812         [!__ASSUME_32BITUIDS]: Remove conditional code.
6813         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6814         <kernel-features.h>.
6815         [__ASSUME_32BITUIDS]: Make code unconditional.
6816         [!__ASSUME_32BITUIDS]: Remove conditional code.
6817         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6818         <kernel-features.h>.
6819         [__ASSUME_32BITUIDS]: Make code unconditional.
6820         [!__ASSUME_32BITUIDS]: Remove conditional code.
6821         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6822         <kernel-features.h>.
6823         [__ASSUME_32BITUIDS]: Make code unconditional.
6824         [!__ASSUME_32BITUIDS]: Remove conditional code.
6825         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6826         <kernel-features.h>.
6827         [__ASSUME_32BITUIDS]: Make code unconditional.
6828         [!__ASSUME_32BITUIDS]: Remove conditional code.
6829         * sysdeps/unix/sysv/linux/kernel-features.h
6830         (__ASSUME_SETRESUID_SYSCALL): Remove.
6831         (__ASSUME_SETRESGID_SYSCALL): Likewise.
6832         (__ASSUME_32BITUIDS): Likewise.
6833         (__ASSUME_LDT_WORKS): Likewise.
6834         (__ASSUME_O_DIRECTORY): Likewise.
6835         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6836         architecture but not kernel version.
6837         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6838         (__ASSUME_MMAP2_SYSCALL): Likewise.
6839         (__ASSUME_STAT64_SYSCALL): Likewise.
6840         (__ASSUME_IPC64): Likewise.
6841         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6842         <kernel-features.h>.
6843         [__ASSUME_32BITUIDS]: Make code unconditional.
6844         [!__ASSUME_32BITUIDS]: Remove conditional code.
6845         * sysdeps/unix/sysv/linux/opendir.c: Do not include
6846         <kernel-features.h>.
6847         [__ASSUME_O_DIRECTORY]: Make code unconditional.
6848         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6849         132096]: Remove conditional code.
6850         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6851         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6852         <kernel-features.h>.
6853         [__ASSUME_32BITUIDS]: Make code unconditional.
6854         [!__ASSUME_32BITUIDS]: Remove conditional code.
6855         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6856         <kernel-features.h>.
6857         [__ASSUME_32BITUIDS]: Make code unconditional.
6858         [!__ASSUME_32BITUIDS]: Remove conditional code.
6859         * sysdeps/unix/sysv/linux/setegid.c: Do not include
6860         <kernel-features.h>.
6861         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6862         unconditional.
6863         (__setresgid): Do not declare.
6864         [__ASSUME_32BITUIDS]: Make code unconditional.
6865         [!__ASSUME_32BITUIDS]: Remove conditional code.
6866         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6867         <kernel-features.h>.
6868         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6869         unconditional.
6870         (__setresuid): Do not declare.
6871         [__ASSUME_32BITUIDS]: Make code unconditional.
6872         [!__ASSUME_32BITUIDS]: Remove conditional code.
6873         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6874         <kernel-features.h>.
6875         [__ASSUME_32BITUIDS]: Make code unconditional.
6876         [!__ASSUME_32BITUIDS]: Remove conditional code.
6877         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6878         <kernel-features.h>.
6879         [__ASSUME_32BITUIDS]: Make code unconditional.
6880         [!__ASSUME_32BITUIDS]: Remove conditional code.
6882 2012-05-25  Richard Henderson  <rth@twiddle.net>
6884         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6885         dl_hwcap to ifunc resolver.
6886         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6887         elf_ifunc_invoke.
6888         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6889         dl_hwcap to ifunc resolver.
6890         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6892 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6894         [BZ #14153]
6895         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6896         for |x| <= 2**-26, not 2**-57.
6897         * math/libm-test.inc (acos_test): Do not allow spurious underflow
6898         exception.
6900 2012-05-24  Jeff Law  <law@redhat.com>
6902         * stdio-common/Makefile (tests): Add bug25.
6903         * stdio-common/bug25.c: New test.
6905 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6907         [BZ #13576]
6908         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6909         multiple of MALLOC_ALIGNMENT in size.
6910         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6912 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6914         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6915         Require >= 256.
6916         (FILENAME_MAX): Use macro-int-constant.
6917         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
6918         (_IOFBF): Use macro-int-constant.
6919         (_IOLBF): Likewise.
6920         (_IONBF): Likewise.
6921         (SEEK_CUR): Likewise.
6922         (SEEK_END): Likewise.
6923         (SEEK_SET): Likewise.
6924         (TMP_MAX): Likewise.
6925         (EOF): Use macro-int-constant.  Require < 0.
6926         (NULL): Use macro-constant.  Require == 0.
6927         (stdin): Require type to be FILE *.
6928         (stdout): Likewise.
6929         (stderr): Likewise.
6930         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6931         macro-int-constant.
6932         (EXIT_SUCCESS): Likewise.
6933         (NULL): Use macro-constant.  Require == 0.
6934         (RAND_MAX): Use macro-int-constant.
6935         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6936         [C99-based standards] (strtof): Require function.
6937         [C99-based standards] (strtold): Likewise.
6938         [C99-based standards] (strtoll): Likewise.
6939         [C99-based standards] (strtoull): Likewise.
6940         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6941         [ISO || ISO99 || ISO11] (limits.h): Likewise.
6942         [ISO || ISO99 || ISO11] (math.h): Likewise.
6943         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6944         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6947 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
6949         [BZ #14132]
6950         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6951         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6952         * intl/dgettext.c (DCGETTEXT): Likewise.
6953         * intl/gettext.c (DCGETTEXT): Likewise.
6954         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6955         * posix/regex_internal.h (gettext): Likewise.
6956         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6957         Remove declaration.
6958         * include/argz.h (__argz_count_internal)
6959         (__argz_stringify_internal): Remove declaration.
6960         (__argz_count, __argz_stringify): Declare hidden proto.
6961         * intl/dcgettext.c: Remove use of INTDEF.
6962         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6963         * string/argz-stringify.c: Likewise.
6964         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6965         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6966         Declare hidden proto.
6967         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6968         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6969         Declare hidden proto.
6970         * include/stdio.h (__asprintf_internal): Don't declare.
6971         (__asprintf): Don't define as macro.  Declare hidden proto.
6972         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6973         (__fsetlocking): Declare hidden proto.
6974         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6975         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6976         hidden proto.
6977         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6978         (_IO_setlinebuf): Remove use of INTUSE.
6979         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6980         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6981         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6982         Remove declaration.
6983         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6984         (_IO_do_flush): Remove use of INTUSE.
6985         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6986         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6987         (_IO_adjust_column, _IO_least_wmarker)
6988         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6989         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6990         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6991         (_IO_default_doallocate, _IO_wdefault_doallocate)
6992         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6993         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6994         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6995         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6996         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6997         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6998         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6999         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7000         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7001         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7002         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7003         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7004         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7005         proto.
7006         (_IO_flush_all_internal, _IO_adjust_column_internal)
7007         (_IO_default_uflow_internal, _IO_default_finish_internal)
7008         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7009         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7010         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7011         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7012         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7013         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7014         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7015         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7016         (_IO_file_close_internal, _IO_file_close_it_internal)
7017         (_IO_file_underflow_internal, _IO_file_overflow_internal)
7018         (_IO_file_init_internal, _IO_file_attach_internal)
7019         (_IO_file_fopen_internal, _IO_file_read_internal)
7020         (_IO_file_sync_internal, _IO_file_seek_internal)
7021         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7022         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7023         (_IO_str_underflow_internal, _IO_str_overflow_internal)
7024         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7025         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7026         (_IO_list_all_internal, _IO_link_in_internal)
7027         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7028         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7029         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7030         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7031         (_IO_do_write_internal, _IO_padn_internal)
7032         (_IO_getline_info_internal, _IO_getline_internal)
7033         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7034         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7035         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7036         (_IO_vfscanf_internal, _IO_vfprintf_internal)
7037         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7038         (_IO_init_internal, _IO_un_link_internal): Don't declare.
7039         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7040         with libc_hidden_ver, remove use of INTUSE.
7041         * libio/genops.c: Likewise.
7042         * libio/freopen.c: Likewise.
7043         * libio/freopen64.c: Likewise.
7044         * libio/iofclose.c: Likewise.
7045         * libio/iofdopen.c: Likewise.
7046         * libio/iofflush.c: Likewise.
7047         * libio/iofflush_u.c: Likewise.
7048         * libio/iofgets.c: Likewise.
7049         * libio/iofgets_u.c: Likewise.
7050         * libio/iofopen.c: Likewise.
7051         * libio/iofopncook.c: Likewise.
7052         * libio/iofread.c: Likewise.
7053         * libio/iofread_u.c: Likewise.
7054         * libio/ioftell.c: Likewise.
7055         * libio/iofwrite.c: Likewise.
7056         * libio/iogetline.c: Likewise.
7057         * libio/iogets.c: Likewise.
7058         * libio/iogetwline.c: Likewise.
7059         * libio/iopadn.c: Likewise.
7060         * libio/iopopen.c: Likewise.
7061         * libio/ioseekoff.c: Likewise.
7062         * libio/ioseekpos.c: Likewise.
7063         * libio/iosetbuffer.c: Likewise.
7064         * libio/iosetvbuf.c: Likewise.
7065         * libio/ioungetc.c: Likewise.
7066         * libio/ioungetwc.c: Likewise.
7067         * libio/iovdprintf.c: Likewise.
7068         * libio/iovsprintf.c: Likewise.
7069         * libio/iovsscanf.c: Likewise.
7070         * libio/memstream.c: Likewise.
7071         * libio/obprintf.c: Likewise.
7072         * libio/oldfileops.c: Likewise.
7073         * libio/oldiofclose.c: Likewise.
7074         * libio/oldiofdopen.c: Likewise.
7075         * libio/oldiofopen.c: Likewise.
7076         * libio/oldiopopen.c: Likewise.
7077         * libio/oldstdfiles.c: Likewise.
7078         * libio/putc.c: Likewise.
7079         * libio/setbuf.c: Likewise.
7080         * libio/setlinebuf.c: Likewise.
7081         * libio/stdfiles.c: Likewise.
7082         * libio/strops.c: Likewise.
7083         * libio/vasprintf.c: Likewise.
7084         * libio/vscanf.c: Likewise.
7085         * libio/vsnprintf.c: Likewise.
7086         * libio/vswprintf.c: Likewise.
7087         * libio/wfiledoalloc.c: Likewise.
7088         * libio/wfileops.c: Likewise.
7089         * libio/wgenops.c: Likewise.
7090         * libio/wmemstream.c: Likewise.
7091         * libio/wstrops.c: Likewise.
7092         * libio/__fpurge.c: Likewise.
7093         * libio/__fsetlocking.c: Likewise.
7094         * assert/assert.c: Likewise.
7095         * debug/fgets_chk.c: Likewise.
7096         * debug/fgets_u_chk.c: Likewise.
7097         * debug/fread_chk.c: Likewise.
7098         * debug/fread_u_chk.c: Likewise.
7099         * debug/gets_chk.c: Likewise.
7100         * debug/obprintf_chk.c: Likewise.
7101         * debug/vasprintf_chk.c: Likewise.
7102         * debug/vdprintf_chk.c: Likewise.
7103         * debug/vsnprintf_chk.c: Likewise.
7104         * debug/vsprintf_chk.c: Likewise.
7105         * malloc/mtrace.c: Likewise.
7106         * misc/error.c: Likewise.
7107         * misc/syslog.c: Likewise.
7108         * stdio-common/asprintf.c: Likewise.
7109         * stdio-common/fxprintf.c: Likewise.
7110         * stdio-common/getw.c: Likewise.
7111         * stdio-common/isoc99_fscanf.c: Likewise.
7112         * stdio-common/isoc99_scanf.c: Likewise.
7113         * stdio-common/isoc99_vfscanf.c: Likewise.
7114         * stdio-common/isoc99_vscanf.c: Likewise.
7115         * stdio-common/isoc99_vsscanf.c: Likewise.
7116         * stdio-common/printf-prs.c: Likewise.
7117         * stdio-common/printf_fp.c: Likewise.
7118         * stdio-common/printf_fphex.c: Likewise.
7119         * stdio-common/printf_size.c: Likewise.
7120         * stdio-common/putw.c: Likewise.
7121         * stdio-common/scanf.c: Likewise.
7122         * stdio-common/sprintf.c: Likewise.
7123         * stdio-common/tmpfile.c: Likewise.
7124         * stdio-common/vfprintf.c: Likewise.
7125         * stdio-common/vfscanf.c: Likewise.
7126         * stdlib/strfmon_l.c: Likewise.
7127         * sunrpc/openchild.c: Likewise.
7128         * sunrpc/xdr_stdio.c: Likewise.
7129         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7130         * sysdeps/mach/hurd/tmpfile.c: Likewise.
7132 2012-05-24  Roland McGrath  <roland@hack.frob.com>
7134         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7136         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7137         in the third column, to generate for the shared library an IFUNC
7138         that uses _dl_vdso_vsym.
7139         * Makerules (COMPILE.c, compile-stdin.c): New variables.
7140         * Makeconfig (object-suffixes-noshared): New variable.
7142         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7143         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7144         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7145         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7147         [BZ #14132]
7148         * include/sys/time.h (__gettimeofday): Remove macro.
7149         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7150         * time/gettimeofday.c (__gettimeofday): Remove #undef.
7151         Remove INTDEF.
7152         (__gettimeofday): Add libc_hidden_def.
7153         (gettimeofday): Add libc_hidden_weak.
7154         * sysdeps/mach/gettimeofday.c: Likewise.
7155         * sysdeps/posix/gettimeofday.c: Likewise.
7156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7157         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7158         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7159         (__gettimeofday_internal): Remove strong_alias.
7160         (__gettimeofday): Add libc_hidden_def.
7161         (gettimeofday): Add libc_hidden_weak.
7162         * sysdeps/unix/syscalls.list (gettimeofday):
7163         Remove __gettimeofday_internal alias.
7165 2012-05-24  Daniel Jacobowitz  <drow@false.org>
7166             H.J. Lu  <hongjiu.lu@intel.com>
7168         [BZ #12495]
7169         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7170         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7171         (largebin_index_32_big): New.
7172         (largebin_index): Use it for 16-byte alignment.
7173         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
7174         correction with front_misalign.
7176 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7180         Likewise.
7181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7190         Likewise.
7191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7202         Likewise.
7204         * scripts/data/c++-types-x32-linux-gnu.data: New file.
7205         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7207 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7209         [BZ #10846]
7210         [BZ #14036]
7211         * math/libm-test.inc (exp_test): Add test from bug 14036.
7212         (pow_test): Add test from bug 10846.
7214         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7215         and other flags.
7216         (special_function): Do not include flags in test name.
7217         (parse_args): Likewise.
7218         * sysdeps/i386/fpu/libm-test-ulps: Update.
7219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7220         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7221         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7224         * math/gen-libm-test.pl (%beautify): Add entries for underflow
7225         exceptions.
7226         * math/libm-test.inc ("Philosophy"): Update comment about
7227         exception testing.
7228         (UNDERFLOW_EXCEPTION): New macro.
7229         (UNDERFLOW_EXCEPTION_OK): Likewise.
7230         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7231         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7232         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7233         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7234         (INVALID_EXCEPTION_OK): Update value.
7235         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7236         (OVERFLOW_EXCEPTION_OK): Likewise.
7237         (IGNORE_ZERO_INF_SIGN): Likewise.
7238         (test_exceptions): Handle underflow exceptions.
7239         (acos_test): Update for underflow exception expectations.
7240         (cexp_test): Likewise.
7241         (clog_test): Likewise.
7242         (clog10_test): Likewise.
7243         (csqrt_test): Likewise.
7244         (ctan_test): Likewise.
7245         (ctanh_test): Likewise.
7246         (exp_test): Likewise.
7247         (exp10_test): Likewise.
7248         (exp2_test): Likewise.
7249         (expm1_test): Likewise.
7250         (fma_test): Likewise.
7251         (j0_test): Likewise.
7252         (jn_test): Likewise.
7253         (nexttoward_test): Likewise.
7254         (pow_test): Likewise.
7255         (scalbn_test): Likewise.
7256         (scalbln_test): Likewise.
7257         (tan_test): Likewise.
7258         (y1_test): Likewise.
7259         * sysdeps/i386/fpu/libm-test-ulps: Update.
7260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262 2012-05-23  David S. Miller  <davem@davemloft.net>
7264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7265         (__libc_sigaction): Remove unused local variables.
7267 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7269         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7271 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
7273         mktime: avoid signed integer overflow
7274         * time/mktime.c (__mktime_internal): Do not mishandle the case
7275         where diff == INT_MIN.
7277         mktime: simplify computation of average
7278         * time/mktime.c (ranged_convert): Use new time_t_avg function
7279         instead of rolling our own (probably-slower) code.
7281         mktime: do not assume signed right shift propagates sign bit
7282         * time/mktime.c (isdst_differ): New static function.
7283         (__mktime_internal): No need to normalize tm_isdst now.
7284         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7285         tm_isdst values.
7287         mktime: merge another wrapv change from gnulib
7288         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7289         from some compilers.
7291         mktime: remove incorrect attempt at unusual arithmetics
7292         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7293         The code didn't really work on such machines anyway.
7294         (TYPE_MINIMUM): Assume two's complement.
7295         (twos_complement_arithmetic): Verify that long_int and time_t
7296         are two's complement (or unsigned, in the latter case).
7298         mktime: check signed shifts on long_int and time_t, too
7299         * time/mktime.c (SHR): Check that shifts work as desired
7300         on the types long_int and time_t too, as SHR is used on
7301         such types.
7303         mktime: do not assume 'long' is wide enough
7304         * time/mktime.c (verify): Move decl up.
7305         (long_int): New type.
7306         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7307         to remove assumption in the code that 'long' is wide enough to
7308         store year values.  This assumption is not true on x32 and on
7309         some non-glibc platforms.
7311         mktime: merge wrapv change from gnulib
7312         * time/mktime.c (WRAPV): New macro.
7313         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7314         (guess_time_tm, __mktime_internal): Do not assume that signed
7315         integer overflow wraps around; modern compilers generate code
7316         where this assumption is no longer valid.
7318 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7320         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7321         Replace "jmp L(pseudo_end)" with "ret".
7322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7323         Likewise.
7325 2012-05-23  Andreas Jaeger  <aj@suse.de>
7327         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7328         * sysdeps/unix/sysv/linux/poll.c: Remove file.
7330 2012-05-23  Andreas Jaeger  <aj@suse.de>
7331             Maximilian Attems  <max@stro.at>
7333         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7334         New macros.
7336 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7339         code so that pseudo_end is just ret and the stack pointer is
7340         correct also for static library in error case.
7342 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
7344         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7345         move to syscalls.list.
7346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7351         * manual/install.texi (Running make install): Do not mention Linux
7352         kernel version for which pt_chown is not needed.
7353         (Linux): Do not mention problems with nscd with 2.0 kernels.
7354         * INSTALL: Regenerated.
7356 2012-05-23  Andreas Jaeger  <aj@suse.de>
7358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7359         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7360         macro.
7361         * sysdeps/unix/sysv/linux/s390/bits/mman.h
7362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7363         * sysdeps/unix/sysv/linux/sh/bits/mman.h
7364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7365         * sysdeps/unix/sysv/linux/i386/bits/mman.h
7366         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7367         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7368         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7369         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7370         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7371         * sysdeps/unix/sysv/linux/bits/in.h
7372         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7374 2012-05-22  Roland McGrath  <roland@hack.frob.com>
7376         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7377         (PREPARE_VERSION): Just use assert instead, it will be elided
7378         under [NDEBUG] anyway.
7380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7382         * sysdeps/unix/sysv/linux/Makefile: Include
7383         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7384         (sysdep_routines): Remove sysctl.
7385         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7386         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7387         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7388         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7389         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7391 2012-05-22  Andreas Jaeger  <aj@suse.de>
7393         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7394         that pseudo_end is just ret and the stack pointer is correct also
7395         for static library in error case.
7397 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7399         [BZ #14122]
7400         * nss/nsswitch.c (defconfig_entries): New variable.
7401         (__nss_database_lookup): Don't leak defconfig entries.
7402         (nss_parse_service_list): Don't leak on error paths.
7403         (free_database_entries): New function.
7404         (free_defconfig): New function.
7405         (free_mem): Move common code to free_database_entries.
7407 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7409         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7410         Add arch_prctl.
7411         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7414         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7416         New macro.
7417         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7418         (INTERNAL_SYSCALL_TYPES): Likewise.
7419         (LOAD_ARGS_TYPES_[1-6]): Likewise.
7420         (LOAD_REGS_TYPES_[1-6]): Likewise.
7421         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7422         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7424 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7427         copysignl for GLIBC_2_0.
7428         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7429         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7431         logbl for GLIBC_2_0.
7432         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7433         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7435 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7437         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7438         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7440         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7441         Use "neg %eax".
7443         * time/mktime.c: Update copyright years.
7445 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7447         mktime: merge comment-quoting-style change from gnulib
7448         * time/mktime.c: Quote 'like this' in comments.
7449         The GNU coding standards suggest that we no longer quote `like this',
7450         as "`" and "'" are typically rendered asymmetrically nowadays.
7451         The typical gnulib style is to quote 'like this' when quoting
7452         code, and "like this" when quoting English.
7454         * time/mktime.c (compile-command): Add "-I.".
7456         mktime: merge mktime-internal.h change from gnulib
7457         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7459         mktime: merge time_r change from gnulib
7460         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7462         mktime: merge DEBUG change from gnulib
7463         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7464         case system <time.h> has a #define.
7466         mktime: merge <sys/types.h> change from gnulib
7467         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7468         since <time.t> is now guaranteed to define time_t.
7470         mktime: merge HAVE_CONFIG_H change from gnulib
7471         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7473 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7476         Use "neg %eax".
7478         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7479         __rlim_t cast.
7480         (struct rusage): Use anonymous union to pad each field to
7481         __syscall_slong_t.
7483 2012-05-21  David S. Miller  <davem@davemloft.net>
7485         * Makefules (o-iterator): Remove .s cases.
7486         (compile-command.s): Delete.
7487         (COMPILE.s): Delete.
7488         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7490 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
7492         * configure.in (libc_cv_predef_stack_protector): Only consider
7493         "foobar" and "__stack_chk_fail" lines in libc_undefs.
7494         * configure: Regenerated.
7496 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7499         New macro.  Use R*LP on int and pointer.
7500         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7501         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7502         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7503         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7505         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7506         [__WORDSIZE_TIME64_COMPAT32] instead of
7507         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7508         (struct utmp): Likewise.
7509         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7510         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7511         Renamed to ...
7512         (__WORDSIZE_TIME64_COMPAT32): This.
7513         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7514         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7515         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7517         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7518         (__WORDSIZE_TIME64_COMPAT32): New macro.
7520 2012-05-21  Andreas Jaeger  <aj@suse.de>
7522         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7523         only if [SHARED]. Add prototype for __wcschr_ia32.
7525 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7527         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7528         of %rbp unmolested in the jmp_buf while mangling the low bits.
7529         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7530         unmolested high bits of %rbp while demangling the low bits.
7531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7533 2012-05-21  Andreas Jaeger  <aj@suse.de>
7535         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7536         * sunrpc/svc_simple.c: Use it for registerrpc.
7537         * sunrpc/xcrypt.c: Use it for passwd2des.
7539         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7541 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7543         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7544         Don't define if [__SYSCALL_WORDSIZE != 32].
7545         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7546         New macro.
7548 2012-05-21  Bruno Haible  <bruno@clisp.org>
7549             Andreas Jaeger  <aj@suse.de>
7551         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7552         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7553         inptr and inend for must_buffer_ch.
7554         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7555         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7556         * stdio-common/Makefile (tests): Remove bug15.
7557         (bug15-ENV): Remove macro.
7558         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7559         anymore.
7561 2012-05-19  Andreas Jaeger  <aj@suse.de>
7562             Roland McGrath  <roland@hack.frob.com>
7564         * manual/contrib.texi: Completely rewritten. It contains now an
7565         alphabetical list of contributors and their contributions.
7567 2012-05-21  Richard Henderson  <rth@twiddle.net>
7569         * misc/getauxval.c (__getauxval): Use unsigned long int.
7570         * misc/sys/auxv.h: Include <sys/cdefs.h>.
7571         (getauxval): Use unsigned long int.
7573 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7575         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7577 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7579         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7580         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7581         __alignof__ (long double).
7583 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7587 2012-05-20  Richard Henderson  <rth@twiddle.net>
7589         * misc/getauxval.c: New file.
7590         * misc/sys/auxv.h: New file.
7591         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7592         (routines): Add getauxval.
7593         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7595         * elf/dl-sysdep.c (_dl_auxv): Remove.
7596         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7597         * elf/dl-support.c (_dl_auxv): New variable.
7598         (_dl_aux_init): Initialize it.
7599         * manual/startup.texi (Auxiliary Vector): New node.
7600         * sysdeps/generic/bits/hwcap.h: New file.
7601         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7602         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
7603         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7604         * sysdeps/sparc/sysdep.h: ... here.  Include it.
7605         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7608         Update.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7612         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7618 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7622 2012-05-19  David S. Miller  <davem@davemloft.net>
7624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7626 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7628         [BZ #14123]
7629         * math/s_ccosh.c: Include <float.h>
7630         (__ccosh): Avoid internal overflow calculating sinh and cosh
7631         values before multiplying by sin and cos values.
7632         * math/s_ccoshf.c: Likewise.
7633         * math/s_ccoshl.c: Likewise.
7634         * math/s_csin.c: Likewise.
7635         * math/s_csinf.c: Likewise.
7636         * math/s_csinl.c: Likewise.
7637         * math/s_csinh.c: Likewise.
7638         * math/s_csinhf.c: Likewise.
7639         * math/s_csinhl.c: Likewise.
7640         * math/libm-test.inc (ccos_test): Add more tests.
7641         (ccosh_test): Likewise.
7642         (csin_test): Likewise.
7643         (csinh_test): Likewise.
7644         * sysdeps/i386/fpu/libm-test-ulps: Update.
7645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7649         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7650         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7652         * sysdeps/x86_64/x32/_itoa.h: Add comment.
7654 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7656         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7657         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7658         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7659         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7660         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7661         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7662         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7663         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7664         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7665         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7666         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7667         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7668         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7669         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7670         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7671         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7672         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7673         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7674         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7675         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7676         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7677         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7678         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7679         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7680         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7681         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7682         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7683         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7684         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7685         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7686         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7688 2012-05-18  Andreas Jaeger  <aj@suse.de>
7690         * csu/.gitignore: Delete.
7692 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7694         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7695         (timex): Use __syscall_slong_t.
7697 2012-05-18  Andreas Jaeger  <aj@suse.de>
7698             Carlos O'Donell  <carlos_odonell@mentor.com>
7700         * manual/install.texi (Configuring and compiling): Update
7701         description about files modified in the source directory.
7702         * INSTALL: Regenerated.
7704 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7706         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7707         value.  Use "or" to set return value to -1.
7708         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7709         negate return value.
7711 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7713         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7714         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7715         failure if the compiler has Graphite support disabled.
7716         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7717         Likewise.
7718         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7719         CFLAGS-memmove.c): Likewise.
7720         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7721         Likewise.
7723 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7725         * sysdeps/x86_64/x32/_itoa.h: New file.
7727         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7728         getdents system call only if kernel and user dirents have the
7729         same d_ino and d_off.
7731         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7732         LLONG_MAX != LONG_MAX.
7733         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7734         (_fitoa_word): Likewise.
7736         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7737         years.
7738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7739         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7740         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7742         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7743         include <bits/wordsize.h>.  Check __x86_64__ instead of
7744         __WORDSIZE.
7745         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7746         if __x86_64__ is defined.  Use anonymous union on fpstate.
7748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7749         anonymous union.
7751 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
7753         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7754         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7755         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7756         Refer to _rtld_local_ro instead of _rtld_global_ro.
7757         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7758         Likewise.
7759         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7760         Likewise.
7761         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7762         Likewise.
7763         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7764         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7765         of _rtld_global, and rtld_progname instead of _dl_argv[0].
7767         * sysdeps/powerpc/powerpc32/dl-machine.c
7768         (__elf_machine_runtime_setup) [PROF]: Don't reference
7769         _dl_prof_resolve.
7771 2012-05-18  Andreas Jaeger  <aj@suse.de>
7773         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7774         function only available for GCCs before 3.4 since GCC 3.4
7775         introduced a builtin.
7776         (lrint): Likewise.
7777         (llrintf): Likewise.
7778         (llrint): Likewise.
7779         (fmaxf): Likewise.
7780         (fmax): Likewise.
7781         (fminf): Likewise.
7782         (fmin): Likewise.
7783         (rint): Likewise.
7784         (rintf): Likewise.
7785         (nearbyint): Likewise.
7786         (nearbyintf): Likewise.
7787         (ceil): Likewise.
7788         (ceilf): Likewise.
7789         (floor): Likewise.
7790         (floorf): Likewise.
7792 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7794         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7795         on both fields and cast pointer to __syscall_ulong_t.
7797         * bits/types.h (__fsword_t): New type.
7798         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7799         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7801         (__FSWORD_T_TYPE): Likewise.
7802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7803         (__FSWORD_T_TYPE): Likewise.
7804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7805         (__FSWORD_T_TYPE): Likewise.
7806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7807         (__FSWORD_T_TYPE): Likewise.
7808         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7809         __SWORD_TYPE with __fsword_t.
7810         (statfs64): Likewise.
7812 2012-05-17  David S. Miller  <davem@davemloft.net>
7814         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7816 2012-05-17  Andreas Jaeger  <aj@suse.de>
7818         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7819         warning.
7821 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7823         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7825 2012-05-17  Andreas Jaeger  <aj@suse.de>
7827         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7828         when it is used.
7830 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7832         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7834 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7836         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7837         * sysdeps/x86_64/tst-mallocalign1.c: New file.
7839 2012-05-17  Andreas Jaeger  <aj@suse.de>
7840             Carlos O'Donell  <carlos_odonell@mentor.com>
7842         [BZ #14059]
7843         * sysdeps/x86_64/multiarch/init-arch.h
7844         (bit_YMM_Usable): Rename to...
7845         (bit_AVX_Usable): ... this.
7846         (bit_FMA4_Usable): New macro.
7847         (bit_XMM_state): New macro.
7848         (bit_YMM_state): New macro.
7849         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7850         [__ASSEMBLER__] (index_AVX_Usable): ... this.
7851         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7852         (CPUID_OSXSAVE): New macro.
7853         (CPUID_AVX): New macro.
7854         (CPUID_FMA4): New macro.
7855         (index_YMM_Usable): Rename to...
7856         (index_AVX_Usable): ... this.
7857         (HAS_AVX): Use HAS_ARCH_FEATURE.
7858         (HAS_FMA4): Likewise.
7859         (HAS_YMM_USABLE): Remove.
7860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7861         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7862         are present.
7863         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7864         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7865         * sysdeps/x86_64/multiarch/Makefile: Likewise.
7866         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7867         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7869 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7871         * math/libm-test.c: Support platforms without multiple rounding modes.
7872         * math/bug-nextafter.c: Support platforms without FP exceptions.
7873         * math/bug-nexttoward.c: Likewise.
7874         * math/test-fenv.c: Likewise.
7875         * math/test-misc.c: Likewise.
7876         * stdlib/bug-getcontext.c: Likewise.
7878 2012-05-17  Andreas Jaeger  <aj@suse.de>
7880         * manual/examples/search.c (critter_cmp): Change signature to
7881         avoid warnings.
7882         * manual/string.texi (Collation Functions): Likewise.
7884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7886         * bits/types.h: Fold copyright years.
7887         * bits/typesizes.h: Likewise.
7888         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7892         * time/time.h: Likewise.
7894 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
7896         [BZ #208]
7897         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7898         in instead of returning them.  Return void.
7899         (__libc_mallinfo): Accumulate over all arenas.
7900         (__malloc_stats): Adjust for change in int_mallinfo interface.
7902 2012-05-16  Roland McGrath  <roland@hack.frob.com>
7904         [BZ #10375]
7905         * configure.in (NM): Add AC_CHECK_TOOL for it.
7906         (libc_extra_cflags): New substituted variable.
7907         Check for -fstack-protector being used implicitly.
7908         * configure: Regenerated.
7909         * config.make.in (config-extra-cflags): New variable,
7910         gets @libc_extra_cflags@.
7911         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7913         [BZ #10375]
7914         * configure.in: Check for _FORTIFY_SOURCE being predefined.
7915         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7916         * configure: Regenerated.
7917         * config.make.in (CPPUNDEFS): New substituted variable.
7918         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7919         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7920         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7924         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7925         (mq_attr): Use __syscall_slong_t.
7927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7930         Check __x86_64__ instead of __WORDSIZE.
7931         (_STAT_VER_LINUX): Likewise.
7932         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
7933         __syscall_ulong_t and __syscall_slong_t.
7934         (stat64): Likewise.
7936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7942         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7944 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7946         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7947         __syscall_ulong_t.
7949         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7950         include <bits/wordsize.h>.  Check __x86_64__ instead of
7951         __WORDSIZE.
7952         (greg_t): Use "__extension__ long long int" if __x86_64__ is
7953         defined.
7954         (mcontext_t): Replace "unsigned long" with "unsigned long long".
7956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7957         include <bits/wordsize.h>.  Check __x86_64__ instead of
7958         __WORDSIZE.
7959         (user_regs_struct): Use "__extension__ unsigned long long"
7960         instead of "unsigned long" if __x86_64__ is defined.
7961         (user): Likewise.  Pad after pointer field if __ILP32__ is
7962         defined.
7964 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
7966         * configure.in (makeinfo): Require version 4.5 or later.  Allow
7967         versions 5 to 9.
7968         * configure: Regenerated.
7969         * manual/install.texi (texinfo): Increase version requirement to
7970         4.5 or later.
7971         * INSTALL: Regenerated.
7973         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7977         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7979         * sysdeps/x86_64/x32/ffs.c: New file.
7981         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7982         __syscall_ulong_t.
7983         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7984         defined.  Use __syscall_ulong_t.
7985         (shminfo): Use __syscall_ulong_t.
7986         (shm_info): Likewise.
7988         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7989         __syscall_ulong_t.
7991         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7992         <bits/wordsize.h>.
7993         (msgqnum_t): Use __syscall_ulong_t.
7994         (msglen_t): Likewise.
7995         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
7996         __syscall_ulong_t.
7998         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7999         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8001         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8003         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8004         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8006         * sysvipc/sys/msg.h (msgbuf): Replace long int with
8007         __syscall_slong_t.
8009         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8010         include <bits/wordsize.h>.  Check __x86_64__ instead of
8011         __WORDSIZE.
8013         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8014         "unsigned long long int" if __x86_64__ is defined.
8015         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8017         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8018         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8019         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8021         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8022         <stdint.h>.
8023         (GET_PC): Cast to uintptr_t first.
8024         (GET_FRAME): Likewise.
8025         (GET_STACK): Likewise.
8027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8033         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8034         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8035         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8039         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8040         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8041         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8044         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8045         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8046         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8047         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8054         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8057 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
8059         * Makerules (+depfiles): Also collect depfiles from .oS in
8060         $(extra-objs).
8061         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8062         .oS, $(libnldbl-routines)).
8064         * Makerules (native-compile-mkdep-flags): Define.
8065         * sunrpc/Makefile (extra-objs): Add $(addprefix
8066         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8067         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8068         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
8069         calling $(make-target-directory).
8071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8073         * bits/types.h (__snseconds_t): Removed.
8074         * time/time.h (struct timespec): Replace __snseconds_t with
8075         __syscall_slong_t.
8076         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8077         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8078         Likewise.
8079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8080         (__SNSECONDS_T_TYPE): Likewise.
8081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8082         (__SNSECONDS_T_TYPE): Likewise.
8083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8084         (__SNSECONDS_T_TYPE): Likewise.
8086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8088         * sysdeps/mach/hurd/bits/typesizes.h
8089         (__SYSCALL_SLONG_TYPE): New macro.
8090         (__SYSCALL_ULONG_TYPE): Likewise.
8092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8094         * bits/types.h (__syscall_slong_t): New type.
8095         (__syscall_ulong_t): Likewise.
8097         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8098         (__SYSCALL_ULONG_TYPE): Likewise.
8099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8100         (__SYSCALL_SLONG_TYPE): Likewise.
8101         (__SYSCALL_ULONG_TYPE): Likewise.
8102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8103         (__SYSCALL_SLONG_TYPE): Likewise.
8104         (__SYSCALL_ULONG_TYPE): Likewise.
8105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8106         (__SYSCALL_SLONG_TYPE): Likewise.
8107         (__SYSCALL_ULONG_TYPE): Likewise.
8109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8111         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8112         Add sigaltstack-offsets.sym.
8113         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8114         <sigaltstack-offsets.h>.
8115         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
8116         longjmp_msg pointer.
8117         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
8118         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8119         signal stack.
8120         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8122 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8124         * elf/stackguard-macros.h: Remove file.
8125         * sysdeps/generic/stackguard-macros.h: New file.
8126         * sysdeps/i386/stackguard-macros.h: Likewise.
8127         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8128         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8129         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8130         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8131         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8132         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8133         * sysdeps/x86_64/stackguard-macros.h: Likewise.
8134         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8135         <elf/stackguard-macros.h>.
8137         [BZ #14109]
8138         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8139         __aligned__ in attribute.
8140         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8141         (gregset_t): Likewise.
8143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8145         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8146         * sysdeps/x86_64/64/Implies-after: Here.  New file.
8147         * sysdeps/x86_64/x32/Implies-after: New file.
8149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8151         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8152         and access return value for _dl_profile_fixup.  Use R10_LP to
8153         load frame size.
8155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8157         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8161         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8162         * sysdeps/x86_64/x32/sysdep.h: New file.
8164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8166         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8167         * sysdeps/x86_64/setjmp.S: Likewise.
8169 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8171         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8172         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8173         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8174         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8175         remove unused global constant.
8177 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
8179         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8180         include of <not-cancel.h>.
8182 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8184         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8186 2012-05-15  Jeff Law  <law@redhat.com>
8187             Andreas Jaeger  <aj@suse.de>
8189         [BZ #13594]
8190         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8191         out from...
8192         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8193         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8194         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8195         code changing __hst_map_handle.map.
8197 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8199         * configure.in (sysnames): Look for Implies-before and Implies-after
8200         files.
8201         * configure: Regenerated.
8203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8205         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8206         8-byte data alignment with LP_SIZE alignment.
8208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8210         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8211         into R10_LP.
8213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8215         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8219         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8220         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8221         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8222         Likewise.
8223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8227         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8228         (stackinfo_sub_sp): Likewise.
8230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8232         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8233         RAX_LP.
8235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8238         into R*_LP.
8240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8242         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8243         sizes into R*_LP.
8245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8247         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8251         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8252         into R11_LP and load __x86_64_shared_cache_size_half into
8253         R8_LP.
8255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8257         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8258         R8_LP.
8260 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8263         logb for POWER7.
8264         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8265         logbf for POWER7.
8266         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8267         logbl for POWER7.
8268         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8269         powerpc32/power7/fpu/s_logb.c via #include.
8270         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8271         powerpc32/power7/fpu/s_logbf.c via #include.
8272         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8273         powerpc32/power7/fpu/s_logbl.c via #include.
8275 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8277         * README.libm: Remove file.
8279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8281         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8282         count for x32.  Use R*_LP and omit operand-size suffix.
8284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8286         * shlib-versions: Move x86_64-.*-linux.* entries to ...
8287         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
8288         * sysdeps/x86_64/x32/shlib-versions: New file.
8290 2012-05-14  Roland McGrath  <roland@hack.frob.com>
8292         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8293         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8294         Use _dl_fatal_printf instead.
8296 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
8298         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8299         set if not set by the user.  Do not allow for being unset.
8300         * sysdeps/unix/sysv/linux/configure: Regenerated.
8302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8304         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8305         the `q' suffix from lea and replace .quad with ASM_ADDR.
8307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8310         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
8311         instead of $17.
8312         (PTR_DEMANGLE): Likewise.
8314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8316         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8317         (LP_OP): Likewise.
8318         (ASM_ADDR): Likewise.
8319         (RAX_LP): Likewise.
8320         (RBP_LP): Likewise.
8321         (RBX_LP): Likewise.
8322         (RCX_LP): Likewise.
8323         (RDI_LP): Likewise.
8324         (RSI_LP): Likewise.
8325         (RSP_LP): Likewise.
8326         (R8_LP): Likewise.
8327         (R9_LP): Likewise.
8328         (R10_LP): Likewise.
8329         (R10_LP): Likewise.
8330         (R11_LP): Likewise.
8331         (R12_LP): Likewise.
8332         (R13_LP): Likewise.
8333         (R14_LP): Likewise.
8334         (R15_LP): Likewise.
8336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8338         * sysdeps/x86_64/x32/dl-machine.h: New file.
8340 2012-05-14  Andreas Jaeger  <aj@suse.de>
8342         * manual/Makefile (subdir): Remove export of subdir.
8343         (all): Remove target.
8344         (.PHONY): Remove all from list.
8345         (mkinstalldirs): Remove.
8346         (.PHONY): Remove installdirs from list.
8347         ($(inst_infodir)/libc.info): Use make-target-directory.
8348         (installdirs): Remove.
8349         (subdir_%): Remove.
8350         (glibc-targets): Remove.
8351         (lib): Remove.
8352         (stubs): Remove.
8353         ($(objpfx)stubs ../po/manual.pot): Remove.
8354         ($(objpfx)stamp%): Remove.
8355         (make-target-directory): Remove.
8356         (subdir_install): Remove.
8357         (routines): Remove.
8358         (aux): Remove.
8359         (sources): Remove.
8360         (objects): Remove.
8361         (headers): Remove.
8363         [BZ #13750]
8364         * manual/.gitignore: Remove, it's not needed anymore.
8365         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8366         all files in it.
8367         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8368         directory.
8369         (texis): Renamed to $(objpfx)texis.
8370         (texis-path): New, contains path to generated files.
8371         (chapters.%): Use texis-path for complete path, add extra argument
8372         libc-texinfo.sh.
8373         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8374         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8375         (summary,texi, stamp-summary): Use complete path of
8376         files. Generate files in build dir.
8377         (dir-add.texi): Build in build dir.
8378         (libm-err.texi,stamp-libm-err): Likewise.
8379         (version.texi, stamp-version): Likewise.
8380         (.%c.texi): Likewise.
8381         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8382         (mostlyclean): Remove target.
8383         (realclean): Remove target.
8384         (generated): Add new variable with contents from mostlyclean and
8385         realclean, remove entries duplicated in common-mostlyclean, add
8386         stamp-libm-err and stamp-version.
8387         (generated-dirs): Add libc directory.
8388         ($(inst_infodir)/libc.info): Install files from build dir.
8390         * manual/install.texi (Configuring and compiling): Adjust since
8391         the info files are not part of the tar ball anymore.
8393 2012-05-14  Andreas Jaeger  <aj@suse.de>
8395         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8396         variable.
8398 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
8400         [BZ #13717]
8401         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8402         to 2.2.0 where earlier.
8403         * sysdeps/unix/sysv/linux/configure: Regenerated.
8404         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8405         Remove conditional code.
8406         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8407         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8408         Remove conditional code.
8409         [!__NR_lchown]: Likewise.
8410         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8411         [__NR_lchown]: Likewise.
8412         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8413         comment referencing __ASSUME_LCHOWN_SYSCALL.
8414         * sysdeps/unix/sysv/linux/i386/sigaction.c
8415         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8416         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8417         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8418         Remove conditional code.
8419         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8420         (__protocol_available): Remove #if 0 code.
8421         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8422         conditional code.
8423         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8424         * sysdeps/unix/sysv/linux/kernel-features.h
8425         (__ASSUME_GETCWD_SYSCALL): Don't define.
8426         (__ASSUME_REALTIME_SIGNALS): Likewise.
8427         (__ASSUME_PREAD_SYSCALL): Likewise.
8428         (__ASSUME_PWRITE_SYSCALL): Likewise.
8429         (__ASSUME_POLL_SYSCALL): Likewise.
8430         (__ASSUME_LCHOWN_SYSCALL): Likewise.
8431         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8432         non-SPARC.
8433         (__ASSUME_SIOCGIFNAME): Don't define.
8434         (__ASSUME_MSG_NOSIGNAL): Likewise.
8435         (__ASSUME_SENDFILE): Define unconditionally.
8436         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8437         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8438         conditional code.
8439         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8440         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8441         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8442         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8443         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8444         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8445         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8450         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8470         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8471         Remove conditional code.
8472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8473         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8474         Remove conditional code.
8475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8476         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8477         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8478         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8479         Remove conditional code.
8480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8481         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8482         Remove conditional code.
8483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8484         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8485         Remove conditional code.
8486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8487         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8488         Remove conditional code.
8489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8490         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8491         Remove conditional code.
8492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8493         * sysdeps/unix/sysv/linux/sh/pwrite64.c
8494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8496         * sysdeps/unix/sysv/linux/sigaction.c
8497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8499         * sysdeps/unix/sysv/linux/sigpending.c
8500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8502         * sysdeps/unix/sysv/linux/sigprocmask.c
8503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8505         * sysdeps/unix/sysv/linux/sigsuspend.c
8506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8508         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8509         (__libc_missing_rt_sigs): Remove.
8510         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8511         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8512         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8513         Remove conditional code.
8514         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8515         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8516         return 1.
8517         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8518         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8519         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8520         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8522 2012-05-14  Andreas Jaeger  <aj@suse.de>
8524         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8525         it's not used in glibc.
8526         (__coshm1): Likewise.
8527         (__acosh1p): Likewise.
8528         (__sgn): Likewise.
8530         * manual/string.texi (Copying and Concatenation): Add missing
8531         variable in concat example.
8532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8536         [BZ #14103]
8537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8538         __builtin_clzl with __builtin_clzll.
8540 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8542         [BZ #14104]
8543         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8544         libc_freeres_ptr.
8546 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8548         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8549         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8550         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8551         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8553 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
8555         * NEWS: Update ia64 info.
8557 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
8559         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8560         used as bcopy.
8562 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
8564         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8565         * sysdeps/unix/syscalls.list (dup3): Likewise.
8566         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8567         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8569 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8571         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8572         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8574 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8576         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8577         thread pointer.
8578         (TLS_IE): Use mov/add instead of movq/addq to load thread
8579         pointer.
8580         (TLS_GD_PREFIX): New.
8581         (TLS_GD): Use it.
8583 2012-05-11  David S. Miller  <davem@davemloft.net>
8585         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8586         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8587         (_FPU_SETCW): Likewise.
8589 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8591         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8592         is 32-byte aligned.
8594 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
8596         [BZ #11837]
8597         * iconvdata/gb18030.c: Update tables.
8598         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
8599         characters specially.
8600         (BODY for TO_LOOP): Add encoding of missing ranges.
8602 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
8604         [BZ #13673]
8605         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8606         * sysdeps/mach/hurd/dup3.c: Likewise.
8607         * sysdeps/mach/hurd/readlinkat.c: Likewise.
8608         * sysdeps/powerpc/memmove.c:: Likewise.
8610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8613         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8615 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8617         * elf/elf.h (R_X86_64_RELATIVE64): New.
8618         (R_X86_64_NUM): Updated.
8619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8620         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
8621         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8622         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8623         tst-quad1pie tst-quad2pie
8624         (modules-names): Add tst-quadmod1 tst-quadmod2.
8625         ($(objpfx)tst-quad1): New dependency.
8626         ($(objpfx)tst-quad2): Likewise.
8627         ($(objpfx)tst-quad1pie): Likewise.
8628         ($(objpfx)tst-quad2pie): Likewise.
8629         * sysdeps/x86_64/tst-quad1.c: New file.
8630         * sysdeps/x86_64/tst-quad1pie.c: New file.
8631         * sysdeps/x86_64/tst-quad2.c: Likewise.
8632         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8633         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8634         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8635         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8636         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8640         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8641         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8642         * streams/stropts.h (t_scalar_t): Define type.
8644         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8645         (_PATH_PRESERVE): Set to "/var/lib".
8646         (_PATH_RWHODIR): Set to "/var/spool/rwho".
8648         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8649         instead of int.
8651         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8652         if __dir_mkfile succeeded.
8654         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8655         checking for _hurd_dtablesize.  Unlock it right after having
8656         finished _hurd_dtable allocation.
8658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8660         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8661         * sysdeps/mach/hurd/configure: Regenerated.
8662         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8663         special-casing to...
8664         * sysdeps/gnu/configure.in: ... this new file.
8665         * sysdeps/unix/sysv/linux/configure: Regenerated.
8666         * sysdeps/gnu/configure: New generated file.
8668         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8669         for Linux: use nsec instead of usec, as well as:
8670         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8671         members of type struct timespec.
8672         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8673         New macros.
8674         (struct stat64): Likewise.
8675         (_STATBUF_ST_NSEC): New macro.
8676         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8678         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8679         __strtoul_internal rather than strtoul.
8681 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8683         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8684         and reject them.
8686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8688         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8689         which preserves existing values.
8690         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8694         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8695         TIMEOUT values.  Return EINVAL for NFDS values either negative or
8696         greater than FD_SETSIZE.
8698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8700         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8701         allocated, call __vm_protect to finish enabling the existing space, and
8702         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8703         allocate the remainder.
8705 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8707         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8708         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
8710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8712         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8713         sysdeps/mach/hurd/readlink.c.
8715         * posix/tst-sysconf.c (posix_options): Only use
8716         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8717         _POSIX_SYNCHRONIZED_IO when they are defined
8718         * sysdeps/mach/hurd/bits/posix_opt.h:
8719         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8720         (_XOPEN_REALTIME): Undefine macro.
8721         (_XOPEN_REALTIME_THREADS): Undefine macro.
8722         (_XOPEN_SHM): Undefine macro.
8723         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8724         macro to -1.
8725         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8726         macro to -1.
8727         (_POSIX_ASYNC_IO): Undefine macro.
8728         (_POSIX_PRIORITIZED_IO): Undefine macro.
8729         (_POSIX_SPIN_LOCKS): Define macro to -1.
8731         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8732         SA_NODEFER, SA_RESETHAND.
8733         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8734         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8735         F_DUPFD_CLOEXEC.
8737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8739         * elf/Makefile (pldd-modules): Define unconditionally.
8741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8743         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8747         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8748         Return ENOENT when name is empty.
8749         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8751 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8753         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8755         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8759         Fix mlock in all cases except non-readable pages.
8760         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8761         instead of VM_PROT_ALL as parameter to __vm_wire function.
8763         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8764         (__mkdir): When path is `/', just fail with EEXIST.
8765         * sysdeps/mach/hurd/mkdirat.c: Likewise.
8767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8769         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8770         <sys/uio.h> (for writev).
8771         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8772         and <sys/param.h> (for MIN).
8774 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8776         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8777         REQUESTED_TIME.  Properly set the remaining time and return EINTR
8778         if interrupted.
8780 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8782         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8783         Depend on against $(link-rpcuserlibs).
8785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8787         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8788         (__libc_stack_end): Do not use attribute_relro.
8789         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8790         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8791         to libthread-provided value.
8792         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8793         attribute_relro.
8795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8797         [BZ #3748]
8798         * bits/libc-lock.h (__libc_once_get): New macro.
8799         * sysdeps/mach/bits/libc-lock.h: Likewise.
8800         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8802         instead of using implementation details.
8804         * libio/fileops.c: Unconditionally include <kernel-features.h>.
8805         * libio/freopen.c: Likewise.
8806         * libio/freopen64.c: Likewise.
8807         * misc/syslog.c: Likewise.
8808         * nscd/connections.c: Likewise.
8809         * nscd/netgroupcache.c: Likewise.
8810         * sysdeps/posix/getcwd.c: Likewise.
8812 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8814         * math/w_ilogbf.c: Add #include <limits.h>.
8816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8818         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8819         path instead of returning without unlocking.
8821         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8822         immediate-write ioctls.
8823         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8827         * sysdeps/mach/hurd/i386/init-first.c (init): Use
8828         __builtin_frame_address instead of making assumptions about the
8829         location of the return address relative to DATA.  Force early load of
8830         the return address.
8831         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8832         __builtin_frame_address.
8834         dup3 for GNU Hurd.
8835         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8836         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
8837         implement dup3 and do some further code clean-ups.
8838         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8839         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8843         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8845         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8846         HURD_CRITICAL_END around holding _hurd_dtable_lock.
8847         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8848         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8849         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8850         d->port.lock.
8852         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8853         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
8854         when handler == SIG_ERR, not when handler != SIG_ERR.
8856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8858         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8859         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8860         definitions.
8862         accept4 for GNU Hurd.
8863         * include/sys/socket.h (__libc_accept4): New prototype.
8864         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
8865         to implement __libc_accept4.
8866         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8867         __libc_accept4.
8868         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8870         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8871         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8872         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8873         signal-defines.sym.
8875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8877         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8881         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8882         assertion on O_CLOEXEC flag.
8883         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8884         * hurd/intern-fd.c: Likewise.
8885         * hurd/port2fd.c: Likewise.
8887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8889         [BZ #3906]
8890         * bits/in.h (IPV6_PKTINFO): Define new macro.
8891         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8893 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8895         [BZ #13954]
8896         [BZ #13955]
8897         [BZ #13956]
8898         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8899         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8900         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8901         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8903         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8904         * math/libm-test.inc (logb_test) : Additional logb tests.
8906 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
8907             Andreas Jaeger  <aj@suse.de>
8909         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8910         * configure: Regenerated.
8911         * config.h.in (LINK_OBSOLETE_RPC): New macro.
8912         * config.make.in (link-obsolete-rpc): New substituted variable.
8913         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8914         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8915         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8916         (shared-only-routines): Don't set it under [link-obsolete-rpc],
8917         so that libc.a contains the symbols.
8918         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8919         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8920         * sunrpc/auth_none.c: Likewise.
8921         * sunrpc/auth_unix.c: Likewise.
8922         * sunrpc/authdes_prot.c: Likewise.
8923         * sunrpc/authuxprot.c: Likewise.
8924         * sunrpc/clnt_gen.c: Likewise.
8925         * sunrpc/clnt_perr.c: Likewise.
8926         * sunrpc/clnt_raw.c: Likewise.
8927         * sunrpc/clnt_simp.c: Likewise.
8928         * sunrpc/clnt_tcp.c: Likewise.
8929         * sunrpc/clnt_udp.c: Likewise.
8930         * sunrpc/clnt_unix.c: Likewise.
8931         * sunrpc/des_crypt.c: Likewise.
8932         * sunrpc/des_soft.c: Likewise.
8933         * sunrpc/get_myaddr.c: Likewise.
8934         * sunrpc/key_call.c: Likewise.
8935         * sunrpc/key_prot.c: Likewise.
8936         * sunrpc/netname.c: Likewise.
8937         * sunrpc/pm_getmaps.c: Likewise.
8938         * sunrpc/pm_getport.c: Likewise.
8939         * sunrpc/pmap_clnt.c: Likewise.
8940         * sunrpc/pmap_prot.c: Likewise.
8941         * sunrpc/pmap_prot2.c: Likewise.
8942         * sunrpc/pmap_rmt.c: Likewise.
8943         * sunrpc/publickey.c: Likewise.
8944         * sunrpc/rpc_cmsg.c: Likewise.
8945         * sunrpc/rpc_common.c: Likewise.
8946         * sunrpc/rpc_dtable.c: Likewise.
8947         * sunrpc/rpc_prot.c: Likewise.
8948         * sunrpc/rpc_thread.c: Likewise.
8949         * sunrpc/rtime.c: Likewise.
8950         * sunrpc/svc.c: Likewise.
8951         * sunrpc/svc_auth.c: Likewise.
8952         * sunrpc/svc_raw.c: Likewise.
8953         * sunrpc/svc_run.c: Likewise.
8954         * sunrpc/svc_tcp.c: Likewise.
8955         * sunrpc/svc_udp.c: Likewise.
8956         * sunrpc/svc_unix.c: Likewise.
8957         * sunrpc/svcauth_des.c: Likewise.
8958         * sunrpc/xcrypt.c: Likewise.
8959         * sunrpc/xdr.c: Likewise.
8960         * sunrpc/xdr_array.c: Likewise.
8961         * sunrpc/xdr_float.c: Likewise.
8962         * sunrpc/xdr_intXX_t.c: Likewise.
8963         * sunrpc/xdr_mem.c: Likewise.
8964         * sunrpc/xdr_rec.c: Likewise.
8965         * sunrpc/xdr_ref.c: Likewise.
8966         * sunrpc/xdr_sizeof.c: Likewise.
8967         * sunrpc/xdr_stdio.c: Likewise.
8969 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8971         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8972         change.  Update copyright years.
8974 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
8976         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8978 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
8979             Joseph Myers  <joseph@codesourcery.com>
8980             Paul Pluzhnikov  <ppluzhnikov@google.com>
8982         [BZ #14012]
8983         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8984         requiring rpcgen.
8985         [cross-compiling] (extra-libs): Likewise.
8986         [cross-compiling] (extra-libs-others): Likewise.
8987         [cross-compiling] (librpcsvc-routines): Likewise.
8988         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8989         [cross-compiling] (omit-deps): Likewise.
8990         (sunrpc-CPPFLAGS): New variable.
8991         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8992         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8993         (cross-rpcgen-objs): New variable.
8994         (extra-objs): Append $(cross-rpcgen-objs).
8995         ($(cross-rpcgen-objs)): New rule.
8996         ($(objpfx)cross-rpcgen): Likewise.
8997         (rpcgen-cmd): Define to use $(built-program-file).  Expand
8998         comment.
8999         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9000         ($(objpfx)x%.stmp): Likewise.
9001         * sunrpc/proto.h [IS_IN_build] (_): Define.
9002         [IS_IN_build] (_libc_intl_domainname): Likewise.
9004 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9007         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9008         and R_X86_64_TPOFF64.
9010 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
9012         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9013         sysdeps/unix/sysv/syscalls.list.
9014         (stime): Likewise.
9015         (utime): Likewise.
9016         * sysdeps/unix/sysv/syscalls.list: Remove file.
9018 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
9020         [BZ #3440]
9021         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9022         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9023         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9024         (__LC_IDENTIFICATION): Make these macros useful in #if
9025         expressions, as required by C99.
9027 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
9029         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9030         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
9031         after this.
9033 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
9035         * stdlib/longlong.h: Updated from GCC.
9037 2012-05-09  Andreas Jaeger  <aj@suse.de>
9039         * nscd/nscd.c (run_modes): Make named enum, reorder so that
9040         default is first entry.
9041         (run_mode): Set type.
9042         (main): Remove informal message about syslog.
9043         (options): Fix typo.
9045         [BZ #14053]
9046         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9047         to asm.
9048         (lrint): Likewise.
9049         (llrintf): Likewise.
9050         (llrint): Likewise.
9051         (rint): Likewise.
9052         (rintf): Likewise.
9053         (nearbyint): Likewise.
9054         (nearbyintf): Likewise.
9056 2012-05-09  Andreas Jaeger  <aj@suse.de>
9057             Pedro Alves  <palves@redhat.com>
9059         * nscd/nscd.c (run_mode): Use enum.
9060         (main): Cleanup coding style issue.
9062 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
9063             Andreas Jaeger  <aj@suse.de>
9065         * nscd/nscd.c (go_background): Replaced with...
9066         (run_mode): ... this.
9067         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9068         (options): Add -F --foreground.
9069         (main): Implement it.
9070         (parse_opt): Parse it.
9072 2012-05-09  Andreas Jaeger  <aj@suse.de>
9074         [BZ #14083]
9075         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9076         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9077         -Wconversion warning.
9078         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9079         Likewise.
9081 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
9083         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
9084         == 0.
9085         (LC_ALL): Use macro-int-constant.
9086         (LC_COLLATE): Likewise.
9087         (LC_CTYPE): Likewise.
9088         (LC_MESSAGES): Likewise.
9089         (LC_MONETARY): Likewise.
9090         (LC_NUMERIC): Likewise.
9091         (LC_TIME): Likewise.
9092         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9093         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9094         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9095         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9096         Specify type.
9097         [C99-based standards] (float_t): Expect type.
9098         [C99-based standards] (double_t): Expect type.
9099         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
9100         type.
9101         [C99-based standards] (HUGE_VALL): Likewise.
9102         [C99-based standards] (INFINITY): Likewise.
9103         [C99-based standards] (NAN): Likewise.
9104         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9105         [C99-based standards] (FP_NAN): Likewise.
9106         [C99-based standards] (FP_NORMAL): Likewise.
9107         [C99-based standards] (FP_SUBNORMAL): Likewise.
9108         [C99-based standards] (FP_ZERO): Likewise.
9109         [C99-based standards] (FP_FAST_FMA): Use
9110         optional-macro-int-constant.  Specify type.  Require == 1.
9111         [C99-based standards] (FP_FAST_FMAF): Likewise.
9112         [C99-based standards] (FP_FAST_FMAL): Likewise.
9113         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9114         [C99-based standards] (FP_ILOGBNAN): Likewise.
9115         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9116         Specify type.
9117         [C99-based standards] (MATH_ERREXCEPT): Likewise.
9118         [C99-based standards] (math_errhandling): Specify type.
9119         [ISO99 || ISO11] (signgam): Do not allow.
9120         [non-C99-based standards] (copysignf): Do not allow.
9121         [non-C99-based standards] (exp2f): Likewise.
9122         [non-C99-based standards] (log2f): Likewise.
9123         [non-C99-based standards] (modff): Allow.
9124         [non-C99-based standards] (erff): Do not allow.
9125         [non-C99-based standards] (erfcf): Likewise.
9126         [non-C99-based standards] (gammaf): Likewise.
9127         [non-C99-based standards] (hypotf): Likewise.
9128         [non-C99-based standards] (j0f): Likewise.
9129         [non-C99-based standards] (j1f): Likewise.
9130         [non-C99-based standards] (jnf): Likewise.
9131         [non-C99-based standards] (lgammaf): Likewise.
9132         [non-C99-based standards] (tgammaf): Likewise.
9133         [non-C99-based standards] (y0f): Likewise.
9134         [non-C99-based standards] (y1f): Likewise.
9135         [non-C99-based standards] (ynf): Likewise.
9136         [non-C99-based standards] (isnanf): Likewise.
9137         [non-C99-based standards] (acoshf): Likewise.
9138         [non-C99-based standards] (asinhf): Likewise.
9139         [non-C99-based standards] (atanhf): Likewise.
9140         [non-C99-based standards] (cbrtf): Likewise.
9141         [non-C99-based standards] (expm1f): Likewise.
9142         [non-C99-based standards] (ilogbf): Likewise.
9143         [non-C99-based standards] (log1pf): Likewise.
9144         [non-C99-based standards] (logbf): Likewise.
9145         [non-C99-based standards] (nextafterf): Likewise.
9146         [non-C99-based standards] (remainderf): Likewise.
9147         [non-C99-based standards] (rintf): Likewise.
9148         [non-C99-based standards] (scalbf): Likewise.
9149         [non-C99-based standards] (copysignl): Likewise.
9150         [non-C99-based standards] (exp2l): Likewise.
9151         [non-C99-based standards] (log2l): Likewise.
9152         [non-C99-based standards] (modfl): Allow.
9153         [non-C99-based standards] (erfl): Do not allow.
9154         [non-C99-based standards] (erfcl): Likewise.
9155         [non-C99-based standards] (gammal): Likewise.
9156         [non-C99-based standards] (hypotl): Likewise.
9157         [non-C99-based standards] (j0l): Likewise.
9158         [non-C99-based standards] (j1l): Likewise.
9159         [non-C99-based standards] (jnl): Likewise.
9160         [non-C99-based standards] (lgammal): Likewise.
9161         [non-C99-based standards] (tgammal): Likewise.
9162         [non-C99-based standards] (y0l): Likewise.
9163         [non-C99-based standards] (y1l): Likewise.
9164         [non-C99-based standards] (ynl): Likewise.
9165         [non-C99-based standards] (isnanl): Likewise.
9166         [non-C99-based standards] (acoshl): Likewise.
9167         [non-C99-based standards] (asinhl): Likewise.
9168         [non-C99-based standards] (atanhl): Likewise.
9169         [non-C99-based standards] (cbrtl): Likewise.
9170         [non-C99-based standards] (expm1l): Likewise.
9171         [non-C99-based standards] (ilogbl): Likewise.
9172         [non-C99-based standards] (log1pl): Likewise.
9173         [non-C99-based standards] (logbl): Likewise.
9174         [non-C99-based standards] (nextafterl): Likewise.
9175         [non-C99-based standards] (remainderl): Likewise.
9176         [non-C99-based standards] (rintl): Likewise.
9177         [non-C99-based standards] (scalbl): Likewise.
9178         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9179         [non-C99-based standards] (FP_*): Do not allow.
9180         [C99-based standards] (FP_*): Change to
9181         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9182         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9183         allow.
9184         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9185         (SIG_ERR): Likewise.
9186         [X/Open-based standards] (SIG_HOLD): Likewise.
9187         (SIG_IGN): Likewise.
9188         (SIGABRT): Use macro-int-constant.  Specify type.  Require
9189         positive value.
9190         (SIGFPE): Likewise.
9191         (SIGILL): Likewise.
9192         (SIGINT): Likewise.
9193         (SIGSEGV): Likewise.
9194         (SIGTER): Likewise.
9195         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9196         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9197         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9198         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9199         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9200         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9201         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9202         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9203         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9204         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9205         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9206         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9207         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9208         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9209         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9210         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9211         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9212         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9213         [X/Open-based standards] (SIGTRAP): Likewise.
9214         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9215         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9216         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9217         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9218         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9219         allow.
9221 2012-05-08  Ian Wienand  <ianw@vmware.com>
9223         [BZ #14080]
9224         * time/tzset.c (__tzset_parse_tz): Update default rules for
9225         daylight time changes in the Energy Policy Act of 2005.
9227 2012-05-09  Andreas Jaeger  <aj@suse.de>
9229         [BZ #13983]
9230         * elf/ldconfig.c (parse_conf): Change string to make clear that
9231         ldconfig only issued a warning if ld.so.conf does not exist.
9233 2012-05-08  David S. Miller  <davem@davemloft.net>
9235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9236         movxtod instead of popping the value on the stack.
9238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9240 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
9242         * config.h.in: Add HAVE_ARM_PCS_VFP.
9244 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
9246         [BZ #13979]
9247         * include/features.h: Warn if user requests __FORTIFY_SOURCE
9248         checking but the checks are disabled for any reason.
9250 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9253         and ELF64_R_TYPE with ELFW(R_TYPE).
9255 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
9257         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9258         (ulimit): Likewise.
9260         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9261         (settimeofday): Likewise.
9263 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
9265         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
9266         a struct th_u2 inside the union, and move tu_block/tu_code into
9267         a new th_u3 union of tu_block/tu_code inside of that.  Move
9268         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
9269         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
9270         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9271         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9272         (th_stuff): Change to th_u1.tu_stuff.
9273         (th_data): Define.
9274         (th_msg): Change to th_u1.th_u2.tu_data.
9276 2012-05-07  David S. Miller  <davem@davemloft.net>
9278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9280         [BZ #14074]
9281         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9282         (SETUP_PIC_REG): Use it.
9283         (SETUP_PIC_REG_LEAF): Use it.
9285 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
9287         [BZ #13885]
9288         [BZ #13923]
9289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9290         USE_AS_EXPM1L.
9291         (EXPL_FINITE): Likewise.
9292         (FLDLOG): Likewise.
9293         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9294         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9295         e_expl.S.
9296         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9297         USE_AS_EXPM1L.
9298         (EXPL_FINITE): Likewise.
9299         (FLDLOG): Likewise.
9300         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9301         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9302         e_expl.S.
9303         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
9304         test of -max_value argument for long double.
9305         * sysdeps/i386/fpu/libm-test-ulps: Update.
9306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308 2012-05-06  David S. Miller  <davem@davemloft.net>
9310         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9311         quad soft-float symbols whose references which are compiler
9312         generated.
9313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9315 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
9317         [BZ #13884]
9318         [BZ #13914]
9319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9320         USE_AS_EXP10L.
9321         (EXPL_FINITE): Likewise.
9322         (FLDLOG): Likewise.
9323         (c0): Likewise.
9324         (c1): Likewise.
9325         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
9326         Adjust comments for base varying.
9327         (__expl_finite): Change alias to EXPL_FINITE.
9328         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9329         e_expl.S.
9330         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9331         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9332         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9333         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9334         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9335         USE_AS_EXP10L.
9336         (EXPL_FINITE): Likewise.
9337         (FLDLOG): Likewise.
9338         (c0): Likewise.
9339         (c1): Likewise.
9340         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
9341         Adjust comments for base varying.
9342         (__expl_finite): Change alias to EXPL_FINITE.
9343         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
9344         tests for bugs.
9345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9347         [BZ #14064]
9348         * math/libm-test.inc (check_float_internal): Correct ulp
9349         calculation for subnormal expected results.
9351 2012-05-06  Andreas Jaeger  <aj@suse.de>
9353         * Makeconfig (+math-flags): New, set to -frounding-math.
9354         (+cflags): Add +math-flags so that all of glibc gets compiled with
9355         it.
9357         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9359 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
9361         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9362         Disable one test.
9364         [BZ #13787]
9365         [BZ #13922]
9366         [BZ #14036]
9367         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9368         (__ieee754_expl): Allow for and saturate large arguments.
9369         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9370         (u_threshold): Likewise.
9371         (__exp): Call __ieee754_exp before checking for overflow and
9372         underflow.
9373         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9374         (u_threshold): Likewise.
9375         (__expf): Call __ieee754_expf before checking for overflow and
9376         underflow.
9377         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9378         (u_threshold): Likewise.
9379         (__expl): Call __ieee754_expl before checking for overflow and
9380         underflow.
9381         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9382         (__ieee754_expl): Allow for and saturate large arguments.
9383         * math/libm-test.inc (exp_test): Add another test.  Do not allow
9384         missing overflow exception on overflow.
9385         (expm1_test): Do not allow missing overflow exception on overflow.
9387         * sysdeps/i386/fpu/e_expl.c: Move to ...
9388         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
9389         rather than using inline asm.
9390         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9391         * sysdeps/x86_64/fpu/e_expl.S: Copy from
9392         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9394         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9395         (nice): Likewise.
9396         (poll): Likewise.
9397         (signal): Likewise.
9398         (time): Likewise.
9399         (times): Likewise.
9401 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9403         * sysdeps/unix/syscalls.list (adjtime): Add entry from
9404         sysdeps/unix/common/syscalls.list.
9405         (fchmod): Likewise.
9406         (fchown): Likewise.
9407         (ftruncate): Likewise.
9408         (getrusage): Likewise.
9409         (gettimeofday): Likewise.
9410         (setpgid): Likewise.
9411         (setregid): Likewise.
9412         (setreuid): Likewise.
9413         (sigaction): Likewise.
9414         (truncate): Likewise.
9415         (vhangup): Likewise.
9416         * sysdeps/unix/common/syscalls.list: Remove file.
9417         * sysdeps/unix/bsd/Implies: Don't include unix/common.
9418         * sysdeps/unix/sysv/linux/Implies: Likewise.
9420 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
9422         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9424         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9425         Moved to ...
9426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9427         Here.
9428         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9429         to ...
9430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9431         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9432         to ...
9433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9434         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9435         to ...
9436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9437         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9438         to ...
9439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9440         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9441         to ...
9442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9443         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9444         to ...
9445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9446         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9447         to ...
9448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9449         Here.
9450         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9451         to ...
9452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9453         Here.
9454         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9455         to ...
9456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9457         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9458         Moved to ...
9459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9460         Here.
9461         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9462         to ...
9463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9465 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9467         * sysdeps/unix/common/bits/dirent.h: Remove file.
9468         * sysdeps/unix/common/bits/fcntl.h: Likewise.
9470         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9471         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9472         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9473         * sysdeps/unix/bsd/isatty.c: Likewise.
9474         * sysdeps/unix/bsd/tcdrain.c: Likewise.
9475         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9476         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9478 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9480         [BZ #13563]
9481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9482         long double comparison inaccuracies.
9483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9486 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
9488         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9493         [BZ #14049]
9494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9495         nonzero digits before rounding a hex value.
9496         * stdlib/tst-strtod.c (tests): Add another test.
9498 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9500         * sysdeps/s390/fpu/libm-test-ulps: Update.
9502 2012-05-03  Andreas Jaeger  <aj@suse.de>
9504         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9505         does not get optimized out.
9506         (malloc_opt_barrier): New.
9508 2012-05-03  Andreas Jaeger  <aj@suse.de>
9509             Roland McGrath  <roland@hack.frob.com>
9511         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9512         intermediate file deletion.
9513         (generated): Add .symlist files.
9515 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
9517         [BZ #13775]
9518         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9519         Redirect under this condition.
9520         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9521         [__USE_GNU] (__dprintf_chk): Not under this condition.
9522         [__USE_GNU] (__vdprintf_chk): Likewise.
9523         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9524         under this condition.
9525         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9526         [__USE_XOPEN2K8] (dprintf): Define under this condition.
9527         [__USE_XOPEN2K8] (vdprintf): Likewise.
9528         [__USE_GNU] (__dprintf_chk): Not under this condition.
9529         [__USE_GNU] (__vdprintf_chk): Likewise.
9530         [__USE_GNU] (dprintf): Likewise.
9531         [__USE_GNU] (vdprintf): Likewise.
9533 2012-05-03  Roland McGrath  <roland@hack.frob.com>
9535         * elf/Makefile (common-generated): Set this instead of generated for
9536         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
9537         $(all-built-dso)-derived lists.
9539 2012-05-03  Andreas Jaeger  <aj@suse.de>
9541         * sysdeps/i386/fpu/libm-test-ulps: Update.
9543         * FAQ: Removed.
9544         * FAQ.in: Likewise.
9545         * scripts/gen-FAQ.pl: Likewise.
9546         * manual/install.texi (Installation): Point to online location of
9547         FAQ.
9548         * Makefile (files-for-dist): Remove FAQ.
9549         (FAQ): Remove.
9551 2012-05-02  Allan McRae  <allan@archlinux.org>
9553         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9554         (LDFLAGS-reldepmod5.so): Likewise.
9555         (LDFLAGS-reldep6mod1.so): Likewise.
9556         (LDFLAGS-reldep6mod4.so): Likewise.
9557         (LDFLAGS-reldep8mod3.so): Likewise.
9558         (LDFLAGS-unload4mod1.so): Likewise.
9559         (LDFLAGS-unload4mod2.so): Likewise.
9560         (LDFLAGS-tst-initorder): Likewise.
9561         (LDFLAGS-tst-initordera2.so): Likewise.
9562         (LDFLAGS-tst-initordera3.so): Likewise.
9563         (LDFLAGS-tst-initordera4.so): Likewise.
9564         (LDFLAGS-tst-initorderb2.so): Likewise.
9565         (LDFLAGS-noload): Likewise.
9566         (LDFLAGS-next): Likewise.
9567         (LDFLAGS-order2mod1.so): Likewise.
9568         (LDFLAGS-order2mod2.so): Likewise.
9569         (LDFLAGS-tst-initorder2): Likewise.
9570         (LDFLAGS-tst-initorder2a.so): Likewise.
9571         (LDFLAGS-tst-initorder2b.so): Likewise.
9572         (LDFLAGS-tst-initorder2c.so): Likewise.
9573         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9575 2012-05-02  David S. Miller  <davem@davemloft.net>
9577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9579 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9581         [BZ #14055]
9582         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9584 2012-05-02  Andreas Jaeger  <aj@suse.de>
9586         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9587         since we manipulate rounding mode.
9588         (CPPFLAGS-test-idouble.c): Likewise.
9589         (CPPFLAGS-test-ifloat.c): Likewise.
9590         (CFLAGS-test-ldouble.c): Likewise.
9591         (CFLAGS-test-double.c): Likewise.
9592         (CFLAGS-test-float.c): Likewise.
9593         (CFLAGS-test-misc.c): Likewise.
9594         (CFLAGS-test-test-fenv.c): Likewise.
9596 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9598         [BZ #2550]
9599         [BZ #2570]
9600         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9601         comparisons to determine direction to adjust input.
9603 2012-05-01  Roland McGrath  <roland@hack.frob.com>
9605         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9606         output to the target.
9608         * scripts/localplt.awk: New file.
9609         * elf/Makefile ($(objpfx)check-localplt): Target removed.
9610         (check-localplt-CFLAGS): Variable removed.
9611         ($(all-built-dso:=.jmprel)): New static pattern rule.
9612         (generated): Add those targets.
9613         (localplt-built-dso): New variable.
9614         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9616         * elf/check-localplt.c: File removed.
9618         * scripts/check-execstack.awk: New file.
9619         * elf/Makefile ($(objpfx)check-execstack): Target removed.
9620         (check-execstack-CFLAGS): Variable removed.
9621         ($(objpfx)check-execstack.h): Target removed.
9622         ($(objpfx)execstack-default): New target.
9623         (generated): Add that instead of check-execstack.h.
9624         ($(all-built-dso:=.phdr)): New static pattern rule.
9625         (generated): Add those targets.
9626         * elf/check-execstack.c: File removed.
9628         * scripts/check-textrel.awk: New file.
9629         * elf/Makefile ($(objpfx)check-textrel): Target removed.
9630         (check-textrel-CFLAGS): Variable removed.
9631         (all-built-dso): Use := to define.o
9632         ($(all-built-dso:=.dyn)): New static pattern rule.
9633         (generated): Add those targets.
9634         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9635         * config.make.in (READELF): New substituted variable.
9636         * elf/check-textrel.c: File removed.
9638 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
9640         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9641         allow.
9642         * conform/data/ctype.h-data [C99-based standards] (isblank):
9643         Expect function.
9644         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9645         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9646         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9647         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9648         Specify type.  Require positive value.
9649         (EILSEQ): Likewise.
9650         (ERANGE): Likewise.
9651         [ISO || POSIX] (EILSEQ): Do not expect.
9652         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9653         Specify type.  Require positive value.
9654         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9655         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9656         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9657         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9658         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9659         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9660         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9661         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9662         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9663         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9664         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9665         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9666         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9667         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9668         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9669         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9670         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9671         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9672         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9673         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9674         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9675         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9676         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9677         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9678         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9679         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9680         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9681         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9682         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9683         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9684         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9685         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9686         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9687         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9688         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9689         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9690         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9691         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9692         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9693         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9694         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9695         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9696         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9697         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9698         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9699         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9700         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9701         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9702         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9703         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9704         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9705         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9706         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9707         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9708         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9709         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9710         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9711         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9712         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9713         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9714         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9715         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9716         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9717         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9718         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9719         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9720         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9721         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9722         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9723         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9724         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9725         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9726         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9727         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9728         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9729         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9730         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9731         Require >= 2.
9732         (FLT_ROUNDS): Expect as macro, not constant.
9733         (FLT_MANT_DIG): Use macro-int-constant.
9734         (DBL_MANT_DIG): Likewise.
9735         (LDBL_MANT_DIG): Likewise.
9736         (FLT_DIG): Likewise.
9737         (DBL_DIG): Likewise.
9738         (LDBL_DIG): Likewise.
9739         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
9740         (DBL_MIN_EXP): Likewise.
9741         (LDBL_MIN_EXP): Likewise.
9742         (FLT_MAX_EXP): Use macro-int-constant.
9743         (DBL_MAX_EXP): Likewise.
9744         (LDBL_MAX_EXP): Likewise.
9745         (FLT_MAX_10_EXP): Likewise.
9746         (DBL_MAX_10_EXP): Likewise.
9747         (LDBL_MAX_10_EXP): Likewise.
9748         (FLT_MAX): Use macro-constant.
9749         (DBL_MAX): Likewise.
9750         (LDBL_MAX): Likewise.
9751         (FLT_EPSILON): Use macro-constant.  Give upper bound.
9752         (DBL_EPSILON): Likewise.
9753         (LDBL_EPSILON): Likewise.
9754         (FLT_MIN): Likewise.
9755         (DBL_MIN): Likewise.
9756         (LDBL_MIN): Likewise.
9757         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9758         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9759         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9760         [ISO11] (FLT_HAS_SUBNORM): Likewise.
9761         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9762         [ISO11] (DBL_DECIMAL_DIG): Likewise.
9763         [ISO11] (FLT_DECIMAL_DIG): Likewise.
9764         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9765         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9766         [ISO11] (FLT_TRUE_MIN): Likewise.
9767         [ISO11] (LDBL_TRUE_MIN): Likewise.
9768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9769         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9770         (SCHAR_MIN): Use macro-int-constant.  Specify type.
9771         (SCHAR_MAX): Likewise.
9772         (UCHAR_MAX): Likewise.
9773         (CHAR_MIN): Likewise.
9774         (CHAR_MAX): Likewise.
9775         (MB_LEN_MAX): Use macro-int-constant.
9776         (SHRT_MIN): Use macro-int-constant.  Specify type.
9777         (SHRT_MAX): Likewise.
9778         (USHRT_MAX): Likewise.
9779         (INT_MAX): Likewise.
9780         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
9781         bound negative.
9782         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9783         bound with "U".
9784         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9785         bound with "L".
9786         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
9787         bound negative.  Suffix upper bound with "L".
9788         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9789         bound with "UL".
9790         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9791         Specify type.
9792         [C99-based standards] (LLONG_MAX): Likewise.
9793         [C99-based standards] (ULLONG_MAX): Likewise.
9794         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
9795         == 0.
9796         [ISO11] (max_align_t): Require type.
9797         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9799         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9800         from $CFLAGS, without defining away __attribute__ calls.
9801         (checknamespace): Use $CFLAGS_namespace.
9803         * conform/conformtest.pl (@keywords): Only include C99 keywords
9804         for standards based on C99 or C11.
9806         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9807         Disable tests.
9808         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9809         UNIX98]: Likewise.
9811         * conform/conformtest.pl: Handle "macro-int-constant" and test for
9812         usability of symbols in #if.
9814         * conform/conformtest.pl: If macro or constant types start
9815         "promoted:", expect the symbol to be of the following type
9816         promoted by the integer promotions.
9818         * conform/conformtest.pl: Parse all "constant" and "macro" lines
9819         in one place.  Also handle "macro-constant".
9821         * conform/conformtest.pl: Only accept expected macro values with
9822         "==".  Parse all "macro" lines in one place.
9823         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9825         * conform/conformtest.pl: Handle braced types on "constant" lines
9826         instead of handling "typed-constant".
9827         * conform/data/signal.h-data: Use "constant" instead of
9828         "typed-constant".
9830         * conform/conformtest.pl: Handle "optional-" at start of lines in
9831         one place rather than duplicating several cases.  Handle each
9832         format of "macro" line with initial "optional-".
9834         * conform/conformtest.pl: Only accept expected constant or
9835         optional-constant values with "==".  Parse all "constant" lines in
9836         one place.  Parse all "optional-constant" lines in one place.
9837         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9838         * conform/data/fmtmsg.h-data: Likewise.
9839         * conform/data/netinet/in.h-data: Likewise.
9840         * conform/data/tar.h-data: Likewise.
9841         * conform/data/limits.h-data: Use "==" form on "constant" and
9842         "optional-constant" lines.
9844         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9845         Use -std=c99 for XOPEN2K.
9846         (@knownproblems): Remove.
9847         (newtoken): Don't check %isknown.
9849         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9850         Do not expect macro.
9851         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9852         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9853         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9854         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9855         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9856         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9857         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9858         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9859         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9860         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9861         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9862         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9863         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9864         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9865         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9866         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9867         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9868         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9869         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9870         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9871         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9872         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9874         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9875         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9876         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9877         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9878         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9879         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9880         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9881         [XPG3] (acosh): Likewise.
9882         [XPG3] (asinh): Likewise.
9883         [XPG3] (atanh): Likewise.
9884         [XPG3] (cbrt): Likewise.
9885         [XPG3] (expm1): Likewise.
9886         [XPG3] (ilogb): Likewise.
9887         [XPG3] (log1p): Likewise.
9888         [XPG3] (logb): Likewise.
9889         [XPG3] (nextafter): Likewise.
9890         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9891         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9892         [XPG3] (remainder): Likewise.
9893         [XPG3] (rint): Likewise.
9894         [XPG3 || XPG4 || UNIX98] (round): Likewise.
9895         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9896         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9897         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9898         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9899         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9900         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9901         [UNIX98 || XOPEN2K] (scalb): Expect.
9902         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9903         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9904         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9905         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9906         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9907         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9908         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9909         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9910         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9911         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9912         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9913         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9914         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9915         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9916         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9917         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9918         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9919         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9920         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9921         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9922         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9923         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9924         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9925         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9926         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9927         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9928         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9929         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9930         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9931         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9932         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9933         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9934         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9935         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9936         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9937         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9938         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9939         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9940         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9941         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9942         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9943         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9944         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9945         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9946         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9947         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9948         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9949         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9950         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9951         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9952         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9953         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9954         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9955         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9956         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9957         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9958         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9959         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9960         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9961         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9962         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9963         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9964         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9965         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9966         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9967         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9968         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9969         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9970         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9971         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9972         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9973         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9974         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9975         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9976         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9977         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9978         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9979         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9980         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9981         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9982         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9983         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9984         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9985         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9986         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9987         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9988         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9989         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9990         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9991         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9992         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9993         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9994         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9995         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9996         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9997         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9998         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9999         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10000         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10001         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10002         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10003         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10004         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10005         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10006         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10007         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10008         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10009         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10010         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10011         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10012         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10013         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10014         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10015         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10016         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10017         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10018         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10019         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10020         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10021         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10022         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10023         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10024         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10025         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10026         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10027         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10028         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10029         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10030         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10031         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10032         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10033         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10034         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10035         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10036         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10037         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10038         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10040         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10041         _XOPEN_SOURCE_EXTENDED for XPG4.
10043         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10045         * Makeconfig (localtime): Remove variable.
10046         (inst_localtime-file): Likewise.
10048 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10051         Update.
10052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10053         Update.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10055         Update.
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10057         Update.
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10059         Update.
10060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10061         Update.
10062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10063         Update.
10064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10065         Update.
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10067         Update.
10069 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10071         [BZ #2550]
10072         [BZ #2570]
10073         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10074         comparisons to determine direction to adjust input.
10075         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10076         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10077         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10078         Likewise.
10079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10080         Likewise.
10081         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10082         Likewise.
10083         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10084         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10085         Likewise.
10086         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10087         Likewise.
10088         * math/libm-test.inc (nexttoward_test): Add more tests.
10090 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10092         [BZ #14040]
10093         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10094         in version GLIBC_2.1, not GLIBC_2.0.
10095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10096         Likewise.
10098 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
10100         [BZ #13942]
10101         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10102         (1 - x) * (1 + x).
10103         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10104         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10105         * math/libm-test.inc (acos_test): Add more tests.
10106         (asin_test): Likewise.
10107         * sysdeps/i386/fpu/libm-test-ulps: Update.
10108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110         [BZ #14034]
10111         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10112         of square root.
10113         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10114         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10115         * math/libm-test.inc (acos_test_tonearest): New function.
10116         (acos_test_towardzero): Likewise.
10117         (acos_test_downward): Likewise.
10118         (acos_test_upward): Likewise.
10119         (asin_test_tonearest): Likewise.
10120         (asin_test_towardzero): Likewise.
10121         (asin_test_downward): Likewise.
10122         (asin_test_upward): Likewise.
10123         (main): Call the new functions.
10124         * sysdeps/i386/fpu/libm-test-ulps: Update.
10125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10127         [BZ #13884]
10128         [BZ #13924]
10129         * math/e_exp10.c: Include <float.h>.
10130         (__ieee754_exp10): Handle underflow here rather than multiplying
10131         large negative argument by M_LN10.
10132         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10133         of __ieee754_expf.
10134         * math/e_exp10l.c: Include <float.h>.
10135         (__ieee754_exp10l): Handle underflow here rather than multiplying
10136         large negative argument by M_LN10l.
10137         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
10138         spurious overflow exception on underflow.
10140 2012-04-29  Marek Polacek  <polacek@redhat.com>
10142         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10143         (__fortify_function): New macro.
10144         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10145         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10146         __extern_always_inline.
10147         * libio/bits/stdio2.h: Likewise.
10148         * libio/bits/stdio.h: Likewise.
10149         * string/string.h: Likewise.
10150         * string/bits/string3.h: Likewise.
10151         * include/stdio.h: Likewise.
10152         * stdlib/bits/stdlib.h: Likewise.
10153         * stdlib/stdlib.h: Likewise.
10154         * rt/bits/mqueue2.h: Likewise.
10155         * rt/mqueue.h: Likewise.
10156         * posix/bits/unistd.h: Likewise.
10157         * posix/unistd.h: Likewise.
10158         * io/bits/poll2.h: Likewise.
10159         * io/bits/fcntl2.h: Likewise.
10160         * io/fcntl.h: Likewise.
10161         * io/sys/poll.h: Likewise.
10162         * misc/bits/syslog.h: Likewise.
10163         * misc/bits/syslog-ldbl.h: Likewise.
10164         * misc/sys/syslog.h: Likewise.
10165         * socket/bits/socket2.h: Likewise.
10166         * socket/sys/socket.h: Likewise.
10167         * debug/tst-chk1.c: Likewise.
10168         * wcsmbs/bits/wchar2.h: Likewise.
10169         * wcsmbs/bits/wchar-ldbl.h: Likewise.
10170         * wcsmbs/wchar.h: Likewise.
10172 2012-04-29  Andreas Jaeger  <aj@suse.de>
10174         * Makerules (tests): Remove enable-check-abi protection.
10175         (check-abi-warn): Remove.
10176         (check-abi-%): Remove check-abi-warn usage.
10178         * configure.in: Remove check-abi configure option.
10179         * configure: Regenerated.
10180         * config.make.in (enable-check-abi): Remove.
10182 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
10184         [BZ #14033]
10185         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10186         double functions to double *_finite functions.
10188         [BZ #13941]
10189         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10190         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10191         LDBL_MIN_EXP.
10192         * stdio-common/Makefile (tests): Add tst-sprintf3.
10193         * stdio-common/tst-sprintf3.c: New file.
10195         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10196         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10198 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10200         * conform/conformtest.pl: Remove duplicate typed-constant
10201         handling.
10203 2012-04-28  David S. Miller  <davem@davemloft.net>
10205         * Makerules (%.abilist): Add vpath on sysdep_dirs.
10206         (check-abi-%): Remove AWK script prerequisite and explicit
10207         abilist directory.
10208         (check-abi): Rewrite to just diff the symlist with the abilist.
10209         (config-tls, config-abi-config): Delete, no longer used.
10210         (update-abi-%): Remove AWK script and explicit abilist directory.
10211         (update-abi): Rewrite to simply compare and conditionally copy the
10212         symlist and the sysdep abilist file.  Remove update-abi-config
10213         checks.
10214         * abilist/ld.abilist: Remove.
10215         * abilist/libBrokenLocale.abilist: Remove.
10216         * abilist/libanl.abilist: Remove.
10217         * abilist/libcrypt.abilist: Remove.
10218         * abilist/libdl.abilist: Remove.
10219         * abilist/librt.abilist: Remove.
10220         * abilist/libthread_db.abilist: Remove.
10221         * abilist/libutil.abilist: Remove.
10222         * scripts/extract-abilist.awk: Remove.
10223         * scripts/merge-abilist.awk: Remove.
10224         * sysdeps/generic/libcidn.abilist: New file.
10225         * sysdeps/generic/libnss_compat.abilist: New file.
10226         * sysdeps/generic/libnss_db.abilist: New file.
10227         * sysdeps/generic/libnss_dns.abilist: New file.
10228         * sysdeps/generic/libnss_files.abilist: New file.
10229         * sysdeps/generic/libnss_hesiod.abilist: New file.
10230         * sysdeps/generic/libnss_nis.abilist: New file.
10231         * sysdeps/generic/libnss_nisplus.abilist: New file.
10232         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10233         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10234         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10235         file.
10236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10237         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10238         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10239         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10240         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10241         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10242         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10243         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10244         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10245         file.
10246         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10247         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10248         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10249         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10250         file.
10251         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10252         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10253         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10254         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10255         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10256         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10257         file.
10258         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10259         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10260         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10261         file.
10262         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10264         New file.
10265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10266         New file.
10267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10268         New file.
10269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10270         New file.
10271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10272         New file.
10273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10274         New file.
10275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10276         New file.
10277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10278         New file.
10279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10280         New file.
10281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10282         New file.
10283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10284         New file.
10285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10286         New file.
10287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10288         New file.
10289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10290         file.
10291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10292         New file.
10293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10294         New file.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10296         file.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10298         New file.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10300         New file.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10302         file.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10304         New file.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10306         New file.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10308         New file.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10310         New file.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10312         New file.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10314         New file.
10315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10317         file.
10318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10319         New file.
10320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10321         file.
10322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10323         file.
10324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10325         file.
10326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10327         file.
10328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10329         file.
10330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10331         New file.
10332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10333         file.
10334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10335         file.
10336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10337         New file.
10338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10339         file.
10340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10342         file.
10343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10344         New file.
10345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10346         file.
10347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10348         file.
10349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10350         file.
10351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10352         file.
10353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10354         file.
10355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10356         New file.
10357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10358         file.
10359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10360         file.
10361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10362         New file.
10363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10364         file.
10365         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10366         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10367         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10368         file.
10369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10370         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10371         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10372         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10373         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10374         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10375         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10376         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10377         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10378         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10381         file.
10382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10383         New file.
10384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10385         file.
10386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10387         file.
10388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10389         file.
10390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10391         file.
10392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10393         file.
10394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10395         New file.
10396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10397         New file.
10398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10399         file.
10400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10401         New file.
10402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10403         file.
10404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10406         file.
10407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10408         New file.
10409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10410         file.
10411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10412         file.
10413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10414         file.
10415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10416         file.
10417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10418         file.
10419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10420         New file.
10421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10422         New file.
10423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10424         file.
10425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10426         New file.
10427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10428         file.
10430 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10432         * conform/conformtest.pl: Fix typo in handling typed-constant from
10433         allow-header.
10435 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10437         * README: Cut down references to pre-2.6 Linux kernels and
10438         Linuxthreads.  Update lists of configurations in libc and ports
10439         and sort alphabetically.  Say "or newer" with Linux kernel version
10440         requirements.
10442         * config.h.in [IS_IN_build]: Allow compiling without optimization.
10444 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10446         [BZ #887]
10447         * math/libm-test.inc (logb_test_downward): New test to expose
10448         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10449         rounding mode.
10451 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10453         [BZ #14027]
10454         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10455         to be done.
10456         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10457         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10459 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
10461         * sysdeps/unix/i386/brk.S: Remove file.
10462         * sysdeps/unix/i386/dl-brk.S: Likewise.
10463         * sysdeps/unix/i386/pipe.S: Likewise.
10464         * sysdeps/unix/i386/sigreturn.S: Likewise.
10465         * sysdeps/unix/i386/syscall.S: Likewise.
10466         * sysdeps/unix/i386/vfork.S: Likewise.
10467         * sysdeps/unix/i386/wait.S: Likewise.
10469         * sysdeps/unix/common/tcsendbrk.c: Move to ...
10470         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10472         * configure.in (arm*-none*): Do not allow without
10473         --enable-hacker-mode.
10474         (netbsd*): Remove case setting base_os.
10475         (386bsd*): Likewise.
10476         (freebsd*): Likewise.
10477         (bsdi*): Likewise.
10478         (osf*): Likewise.
10479         (sunos*): Likewise.
10480         (ultrix*): Likewise.
10481         (newsos*): Likewise.
10482         (dynix*): Likewise.
10483         (*bsd*): Likewise.
10484         (sysv*): Likewise.
10485         (isc*): Likewise.
10486         (esix*): Likewise.
10487         (sco*): Likewise.
10488         (minix*): Likewise.
10489         (irix4*): Likewise.
10490         (irix6*): Likewise.
10491         (solaris[2-9]*): Likewise.
10492         (none): Likewise.
10493         * configure: Regenerated.
10495 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10497         [BZ #11521]
10498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10499         overflow or cancellation in calculating denominator.
10500         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10501         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10502         down expression to avoid unexpected rounding in newer GCCs.
10503         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10505 2012-04-26  David S. Miller  <davem@davemloft.net>
10507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10508         long-double compat symbols.
10509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10523 2012-04-25  David S. Miller  <davem@davemloft.net>
10525         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10526         HWCAP_* values only after the memory barriers have been defined.
10527         (atomic_full_barrier): Define.
10528         (atomic_read_barrier): Define.
10529         (atomic_write_barrier): Define.
10531 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10533         * shlib-versions: Add libgcc_s version information.
10534         * sysdeps/generic/libgcc_s.h: Remove.
10535         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10536         libgcc_s.h.
10537         * sysdeps/gnu/unwind-resume.c: Likewise.
10538         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10540 2012-04-25  David S. Miller  <davem@davemloft.net>
10542         * sysdeps/unix/sparc/brk.S: Delete.
10543         * sysdeps/unix/sparc/dl-brk.S: Delete.
10544         * sysdeps/unix/sparc/pipe.S: Delete.
10545         * sysdeps/unix/sparc/sysdep.S: Delete.
10546         * sysdeps/unix/sparc/sysdep.h: Delete.
10547         * sysdeps/unix/sparc/vfork.S: Delete.
10548         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10549         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10550         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10551         ret_ERRVAL, r0, r1, MOVE): Define.
10552         (JUMPTARGET): Remove.
10553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10554         sysdeps/unix/sparc/sysdep.h
10555         (ENTRY, END): Remove.
10556         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10558 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
10560         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10561         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10562         -DIS_IN_build.
10564         * timezone/README: Update upstream location and email address for
10565         tzcode and tzdata.
10566         * timezone/zdump.c: Update from tzcode 2012b.
10567         * timezone/zic.c: Likewise.
10569         * configure.in (libc_cv_as_needed): Remove test.
10570         * configure: Regenerated.
10571         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10572         conditional definition.
10573         [$(have-as-needed) != yes] (no-as-needed): Likewise.
10574         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10575         * config.make.in (have-as-needed): Remove variable.
10577 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10578             Paul Pluzhnikov  <ppluzhnikov@google.com>
10580         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10581         strings correctly.
10583 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10585         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10586         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10587         * sysdeps/sh/strlen.S: Likewise.
10589 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10591         * sysdeps/unix/fork.S: Remove file.
10592         * sysdeps/unix/i386/fork.S: Likewise.
10593         * sysdeps/unix/sparc/fork.S: Likewise.
10595         * sysdeps/unix/system.c: Remove file.
10596         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10598         * sysdeps/unix/getegid.S: Remove file.
10599         * sysdeps/unix/geteuid.S: Likewise.
10601 2012-04-24  Roland McGrath  <roland@hack.frob.com>
10603         * scripts/check-localplt.awk: New file.
10604         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10605         of diff.
10606         * scripts/data/localplt-generic.data: Add a comment.
10608         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10609         NODE when __dir_mkfile failed.
10610         * sysdeps/mach/hurd/symlinkat.c: Likewise.
10611         Reported by Ludovic Courtès <ludo@gnu.org>.
10613 2012-04-24  Andreas Jaeger  <aj@suse.de>
10615         * Makerules (common-clean): Also remove gen-as-const-headers
10616         files.
10618 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10620         * Makerules (native-compile): Do not change working directory for
10621         build.  Use $(OUTPUT_OPTION) in command.
10622         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10624 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10626         [BZ #13886]
10627         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10628         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10629         * math/libm-test.inc (floor_test): Add more tests.
10630         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10632 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10634         * sysdeps/unix/getdents.c: Remove file.
10635         * sysdeps/unix/sysv/getdents.c: Likewise.
10636         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10638         * sysdeps/unix/syscalls.list (madvise): Add syscall from
10639         sysdeps/unix/mman/syscalls.list.
10640         (mmap): Likewise.
10641         (mprotect): Likewise.
10642         (msync): Likewise.
10643         (munmap): Likewise.
10644         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10645         * sysdeps/unix/mman/syscalls.list: Remove.
10646         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10648         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10649         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10650         * configure: Regenerated.
10651         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10652         $(libgcc_s_suffix).
10653         * config.make.in (libgcc_s_suffix): Remove variable.
10655 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
10657         * sysdeps/unix/sysv/gethostname.c: Move to ...
10658         * sysdeps/posix/gethostname.c: ... here.
10660         * sysdeps/unix/execve.S: Remove file.
10662         * sysdeps/unix/_exit.S: Remove file.
10664 2012-04-23  Andreas Jaeger  <aj@suse.de>
10666         [BZ #13739]
10667         * manual/Makefile: Remove make dist support, there's no
10668         need for a stand-alone documentation tar ball.
10669         (TEXI2DVI): Define always, it's not in Makeconfig.
10670         (dist): Removed.
10671         (tar-it): Removed.
10672         (edition): Removed.
10673         (glibc-doc-$(edition).tar): Removed
10674         (%.Z): Removed.
10675         (%.gz): Removed.
10676         (%.uu): Removed.
10677         (ETAGS): Remove, it's in Makeconfig.
10678         (move-if-change): Remove, it's in Makeconfig.
10680 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
10682         [BZ #13970]
10683         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10684         (strtod, strtof, strtold, strtol, strtoul, strtoq)
10685         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10686         (strtod_l, strtof_l, strtold_l): Remove __wur.
10687         It is not necessarily an error to ignore strtol's return value.
10688         One can reliably look at the stored endptr to decide whether
10689         the number had valid syntax.
10691 2012-04-21  Andreas Jaeger  <aj@suse.de>
10693         [BZ #13739]
10694         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10696 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
10698         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10699         * sysdeps/unix/sysv/Versions: Remove file.
10701 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
10703         [BZ #13927]
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10706 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
10708         [BZ #7064]
10709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10710         version from __vm86.
10712 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
10714         * sysdeps/unix/common/lxstat.c: Remove file.
10715         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10717         * sysdeps/unix/sysv/Makefile: Remove file.
10719         * sysdeps/unix/sysv/direct.h: Remove file.
10721         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10722         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10723         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10724         * sysdeps/unix/sysv/bits/signum.h: Likewise.
10725         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10726         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10727         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10729         * sysdeps/unix/sysv/setrlimit.c: Remove file.
10731         * sysdeps/unix/xmknod.c: Remove file.
10732         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10734         * sysdeps/unix/sysv/settimeofday.c: Remove file.
10736         * sysdeps/unix/sysv/i386/time.S: Remove file.
10738         * sysdeps/unix/fxstat.c: Remove file.
10739         * sysdeps/unix/xstat.c: Likewise.
10740         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10742         * sysdeps/unix/sysv/sigaction.c: Remove file.
10744         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10745         (sysdep_headers): Remove variable.
10746         [termio.h not in sysdep_headers] (generated): Likewise.
10747         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10748         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10749         * sysdeps/unix/sysv/tcdrain.c: Likewise.
10750         * sysdeps/unix/sysv/tcflow.c: Likewise.
10751         * sysdeps/unix/sysv/tcflush.c: Likewise.
10752         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10753         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10754         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10755         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10756         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10758         * sysdeps/unix/siglist.c: Remove file.
10760         * sysdeps/unix/getppid.S: Remove file.
10762         * sysdeps/unix/mkdir.c: Remove file.
10763         * sysdeps/unix/rmdir.c: Likewise.
10765 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
10767         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10768         ERR_MAX value.
10769         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10770         errlist-compat value.
10772 2012-04-18  David S. Miller  <davem@davemloft.net>
10774         * sysdeps/generic/memcopy.h (reg_char): Delete.
10775         * debug/strcat_chk.c: Use char, not reg_char.
10776         * debug/strcpy_chk.c: Likewise.
10777         * debug/strncat_chk.c: Likewise.
10778         * debug/strncpy_chk.c: Likewise.
10779         * string/memchr.c: Likewise.
10780         * string/memrchr.c: Likewise.
10781         * string/rawmemchr.c: Likewise.
10782         * string/strcat.c: Likewise.
10783         * string/strchr.c: Likewise.
10784         * string/strchrnul.c: Likewise.
10785         * string/strcmp.c: Likewise.
10786         * string/strcpy.c: Likewise.
10787         * string/strncat.c: Likewise.
10788         * string/strncmp.c: Likewise.
10789         * string/strncpy.c: Likewise.
10791 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10793         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10794         __builtin_memcopy is called when src and dest ranges are known to not
10795         overlap.
10797 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10799         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10800         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10801         fwd_align_merge macro call.
10802         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10803         bwd_align_merge macro call.
10804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10806 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10808         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10809         bwd_align_merge macros.
10810         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10811         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10812         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10814 2012-04-18  David S. Miller  <davem@davemloft.net>
10816         * sysdeps/sparc/sparc64/memcopy.h: Delete.
10818 2012-04-18  Andreas Jaeger  <aj@suse.de>
10820         [BZ# 6794]
10821         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10822         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10823         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10825         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10826         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10827         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10829         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10830         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10831         Adjust for changed ldbl-128 files.
10833         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10834         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10835         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10837 2012-04-17  David S. Miller  <davem@davemloft.net>
10839         * sysdeps/sparc/sparc32/memcopy.h: Delete.
10841 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
10843         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10844         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10845         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10846         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10847         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10848         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10850 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10852         [BZ #6794]
10853         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10854         * math/libm-test.inc: Add ilogb errno and exception tests.
10855         * math/w_ilogb.c: New file: ilogb wrapper.
10856         * math/w_ilogbf.c: New file: ilogbf wrapper.
10857         * math/w_ilogbl.c: New file: ilogbl wrapper.
10858         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10859         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10860         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10861         exception being thrown with 0.0 as argument.
10862         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10863         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10864         exception being thrown with 0.0 as argument.
10865         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10866         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10867         exception being thrown with 0.0 as argument.
10868         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10869         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10870         exception being thrown with 0.0 as argument.
10871         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10872         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10873         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10874         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10875         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10876         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10877         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10878         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10879         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10881 2012-04-17  Petr Baudis  <pasky@ucw.cz>
10883         * include/sys/uio.h: Change __vector to __iovec to avoid clash
10884         with altivec.
10886 2012-04-16  Marek Polacek  <polacek@redhat.com>
10888         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10890 2012-04-16  Marek Polacek  <polacek@redhat.com>
10892         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10893         operands of fdivp instruction.
10895 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10897         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10898         * elf/tst-auditmod3b.c: Likewise.
10899         * elf/tst-auditmod4b.c: Likewise.
10900         * elf/tst-auditmod5b.c: Likewise.
10901         * elf/tst-auditmod6b.c: Likewise.
10902         * elf/tst-auditmod6c.c: Likewise.
10903         * elf/tst-auditmod7b.c: Likewise.
10904         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10905         * sysdeps/x86_64/preconfigure.in: Likewise.
10906         * sysdeps/x86_64/preconfigure: Regenerated.
10908 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10910         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10911         __ILP32__.
10913 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
10915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10916         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10918 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
10920         [BZ #13973]
10921         * locale/iso-639.def: Fix gl language name. Spotted by
10922         Yaron Shahrabani.
10924 2012-04-12  Roland McGrath  <roland@hack.frob.com>
10926         [BZ #2074]
10927         * libio/libio.h (__io_write_fn): Update comment.
10929 2012-04-12  Petr Baudis  <pasky@ucw.cz>
10931         [BZ #2074]
10932         * stdio.texi (Hook Functions): The user provided writer function
10933         is not allowed to return -1.
10935 2012-04-11  David S. Miller  <davem@davemloft.net>
10937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10939 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
10941         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10942         Add a leading slash to rtkaio.
10944 2012-04-11  Jim Meyering  <meyering@redhat.com>
10946         [BZ #11959]
10947         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10948         It is not necessarily an error to ignore fwrite's return
10949         value.  One can reliably use ferror to test for errors after
10950         the fact.
10952 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10954         * bits/types.h (__snseconds_t): New type.
10955         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10957         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10959         (__SNSECONDS_T_TYPE): Likewise.
10960         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10961         (__SNSECONDS_T_TYPE): Likewise.
10962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10963         (__SNSECONDS_T_TYPE): Likewise.
10965 2012-04-10  Andreas Jaeger  <aj@suse.de>
10967         [BZ #2636]
10968         * manual/time.texi (Processor Time): Return type of times is
10969         elapsed real time since an arbitrary point in the past.
10970         (CPU Time): Move CLK_TCK from here...
10971         (Processor Time): ...to here.  Correct description.
10972         * manual/conf.texi (Constants for Sysconf): Correct description of
10973         _SC_CLK_TCK.
10975 2012-04-10  David S. Miller  <davem@davemloft.net>
10977         [BZ #13967]
10978         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10979         where the is a gap between DT_REL(A) and DT_JMPREL.
10981 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10983         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10984         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10985         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10987 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10989         * elf/dl-support.c (_dl_inhibit_cache): New variable.
10990         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10991         (dl_main): Handle --inhibit-cache.
10992         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10993         _dl_inhibit_cache.
10994         * elf/dl-load.c (_dl_map_object): Use it.
10995         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10997 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
10999         [BZ #13872]
11000         * sysdeps/i386/fpu/e_powl.S (p78): New object.
11001         (__ieee754_powl): Saturate large exponents rather than testing for
11002         overflow of y*log2(x).
11003         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11004         * math/libm-test.inc (pow_test): Do not permit spurious overflow
11005         exceptions.
11007         [BZ #11521]
11008         * math/s_ctan.c: Include <float.h>.
11009         (__ctan): Avoid internal overflow or cancellation in calculating
11010         denominator.
11011         * math/s_ctanf.c: Likewise.
11012         * math/s_ctanl.c: Likewise.
11013         * math/s_ctanh.c: Likewise.
11014         * math/s_ctanhf.c: Likewise.
11015         * math/s_ctanhl.c: Likewise.
11016         * math/libm-test.inc (ctan_test): Add more tests.
11017         (ctanh_test): Likewise.
11018         * sysdeps/i386/fpu/libm-test-ulps: Update.
11019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11021 2012-04-09  Andreas Jaeger  <aj@suse.de>
11023         [BZ #6894]
11024         * manual/filesys.texi (Directory Entries): Mention that d_namlen
11025         is an optional BSD extension.
11027         [BZ #10254]
11028         * manual/stdio.texi (Opening Streams): Document additional fopen
11029         parameters.
11031 2012-04-09  Roland McGrath  <roland@hack.frob.com>
11033         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11034         %eax without telling the compiler.
11036 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
11038         [BZ # 13963]
11039         * manual/install.texi: Use sourceware.org.
11041 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
11043         [BZ #13873]
11044         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11045         (__ieee754_pow): Generate overflow and underflow using huge*huge
11046         and tiny*tiny rather than just returning constant infinity or zero
11047         for large exponents.
11048         * math/libm-test.inc (pow_test): Require overflow exceptions for
11049         applicable cases of large exponents.
11051         [BZ #706]
11052         * sysdeps/i386/fpu/e_pow.S (p10): New object.
11053         (__ieee754_pow): Use iterative multiplication algorithm only for
11054         integer exponents with absolute value below 1024.  Check for odd
11055         integer exponents when using algorithm for real exponents.
11056         * math/libm-test.inc (pow_test): Add more tests.
11057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11059 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
11061         [BZ #13705]
11062         * math/libm-test.inc (exp_test): Do not allow overflow exception
11063         on underflow test.
11065 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
11067         [BZ #13705]
11068         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11069         instead of __kernel_standard_f.
11071 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
11073         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11074         * sysdeps/x86_64/memset_chk.S: Likewise.
11076 2012-04-08  Andreas Jaeger  <aj@suse.de>
11078         [BZ #10153]
11079         * manual/startup.texi (Environment Access): Describe return value
11080         for putenv and setenv.
11082         [BZ #6895]
11083         * manual/filesys.texi (Directory Entries): Add description for
11084         DT_LNK.
11086         [BZ #6890]
11087         * manual/filesys.texi (Directory Entries): Clarify that it's file
11088         system not operating system in the description of DT_UNKNOWN.
11090         [BZ #6578]
11091         * manual/syslog.texi (closelog): Fix reference, it's openlog.
11093 2012-04-08  Stephen Compall  <s11@member.fsf.org>
11095         [BZ #6649]
11096         * manual/llio.texi (Opening and Closing Files): Add cross
11097         reference to explain mode argument.
11099 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
11101         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11102         * sysdeps/x86_64/memset_chk.S: Likewise.
11104 2012-04-07  David S. Miller  <davem@davemloft.net>
11106         * elf/elf.h (R_SPARC_WDISP10): Define.
11107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11108         R_SPARC_SIZE32.
11109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11110         R_SPARC_SIZE64 and R_SPARC_H34.
11112 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
11114         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11115         conditions and remove no longer applicable assertion.
11117 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11119         * bits/byteswap.h: Include <features.h>.
11120         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11121         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11123 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11125         * bits/byteswap.h (__bswap_16): Removed.
11126         Include <bits/byteswap-16.h> to get __bswap_16.
11127         * sysdeps/i386/bits/byteswap.h: Likewise.
11128         * sysdeps/s390/bits/byteswap.h: Likewise.
11129         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11130         * bits/byteswap-16.h: New file.
11131         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11132         * sysdeps/s390/bits/byteswap-16.h: Likewise.
11133         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11134         * string/Makefile (headers): Add bits/byteswap-16.h.
11136 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11138         [BZ #13895]
11139         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11140         extra indirection.
11141         * nss/Makefile (tests-static, tests): Add tst-nss-static.
11142         * nss/tst-nss-static.c: New.
11144 2012-04-06  Robert Millan  <rmh@gnu.org>
11146         [BZ #6486]
11147         * manual/llio.texi (File Position Primitive): lseek
11148         refers to WHENCE when it really means OFFSET.
11150 2012-04-06  Andreas Jaeger  <aj@suse.de>
11152         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11153         strncmp declarations.
11155         * abilist/libc.abilist: Add __poll and __ppoll.
11157 2012-04-05  David S. Miller  <davem@davemloft.net>
11159         * scripts/check-local-headers.sh: Accept a host triplet in the
11160         path matched by the exclude regexp.
11162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11163         definition.
11164         * sysdeps/powerpc/powerpc32/dl-machine.h
11165         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11166         * sysdeps/s390/s390-32/dl-machine.h
11167         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11168         * sysdeps/sparc/sparc32/dl-machine.h
11169         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11170         * sysdeps/sparc/sparc64/dl-machine.h
11171         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11173         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11174         lazy binding.
11175         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11176         undefined symbol errors.
11178         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11179         DT_NEEDED entries.
11181 2012-04-05  Michael Matz  <matz@suse.de>
11183         [BZ #13592]
11184         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11186 2012-04-05  Andreas Jaeger  <aj@suse.de>
11188         [BZ #13908]
11189         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11190         comment.
11192 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11194         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11195         which ROUND is no valid rounding mode.
11197 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11199         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11200         read again.
11201         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11205         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11206         an exception using FPU order intentionally.
11208 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11210         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11211         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11212         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11213         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11215 2012-04-05  Simon Josefsson  <simon@josefsson.org>
11217         [BZ #12340]
11218         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11219         EINVAL when BUFLEN is too smal.
11221 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11223         [BZ #13553]
11224         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11225         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11227 2012-04-03  Andreas Jaeger  <aj@suse.de>
11229         [BZ #13938]
11230         * manual/setjmp.texi (System V contexts): Fix sentence.
11232         [BZ #13926]
11233         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11234         New macro for this case.
11235         [!__GNUC__] (__bswap_64): New inline function for this case.
11236         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11237         * bits/byteswap.h: Likewise.
11238         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11239         ull, guard with __GLIBC_HAVE_LONG_LONG.
11241         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11242         __GLIBC_HAVE_LONG_LONG.
11244         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11245         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11247 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11249         [BZ #13691]
11250         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11251         inptr and inend, rather than using last_ch.
11253 2012-04-02  David S. Miller  <davem@davemloft.net>
11255         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11256         * stdio-common/printf-parse.h (read_int): Change return type to
11257         'int', return -1 on INT_MAX overflow.
11258         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11259         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
11260         overflows INT_MAX.  Check for overflow of in-format-string precision
11261         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
11262         SIZE_MAX not INT_MAX for integer overflow test.
11263         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11264         skip the construct in the format string but do not record anything.
11265         * stdio-common/bug22.c: Adjust to test both width/prevision
11266         INT_MAX overflow as well as total length INT_MAX overflow.  Check
11267         explicitly for proper errno values.
11269 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11271         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11272         CHAR_MAX.
11273         * string/test-strcmp.c [! WIDE]: Likewise.
11274         * time/tst-mktime2.c: Likewise for INT_MAX.
11275         * string/test-string.h: #include <sys/param.h> for MIN.
11277         * csu/init-first.c (__libc_init_first): Call __ctype_init.
11278         * sysdeps/i386/init-first.c (init): Likewise.
11279         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11280         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11281         * sysdeps/sh/init-first.c (init): Likewise.
11283 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
11285         * po/ru.po: Update from translation team.
11286         * po/vi.po: Likewise.
11288 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290         * resolv/nss_dns/dns-host.c: Merge copyright years.
11292 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11294         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11295         Optimize memcpy with prefetch if
11296         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
11297         src, dst pointers have unequal 16 byte alignments.
11299 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11301         [BZ #13928]
11302         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11303         from a CNAME entry and return the minimum ttl for the query.
11304         (gaih_getanswer_slice): Likewise.
11306 2012-03-30  Jeff Law  <law@redhat.com>
11308         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11309         due to long keys.
11310         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11311         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11313         * resolv/nss_dns/dns-host.c: Update copyright year.
11315 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
11317         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11318         requests to save a system call.  Fix check that all bytes are sent.
11320         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11321         comments for sendmmsg.
11323 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11325         [BZ #13691]
11326         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11327         with only 1 character between 0x0041 and 0x01b0.
11328         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11329         * wcsmbs/tst-mbsnrtowcs.c: New file.
11331 2012-03-29  David S. Miller  <davem@davemloft.net>
11333         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11334         small copies by hand.
11336 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11338         [BZ #13761]
11339         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11340         _nss_compat_initgroups_dyn): Fall back to malloc/free
11341         for large group memberships.
11343 2012-03-28  David S. Miller  <davem@davemloft.net>
11345         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11346         that branches into memcpy.
11347         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11350         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11352         bits.
11353         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11354         implementation too.
11355         * sysdeps/sparc/mempcpy.S: New file.
11357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11358         the IFUNC routine in the libc case.
11359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11361         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11362         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11363         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11364         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11365         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11366         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11367         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11368         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11370         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11371         loop to 256 bytes instead of 64 bytes and fix test signedness.
11373         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11374         * sysdeps/sparc/sparc32/Makefile: rather than here...
11375         * sysdeps/sparc/sparc64/Makefile: and here.
11377 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
11379         * malloc/mallocbug.c: Avoid warnings about unused variables.
11381 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11383         [BZ #13760]
11384         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11385         in the right place. Discard and retry query if response is
11386         larger than input buffer size.
11388 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
11390         [BZ #369]
11391         [BZ #2678]
11392         [BZ #3866]
11393         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11394         x for large integer exponent.
11395         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11396         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
11397         sign of result as needed afterwards.
11398         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11399         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11400         result for underflowing pow the same as for overflow.
11401         (__kernel_standard_l): Handle powl overflow and underflow here
11402         rather than calling __kernel_standard.
11403         * math/libm-test.inc (pow_test): Add more tests.
11405         [BZ #3868]
11406         [BZ #13879]
11407         [BZ #13910]
11408         [BZ #13911]
11409         [BZ #13912]
11410         [BZ #13913]
11411         [BZ #13915]
11412         [BZ #13916]
11413         [BZ #13917]
11414         [BZ #13918]
11415         [BZ #13919]
11416         [BZ #13920]
11417         [BZ #13921]
11418         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11419         * sysdeps/ieee754/k_standard.c: Include <float.h>.
11420         (__kernel_standard_l): New function.
11421         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11422         __kernel_standard.
11423         * math/w_acosl.c (__acosl): Likewise.
11424         * math/w_asinl.c (__asinl): Likewise.
11425         * math/w_atan2l.c (__atan2l): Likewise.
11426         * math/w_atanhl.c (__atanhl): Likewise.
11427         * math/w_coshl.c (__coshl): Likewise.
11428         * math/w_exp10l.c (__exp10l): Likewise.
11429         * math/w_exp2l.c (__exp2l): Likewise.
11430         * math/w_fmodl.c (__fmodl): Likewise.
11431         * math/w_hypotl.c (__hypotl): Likewise.
11432         * math/w_j0l.c (__j0l, __y0l): Likewise.
11433         * math/w_j1l.c (__j1l, __y1l): Likewise.
11434         * math/w_jnl.c (__jnl, __ynl): Likewise.
11435         * math/w_lgammal.c (__lgammal): Likewise.
11436         * math/w_log10l.c (__log10l): Likewise.
11437         * math/w_log2l.c (__log2l): Likewise.
11438         * math/w_logl.c (__logl): Likewise.
11439         * math/w_powl.c (__powl): Likewise.
11440         * math/w_remainderl.c (__remainderl): Likewise.
11441         * math/w_scalbl.c (sysv_scalbl): Likewise.
11442         * math/w_sinhl.c (__sinhl): Likewise.
11443         * math/w_sqrtl.c (__sqrtl): Likewise.
11444         * math/w_tgammal.c (__tgammal): Likewise.
11445         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11446         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11447         * math/libm-test.inc (acos_test): Add more tests.
11448         (acosh_test): Likewise.
11449         (asin_test): Likewise.
11450         (atanh_test): Likewise.
11451         (exp_test): Likewise.
11452         (exp10_test): Likewise.
11453         (exp2_test): Likewise.
11454         (expm1_test): Likewise.
11455         (lgamma_test): Likewise.
11456         (log_test): Likewise.
11457         (log10_test): Likewise.
11458         (log1p_test): Likewise.
11459         (log2_test): Likewise.
11460         (pow_test): Do not allow some spurious overflow exceptions.
11461         (sqrt_test): Add more tests.
11462         (tgamma_test): Likewise.
11463         (y0_test): Likewise.
11464         (y1_test): Likewise.
11465         (yn_test): Likewise.
11467 2012-03-27  Anton Blanchard  <anton@samba.org>
11469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11470         MAP_HUGETLB.
11471         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11472         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11475 2012-03-27  David S. Miller  <davem@davemloft.net>
11477         * conform/Makefile: Run run-conformtest.sh using $(BASH).
11479         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11480         have-as-vis3 check.
11482 2012-03-27  Andreas Jaeger  <aj@suse.de>
11484         * sysdeps/x86_64/elf/configure.in: Moved to ...
11485         * sysdeps/x86_64/configure.in: ... here.
11486         * sysdeps/x86_64/elf/start.S: Moved to ...
11487         * sysdeps/x86_64/start.S: ... here.
11488         * sysdeps/x86_64/elf/configure: Delete.
11490         * sysdeps/x86_64/configure.in: Merge contents from
11491         sysdeps/i386/configure.in (without i686 check).
11493         * sysdeps/i386/elf/Versions: Merge into ...
11494         * sysdeps/i386/Versions: ... this.
11495         * sysdeps/i386/elf/Versions: Delete file.
11496         * sysdeps/i386/elf/start.S: Moved to ...
11497         * sysdeps/i386/start.S: ...here.
11498         * sysdeps/i386/elf/configure.in: Merge into...
11499         * sysdeps/i386/configure.in: ...here.
11500         * sysdeps/i386/elf/configure.in: Delete file.
11501         * sysdeps/i386/elf/configure: Delete file.
11503         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11504         * debug/backtracesyms.c: ... here.
11505         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11506         * debug/backtracesymsfd.c: ... here.
11507         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11508         * sysdeps/generic/ifunc-sel.h: ... here.
11510         * sysdeps/unix/i386/start.c: Delete file.
11511         * sysdeps/unix/sparc/start.c: Delete file.
11512         * sysdeps/unix/start.c: Delete file.
11514         * sysdeps/sh/elf/configure.in: Moved to ...
11515         * sysdeps/sh/configure.in: ... here.
11516         * sysdeps/sh/elf/start.S: Moved to ...
11517         * sysdeps/sh/start.S: ... here.
11518         * sysdeps/sh/elf/configure: Delete file.
11520         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11521         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11522         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11523         * sysdeps/powerpc/powerpc64/entry.h: ... here.
11524         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11525         * sysdeps/powerpc/powerpc64/start.S: here.
11526         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11527         * sysdeps/powerpc/powerpc64/Makefile: ... this.
11528         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11529         * sysdeps/powerpc/powerpc64/configure.in: ... this.
11530         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11532         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11533         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11534         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11535         * sysdeps/powerpc/powerpc32/start.S: ... here.
11536         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11537         * sysdeps/powerpc/powerpc32/configure.in: ... this.
11538         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11540         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11541         * sysdeps/powerpc/ifunc-sel.h: ... here.
11542         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11543         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11545         * sysdeps/sparc/elf/configure.in: Moved to ...
11546         * sysdeps/sparc/configure.in: ... here.
11547         * sysdeps/sparc/elf/configure: Delete file.
11548         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11549         * sysdeps/sparc/sparc32/start.S: ... here.
11550         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11551         * sysdeps/sparc/sparc64/start.S: ... here.
11552         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11553         * sysdeps/sparc/sparc32/Makefile: ... this.
11554         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11555         * sysdeps/sparc/sparc64/Makefile: ... this.
11557         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11558         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11559         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11560         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11561         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11562         * sysdeps/s390/s390-32/setjmp.S: ... here.
11563         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11564         * sysdeps/s390/s390-32/configure.in: ... here.
11565         * sysdeps/s390/s390-32/elf/configure: Delete file.
11566         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11567         * sysdeps/s390/s390-32/start.S: ... here.
11569         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11570         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11571         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11572         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11573         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11574         * sysdeps/s390/s390-64/setjmp.S: ... here.
11575         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11576         * sysdeps/s390/s390-64/configure.in: ... here
11577         * sysdeps/s390/s390-64/elf/configure: Delete file.
11578         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11579         * sysdeps/s390/s390-64/start.S: ... here.
11580         * sysdeps/s390/s390-64/elf/configure: Delete.
11582         * configure.in: Remove support for elf directories in sysdeps.
11584         * configure: Regenerated.
11585         * sysdeps/i386/configure: Regenerated.
11586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11587         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11588         * sysdeps/s390/s390-32/configure: Regenerated.
11589         * sysdeps/s390/s390-64/configure: Regenerated.
11590         * sysdeps/sh/configure: Regenerated.
11591         * sysdeps/sparc/configure: Regenerated.
11592         * sysdeps/x86_64/configure: Regenerated.
11594 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
11596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11599         denormal result into account.
11601 2012-03-25  Roland McGrath  <roland@hack.frob.com>
11603         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11604         Reported by Allan McRae <allan@archlinux.org>.
11606 2012-03-23  Jeff Law  <law@redhat.com>
11608         * nss/getnssent.c (__nss_getent): Fix typo.
11610 2012-03-23  David S. Miller  <davem@davemloft.net>
11612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11614 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
11616         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11617         to pad to uint64_t for each field.
11618         (dl_tls_index): Replace unsigned long with uint64_t.
11620 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
11621         Paul Pluzhnikov  <ppluzhnikov@google.com>
11623         [BZ #6528]
11624         * grp/Makefile (otherlibs): Don't set it.
11625         * inet/Makefile (otherlibs): Likewise.
11626         * login/Makefile (otherlibs): Likewise.
11627         * nscd/Makefile (otherlibs): Likewise.
11628         * posix/Makefile (otherlibs): Likewise.
11629         * pwd/Makefile (otherlibs): Likewise.
11630         * rt/Makefile (otherlibs): Likewise.
11631         * sunrpc/Makefile (otherlibs): Likewise.
11632         * nss/Makefile (otherlibs): Likewise.
11633         Add libnss_files to routines and static-only-routines.
11634         ($(objpfx)getent): Remove rule.
11635         * resolv/Makefile: Add libnss_dns and libresolv to routines and
11636         static-only-routines.
11638 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #13892]
11641         * math/s_cexp.c: Include <float.h>.
11642         (__cexp): Handle exp result overflowing not necessarily
11643         overflowing both real and imaginary parts of result.
11644         * math/s_cexpf.c: Likewise.
11645         * math/s_cexpl.c: Likewise.
11646         * math/libm-test.inc (cexp_test): Add more tests.
11647         * sysdeps/i386/fpu/libm-test-ulps: Update.
11648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11650 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11652         * include/link.h (ELFW): New macro.
11653         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11654         Replace ELF64_R_TYPE with ELFW(R_TYPE).
11656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11658         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11659         with uint64_t.
11661 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11663         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11664         declaration.
11665         (struct La_x32_retval): Likewise.
11667 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11669         * sysdeps/x86_64/preconfigure.in: New file.
11670         * sysdeps/x86_64/preconfigure: New generated file.
11672 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11674         [BZ #13824]
11675         * math/e_exp2l.c: Include <float.h>.
11676         (__ieee754_exp2l): Handle overflow and underflow cases
11677         separately.  Only pass fractional part of argument to
11678         __ieee754_expl.
11679         * math/libm-test.inc (exp2_test): Add more tests.
11681         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11682         negating x to take absolute value.
11683         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11684         Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11687         Likewise.
11688         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11689         computing low part if x was negated.
11690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11692 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11694         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11695         la_x32_gnu_pltexit.
11696         (pltexit): Cast int_retval to ptrdiff_t.
11697         * elf/tst-auditmod3b.c: Likewise.
11698         * elf/tst-auditmod4b.c: Likewise.
11699         * elf/tst-auditmod5b.c: Likewise.
11700         * elf/tst-auditmod6b.c: Likewise.
11701         * elf/tst-auditmod6c.c: Likewise.
11702         * elf/tst-auditmod7b.c: Likewise.
11704         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11705         and x32_gnu_pltexit.
11707         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11708         __ELF_NATIVE_CLASS.
11709         (La_x32_regs): New macro.
11710         (La_x32_retval): Likewise.
11711         (la_x32_gnu_pltenter): New function prototype.
11712         (la_x32_gnu_pltexit): Likewise.
11714 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11717         exponent.
11719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11721         * configure.in (libc_cv_cc_nofma): Check for option to disable
11722         generation of FMA instructions.
11723         * configure: Regenerate.
11724         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11725         * sysdeps/ieee754/dbl-64/Makefile: New file.
11726         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11727         Remove brandred-fma4.
11728         (CFLAGS-brandred-fma4.c): Remove.
11729         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11731         define.
11732         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11733         define.
11735 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11737         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11738         LLONG_MAX != LONG_MAX.
11739         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11740         (_fitoa_word): Likewise.
11741         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11742         LLONG_MAX != LONG_MAX.
11743         * stdio-common/_itowa.h: Include <_itoa.h>.
11744         (_itowa_word): Use _ITOA_WORD_TYPE on value.
11745         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
11746         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
11747         only if not defined.
11748         (_ITOA_WORD_TYPE): Likewise.
11749         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11750         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11752 2012-03-21  David S. Miller  <davem@davemloft.net>
11754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11756 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11758         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11759         of x86_64 when setting libc_cv_slibdir, libdir and
11760         libc_cv_localedir.
11761         * sysdeps/unix/sysv/linux/configure: Regenerated.
11763 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11765         * manual/lang.texi (Old Varargs): Remove section.
11766         (How Variadic): Update menu.
11767         (va_start): Do not mention varargs.h.
11769 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11770             Joseph Myers  <joseph@codesourcery.com>
11772         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11773         link test.
11774         * configure: Regenerated.
11776 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11778         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11779         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11780         conformtest.pl
11782 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11784         * NOTES: Remove.
11785         * Makefile (files-for-dist): Remove NOTES.
11786         (NOTES): Remove rule.
11787         * README: Don't refer to NOTES.
11788         * manual/creature.texi: Don't include macros.texi.
11789         * manual/intro.texi (creature.texi): Remove comment referring to
11790         NOTES.
11792         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11793         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11794         * configure: Regenerated.
11795         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11796         LIBC_TRY_CC_OPTION.
11797         (libc_cv_as_i686): Likewise.
11798         (libc_cv_cc_avx): Likewise.
11799         (libc_cv_cc_sse2avx): Likewise.
11800         (libc_cv_cc_fma4): Likewise.
11801         (libc_cv_cc_novzeroupper): Likewise.
11802         * sysdeps/i386/configure: Regenerated.
11804         [BZ #13883]
11805         * sysdeps/i386/fpu/s_cexp.S: Remove.
11806         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11807         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11808         * math/libm-test.inc (cexp_test): Add more tests.
11809         * sysdeps/i386/fpu/libm-test-ulps: Update.
11810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11812 2012-03-21  Allan McRae  <allan@archlinux.org>
11814         * timezone/Makefile: Do not install iso3166.tab and zone.tab
11816 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11818         [BZ #13871]
11819         * math/w_exp2.c: Do not include <float.h>.
11820         (o_threshold, u_threshold): Remove.
11821         (__exp2): Calculate result before checking finiteness and calling
11822         __kernel_standard.
11823         * math/w_exp2f.c: Likewise.
11824         * math/w_exp2l.c: Likewise.
11825         * math/libm-test.inc (exp2_test): Require overflow exception for
11826         1e6 input.
11828         [BZ #3866]
11829         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11830         range of signed 64-bit integers before using fistpll.  Remove
11831         checks for whether integers fit in mantissa bits.
11832         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11833         the range of signed 32-bit integers before using fistpl.  Remove
11834         checks for whether integers fit in mantissa bits.
11835         * sysdeps/i386/fpu/e_powl.S (p64): New object.
11836         (__ieee754_powl): Test for y outside the range of signed 64-bit
11837         integers before using fistpll.  Reduce 64-bit values to 63-bit
11838         ones as needed.
11839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11840         divide-by-zero is raised for zero to large negative powers.
11841         * sysdeps/x86_64/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
11844         ones as needed.
11845         * math/libm-test.inc (pow_test): Add more tests.
11847 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11849         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11850         <stdio-common/_itoa.h>.
11851         * debug/segfault.c: Likewise.
11852         * elf/dl-cache.c: Likewise.
11853         * elf/dl-minimal.c: Likewise.
11854         * elf/dl-misc.c: Likewise.
11855         * elf/dl-sysdep.c: Likewise.
11856         * elf/dl-version.c: Likewise.
11857         * elf/rtld.c: Likewise.
11858         * hurd/hurdsock.c: Likewise.
11859         * hurd/lookup-retry.c: Likewise.
11860         * malloc/malloc.c: Likewise.
11861         * malloc/mtrace.c: Likewise.
11862         * nscd/nscd_getgr_r.c: Likewise.
11863         * nscd/nscd_getpw_r.c: Likewise.
11864         * nscd/nscd_getserv_r.c: Likewise.
11865         * posix/getopt_init.c: Likewise.
11866         * posix/wordexp.c: Likewise.
11867         * stdio-common/_itoa.c: Likewise.
11868         * stdio-common/printf_fphex.c: Likewise.
11869         * stdio-common/vfprintf.c: Likewise.
11870         * string/_strerror.c: Likewise.
11871         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11872         * sysdeps/i386/i686/hp-timing.h: Likewise.
11873         * sysdeps/mach/_strerror.c: Likewise.
11874         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11875         * sysdeps/mach/hurd/sethostid.c: Likewise.
11876         * sysdeps/mach/hurd/xmknodat.c: Likewise.
11877         * sysdeps/mach/xpg-strerror.c: Likewise.
11878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11880         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11881         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11882         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11883         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11884         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11885         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11886         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11887         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11888         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11889         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11890         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11891         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11892         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11893         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11894         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11895         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11896         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11897         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11898         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11900         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11902         * stdio-common/_itoa.h: Moved to ...
11903         * sysdeps/generic/_itoa.h: Here.
11905         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11907         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11908         instead of "_itoa.h" and "_itowa.h".
11909         * stdio-common/vfprintf.: Likewise.
11911 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11913         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11914         <bits/wordsize.h>.
11915         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11916         (__signbit): Likwise.
11917         (llrintf): Likwise.
11918         (llrint): Likwise.
11920 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11922         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11923         __WORDSIZE != 64.
11925 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
11927         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11928         OVERFLOW_EXCEPTION_OK.
11929         * math/libm-test.inc ("Philosophy"): Update comment about
11930         exception testing.
11931         (OVERFLOW_EXCEPTION): Define.
11932         (OVERFLOW_EXCEPTION_OK): Likewise.
11933         (INVALID_EXCEPTION_OK): Renumber.
11934         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11935         (IGNORE_ZERO_INF_SIGN): Likewise.
11936         (test_exceptions): Handle FE_OVERFLOW.
11937         (exp10_test): Expect overflow exceptions.
11938         (exp2_test): Likewise.
11939         (expm1_test): Likewise.
11940         (nextafter_test): Likewise.
11941         (pow_test): Likewise.
11942         (scalbn_test): Likewise.
11943         (scalbln_test): Likewise.
11945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11947         * sysdeps/x86_64/bits/atomic.h
11948         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11949         64bit integer.
11950         (atomic_exchange_acq): Likewise.
11951         (__arch_exchange_and_add_body): Likewise.
11952         (__arch_add_body): Likewise.
11953         (atomic_add_negative): Likewise.
11954         (atomic_add_zero): Likewise.
11956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11958         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11959         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11963         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11964         Check __x86_64__ instead of __WORDSIZE.
11966 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11968         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11970 2012-03-19  David S. Miller  <davem@davemloft.net>
11972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11974         * sysdeps/sparc/fpu/fenv_private.h: New file.
11975         * sysdeps/sparc/fpu/math_private.h: Use it.
11976         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11977         Remove.
11978         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11979         (libc_feholdexcept_setroundl): Remove.
11980         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11981         Remove.
11982         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11983         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11985 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11987         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11988         int64_t instead of long int.
11989         (INSERT_WORDS64): Likwise.
11991 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11993         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11994         _Unwind_GetCFA return to _Unwind_Ptr first.
11996 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
11998         [BZ #13629]
11999         * math/s_clog.c: Include <float.h>.
12000         (__clog): Scale large or subnormal inputs.
12001         * math/s_clogf.c: Likewise.
12002         * math/s_clogl.c: Likewise.
12003         * math/s_clog10.c: Include <float.h>.
12004         (M_LOG10_2): Define.
12005         (__clog10): Scale large or subnormal inputs.
12006         * math/s_clog10f.c: Likewise.
12007         * math/s_clog10l.c: Likewise.
12008         * math/libm-test.inc (clog_test): Add more tests.
12009         (clog10_test): Likewise.
12010         * sysdeps/i386/fpu/libm-test-ulps: Update.
12011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12013         [BZ #11451]
12014         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12015         x and y.
12016         * math/libm-test.inc (atan2_test): Add another test.
12018         * Makerules (common-objdir-compile): Remove.
12019         * sysdeps/unix/Makefile (config-generated): Do not add
12020         $(unix-generated) to variable.
12021         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12022         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12023         Remove rule.
12024         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12025         Likewise.
12026         [generic bits/local_lim.h] (before-compile): Do not append to
12027         variable.
12028         [generic bits/local_lim.h] (common-generated): Likewise.
12029         [generic sys/param.h] (before-compile): Do not append to variable.
12030         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12031         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12032         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12033         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12034         include.
12035         [generic sys/param.h] (sys/param.h-includes): Remove variable.
12036         [generic sys/param.h] (sys/param.h-includes): Remove rule.
12037         [generic sys/param.h] ($(addprefix
12038         $(common-objpfx),$(sys/param.h-includes))): Likewise.
12039         [generic sys/param.h] (common-generated): Do not append to
12040         variable.
12041         [generic sys/param.h] (sysdep_headers): Likewise.
12042         [generic bits/errno.h] (before-compile): Do not append to
12043         variable.
12044         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12045         rule.
12046         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12047         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12048         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12049         [generic bits/errno.h] (common-generated): Do not append to
12050         variable.
12051         [generic bits/ioctls.h] (before-compile): Do not append to
12052         variable.
12053         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12054         rule.
12055         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12056         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12057         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12058         rule.
12059         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12060         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12061         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12062         [generic bits/ioctls.h] (common-generated): Do not append to
12063         variable.
12064         [generic sys/syscall.h] (syscall.h): Remove variable.
12065         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12066         rule.
12067         [generic sys/syscall.h] (before-compile): Do not append to
12068         variable.
12069         [generic sys/syscall.h] (common-generated): Likewise.
12070         * sysdeps/unix/errnos-tmpl.c: Remove file.
12071         * sysdeps/unix/errnos.awk: Likewise.
12072         * sysdeps/unix/ioctls-tmpl.c: Likewise.
12073         * sysdeps/unix/ioctls.awk: Likewise.
12074         * sysdeps/unix/mk-local_lim.c: Likewise.
12075         * sysdeps/unix/snarf-ioctls: Likewise.
12077 2012-03-19  Richard Henderson  <rth@twiddle.net>
12079         * sysdeps/i386/fpu/fenv_private.h: New file.
12080         * sysdeps/i386/fpu/math_private.h: Use it.
12081         (math_opt_barrier, math_force_eval): Remove.
12082         (libc_feholdexcept_setround_53bit): Remove.
12083         (libc_feupdateenv_53bit): Remove.
12084         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12085         (math_opt_barrier, math_force_eval): Remove.
12086         (libc_feholdexcept): Remove.
12087         (libc_feholdexcept_setround): Remove.
12088         (libc_fetestexcept, libc_fesetenv): Remove.
12089         (libc_feupdateenv_test): Remove.
12090         (libc_feupdateenv, libc_feholdsetround): Remove.
12091         (libc_feresetround): Remove.
12093         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12094         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12096         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12097         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12098         (libc_feupdateenv_testl): New.
12099         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12100         (libc_feupdateenv_testf): New.
12101         (libc_feupdateenv): Use libc_feupdateenv_test.
12102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12103         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12105         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12106         (libc_feholdsetroundf, libc_feholdsetroundl): New.
12107         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12108         (libc_feresetround_noex): New.
12109         (libc_feresetround_noexf): New.
12110         (libc_feresetround_noexl): New.
12111         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12112         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12113         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12114         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12115         SET_RESTORE_ROUND.
12116         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12118         (__cos): Likewise.
12119         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12120         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12121         SET_RESTORE_ROUND_NOEX.
12122         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12123         SET_RESTORE_ROUND_NOEXF.
12124         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12125         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12126         (libc_feholdsetroundf): New.
12127         (libc_feresetround, libc_feresetroundf): New.
12129         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12130         (libc_feholdexcept_setround_53bit): Convert from macro to function.
12131         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
12133         * sysdeps/generic/math_private.h: Include <fenv.h>.
12134         (default_libc_feholdexcept): New.
12135         (default_libc_feholdexcept_setround): New.
12136         (default_libc_fesetenv, default_libc_feupdateenv): New.
12137         (libc_feholdexcept): Only define if undefined.
12138         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12139         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12140         (libc_feholdexcept_setroundl): Likewise.
12141         (libc_feholdexcept_setround_53bit): Likewise.
12142         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12143         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12144         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12145         (libc_feupdateenv_53bit): Likewise.
12146         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12147         (libc_feholdexcept): Convert from macro to inline function.
12148         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12149         (libc_fesetenv, libc_feupdateenv): Likewise.
12151         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12152         not previously defined.
12153         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12154         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12155         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12156         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12157         * sysdeps/ieee754/flt-32/math_private.h: New file.
12158         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12159         math_private.h below SET_FLOAT_WORD.
12160         (__isnan, __isinf_ns, __finite): Remove.
12161         (__isnanf, __isinf_nsf, __finitef): Remove.
12163 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
12165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12167 2012-03-17  David S. Miller  <davem@davemloft.net>
12169         [BZ #6471]
12170         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12171         for 2.16.
12173 2012-03-16  David S. Miller  <davem@davemloft.net>
12175         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12176         warnings.
12178         [BZ #6471]
12179         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12180         properly.
12181         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12182         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12183         sysdep_routines when subdir is sysvipc.
12184         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12185         __getshmlba helper.
12187         * sysdeps/sparc/fpu/libm-test/ulps: Update.
12189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12191         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12192         [__LP64__].
12194 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12196         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12197         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12198         (__lround): Renamed to ...
12199         (__llround): This.  Replace long int with long long int.
12200         Define lround functions as aliases of llround functions.
12201         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12203 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12205         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12206         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
12207         adresses to uintptr_t.  Replace "long int" and "unsigned long
12208         int" with "greg_t" on va_arg.
12210 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12212         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12213         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12215         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12216         Move e_machine check before EI_CLASS check.  Handle x32
12217         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12218         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12219         SKIP_EM_IA_64 and include
12220         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12222         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12223         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12224         (add_system_dir): New macro.
12226         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12227         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12229 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
12231         [BZ #2551]
12232         [BZ #2552]
12233         [BZ #2553]
12234         [BZ #2554]
12235         [BZ #2562]
12236         [BZ #2563]
12237         [BZ #2565]
12238         [BZ #2566]
12239         [BZ #2576]
12240         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12241         (y0): Likewise.
12242         * math/w_j0f.c (j0f): Likewise.
12243         (y0f): Likewise.
12244         * math/w_j0l.c (__j0l): Likewise.
12245         (__y0l): Likewise.
12246         * math/w_j1.c (j1): Likewise.
12247         (y1): Likewise.
12248         * math/w_j1f.c (j1f): Likewise.
12249         (y1f): Likewise.
12250         * math/w_j1l.c (__j1l): Likewise.
12251         (__y1l): Likewise.
12252         * math/w_jn.c (jn): Likewise.
12253         (yn): Likewise.
12254         * math/w_jnf.c (jnf): Likewise.
12255         (ynf): Likewise.
12256         * math/w_jnl.c (__jnl): Likewise.
12257         (__ynl): Likewise.
12258         * math/libm-test.inc (j0_test): Add more tests.
12259         (j1_test): Likewise.
12260         (jn_test): Likewise.  Add trailing semicolon to existing test.
12261         (y0_test): Likewise.
12262         (y1_test): Likewise.
12263         * sysdeps/i386/fpu/libm-test-ulps: Update.
12264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12266         [BZ #13851]
12267         [BZ #13854]
12268         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12269         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12270         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12271         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12272         (__tanl): Set errno for infinite argument.
12273         * sysdeps/i386/fpu/mptan.c: Remove.
12274         * sysdeps/i386/fpu/s_tan.S: Likewise.
12275         * sysdeps/i386/fpu/s_tanl.S: Likewise.
12276         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12277         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12278         * math/libm-test.inc (tan_test): Add more tests and enable more
12279         tests for double and long double.
12280         * sysdeps/i386/fpu/libm-test-ulps: Update.
12281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12283 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
12285         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12286         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12288 2012-03-16  Roland McGrath  <roland@hack.frob.com>
12290         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12291         * configure.in: Use it for both main tree and add-ons.
12292         * configure: Regenerated.
12294 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12296         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12298 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
12300         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12301         in comment.
12303         [BZ #13851]
12304         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12305         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12306         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12307         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12308         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12309         infinite argument.
12310         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12311         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12312         != 0 for prec == 2.
12313         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12314         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12315         * sysdeps/i386/fpu/s_cosl.S: Likewise.
12316         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12317         * sysdeps/i386/fpu/s_sinl.S: Likewise.
12318         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12319         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12320         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12321         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12322         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12323         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12324         * math/libm-test.inc (cos_test): Add more tests and enable more
12325         tests for long double.
12326         (sin_test): Likewise.
12327         (sincos_test): Likewise.
12328         * sysdeps/i386/fpu/libm-test-ulps: Update.
12329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331 2012-03-16  David S. Miller  <davem@davemloft.net>
12333         * sysdeps/sparc/fpu/math_private.h: New file.
12335 2012-03-15  David S. Miller  <davem@davemloft.net>
12337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12338         file.
12339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12341         file.
12342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12348         sysdep routines.
12349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12351         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12352         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12354         * sysdeps/sparc/sparc-ifunc.h: New file.
12355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12356         sparc-ifunc.h
12357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12359         Likewise.
12360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12361         Likewise.
12362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12366         Likewise.
12367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12372         Likewise.
12373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12374         Likewise.
12375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12393         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12394         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12400 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12402         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12403         scaling.
12404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12406 2012-03-15  Andreas Jaeger  <aj@suse.de>
12408         [BZ #13852]
12409         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12410         ieee754/flt-32 implementation for sin, cos and sincos.
12411         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12412         * sysdeps/i386/fpu/s_cosf.S: Likewise.
12413         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12414         * sysdeps/i386/fpu/s_sinf.S: Likewise.
12415         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12416         ieee754/flt-32 implementation for tan.
12418         * math/libm-test.inc (cos_test): Enable some large input tests for
12419         float as well
12420         (sin_test): Likewise.
12421         (sincos_test): Likewise.
12422         (tan_test): Add tests for large input.
12424         * sysdeps/i386/fpu/libm-test-ulps: Update.
12426 2012-03-15  Andreas Jaeger  <aj@suse.de>
12428         [BZ #13658]
12429         * math/libm-test.inc (cos_test): Add more test cases.
12430         (sin_test): Likewise.
12431         (sincos_test): Likewise.
12433 2012-03-15  Andreas Jaeger  <aj@suse.de>
12435         [BZ #13837]
12436         * math/libm-test.inc (cos_test): Add a test case for large input
12437         value.
12438         (sin_test): Likewise.
12439         (sincos_test): Likewise.
12441 2012-03-15  Andreas Jaeger  <aj@suse.de>,
12442         Joseph Myers  <joseph@codesourcery.com>
12444         [BZ #13658]
12445         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12446         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12447         * sysdeps/i386/fpu/branred.c: Likewise.
12448         * sysdeps/i386/fpu/dosincos.c: Likewise.
12449         * sysdeps/i386/fpu/mpa.c: Likewise.
12450         * sysdeps/i386/fpu/s_cos.S: Likewise.
12451         * sysdeps/i386/fpu/s_sin.S: Likewise.
12452         * sysdeps/i386/fpu/s_sincos.S: Likewise.
12453         * sysdeps/i386/fpu/sincos32.c: Likewise.
12455         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12456         Define.
12457         (libc_feupdateenv_53bit): Define.
12458         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12459         Define.
12460         (libc_feupdateenv_53bit): Define.
12462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12463         53 bit (without extend i386 double precision).
12465         * math/libm-test.inc (sincos_test): Add tests for large input.
12466         (sin): Likewise.
12467         (cos): Likewise.
12469         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12471 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12475 2012-03-15  David S. Miller  <davem@davemloft.net>
12477         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12478         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12479         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12480         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12493         file.
12494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12496         file.
12497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12499         file.
12500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12502         file.
12503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12505         fmin/fmax sysdep routines.
12506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12508 2012-03-14  David S. Miller  <davem@davemloft.net>
12510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12533         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12537         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12539         routines.
12540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12541         file.
12542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12544         file.
12545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12547         file.
12548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12550         file.
12551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12553         file.
12554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12556         file.
12557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12558         file.
12559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12560         file.
12561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12562         file.
12563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12564         New file.
12565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12566         file.
12567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12568         file.
12569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12571         file.
12572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12574         file.
12575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12577         file.
12578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12580         VIS3 routines.
12582         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12583         New file.
12585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12587         * sysdeps/sparc/configure.in: New file.
12588         * sysdeps/sparc/configure: Generate.
12589         * configure.in (libc_cv_sparc_as_vis3): Substitute.
12590         * configure: Regenerate.
12591         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12592         * config.make.in (have-as-vis3): New.
12593         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12594         available use -Av9d instead of -Av9a.
12595         * sysdeps/sparc/sparc64/Makefile: Likewise.
12596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12598         New file.
12599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12600         file.
12601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12602         New file.
12603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12604         file.
12605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12609         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12611         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12612         fzeros/fnegs to load 0x80000000 into a float register instead of
12613         using the stack.
12614         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12616 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12619         bits/syscall.h.
12620         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12621         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12622         ($(inst_includedir)/bits/syscall.h): Remove rule.
12623         ($(objpfx)bits/syscall.d): Include instead of
12624         $(objpfx)syscall-list.d.
12625         (generated): Change syscall-list.h and syscall-list.d to
12626         bits/syscall.h and bits/syscall.d.
12628 2012-03-14  Roland McGrath  <roland@hack.frob.com>
12630         [BZ #13846]
12631         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12633 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12635         [BZ #13841]
12636         * math/s_csqrt.c: Include <float.h>.
12637         (__csqrt): Scale large or subnormal inputs.
12638         * math/s_csqrtf.c: Likewise.
12639         * math/s_csqrtl.c: Likewise.
12640         * math/libm-test.inc (csqrt_test): Add more tests.
12641         * sysdeps/i386/fpu/libm-test-ulps: Update.
12642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12644         [BZ #13840]
12645         * math/libm-test.inc (hypot_test): Add more tests.
12647 2012-03-13  David S. Miller  <davem@davemloft.net>
12649         [BZ #13840]
12650         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12651         double-precision for the calculation instead of scaling.
12653 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
12655         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12656         manipulate bits before adding and subtracting TWO52[sx].
12657         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12659         Likewise.
12660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12662 2012-03-13  David S. Miller  <davem@davemloft.net>
12664         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12665         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12667         rtld-global-offsets.h
12668         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12670         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12671         large parameters.
12673         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12675         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12676         'err' in the ifdef scope in which it is actually used.
12678         * nss/nss_db/db-init.c: Include string.h
12680 2012-03-12  David S. Miller  <davem@davemloft.net>
12682         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12683         masking out of the most significant byte of random value used.
12684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12685         Fix coding style in previous change.
12687         * sysdeps/unix/sysv/linux/kernel-features.h
12688         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12689         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12690         expression.
12691         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12692         later.
12694 2012-03-11  David S. Miller  <davem@davemloft.net>
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12697         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12698         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12699         for 'resultvar' otherwise things get truncated on 64-bit.
12701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12702         Fix masking out of the most significant byte of random value used.
12704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12706 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12710 2012-03-09  David S. Miller  <davem@davemloft.net>
12712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12713         variables with appropriate CPP guards.
12714         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12715         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
12716         on resulting framesize and the management of the outregs buffer for pltexit.
12717         Preserve floating point return values across _dl_call_pltexit call.
12718         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12719         framesize and the management of the outregs buffer for pltexit.
12720         Preserve floating point return values across _dl_call_pltexit
12721         call.
12722         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12723         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12724         (print_exit): Fix format string for return register value.
12726 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
12728         * sunrpc/Makefile (others): Add rpcgen.
12729         ($(objpfx)rpcgen): Remove special build rule and dependency on
12730         libc.
12731         * sunrpc/rpcgen.c: New file.
12733 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
12735         [BZ #13673]
12736         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12737         * stdio-common/bug-vfprintf-nargs.c: Likewise.
12738         * sysdeps/i386/crti.S: Likewise.
12739         * sysdeps/i386/crtn.S: Likewise.
12740         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12741         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12742         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12743         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12744         * sysdeps/sh/crti.S: Likewise.
12745         * sysdeps/sh/crtn.S: Likewise.
12746         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12748         [BZ #13673]
12749         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12750         with URL.
12751         * locale/programs/locfile-kw.gperf: Likewise.
12752         * locale/programs/charmap-kw.h: Regenerated.
12753         * locale/programs/locfile-kw.h: Likewise.
12755         [BZ #13673]
12756         * intl/plural.y: Replace FSF snail mail address with URL.
12757         * intl/plural.c: Regenerated.
12759 2012-03-09  Richard Henderson  <rth@twiddle.net>
12761         * include/math_private.h: Remove file.
12762         * math/math_private.h: Move file ...
12763         * sysdeps/generic/math_private.h: ... here.
12765         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12766         * sysdeps/powerpc/fpu/math_private.h: Likewise.
12767         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12769         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12770         and <math_private.h>.
12771         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12772         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12773         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12774         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12775         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12776         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12777         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12778         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12779         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12780         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12782         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12783         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12784         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12785         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12786         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12787         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12788         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12789         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12790         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12792         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12793         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12794         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12795         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12796         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12797         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12798         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12799         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12800         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12801         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12803         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12804         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12805         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12806         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12807         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12808         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12809         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12810         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12811         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12812         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12813         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12814         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12815         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12816         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12817         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12818         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12819         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12820         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12821         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12822         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12823         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12824         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12825         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12826         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12827         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12828         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12829         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12830         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12831         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12832         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12833         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12834         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12835         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12836         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12837         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12838         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12839         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12840         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12841         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12843         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12844         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12845         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12848         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12850         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12851         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12852         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12853         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12854         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12855         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12858         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12859         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12860         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12861         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12862         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12863         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12864         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12865         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12866         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12867         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12868         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12869         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12870         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12871         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12872         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12873         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12874         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12875         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12876         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12877         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12878         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12879         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12880         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12881         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12882         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12883         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12884         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12885         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12886         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12887         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12888         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12889         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12890         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12891         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12892         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12893         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12894         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12895         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12896         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12897         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12898         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12899         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12900         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12901         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12902         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12903         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12904         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12905         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12906         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12907         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12908         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12909         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12910         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12911         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12912         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12913         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12914         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12915         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12916         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12917         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12918         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12919         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12920         * sysdeps/ieee754/k_standard.c: Likewise.
12921         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12922         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12923         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12924         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12925         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12926         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12927         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12928         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12929         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12930         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12931         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12932         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12933         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12934         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12935         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12936         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12937         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12938         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12939         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12940         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12941         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12942         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12943         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12944         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12945         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12946         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12947         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12948         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12949         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12950         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12951         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12952         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12953         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12954         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12959         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12962         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12963         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12964         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12965         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12966         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12967         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12969         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12971         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12972         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12973         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12975         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12976         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12977         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12979         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12981         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12982         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12983         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12984         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12985         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12986         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12987         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12988         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12989         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12990         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12991         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12993         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12994         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12995         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12996         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12997         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12998         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12999         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13000         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13001         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13002         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13003         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13004         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13005         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13006         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13007         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13008         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13010         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13011         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13012         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13013         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13014         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13015         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13016         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13017         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13018         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13019         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13022         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13023         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13024         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13025         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13026         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13027         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13028         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13029         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13030         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13032         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13033         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13034         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13035         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13036         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13037         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13038         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13039         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13040         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13041         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13042         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13043         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13044         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13045         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13046         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13047         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13048         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13049         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13050         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13051         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13052         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13053         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13054         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13055         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13056         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13057         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13058         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13059         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13060         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13061         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13062         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13063         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13064         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13065         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13066         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13067         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13068         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13069         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13070         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13071         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13072         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13073         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13074         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13075         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13076         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13077         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13078         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13079         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13080         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13081         * sysdeps/ieee754/s_lib_version.c: Likewise.
13082         * sysdeps/ieee754/s_matherr.c: Likewise.
13083         * sysdeps/ieee754/s_signgam.c: Likewise.
13084         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13085         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13086         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13087         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13088         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13089         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13090         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13091         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13092         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13093         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13094         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13095         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13096         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13097         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13098         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13099         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13100         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13101         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13102         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13106 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13108         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13109         * sunrpc/rpc_main.c: Likewise.
13110         * sunrpc/rpc_svcout.c: Likewise.
13112 2012-03-09  David S. Miller  <davem@davemloft.net>
13114         * include/math_private.h: New file.
13116 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13118         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13119         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13120         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13121         from <bits/socket_type.h>.
13122         (enum __socket_type): Don't define here.
13123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13125         bits/socket_type.h.
13127         [BZ #13566]
13128         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13129         checking __USE_GNU.
13131         * Makerules ($(inst_includedir)/%.h): New rule.
13132         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13133         (install-others): Remove variable setting.
13134         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13136 2012-03-08  Richard Henderson  <rth@twiddle.net>
13138         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13139         from macro to inline function; merge with the
13140         !__LIBC_INTERNAL_MATH_INLINES version.
13141         (__ieee754_sqrtf): Likewise.
13143         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13144         to inline function.
13145         (__rintf, __floor, __floorf): Likewise.
13147         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13148         macro to inline function.
13149         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13151         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13152         not <math/math_private.h>.
13154 2012-03-08  David S. Miller  <davem@davemloft.net>
13156         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13157         copyright year.
13158         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13160 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
13162         * resolv/gai_misc.c (handle_requests): Fix struct timespec
13163         normalization.
13164         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13165         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13167 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
13169         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
13170         be defined individually, they must be defined as a block.  Define
13171         S for printing a string instead of hidint the different by using a
13172         macro for adding the 'l'.
13173         * stdio-common/tst-fphex-wide.c: Adjust.
13175 2012-03-07  Marek Polacek  <polacek@redhat.com>
13177         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13179 2012-03-08  Marek Polacek  <polacek@redhat.com>
13181         [BZ #13806]
13182         * stdio-common/Makefile (tests): Add tst-fphex-wide.
13183         * stdio-common/tst-fphex.c: Define a few macros to make the
13184         test reusable.  Use them.
13185         * stdio-common/tst-fphex-wide.c: New file.
13187 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #6911]
13190         * manual/macros.texi (gnusystems): New macro.
13191         (nongnusystems): Likewise.
13192         (gnulinuxhurdsystems): Likewise.
13193         (gnuhurdsystems): Likewise..
13194         (gnulinuxsystems): Likewise.
13195         * manual/charset.texi: Use new macros or @theglibc{} to refer to
13196         variants of the GNU system, not "GNU system".
13197         * manual/conf.texi: Likewise.
13198         * manual/errno.texi: Likewise.  Update example of errno macro
13199         expansion.
13200         * manual/filesys.texi: Likewise.
13201         (getumask): Document as specific to GNU/Hurd.
13202         * manual/install.texi: Likewise.  Reword some references to
13203         GNU/Linux.
13204         * manual/intro.texi: Likewise.
13205         * manual/io.texi: Likewise.
13206         (File Name Portability): Detail which constraints are inapplicable
13207         to all GNU systems and which are only inapplicable to GNU/Hurd.
13208         * manual/job.texi: Likewise.
13209         * manual/llio.texi: Likewise.
13210         (O_NOCTTY): Document as present on GNU/Linux.
13211         * manual/maint.texi: Likewise.
13212         * manual/memory.texi: Likewise.
13213         * manual/pattern.texi: Likewise.
13214         * manual/pipe.texi: Likewise.
13215         * manual/process.texi: Likewise.
13216         * manual/resource.texi: Likewise.
13217         (RUSAGE_CHILDREN): Remove statement about specifying a particular
13218         child on GNU/Hurd.
13219         * manual/setjmp.texi: Likewise.
13220         * manual/signal.texi: Likewise.
13221         * manual/startup.texi: Likewise.
13222         * manual/stdio.texi: Likewise.
13223         * manual/terminal.texi: Likewise.
13224         (ONLCR): Document as POSIX.
13225         (OXTABS): Document availability on GNU/Linux as XTABS.
13226         (ONOEOT): Document availability separately from other bits.
13227         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13228         * manual/time.texi: Likewise.
13229         * manual/users.texi: Likewise.
13230         * INSTALL: Regenerated.
13231         * sysdeps/gnu/errlist.c: Regenerated.
13233         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13234         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13235         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
13236         puts.
13237         * configure: Regenerated.
13239 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
13241         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13242         default includes instead of AC_HEADER_CHECK.
13243         * sysdeps/i386/configure: Regenerated.
13245         [BZ #10716]
13246         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13247         * math/s_cacoshf.c (__cacoshf): Likewise.
13248         * math/s_cacoshl.c (__cacoshl): Likewise.
13249         * math/s_casinh.c (__casinh): Set signs of result from argument.
13250         * math/s_casinhf.c (__casinhf): Likewise.
13251         * math/s_casinhl.c (__casinhl): Likewise.
13252         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13253         (casinh_test): Add more tests.
13254         * sysdeps/i386/fpu/libm-test-ulps: Update.
13255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13257 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
13259         * po/zh_TW.po: Update from translation team.
13261         * login/Makefile (distribute): Remove variable.
13262         * catgets/Makefile: Likewise.
13263         * mach/Makefile: Likewise.
13264         * malloc/Makefile: Likewise.
13265         * misc/Makefile: Likewise.
13266         * iconv/Makefile: Likewise.
13267         * nscd/Makefile: Likewise.
13268         * hurd/Makefile: Likewise.
13269         * manual/Makefile: Likewise.
13270         * locale/Makefile: Likewise.
13271         * intl/Makefile: Likewise.
13272         * conform/Makefile: Likewise.
13273         * nss/Makefile: Likewise.
13274         * time/Makefile: Likewise.
13275         * soft-fp/Makefile: Likewise.
13276         * dirent/Makefile: Likewise.
13277         * gmon/Makefile: Likewise.
13278         * po/Makefile: Likewise.
13279         * rt/Makefile: Likewise.
13280         * socket/Makefile: Likewise.
13281         * math/Makefile: Likewise.
13282         * signal/Makefile: Likewise.
13283         * debug/Makefile: Likewise.
13284         * elf/Makefile: Likewise.
13285         * timezone/Makefile: Likewise.
13286         * stdlib/Makefile: Likewise.
13287         * iconvdata/Makefile: Likewise.
13288         * sunrpc/Makefile: Likewise.
13289         * io/Makefile: Likewise.
13290         * argp/Makefile: Likewise.
13291         * inet/Makefile: Likewise.
13292         * hesiod/Makefile: Likewise.
13293         * grp/Makefile: Likewise.
13294         * csu/Makefile: Likewise.
13295         * wctype/Makefile: Likewise.
13296         * crypt/Makefile: Likewise.
13297         * libio/Makefile: Likewise.
13298         * string/Makefile: Likewise.
13299         * nis/Makefile: Likewise.
13300         * resolv/Makefile: Likewise.
13301         * stdio-common/Makefile: Likewise.
13302         * wcsmbs/Makefile: Likewise.
13303         * dlfcn/Makefile: Likewise.
13304         * posix/Makefile: Likewise.
13306         [BZ #6959]
13307         * timezone/Makefile: Don't install timezone files, just the programs
13308         and scripts.
13310 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
13312         * nss/databases.def: Add missing gshadow entry.
13314         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
13316 2012-03-06  Marek Polacek  <polacek@redhat.com>
13318         [BZ #13726]
13319         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13320         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13321         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13322         * stdio-common/tst-long-dbl-fphex.c: New file.
13324 2012-03-06  David S. Miller  <davem@davemloft.net>
13326         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13327         (set_obp_int): New function.
13328         (get_obp_int): New function.
13329         (__get_clockfreq_via_dev_openprom): Likewise.
13330         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13331         Avoid unused variable warnings on 'val' and use builtin_expect.
13332         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13333         __builtin_expect.
13334         (INLINE_CLONE_SYSCALL): Likewise.
13336 2012-03-05  David S. Miller  <davem@davemloft.net>
13338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13340 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
13342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13345         only for |x| >= 40.
13346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13348 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13351         Replace gettimeofday with __vdso_gettimeofday.
13353         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13354         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13355         __vdso_clock_gettime and __vdso_getcpu.
13357         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13358         time with __vdso_time.
13360 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13362         * manual/lang.texi (size_t): Note types to which size_t may be
13363         equivalent with the GNU C Library, but do not describe when
13364         differences between them are significant.
13366 2012-03-05  Andreas Jaeger  <aj@suse.de>
13368         * sysdeps/i386/fpu/libm-test-ulps: Update.
13370 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13372         [BZ #3976]
13373         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13374         (__ieee754_pow): Save and restore rounding mode and use
13375         round-to-nearest for main computations.
13376         * math/libm-test.inc (pow_test_tonearest): New function.
13377         (pow_test_towardzero): Likewise.
13378         (pow_test_downward): Likewise.
13379         (pow_test_upward): Likewise.
13380         (main): Call the new functions.
13381         * sysdeps/i386/fpu/libm-test-ulps: Update.
13382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13384         [BZ #3976]
13385         * math/libm-test.inc (cosh_test_tonearest): New function.
13386         (cosh_test_towardzero): Likewise.
13387         (cosh_test_downward): Likewise.
13388         (cosh_test_upward): Likewise.
13389         (sinh_test_tonearest): Likewise.
13390         (sinh_test_towardzero): Likewise.
13391         (sinh_test_downward): Likewise.
13392         (sinh_test_upward): Likewise.
13393         (main): Call the new functions.
13394         * sysdeps/i386/fpu/libm-test-ulps: Update.
13395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13397 2012-03-05  Tom de Vries  <tom@codesourcery.com>
13399         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13400         default stack guard is set in last bytes.
13401         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13403 2012-03-05  Kees Cook  <keescook@chromium.org>
13405         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13407         [BZ #13656]
13408         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13409         possibly allocate from heap instead of stack.
13410         * stdio-common/bug-vfprintf-nargs.c: New file.
13411         * stdio-common/Makefile (tests): Add nargs overflow test.
13413 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
13415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13417 2012-03-03  Marek Polacek  <polacek@redhat.com>
13419         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13420         * math/math_private.h: Likewise.
13421         * stdlib/tst-strtod.c: Likewise.
13422         * sysdeps/i386/i486/bits/atomic.h: Likewise.
13423         * sysdeps/x86_64/bits/atomic.h: Likewise.
13425 2012-03-02  David S. Miller  <davem@davemloft.net>
13427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13431         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13432         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13433         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13434         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13436 2012-03-02  Roland McGrath  <roland@hack.frob.com>
13438         [BZ #13792]
13439         * manual/examples/README: New file, says the example source files
13440         can be used under GPL>=2.
13441         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13442         line containing just "*/".
13443         * manual/examples/add.c: Add copyright header (GPL>=2).
13444         * manual/examples/argp-ex1.c: Likewise.
13445         * manual/examples/argp-ex2.c: Likewise.
13446         * manual/examples/argp-ex3.c: Likewise.
13447         * manual/examples/argp-ex4.c: Likewise.
13448         * manual/examples/atexit.c: Likewise.
13449         * manual/examples/db.c: Likewise.
13450         * manual/examples/dir.c: Likewise.
13451         * manual/examples/dir2.c: Likewise.
13452         * manual/examples/execinfo.c: Likewise.
13453         * manual/examples/filecli.c: Likewise.
13454         * manual/examples/filesrv.c: Likewise.
13455         * manual/examples/fmtmsgexpl.c: Likewise.
13456         * manual/examples/genpass.c: Likewise.
13457         * manual/examples/inetcli.c: Likewise.
13458         * manual/examples/inetsrv.c: Likewise.
13459         * manual/examples/isockad.c: Likewise.
13460         * manual/examples/longopt.c: Likewise.
13461         * manual/examples/memopen.c: Likewise.
13462         * manual/examples/memstrm.c: Likewise.
13463         * manual/examples/mkfsock.c: Likewise.
13464         * manual/examples/mkisock.c: Likewise.
13465         * manual/examples/mygetpass.c: Likewise.
13466         * manual/examples/pipe.c: Likewise.
13467         * manual/examples/popen.c: Likewise.
13468         * manual/examples/rprintf.c: Likewise.
13469         * manual/examples/search.c: Likewise.
13470         * manual/examples/select.c: Likewise.
13471         * manual/examples/setjmp.c: Likewise.
13472         * manual/examples/sigh1.c: Likewise.
13473         * manual/examples/sigusr.c: Likewise.
13474         * manual/examples/stpcpy.c: Likewise.
13475         * manual/examples/strdupa.c: Likewise.
13476         * manual/examples/strftim.c: Likewise.
13477         * manual/examples/strncat.c: Likewise.
13478         * manual/examples/subopt.c: Likewise.
13479         * manual/examples/swapcontext.c: Likewise.
13480         * manual/examples/termios.c: Likewise.
13481         * manual/examples/testopt.c: Likewise.
13482         * manual/examples/testpass.c: Likewise.
13483         * manual/examples/timeval_subtract.c: Likewise.
13485         [BZ #13792]
13486         * manual/time.texi (Elapsed Time): Move timeval_subtract example
13487         function to ...
13488         * manual/timeval_subtract.c.texi: ... here, new file.
13490 2012-03-02  David S. Miller  <davem@davemloft.net>
13492         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13494 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
13496         [BZ #3976]
13497         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13498         (__sin): Save and restore rounding mode and use round-to-nearest
13499         for all computations.
13500         (__cos): Save and restore rounding mode and use round-to-nearest
13501         for all computations.
13502         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13503         <fenv.h>.
13504         (tan): Save and restore rounding mode and use round-to-nearest for
13505         all computations.
13506         * math/libm-test.inc (cos_test_tonearest): New function.
13507         (cos_test_towardzero): Likewise.
13508         (cos_test_downward): Likewise.
13509         (cos_test_upward): Likewise.
13510         (sin_test_tonearest): Likewise.
13511         (sin_test_towardzero): Likewise.
13512         (sin_test_downward): Likewise.
13513         (sin_test_upward): Likewise.
13514         (tan_test_tonearest): Likewise.
13515         (tan_test_towardzero): Likewise.
13516         (tan_test_downward): Likewise.
13517         (tan_test_upward): Likewise.
13518         (main): Call the new functions.
13519         * sysdeps/i386/fpu/libm-test-ulps: Update.
13520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13522         [BZ #10135]
13523         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13524         small n, then large n, before computing and testing k+n.
13525         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13526         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13527         Likewise.
13528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13529         Likewise.
13530         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13531         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13532         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13533         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13534         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13535         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13537         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13538         * math/libm-test.inc (scalbn_test): Add more tests.
13539         (scalbln_test): Likewise.
13541         * manual/filesys.texi (mode_t): Describe constraints on size and
13542         signedness, not exact equivalence to a particular type.
13543         (ino_t): Likewise.
13544         (ino64_t): Likewise.
13545         (dev_t): Likewise.
13546         (nlink_t): Likewise.
13547         (blkcnt_t): Likewise.
13548         (blkcnt64_t): Likewise.
13549         * manual/llio.texi (off_t): Likewise.
13551         [BZ #3976]
13552         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13553         (__ieee754_exp): Save and restore rounding mode and use
13554         round-to-nearest for all computations.
13555         * math/libm-test.inc (exp_test_tonearest): New function.
13556         (exp_test_towardzero): Likewise.
13557         (exp_test_downward): Likewise.
13558         (exp_test_upward): Likewise.
13559         (main): Call the new functions.
13560         * sysdeps/i386/fpu/libm-test-ulps: Update.
13561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13563 2012-03-01  Chris Demetriou  <cgd@google.com>
13565         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13566         have predictable order.
13568 2012-03-01  David S. Miller  <davem@davemloft.net>
13570         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13572         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13573         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13574         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13575         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13577         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13578         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13579         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13581         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13582         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13583         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13584         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13585         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13589         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13590         * sysdeps/sparc/fpu/libm-test-ulps: to here.
13591         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13593         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13594         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13595         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13596         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13597         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13599         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13600         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13601         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13602         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13603         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13606         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13607         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13609         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13610         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13611         * sysdeps/sparc/elf/configure: Regenerated.
13613 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
13615         * configure.in (AS, LD): Require binutils 2.20 or later.
13616         * configure: Regenerated.
13617         * manual/install.texi (Tools for Compilation): Give binutils 2.20
13618         as required minimum version.
13619         * INSTALL: Regenerated.
13621         [BZ #2541]
13622         [BZ #4108]
13623         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13624         before squaring exponent.
13625         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13626         bottom long double and 27 bits of top long double before squaring
13627         exponent.
13628         * math/libm-test.inc (erfc_test): Add more tests.
13629         * sysdeps/i386/fpu/libm-test-ulps: Update.
13630         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13633 2012-03-01  Kai Tietz  <ktietz@redhat.com>
13635         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13636         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13637         containing bit-fields.
13638         * soft-fp/extended.h (_FP_UNION_E): Likewise.
13639         * soft-fp/single.h (_FP_UNION_S): Likewise.
13640         * soft-fp/double.h (_FP_UNION_D): Likewise.
13642 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13644         [BZ #13786]
13645         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13646         not include ../strcmp.S.
13647         [USE_AS_STRNCASECMP_L]: Likewise.
13648         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13649         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13650         * sysdeps/i386/i686/multiarch/strncase_l-c.c
13651         (__strncasecmp_l_ia32): Define as alias to
13652         __strncasecmp_l_nonascii.
13654         [BZ #5794]
13655         * math/libm-test.inc (expm1_test): Add test for bug 5794.
13656         * sysdeps/i386/fpu/libm-test-ulps: Update.
13657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13659         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13662 2012-02-29  Jeff Law  <law@redhat.com>
13664         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13665         out of bounds read.
13667 2012-02-29  Marek Polacek  <polacek@redhat.com>
13669         [BZ #13706]
13670         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13671         * elf/Makefile: Add rules to run tst-unused-dep.out.
13673 2012-02-28  David S. Miller  <davem@davemloft.net>
13675         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13676         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13678         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13679         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13680         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13682 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13684         * math/libm-test.inc (llround_test): Move one test from
13685         lround_test.  Use TEST_f_L in moved test.
13686         (lround_test): Move misplaced test to llround_test.  Add testcase
13687         from bug 2561.
13689 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
13691         * sysdeps/x86_64/fpu/e_expf.S: New file.
13692         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13694 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
13696         [BZ #13637]
13697         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13698         of remain_len that may cause incomplete multi-byte character and
13699         false match.
13700         * posix/bug-regex33.c: New file.
13701         * posix/Makefile (tests): Add bug-regex33.
13703 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
13705         * manual/macros.texi: New file.
13706         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13707         * manual/libc.texinfo: Include macros.texi.
13708         * manual/creatute.texi: Likewise.
13709         * manual/install.texi: Likewise.
13710         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13711         @glibcadj{} in references to the GNU C Library.
13712         * manual/charset.texi: Likewise.
13713         * manual/conf.texi: Likewise.
13714         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
13715         when not using those macros.
13716         * manual/creature.texi: Likewise.
13717         * manual/crypt.texi: Likewise.
13718         * manual/errno.texi: Likewise.
13719         * manual/filesys.texi: Likewise.
13720         * manual/header.texi: Likewise.
13721         * manual/install.texi: Likewise.
13722         * manual/intro.texi: Likewise.
13723         * manual/io.texi: Likewise.
13724         * manual/job.texi: Likewise.
13725         * manual/lang.texi: Likewise.
13726         * manual/libc.texiinfo: Likewise.
13727         * manual/llio.texi: Likewise.
13728         * manual/locale.texi: Likewise.
13729         * manual/maint.texi: Likewise.
13730         * manual/math.texi: Likewise.
13731         * manual/memory.texi: Likewise.
13732         * manual/message.texi: Likewise.
13733         * manual/nss.texi: Likewise.
13734         * manual/pattern.texi: Likewise.
13735         * manual/process.texi: Likewise.
13736         * manual/resource.texi: Likewise.
13737         * manual/search.texi: Likewise.
13738         * manual/setjmp.texi: Likewise.
13739         * manual/signal.texi: Likewise.
13740         * manual/socket.texi: Likewise.
13741         * manual/startup.texi: Likewise.
13742         * manual/stdio.texi: Likewise.
13743         * manual/string.texi: Likewise.
13744         * manual/sysinfo.texi: Likewise.
13745         * manual/syslog.texi: Likewise.
13746         * manual/terminal.texi: Likewise.
13747         * manual/time.texi: Likewise.
13748         * manual/users.texi: Likewise.
13749         * INSTALL: Regenerated.
13750         * NOTES: Regenerated.
13751         * sysdeps/gnu/errlist.c: Regenerated.
13753 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
13755         * include/dirent.h: Include <dirstream.h> before
13756         <dirent/dirent.h>.
13758 2012-02-28  David S. Miller  <davem@davemloft.net>
13760         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13761         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13762         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13763         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13765 2012-02-27  David S. Miller  <davem@davemloft.net>
13767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13769         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13770         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13773         frame pointer instead of stack pointer relative arg slot.
13774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13775         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13776         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13778 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
13780         [BZ #3992]
13781         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13783 2012-02-27  David S. Miller  <davem@davemloft.net>
13785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13791         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13792         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13794 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13796         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13797         later.  Allow versions 5-9.
13798         * configure: Regenerated.
13799         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13800         required minimum version and 4.6 as recommended version.  Do not
13801         mention bugs in GCC 2.7 and 2.8.
13802         * INSTALL: Regenerated.
13804 2012-02-27  David S. Miller  <davem@davemloft.net>
13806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13810         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13811         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13812         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13813         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13815         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13816         manipulate bits before adding and subtracting TWO112[sx].
13817         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13819 2012-02-27  Roland McGrath  <roland@hack.frob.com>
13821         [BZ #13775]
13822         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13823         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13824         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13825         being in POSIX, because they are in 1003.1-2008.
13827         * rt/tst-aio.c: Include <fcntl.h>.
13828         * rt/tst-aio7.c: Likewise.
13829         * rt/tst-aio64.c: Likewise.
13831         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13833 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13835         * manual/install.texi (--with-headers): Describe headers as
13836         interface headers, not private headers.
13837         (Specific advice for GNU/Linux systems): Describe use of headers
13838         from "make headers_install", not private headers from older
13839         kernels.
13840         * INSTALL: Regenerated.
13841         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13842         Change to 2.6.19.
13843         * sysdeps/unix/sysv/linux/configure: Regenerated.
13845         * manual/llio.texi (fclean): Remove documentation.
13847         * manual/Makefile (libc-texi-generated): New variable.  Include
13848         version.texi.
13849         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13850         $(libc-texi-generated), not duplicated list of files.
13851         (version.texi, stamp-version): New rules.
13852         (realclean): Remove $(libc-texi-generated), not individual files
13853         from that list.  Do not remove dir-add.texinfo.
13854         * manual/libc.texinfo: Comment out uses of edition numbers and
13855         references to printed manual.  Remove last-updated dates.
13856         (EDITION): Comment out.
13857         (ISBN): Likewise.
13858         (VERSION, UPDATED): Remove.
13859         (version.texi): Include.
13861 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
13863         * sysdeps/posix/spawni.c: Include <signal.h>.
13864         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13865         * sysdeps/pthread/aio_fsync.c: Likewise.
13867 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
13869         * conform/Makefile (tests): Run only when not cross-compiling and
13870         when fast-check is not defined.
13872         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13873         * conform/data/limits.h-data: Fixes for POSIX2008.
13874         * conform/run-conformtest.sh: Run all tests.
13875         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13876         headers.
13877         * include/bits/dlfcn.h: Likewise.
13878         * include/langinfo.h: Likewise.
13879         * include/monetary.h: Likewise.
13880         * include/sys/poll.h: Likewise.
13882         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13883         for __USE_GNU.
13884         * posix/spawn.h: Define __need_sigset_t.
13885         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13886         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13887         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
13888         to get sigevent_t only.
13889         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13890         only for __USE_GNU.
13891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13892         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13893         process_vm_writev only for __USE_GNU.
13894         * termios/termios.h: Declare tcgetsid also for POSIX2008.
13896         * conform/Makefile: For now ignore errors from run-conformtest.
13897         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
13898         POSIX to avoid namespace pollution.  Don't prepend headers.
13899         * conform/data/aio.h-data: Fixes for POSIX testing.
13900         * conform/data/fcntl.h-data: Likewise.
13901         * conform/data/glob.h-data: Likewise.
13902         * conform/data/grp.h-data: Likewise.
13903         * conform/data/pthread.h-data: Likewise.
13904         * conform/data/pwd.h-data: Likewise.
13905         * conform/data/signal.h-data: Likewise.
13906         * conform/data/spawn.h-data: Likewise.
13907         * conform/data/stdio.h-data: Likewise.
13908         * conform/data/stdlib.h-data: Likewise.
13909         * conform/data/stropts.h-data: Likewise.
13910         * conform/data/sys/mman.h-data: Likewise.
13911         * conform/data/sys/stat.h-data: Likewise.
13912         * conform/data/sys/types.h-data: Likewise.
13913         * conform/data/sys/wait.h-data: Likewise.
13914         * conform/data/time.h-data: Likewise.
13915         * conform/data/unistd.h-data: Likewise.
13916         * conform/data/utime.h-data: Likewise.
13918         * io/sys/stat.h: fchmod was always in POSIX.
13919         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13920         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13921         * rt/aio.h: Define __need_timespec before including <time.h>.
13922         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13923         struct.  Add forward declaration of pthread_attr_t and use it in
13924         sigevent.
13925         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13926         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13927         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13928         always remove CLK_TCK definition.
13930 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
13932         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13934 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
13936         * conform/run-conformtest.sh: New file.
13937         * conform/Makefile: Run run-conformtest for tests.
13938         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
13939         support.
13941         * conform/data/uchar.h-data: New file.
13942         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13943         * conform/data/arpa/inet.h-data: Likewise.
13944         * conform/data/assert.h-data: Likewise.
13945         * conform/data/complex.h-data: Likewise.
13946         * conform/data/cpio.h-data: Likewise.
13947         * conform/data/ctype.h-data: Likewise.
13948         * conform/data/dirent.h-data: Likewise.
13949         * conform/data/dlfcn.h-data: Likewise.
13950         * conform/data/errno.h-data: Likewise.
13951         * conform/data/fcntl.h-data: Likewise.
13952         * conform/data/float.h-data: Likewise.
13953         * conform/data/fmtmsg.h-data: Likewise.
13954         * conform/data/fnmatch.h-data: Likewise.
13955         * conform/data/ftw.h-data: Likewise.
13956         * conform/data/glob.h-data: Likewise.
13957         * conform/data/grp.h-data: Likewise.
13958         * conform/data/iconv.h-data: Likewise.
13959         * conform/data/inttypes.h-data: Likewise.
13960         * conform/data/langinfo.h-data: Likewise.
13961         * conform/data/libgen.h-data: Likewise.
13962         * conform/data/limits.h-data: Likewise.
13963         * conform/data/locale.h-data: Likewise.
13964         * conform/data/math.h-data: Likewise.
13965         * conform/data/monetary.h-data: Likewise.
13966         * conform/data/mqueue.h-data: Likewise.
13967         * conform/data/ndbm.h-data: Likewise.
13968         * conform/data/net/if.h-data: Likewise.
13969         * conform/data/netdb.h-data: Likewise.
13970         * conform/data/netinet/in.h-data: Likewise.
13971         * conform/data/nl_types.h-data: Likewise.
13972         * conform/data/poll.h-data: Likewise.
13973         * conform/data/pthread.h-data: Likewise.
13974         * conform/data/pwd.h-data: Likewise.
13975         * conform/data/regex.h-data: Likewise.
13976         * conform/data/sched.h-data: Likewise.
13977         * conform/data/search.h-data: Likewise.
13978         * conform/data/semaphore.h-data: Likewise.
13979         * conform/data/setjmp.h-data: Likewise.
13980         * conform/data/signal.h-data: Likewise.
13981         * conform/data/spawn.h-data: Likewise.
13982         * conform/data/stdarg.h-data: Likewise.
13983         * conform/data/stdio.h-data: Likewise.
13984         * conform/data/stdlib.h-data: Likewise.
13985         * conform/data/string.h-data: Likewise.
13986         * conform/data/strings.h-data: Likewise.
13987         * conform/data/stropts.h-data: Likewise.
13988         * conform/data/sys/ipc.h-data: Likewise.
13989         * conform/data/sys/mman.h-data: Likewise.
13990         * conform/data/sys/msg.h-data: Likewise.
13991         * conform/data/sys/resource.h-data: Likewise.
13992         * conform/data/sys/select.h-data: Likewise.
13993         * conform/data/sys/sem.h-data: Likewise.
13994         * conform/data/sys/shm.h-data: Likewise.
13995         * conform/data/sys/socket.h-data: Likewise.
13996         * conform/data/sys/stat.h-data: Likewise.
13997         * conform/data/sys/statvfs.h-data: Likewise.
13998         * conform/data/sys/time.h-data: Likewise.
13999         * conform/data/sys/timeb.h-data: Likewise.
14000         * conform/data/sys/times.h-data: Likewise.
14001         * conform/data/sys/types.h-data: Likewise.
14002         * conform/data/sys/uio.h-data: Likewise.
14003         * conform/data/sys/un.h-data: Likewise.
14004         * conform/data/sys/utsname.h-data: Likewise.
14005         * conform/data/sys/wait.h-data: Likewise.
14006         * conform/data/syslog.h-data: Likewise.
14007         * conform/data/tar.h-data: Likewise.
14008         * conform/data/termios.h-data: Likewise.
14009         * conform/data/utime.h-data: Likewise.
14010         * conform/data/utmpx.h-data: Likewise.
14011         * conform/data/varargs.h-data: Likewise.
14012         * conform/data/wchar.h-data: Likewise.
14013         * conform/data/wctype.h-data: Likewise.
14014         * conform/data/wordexp.h-data: Likewise.
14016         * include/stropts.h: New file.
14017         * include/uchar.h: New file.
14018         * include/aio.h: Changes to allow conformtest.pl to use the headers.
14019         * include/assert.h: Likewise.
14020         * include/ctype.h: Likewise.
14021         * include/dirent.h: Likewise.
14022         * include/dlfcn.h: Likewise.
14023         * include/fcntl.h: Likewise.
14024         * include/fnmatch.h: Likewise.
14025         * include/glob.h: Likewise.
14026         * include/grp.h: Likewise.
14027         * include/libio.h: Likewise.
14028         * include/locale.h: Likewise.
14029         * include/math.h: Likewise.
14030         * include/net/if.h: Likewise.
14031         * include/netdb.h: Likewise.
14032         * include/netinet/in.h: Likewise.
14033         * include/pthread.h: Likewise.
14034         * include/pwd.h: Likewise.
14035         * include/regex.h: Likewise.
14036         * include/sched.h: Likewise.
14037         * include/search.h: Likewise.
14038         * include/setjmp.h: Likewise.
14039         * include/signal.h: Likewise.
14040         * include/stdio.h: Likewise.
14041         * include/stdlib.h: Likewise.
14042         * include/string.h: Likewise.
14043         * include/sys/cdefs.h: Likewise.
14044         * include/sys/mman.h: Likewise.
14045         * include/sys/msg.h: Likewise.
14046         * include/sys/resource.h: Likewise.
14047         * include/sys/select.h: Likewise.
14048         * include/sys/socket.h: Likewise.
14049         * include/sys/stat.h: Likewise.
14050         * include/sys/statvfs.h: Likewise.
14051         * include/sys/time.h: Likewise.
14052         * include/sys/times.h: Likewise.
14053         * include/sys/uio.h: Likewise.
14054         * include/sys/utsname.h: Likewise.
14055         * include/sys/wait.h: Likewise.
14056         * include/termios.h: Likewise.
14057         * include/time.h: Likewise.
14058         * include/ulimit.h: Likewise.
14059         * include/unistd.h: Likewise.
14060         * include/utime.h: Likewise.
14061         * include/wchar.h: Likewise.
14062         * include/wctype.h: Likewise.
14063         * include/wordexp.h: Likewise.
14065         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14067         * time/time.h: TIME_UTC must be a macro.
14068         Make timespec_get available for ISO C11 only as well.
14070 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
14072         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14073         Reported by Peng Haitao <penght@cn.fujitsu.com>.
14075 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14077         * configure.in: Use -o not -a in test for unsupported multi-arch.
14079 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14081         * manual/texinfo.tex: Update to version 2012-01-19.16.
14083 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14085         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14087 2012-02-24  Roland McGrath  <roland@hack.frob.com>
14089         [BZ #13738]
14090         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14091         * manual/fdl-1.3.texi: New file.
14092         * manual/fdl-1.1.texi: File removed.
14094         [BZ #13738]
14095         * manual/libc.texinfo (FDL_VERSION): New @set.
14096         Use it for mention of FDL in cover text.
14097         (Documentation License): Use it in @include file name.
14099 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14100             Roland McGrath  <roland@hack.frob.com>
14102         [BZ #5461]
14103         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14104         not LONG_LONG_MAX and LONG_LONG_MIN.
14105         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14106         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
14107         name.
14108         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14112         [BZ #2547]
14113         [BZ #11365]
14114         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14115         manipulate bits before adding and subtracting TWO23[sx].
14116         * math/libm-test.inc (nearbyint_test): Add more tests.
14118 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14120         [BZ #2548]
14121         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14122         bits before adding and subtracting TWO23[sx].
14123         * math/libm-test.inc (rint_test): Add more tests.
14124         (rint_test_tonearest): Likewise.
14125         (rint_test_towardzero): Likewise.
14126         (rint_test_downward): Likewise.
14127         (rint_test_upward: Likewise.
14129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14131         [BZ #10110]
14132         * include/stdc-predef.h: New file.  Extracted from features.h.
14133         * include/features.h: Include stdc-predef.h.
14134         * Makefile (headers): Add stdc-predef.h.
14135         * CONFORMANCE (Compiler limitations): Update.
14137 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14139         * manual/libc.texinfo (VERSION, UPDATED): Revert.
14141 2012-02-21  David S. Miller  <davem@davemloft.net>
14143         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14144         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14146 2012-02-20  David S. Miller  <davem@davemloft.net>
14148         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14149         using a normal save/restore sequence, rather than allocating a
14150         dummy stack frame just to store a frame pointer and restore.
14151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14153 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14155         * manual/install.texi: Fix stray word in line-wrapped comment.
14157 2012-02-20  David S. Miller  <davem@davemloft.net>
14159         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14160         both binutils and gcc support GOTDATA.
14162         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14163         "rd %pc" in the PIC register setup sequences.
14165         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14166         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14167         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14168         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14169         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14170         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14171         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14172         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14174         (SYSCALL_ERROR_HANDLER): Likewise.
14175         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14176         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14177         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14178         (SYSCALL_ERROR_HANDLER): Likewise.
14180         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14181         (HAVE_GCC_GOTDATA): New.
14182         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14183         relocation support in both binutils and gcc.
14184         * sysdeps/sparc/elf/configure: Regenerate.
14186         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14187         * sysdeps/sparc/sparc32/elf/configure: Delete.
14188         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14189         * sysdeps/sparc/sparc64/elf/configure: Delete.
14190         * sysdeps/sparc/elf/configure.in: New file.
14191         * sysdeps/sparc/elf/configure: Generate.
14193         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14194         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14195         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14196         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14197         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14199 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14201         * manual/install.texi: Do not mention specific glibc version
14202         numbers.
14203         * manual/libc.texinfo (VERSION, UPDATED): Update.
14204         (@copying): Use @copyright{} and range of years.
14206 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14208         [BZ #13695]
14209         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14210         [crti.S not in sysdirs] (generated): Do not append.
14211         [crti.S not in sysdirs] (omit-deps): Likewise.
14212         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14213         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14214         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14215         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14216         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14217         Likewise.
14218         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14219         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14220         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14221         * csu/defs.awk: Remove file.
14222         * sysdeps/generic/initfini.c: Likewise.
14223         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14224         variable.
14225         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14226         Likewise.
14228 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14230         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14231         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14232         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14233         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14234         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14235         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14236         <bits/epoll.h>.
14237         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14238         (__EPOLL_PACKED): Define to empty if not defined by
14239         <bits/epoll.h>.
14240         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14242         bits/epoll.h.
14244 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14246         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14247         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14248         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14249         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14250         <bits/timerfd.h>.
14251         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14253         bits/timerfd.h.
14255 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14257         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14258         in C locale.
14259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14260         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14261         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14264 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
14266         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14267         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14269 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
14271         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14272         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14273         defined.
14274         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14275         Likewise.
14276         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14277         entry for 2.16.
14279 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
14281         * math/w_acos.c: Use non-signaling floating-point comparisons.
14282         * math/w_acosf.c: Likewise.
14283         * math/w_acosh.c: Likewise.
14284         * math/w_acoshf.c: Likewise.
14285         * math/w_acoshl.c: Likewise.
14286         * math/w_acosl.c: Likewise.
14287         * math/w_asin.c: Likewise.
14288         * math/w_asinf.c: Likewise.
14289         * math/w_asinl.c: Likewise.
14290         * math/w_atanh.c: Likewise.
14291         * math/w_atanhf.c: Likewise.
14292         * math/w_atanhl.c: Likewise.
14293         * math/w_exp2.c: Likewise.
14294         * math/w_exp2f.c: Likewise.
14295         * math/w_exp2l.c: Likewise.
14296         * math/w_j0.c: Likewise.
14297         * math/w_j0f.c: Likewise.
14298         * math/w_j0l.c: Likewise.
14299         * math/w_j1.c: Likewise.
14300         * math/w_j1f.c: Likewise.
14301         * math/w_j1l.c: Likewise.
14302         * math/w_jn.c: Likewise.
14303         * math/w_jnf.c: Likewise.
14304         * math/w_log.c: Likewise.
14305         * math/w_log10.c: Likewise.
14306         * math/w_log10f.c: Likewise.
14307         * math/w_log10l.c: Likewise.
14308         * math/w_log2.c: Likewise.
14309         * math/w_log2f.c: Likewise.
14310         * math/w_log2l.c: Likewise.
14311         * math/w_logf.c: Likewise.
14312         * math/w_logl.c: Likewise.
14313         * math/w_sqrt.c: Likewise.
14314         * math/w_sqrtf.c: Likewise.
14315         * math/w_sqrtl.c: Likewise.
14316         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14317         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14318         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14319         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14320         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14322 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14324         [BZ #9739]
14325         * manual/string.texi (strnlen): Use correct parameter name in
14326         equivalent expression.
14328 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14330         [BZ #11174]
14331         * manual/users.texi (seteuid): Consistently use neweuid for
14332         argument name.
14334 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14336         [BZ #13704]
14337         * manual/nss.texi (Services in the NSS configuration): Correct
14338         list of services in example configuration file.
14340 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
14342         [BZ #11322]
14343         * manual/arith.texi: Remove statements about negative zero
14344         behaving identically to zero.
14346 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14348         [BZ #5993]
14349         * manual/install.texi: Do not document upgrading from libc5.
14351 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14353         [BZ #4596]
14354         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14356 2012-02-18  David S. Miller  <davem@davemloft.net>
14358         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14359         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14360         %o7 across the call.
14361         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14362         instead.
14363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14364         SETUP_PIC_REG_LEAF.
14365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14366         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14367         * sysdeps/sparc/crtn.S: Likewise.
14369 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
14371         * aout/Makefile: Remove.
14373 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
14375         [BZ #13058]
14376         * manual/examples/argp-ex1.c (main): Format definition in GNU
14377         style.
14378         * manual/examples/argp-ex2.c (main): Likewise.
14379         * manual/examples/argp-ex3.c (main): Likewise.
14380         * manual/examples/argp-ex4.c (main): Likewise.
14381         * manual/examples/longopt.c (main): Use new-style prototype
14382         definition.
14383         * manual/examples/strncat.c (main): Specify return type and use
14384         (void) for arguments.
14385         * manual/examples/subopt.c (main): Use char **argv argument.
14387 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14389         [BZ #5077]
14390         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14391         rounding modes.
14393 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
14395         [BZ #6907]
14396         * manual/string.texi (strchr): Change when strchrnul is
14397         recommended.
14399 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
14401         [BZ #174]
14402         * manual/locale.texi (setlocale): Document LOCPATH.
14404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14406         [BZ #10210]
14407         * manual/process.texi (execle): Move @dots{} before last argument.
14409 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
14411         [BZ #12047]
14412         * manual/charset.texi (Generic Charset Conversion): Fix typo
14413         (LC_TYPE -> LC_CTYPE).
14415 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
14417         [BZ #5805]
14418         * manual/arith.texi (scalbn): Use @var{} on parameter names.
14419         (scalbnf): Likewise.
14420         (scalbnl): Likewise.
14421         (scalbln): Likewise.
14422         (scalblnf): Likewise.
14423         (scalblnl): Likewise.
14424         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14425         (vwarnx): Likewise.
14426         (verr): Likewise.
14427         (verrx): Likewise.
14428         * manual/filesys.texi (telldir): Use braces around return type.
14429         * manual/llio.texi (mmap): Add space after comma.
14430         (mmap64): Likewise.
14431         * manual/math.texi (jn): Use @var{} on parameter names.
14432         (jnf): Likewise.
14433         (jnl): Likewise.
14434         (yn): Likewise.
14435         (ynf): Likewise.
14436         (ynl): Likewise.
14437         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14438         line.
14439         * manual/resource.texi (ulimit): Use @dots{} instead of literal
14440         "...".
14441         (sched_get_priority_min): Remove semicolon on @deftypefun line.
14442         (sched_get_priority_max): Likewise.
14443         * manual/signal.texi (sigvec): Add space after comma.
14444         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14445         names.
14446         (if_indextoname): Likewise.
14447         (if_freenameindex): Likewise.
14448         (sendto): Use ',' instead of '.' in prototype.
14449         * manual/startup.texi (syscall): Use @dots{} instead of literal
14450         "...".
14451         * manual/stdio.texi (__fpending): Separate initial words of
14452         paragraph from @deftypefun line.
14453         * manual/syslog.texi (syslog): Use @dots{} instead of literal
14454         "...".
14455         (vsyslog): Use @var{} on parameter names.
14456         * manual/terminal.texi (stty): Use @var{} on parameter names.
14457         * manual/users.texi (getutmp): Use @var{} on parameter names.
14458         (getutmpx): Likewise.
14460 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14462         [BZ #6884]
14463         * manual/stdio.texi (fopen): Fix typos in description of
14464         ",ccs=STRING".
14466 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
14468         [BZ #4026]
14469         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14470         get clock_id definition.
14472 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
14474         [BZ #4822]
14475         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14476         (madvise): Cast every argument to void on its own.
14478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14480         [BZ #9902]
14481         * manual/startup.texi (Exit Status): Fix typo.
14483 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14485         [BZ #10140]
14486         * manual/examples/argp-ex1.c: Include <stdlib.h>.
14487         * manual/examples/argp-ex2.c: Likewise.
14488         * manual/examples/argp-ex3.c: Likewise.
14490 2012-02-16  Richard Henderson  <rth@redhat.com>
14492         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14493         * sysdeps/s390/s390-32/initfini.c: Remove.
14494         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14495         * sysdeps/s390/s390-64/initfini.c: Remove.
14497 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14499         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14500         compiler output for sysdeps/generic/initfini.c.
14501         * sysdeps/sh/elf/initfini.c: Remove file.
14503 2012-02-16  David S. Miller  <davem@davemloft.net>
14505         [BZ #11494]
14506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14508         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14509         * sysdeps/sparc/crti.S: New file.
14510         * sysdeps/sparc/crtn.S: New file.
14511         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14512         * sysdeps/sparc/sparc64/Makefile: Likewise.
14514 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
14516         [BZ #3335]
14517         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14519 2012-02-15  Roland McGrath  <roland@hack.frob.com>
14521         [BZ #4822]
14522         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14524         * mach/devstream.c (cookie_io_functions_t): Macro removed.
14525         (write, read, close): Likewise.
14526         Patch by Aurelien Jarno <aurelien@aurel32.net>.
14528 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
14530         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14531         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14532         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14533         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14534         <bits/signalfd.h>.
14535         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14537         bits/signalfd.h.
14539 2012-02-14  Marek Polacek  <polacek@redhat.com>
14541         * sysdeps/x86_64/crti.S: New file.
14542         * sysdeps/x86_64/crtn.S: New file.
14543         * sysdeps/x86_64/elf/initfini.c: Remove file.
14545 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14547         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14548         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14549         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14550         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14551         <bits/inotify.h>.
14552         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14554         bits/inotify.h.
14556 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14558         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14559         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14560         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14561         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14562         <bits/eventfd.h>.
14563         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14565         bits/eventfd.h.
14567 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
14569         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14570         __feraiseexcept instead of feraiseexcept.
14572         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14573         nanosleep invocations.
14574         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14575         strings, and add error checking for a nanosleep invocations.
14577 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
14579         Replace FSF snail mail address with URLs, as per GNU coding standards.
14580         Most of the snail mail addresses were wrong anyway, and omitting
14581         them makes the source code easier to maintain.  Almost all of the
14582         changes are to license notices and to locale LC_IDENTIFICATION
14583         addresses, except for this one:
14584         * manual/libc.texinfo: In "Published by", give the FSF's URL,
14585         not its snail mail address.
14587 2012-02-09  Richard Henderson  <rth@twiddle.net>
14589         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14590         of kernel-features.h.
14592         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14594 2012-02-08  Marek Polacek  <polacek@redhat.com>
14596         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14597         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14598         * sysdeps/gnu/_G_config.h: Likewise.
14599         * sysdeps/generic/_G_config.h: Likewise.
14601 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14603         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14604         tests.
14605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14607         * sysdeps/powerpc/powerpc32/crti.S: New file.
14608         * sysdeps/powerpc/powerpc32/crtn.S: New file.
14609         * sysdeps/powerpc/powerpc64/crti.S: New file.
14610         * sysdeps/powerpc/powerpc64/crtn.S: New file.
14612         * Makeconfig (have-initfini): Don't set.
14613         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14614         * configure.in (nopic_initfini): Don't substitute.
14615         * config.h.in (HAVE_INITFINI): Don't #undef.
14616         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14617         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14619 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
14621         Support crti.S and crtn.S provided directly by architectures.
14622         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14623         [crti.S in sysdirs] (omit-deps): Likewise.
14624         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14625         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14626         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14627         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14628         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14629         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14630         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14631         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14632         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14633         compiler output for sysdeps/generic/initfini.c.
14634         * sysdeps/i386/elf/Makefile: Remove file.
14635         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14637 2012-02-07  Marek Polacek  <polacek@redhat.com>
14639         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14640         * sysdeps/gnu/_G_config.h: Likewise.
14641         * sysdeps/mach/hurd/_G_config.h: Likewise.
14643 2012-02-07  Marek Polacek  <polacek@redhat.com>
14645         * math/Makefile (tests): Add tst-CMPLX2.
14646         * math/tst-CMPLX2.c: New file.
14648 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
14650         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14652         * math/libm-test.inc (jn_test): Add missing L suffix.
14654 2012-02-06  Marek Polacek  <polacek@redhat.com>
14656         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14657         * sysdeps/i386/fpu/e_powf.S: Likewise.
14658         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14659         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14660         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14661         * sysdeps/i386/fpu/e_pow.S: Likewise.
14662         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14663         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14664         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14665         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14666         * sysdeps/i386/fpu/e_log2.S: Likewise.
14667         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14668         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14669         * sysdeps/i386/fpu/e_powl.S: Likewise.
14670         * sysdeps/i386/fpu/s_log1p.S: Likewise.
14671         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14672         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14673         * sysdeps/i386/fpu/e_logl.S: Likewise.
14674         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14675         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14676         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14677         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14678         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14679         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14680         * sysdeps/i386/fpu/e_log.S: Likewise.
14681         * sysdeps/i386/fpu/s_cexp.S: Likewise.
14682         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14683         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14684         * sysdeps/i386/fpu/e_logf.S: Likewise.
14685         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14686         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14687         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14688         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14689         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14690         * sysdeps/i386/fpu/e_log10.S: Likewise.
14691         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14692         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14693         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14694         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14695         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14696         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14697         * sysdeps/i386/asm-syntax.h: Likewise.
14698         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14699         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14700         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14701         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14702         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14703         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14704         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14705         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14707         * sysdeps/powerpc/sysdep.h: Likewise.
14708         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14709         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14711 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14713         [BZ #411]
14714         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14716 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14718         * sysdeps/i386/sysdep.h: Include <features.h>.
14719         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14720         version.
14722 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
14724         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14725         Define.
14726         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14727         LOAD_PIC_REG_STR.
14729 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14731         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14732         (SETUP_PIC_REG): Use GET_PC_THUNK.
14733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14734         macro.
14736 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14738         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14739         for non-PIC compilation.
14740         (SETUP_PIC_REG): Add .p2align directive.
14741         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14742         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14743         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14744         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14745         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14746         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14747         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14748         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14749         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14750         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14751         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14752         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14753         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14754         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14755         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14756         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14757         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14758         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14759         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14760         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14761         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14762         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14763         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14764         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14765         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14767         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14768         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14769         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14770         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14771         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14772         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14773         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14774         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14775         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14776         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14777         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14778         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14779         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14780         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14781         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14783 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14785         * math/tst-CMPLX.c: Include <stdio.h>.
14787 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
14789         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14790         float.
14791         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14792         * sysdeps/sparc/bits/mathdef.h: Likewise.
14794 2012-01-31  Marek Polacek  <polacek@redhat.com>
14796         * libio/libio.h: Don't define _PARAMS.
14797         * locale/programs/config.h: Don't define PARAMS.
14798         * stdlib/strtol_l.c: Likewise.
14799         (__strtol_l): Remove PARAMS from the prototype.
14801 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
14803         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
14804         names.  Just use the correct names.  Remove unnecessary wrapper
14805         functions.
14806         * malloc/arena.c: Likewise.
14807         * malloc/hooks.c: Likewise.
14809         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14810         ARENA_TEST says not to.  Simplify test for creation of a new arena.
14811         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14813 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
14815         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14816         into tail calls.
14817         (update_get_addr): New function.
14818         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14819         GET_ADDR_MODULE parameter.
14821 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14823         * crypt/cert.c: Remove __STDC__ conditionals.
14824         * crypt/crypt-entry.c: Likewise.
14825         * crypt/crypt_util.c: Likewise.
14826         * libio/filedoalloc.c: Likewise.
14827         * libio/fileops.c: Likewise.
14828         * libio/genops.c: Likewise.
14829         * libio/iofclose.c: Likewise.
14830         * libio/iofdopen.c: Likewise.
14831         * libio/iofopen.c: Likewise.
14832         * libio/iofopen64.c: Likewise.
14833         * libio/iogetdelim.c: Likewise.
14834         * libio/iopopen.c: Likewise.
14835         * libio/obprintf.c: Likewise.
14836         * libio/oldfileops.c: Likewise.
14837         * libio/oldiofclose.c: Likewise.
14838         * libio/oldiofdopen.c: Likewise.
14839         * libio/oldiofopen.c: Likewise.
14840         * libio/oldiopopen.c: Likewise.
14841         * libio/wfiledoalloc.c: Likewise.
14842         * libio/wgenops.c: Likewise.
14843         * locale/programs/xmalloc.c: Likewise.
14844         * misc/syslog.c: Likewise.
14845         * stdio-common/xbug.c: Likewise.
14846         * string/memchr.c: Likewise.
14847         * string/memcmp.c: Likewise.
14848         * string/memrchr.c: Likewise.
14849         * string/rawmemchr.c: Likewise.
14850         * sysdeps/posix/getcwd.c: Likewise.
14851         * time/strftime_l.c: Likewise.
14853 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14855         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14856         * config.make.in (config-cflags-sse2avx): Define.
14857         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14858         Fix typo.
14860 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
14862         * scripts/config.guess: Update from upstream config git repository.
14863         * scripts/config.sub: Likewise.
14865 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
14867         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14868         (EM_NUM): Update.
14869         (R_TILEPRO_*, R_TILEGX_*): New macros.
14871         * scripts/firstversions.awk: Fix bug in version range handling.
14873         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14875         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14877         * include/sys/epoll.h: New file.
14878         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14879         libc_hidden_def.
14881 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
14883         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14884         Avoid unnecessary __WORDSIZE == 64 test.
14885         (fmaxf): Use VEX format if possible.
14886         (fmax): Likewise.
14887         (fminf): Likewise.
14888         (fmin): Likewise.
14890         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14891         * math/math_private.h: Remove libc_fegetround* and
14892         libc_fesetround*.
14893         * sysdeps/i386/configure.in: Check for -msse2avx.
14894         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14895         also if SSE2AVX is defined.
14896         Remove libc_fegetround* and libc_fesetround*.
14897         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14898         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
14899         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14900         of HAS_YMM_USABLE.
14901         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14902         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14903         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14904         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14905         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14907         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14909 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14911         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14912         size is not set.
14913         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14915 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
14917         [BZ #13618]
14918         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14919         relocation.
14920         * Makeconfig (libm): Define.
14921         * elf/Makefile: Add rules to build and run tst-relsort1.
14922         * elf/tst-relsort1.c: New file.
14923         * elf/tst-relsort1mod1.c: New file.
14924         * elf/tst-relsort1mod2.c: New file.
14926 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
14928         * math/s_ldexp.c: Remove __STDC__ conditionals.
14929         * math/s_ldexpf.c: Likewise.
14930         * math/s_ldexpl.c: Likewise.
14931         * math/s_nextafter.c: Likewise.
14932         * math/s_nexttowardf.c: Likewise.
14933         * math/s_significand.c: Likewise.
14934         * math/s_significandf.c: Likewise.
14935         * math/s_significandl.c: Likewise.
14936         * math/w_jnl.c: Likewise.
14937         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14938         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14939         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14940         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14941         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14942         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14943         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14944         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14945         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14946         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14947         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14949         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14950         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14951         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14952         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14953         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14954         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14956         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14957         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14958         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14959         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14961         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14962         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14963         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14964         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14965         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14966         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14967         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14968         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14969         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14970         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14971         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14972         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14973         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14974         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14975         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14976         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14977         * sysdeps/ieee754/k_standard.c: Likewise.
14978         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14981         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14982         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14984         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14986         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14987         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14988         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14989         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14990         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14992         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14993         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14994         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14995         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14996         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14997         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14998         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14999         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15000         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15001         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15002         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15003         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15008         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15009         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15010         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15011         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15013         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15014         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15015         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15016         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15017         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15026         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15027         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15028         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15029         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15031         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15033         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15035         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15036         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15037         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15038         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15039         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15040         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15041         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15042         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15043         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15044         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15045         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15046         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15047         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15048         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15049         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15050         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15051         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15052         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15053         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15054         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15055         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15056         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15057         * sysdeps/ieee754/s_matherr.c: Likewise.
15058         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15059         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15063 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15065         * crypt/md5.h: Remove __STDC__ conditionals.
15066         * libio/libioP.h: Likewise.
15067         * locale/programs/config.h: Likewise.
15068         * sysdeps/generic/sysdep.h: Likewise.
15069         * sysdeps/i386/asm-syntax.h: Likewise.
15070         * sysdeps/s390/asm-syntax.h: Likewise.
15071         * sysdeps/unix/sysdep.h: Likewise.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15075 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15077         * libio/libio.h: Remove __STDC__ conditionals.
15078         * malloc/obstack.h: Likewise.
15079         * math/complex.h: Likewise.
15080         * math/math.h: Likewise.
15081         * sysdeps/generic/_G_config.h: Likewise.
15082         * sysdeps/gnu/_G_config.h: Likewise.
15083         * sysdeps/mach/hurd/_G_config.h: Likewise.
15084         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15085         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15086         * sysdeps/sparc/bits/mathdef.h: Likewise.
15088 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
15090         [BZ #13583]
15091         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15092         Clean up HAS_* macros.
15093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15094         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15095         possible.
15096         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15097         HAS_AVX.
15098         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15099         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15100         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15101         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15102         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15104 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
15106         * elf/tst-unique3.cc (gets): Remove declaration.
15107         * elf/tst-unique3lib.cc (gets): Likewise.
15108         * elf/tst-unique3lib2.cc (gets): Likewise.
15109         * elf/tst-unique4.cc (gets): Likewise.
15111 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
15113         * include/stdio.h: Add C++ protection.  Add gets declarations and
15114         definitions.
15115         * debug/tst-chk1.c: Don't declare gets here.
15116         * stdio-common/tst-gets.c: Likewise.
15118 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15120         * posix/glob: Remove directory.
15122 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15124         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15126 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
15128         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15129         of the non-standard EPFNOSUPPORT.
15131 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15133         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15134         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15135         ANYWHERE set to 1 only on KERN_NO_SPACE error.
15137 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
15139         * wcsmbs/uchar.h: Test __STDC_VERSION__.
15141 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
15143         * nscd/aicache.c (addhstaiX): Do not cache negative results of
15144         transient errors.
15145         * nscd/grpcache.c (cache_addgr): Likewise.
15146         * nscd/hstcache.c (cache_addhst): Likewise.
15147         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15148         * nscd/pwdcache.c (cache_addpw): Likewise.
15149         * nscd/servicescache.c (cache_addserv): Likewise.
15151 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
15153         * malloc/malloc.c: Various cleanups.
15154         * malloc/hooks.c: Likewise.
15156         * stdlib/Makefile (tests): Add bug-fmtmsg1.
15157         * stdlib/bug-fmtmsg1.c: New file.
15159         * stdlib/fmtmsg.c (init): Add missing unlock.
15160         Patch by Peng Haitao <penght@cn.fujitsu.com>.
15162 2012-01-12  Marek Polacek  <polacek@redhat.com>
15164         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15165         and _GNU_SOURCE.
15167 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15169         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15170         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15171         macro to ensure uniqueness of label name.
15172         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15173         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15175 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
15177         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15179         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15180         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15182         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15184 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
15186         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15188         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15189         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15190         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15192         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15194         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15195         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15196         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15199         * math/bits/math-finite.h: Add ldexp support.
15201 2012-01-10  Marek Polacek  <polacek@redhat.com>
15203         * locale/programs/localedef.h (show_archive_content): Add noreturn
15204         attribute.
15206 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
15208         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15210 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15212         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15214         * io/Makefile (headers): Add bits/poll2.h.
15216 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15219         typo #include statement.
15221 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15223         * include/sys/cdefs.h: Define __attribute_alloc_size.
15224         * catgets/gencat.c: Add alloc_size attribute and apply consistently
15225         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15226         * elf/pldd.c: Likewise.
15227         * iconv/iconv_charmap.c: Likewise.
15228         * iconv/iconvconfig.c: Likewise.
15229         * iconv/strtab.c: Likewise.
15230         * locale/programs/locale.c: Likewise.
15231         * locale/programs/localedef.h: Likewise.
15232         * locale/programs/simple-hash.c: Likewise.
15233         * nscd/nscd.h: Likewise.
15234         * nss/makedb.c: Likewise.
15235         * sysdeps/generic/ldconfig.h: Likewise.
15236         * locale/programs/localedef.c: Remove xmalloc prototype.
15237         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15239 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15241         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15242         appropriate.
15244 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15246         * math/Makefile (tests): Add tst-CMPLX.
15247         * math/tst-CMPLX.c: New file.
15249         * math/complex.h (CMPLXL): Fix typo.
15251         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15252         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15253         GLIBC_2.16.
15254         * debug/tst-chk1.c: Add poll and ppoll tests.
15255         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15256         * include/sys/poll.h: Add hidden proto for ppoll.
15257         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15258         * sysdeps/mach/hurd/ppoll.c: Likewise.
15259         * io/ppoll.c: Likewise.
15260         * debug/poll_chk.c: New file.
15261         * debug/ppoll_chk.c: New file.
15262         * include/bits/poll2.h: New file.
15263         * io/bits/poll2.h: New file.
15265         [BZ #1350]
15266         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15268         * configure.in: static is always set to yes.  Remove.
15269         * config.make.in: Don't set build-static.
15270         * Makeconfig: Remove use of build-static.
15271         * dlfcn/Makefile: Likewise.
15272         * elf/Makefile: Likewise.
15273         * math/Makefile: Likewise.
15274         * misc/Makefile: Likewise.
15275         * nptl/Makefile: Likewise.
15276         * sysdeps/mach/hurd/Makefile: Likewise.
15278         * configure.in: PWD_P is not used anymore.
15279         * config.make.in: Remove PWD_P entry.
15281         * configure.in: Remove last remnants of RANLIB.
15282         No need to check for signed size_t anymore.
15283         Don't set libc_commonpagesize and libc_relro_required here for Alpha
15284         and IA-64.
15285         Remove __builtin_expect test because we require at least gcc 3.4.
15286         * aclocal.m4: Likewise.
15288         * wcsmbs/mbrtoc16.c: Implement using towc function.
15289         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15290         * wcsmbs/wcsmbsload.c: Likewise.
15291         * iconv/gconv_simple.c: Likewise.
15292         * iconv/gconv_int.h: Likewise.
15293         * iconv/gconv_builtin.h: Likewise.
15294         * iconv/iconv_prog.c: Remove CHAR16 handling.
15296         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15298         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15300         * configure.in: Remove --with-elf and --enable-bounded options.
15301         Dont set base_machine for ia64.  More non-ELF conditions removed.
15302         Remove testing and setting of leading underscore information.
15303         * config.make.in (build-bounded): Set to no.
15304         * config.h.in: Remove NO_UNDERSCORES entry.
15305         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
15306         them.
15307         * csu/start.c: Remove !NO_UNDERSCORE code.
15308         * locale/localeinfo.h: Likewise.
15309         * sysdeps/generic/machine-gmon.h: Likewise.
15310         * sysdeps/generic/sysdep.h: Likewise.
15311         * sysdeps/i386/sysdep.h: Likewise.
15312         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15313         * sysdeps/mach/sysdep.h: Likewise.
15314         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15315         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15316         * sysdeps/sh/sysdep.h: Likewise.
15317         * sysdeps/sparc/sparc32/alloca.S: Likewise.
15318         * sysdeps/unix/i386/sysdep.S: Likewise.
15319         * sysdeps/unix/sparc/start.c: Likewise.
15320         * sysdeps/unix/sparc/sysdep.S: Likewise.
15321         * sysdeps/unix/sparc/sysdep.h: Likewise.
15322         * sysdeps/unix/start.c: Likewise.
15323         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15324         * sysdeps/x86_64/sysdep.h: Likewise.
15326 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
15328         [BZ #13553]
15329         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15330         for non-gcc.
15331         * argp/argp-fmtstream.h: Use const instead __const.
15332         * argp/argp.h: Likewise.
15333         * assert/assert.h: Likewise.
15334         * bits/fenv.h: Likewise.
15335         * bits/sched.h: Likewise.
15336         * bits/sigset.h: Likewise.
15337         * bits/sigthread.h: Likewise.
15338         * catgets/nl_types.h: Likewise.
15339         * conform/data/pthread.h-data: Likewise.
15340         * crypt/crypt-private.h: Likewise.
15341         * crypt/crypt.h: Likewise.
15342         * crypt/crypt_util.c: Likewise.
15343         * ctype/ctype.h: Likewise.
15344         * debug/execinfo.h: Likewise.
15345         * debug/mbsnrtowcs_chk.c: Likewise.
15346         * debug/mbsrtowcs_chk.c: Likewise.
15347         * debug/wcsnrtombs_chk.c: Likewise.
15348         * debug/wcsrtombs_chk.c: Likewise.
15349         * debug/wcstombs_chk.c: Likewise.
15350         * dirent/dirent.h: Likewise.
15351         * dlfcn/dlfcn.h: Likewise.
15352         * elf/neededtest4.c: Likewise.
15353         * grp/grp.h: Likewise.
15354         * gshadow/gshadow.h: Likewise.
15355         * iconv/gconv.h: Likewise.
15356         * iconv/gconv_int.h: Likewise.
15357         * iconv/gconv_simple.c: Likewise.
15358         * iconv/iconv.h: Likewise.
15359         * iconv/loop.c: Likewise.
15360         * iconv/skeleton.c: Likewise.
15361         * include/aio.h: Likewise.
15362         * include/aliases.h: Likewise.
15363         * include/argz.h: Likewise.
15364         * include/arpa/inet.h: Likewise.
15365         * include/assert.h: Likewise.
15366         * include/dirent.h: Likewise.
15367         * include/dlfcn.h: Likewise.
15368         * include/execinfo.h: Likewise.
15369         * include/fcntl.h: Likewise.
15370         * include/fenv.h: Likewise.
15371         * include/glob.h: Likewise.
15372         * include/grp.h: Likewise.
15373         * include/libintl.h: Likewise.
15374         * include/mntent.h: Likewise.
15375         * include/netdb.h: Likewise.
15376         * include/pwd.h: Likewise.
15377         * include/rpc/netdb.h: Likewise.
15378         * include/sched.h: Likewise.
15379         * include/search.h: Likewise.
15380         * include/shadow.h: Likewise.
15381         * include/signal.h: Likewise.
15382         * include/stdio.h: Likewise.
15383         * include/stdlib.h: Likewise.
15384         * include/string.h: Likewise.
15385         * include/sys/socket.h: Likewise.
15386         * include/sys/stat.h: Likewise.
15387         * include/sys/statfs.h: Likewise.
15388         * include/sys/statvfs.h: Likewise.
15389         * include/sys/syslog.h: Likewise.
15390         * include/sys/time.h: Likewise.
15391         * include/sys/uio.h: Likewise.
15392         * include/time.h: Likewise.
15393         * include/unistd.h: Likewise.
15394         * include/utmp.h: Likewise.
15395         * include/wchar.h: Likewise.
15396         * include/wctype.h: Likewise.
15397         * inet/aliases.h: Likewise.
15398         * inet/arpa/inet.h: Likewise.
15399         * inet/netinet/ether.h: Likewise.
15400         * inet/netinet/in.h: Likewise.
15401         * intl/libintl.h: Likewise.
15402         * io/bits/fcntl2.h: Likewise.
15403         * io/fcntl.h: Likewise.
15404         * io/ftw.h: Likewise.
15405         * io/sys/poll.h: Likewise.
15406         * io/sys/stat.h: Likewise.
15407         * io/sys/statfs.h: Likewise.
15408         * io/sys/statvfs.h: Likewise.
15409         * io/utime.h: Likewise.
15410         * libio/bits/stdio.h: Likewise.
15411         * libio/bits/stdio2.h: Likewise.
15412         * libio/libio.h: Likewise.
15413         * libio/libioP.h: Likewise.
15414         * libio/stdio.h: Likewise.
15415         * locale/lc-ctype.c: Likewise.
15416         * locale/locale.h: Likewise.
15417         * login/utmp.h: Likewise.
15418         * malloc/arena.c: Likewise.
15419         * malloc/malloc.c: Likewise.
15420         * malloc/malloc.h: Likewise.
15421         * malloc/mcheck.c: Likewise.
15422         * malloc/mtrace.c: Likewise.
15423         * math/bits/mathcalls.h: Likewise.
15424         * math/fenv.h: Likewise.
15425         * math/math_private.h: Likewise.
15426         * misc/bits/error.h: Likewise.
15427         * misc/bits/syslog.h: Likewise.
15428         * misc/err.h: Likewise.
15429         * misc/error.h: Likewise.
15430         * misc/fstab.h: Likewise.
15431         * misc/mntent.h: Likewise.
15432         * misc/regexp.h: Likewise.
15433         * misc/search.h: Likewise.
15434         * misc/sgtty.h: Likewise.
15435         * misc/sys/mman.h: Likewise.
15436         * misc/sys/syslog.h: Likewise.
15437         * misc/sys/uio.h: Likewise.
15438         * misc/sys/xattr.h: Likewise.
15439         * misc/ttyent.h: Likewise.
15440         * nis/rpcsvc/ypclnt.h: Likewise.
15441         * nss/nss.h: Likewise.
15442         * posix/bits/unistd.h: Likewise.
15443         * posix/fnmatch.h: Likewise.
15444         * posix/glob.h: Likewise.
15445         * posix/sched.h: Likewise.
15446         * posix/spawn.h: Likewise.
15447         * posix/sys/wait.h: Likewise.
15448         * posix/unistd.h: Likewise.
15449         * posix/wordexp.h: Likewise.
15450         * pwd/pwd.h: Likewise.
15451         * resolv/netdb.h: Likewise.
15452         * resource/sys/resource.h: Likewise.
15453         * rt/aio.h: Likewise.
15454         * rt/bits/mqueue2.h: Likewise.
15455         * rt/mqueue.h: Likewise.
15456         * shadow/shadow.h: Likewise.
15457         * signal/signal.h: Likewise.
15458         * socket/send.c: Likewise.
15459         * socket/sendto.c: Likewise.
15460         * socket/sys/socket.h: Likewise.
15461         * stdio-common/printf.h: Likewise.
15462         * stdlib/bits/stdlib.h: Likewise.
15463         * stdlib/fmtmsg.h: Likewise.
15464         * stdlib/monetary.h: Likewise.
15465         * stdlib/stdlib.h: Likewise.
15466         * stdlib/ucontext.h: Likewise.
15467         * streams/stropts.h: Likewise.
15468         * string/argz.h: Likewise.
15469         * string/bits/string2.h: Likewise.
15470         * string/string.h: Likewise.
15471         * string/strings.h: Likewise.
15472         * sunrpc/rpc/auth.h: Likewise.
15473         * sunrpc/rpc/auth_des.h: Likewise.
15474         * sunrpc/rpc/clnt.h: Likewise.
15475         * sunrpc/rpc/netdb.h: Likewise.
15476         * sunrpc/rpc/pmap_clnt.h: Likewise.
15477         * sunrpc/rpc/xdr.h: Likewise.
15478         * sysdeps/generic/inttypes.h: Likewise.
15479         * sysdeps/generic/net/if.h: Likewise.
15480         * sysdeps/generic/sys/swap.h: Likewise.
15481         * sysdeps/gnu/net/if.h: Likewise.
15482         * sysdeps/gnu/utmpx.h: Likewise.
15483         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15484         * sysdeps/i386/i486/bits/string.h: Likewise.
15485         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15486         * sysdeps/s390/bits/string.h: Likewise.
15487         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15488         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15489         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15490         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15491         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15492         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15493         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15494         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15495         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15496         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15497         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15498         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15499         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15500         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15501         * sysdeps/unix/sysv/linux/readv.c: Likewise.
15502         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15503         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15504         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15505         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15506         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15507         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15508         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15509         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15510         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15511         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15512         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15513         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15514         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15515         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15516         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15517         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15518         * sysvipc/sys/ipc.h: Likewise.
15519         * sysvipc/sys/msg.h: Likewise.
15520         * sysvipc/sys/sem.h: Likewise.
15521         * sysvipc/sys/shm.h: Likewise.
15522         * termios/termios.h: Likewise.
15523         * time/sys/time.h: Likewise.
15524         * time/time.h: Likewise.
15525         * wcsmbs/bits/wchar2.h: Likewise.
15526         * wcsmbs/uchar.h: Likewise.
15527         * wcsmbs/wchar.h: Likewise.
15528         * wctype/wctype.h: Likewise.
15530         [BZ #13551]
15531         * Makeconfig: Remove all but ELF support including AIX support.
15532         * Makerules: Likewise.
15533         * config.h.in: Likewise.
15534         * config.make.in: Likewise.
15535         * configure: Likewise.
15536         * configure.in: Likewise.
15537         * csu/Makefile: Likewise.
15538         * csu/version.c: Likewise.
15539         * debug/Makefile: Likewise.
15540         * dlfcn/Makefile: Likewise.
15541         * elf/Makefile: Likewise.
15542         * extra-lib.mk: Likewise.
15543         * iconv/Makefile: Likewise.
15544         * include/libc-symbols.h: Likewise.
15545         * include/shlib-compat.h: Likewise.
15546         * resolv/Makefile: Likewise.
15547         * resolv/res_libc.c: Likewise.
15548         * rt/Makefile: Likewise.
15549         * sysdeps/i386/asm-syntax.h: Likewise.
15550         * sysdeps/i386/sysdep.h: Likewise.
15551         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15552         * sysdeps/mach/sysdep.h: Likewise.
15553         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15554         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15555         * sysdeps/s390/asm-syntax.h: Likewise.
15556         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15557         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15558         * sysdeps/sh/sysdep.h: Likewise.
15559         * sysdeps/unix/sparc/sysdep.h: Likewise.
15560         * sysdeps/wordsize-32/divdi3.c: Likewise.
15561         * sysdeps/x86_64/sysdep.h: Likewise.
15563         * argp/Versions: Remove _argp_unlock_xxx.
15565         [BZ #13559]
15566         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
15567         * abilist/libBrokenLocale.abilist: Likewise.
15568         * abilist/libanl.abilist: Likewise.
15569         * abilist/libc.abilist: Likewise.
15570         * abilist/libcrypt.abilist: Likewise.
15571         * abilist/libdl.abilist: Likewise.
15572         * abilist/libm.abilist: Likewise.
15573         * abilist/libnsl.abilist: Likewise.
15574         * abilist/libpthread.abilist: Likewise.
15575         * abilist/libresolv.abilist: Likewise.
15576         * abilist/librt.abilist: Likewise.
15577         * abilist/libthread_db.abilist: Likewise.
15578         * abilist/libutil.abilist: Likewise.
15579         * abilist/libnss_db.abilist: New file.
15581         * scripts/abilist.awk: Add support for indirect functions.
15583         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15585         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15587         * shlib-versions: Remove entries for ports architectures.
15589         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
15590         files in ports.
15591         * elf/stackguard-macros.h: Remove support for IA-64.
15592         * elf/tst-auditmod1.c: Likewise.
15593         * sysdeps/generic/ldsodefs.h: Likewise.
15595         * sysdeps/unix/sysv/linux/configure.in: Ports should define
15596         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15597         configure files.
15599         [BZ #13552]
15600         * configure.in: Remove --enable-omitfp support.
15601         * FAQ.in: Adjust.
15602         * config.make.in: Likewise.
15603         * Makeconfig: Likewise.
15604         * manual/install.texi: Likewise.
15606         In case anyone cares, the IA-64 architecture could move to ports.
15607         * sysdeps/ia64/*: Removed.
15608         * sysdeps/unix/sysv/linux/ia64/*: Removed.
15609         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15611         [BZ #13555]
15612         * configure.in: Remove entries for unsupported architectures.
15614         [BZ #13533]
15615         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15616         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
15617         routines.
15618         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15619         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15620         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
15621         fall back to using wcrtomb.
15622         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15623         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
15624         renaming.
15625         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15626         * wcsmbs/tst-c16c32-1.c: New file.
15628         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15629         local variable.
15631         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15633         * elf/tst-unique3.cc: Add explicit declaration of gets.
15634         * elf/tst-unique3lib.cc: Likewise.
15635         * elf/tst-unique3lib2.cc: Likewise.
15636         * elf/tst-unique4.cc: Likewise.
15638         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15640 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
15642         [BZ #13566]
15643         * assert/assert.h (static_assert): Don't define for C++.
15644         * libio/stdio.h (gets): Do declare for C++ <= C++11.
15645         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15647 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
15649         * iconv/loop.c (single loop): Fix assertion in storing of
15650         remaining bytes.
15652         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15654 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
15656         * posix/getconf.c: Update copyright year.
15657         * nss/getent.c: Likewise.
15658         * nss/makedb.c: Likewise.
15659         * iconv/iconvconfig.c: Likewise.
15660         * iconv/iconv_prog.c: Likewise.
15661         * elf/ldconfig.c: Likewise.
15662         * elf/pldd.c: Likewise.
15663         * elf/sotruss.ksh: Likewise.
15664         * catgets/gencat.c: Likewise.
15665         * csu/version.c: Likewise.
15666         * elf/ldd.bash.in: Likewise.
15667         * elf/sprof.c (print_version): Likewise.
15668         * locale/programs/locale.c: Likewise.
15669         * locale/programs/localedef.c: Likewise.
15670         * login/programs/pt_chown.c: Likewise.
15671         * nscd/nscd.c (print_version): Likewise.
15672         * debug/xtrace.sh: Likewise.
15673         * malloc/memusage.sh: Likewise.
15674         * malloc/mtrace.pl: Likewise.
15675         * debug/catchsegv.sh: Likewise.
15677 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
15679         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15680         pure attribute.
15682 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
15684         [BZ #13533]
15685         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15686         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15687         transformations.
15688         * iconv/gconv_int.h: Likewise.
15689         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15690         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15691         from libc for GLIBC_2.16.
15692         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15693         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15694         * wcsmbs/uchar.h: Really define mbstate_t.
15695         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15696         * wcsmbs/c16rtomb.c: New file.
15697         * wcsmbs/mbrtoc16.c: New file.
15698         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15699         for C/POSIX locale.
15700         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15701         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15703         * wcsmbs/wchar.h: Add missing __restrict.
15705 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15707         [BZ #13532]
15708         * time/Makefile (routines): Add timespec_get.
15709         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15710         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
15711         timespec for ISO C11.
15712         * time/timespec_get.c: New file.
15713         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15714         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15716         [BZ #13531]
15717         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15718         * stdlib/stdlib.h: Declare aligned_alloc.
15719         * Versions.def: Add GLIBC_2.16 for libc.
15720         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15722         [BZ 13527]
15723         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15724         ISO C11.
15726         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15727         code.
15729         [BZ #13528]
15730         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15732         [BZ #13529]
15733         * assert/assert.h (static_assert): Define.
15735         * version.h: Update for 2.16 development version.
15737         [BZ #13526]
15738         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15739         _ISOC11_SOURCE.
15741         * version.h (RELEASE): Bump for 2.15 release.
15742         * include/features.h (__GLIBC_MINOR__): Bump to 15.
15744         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15745         Patch by Marek Polacek <mpolacek@redhat.com>.
15747         * bits/byteswap.h: Protect long long constants with __extension__.
15748         * sysdeps/i386/bits/byteswap.h: Likewise.
15749         * sysdeps/ia64/bits/byteswap.h: Likewise.
15750         * sysdeps/s390/bits/byteswap.h: Likewise.
15751         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15753 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15755         [BZ #13540]
15756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15757         destination buffer.
15758         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15760 2011-12-23  Marek Polacek  <polacek@redhat.com>
15762         * elf/dl-addr.c (determine_info): Add inline keyword.
15763         * elf/tst-auditmod4b.c (check_avx): Likewise.
15764         * elf/tst-auditmod6b.c (check_avx): Likewise.
15765         * elf/tst-auditmod6c.c (check_avx): Likewise.
15766         * elf/tst-auditmod7b.c (check_avx): Likewise.
15768 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15770         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15771         !__SSE_MATH__.
15773 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15775         [BZ #13540]
15776         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15777         processing for last bytes.
15779 2011-08-06  Bruno Haible  <bruno@clisp.org>
15781         [BZ #13061]
15782         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15783         U+0385, not to U+1FEE.
15785         [BZ #13062]
15786         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15787         entry for U+00A5 U+0301.
15789 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15791         [BZ #13166]
15792         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15793         buffer for the output is too small.
15795         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15796         optimization.
15798         [BZ #13185]
15799         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15800         SSE flags if possible.
15802 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15804         [BZ #13540]
15805         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15806         processing for last bytes.
15808 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
15810         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15811         (syscall-list-default-options, syscall-list-default-condition)
15812         (syscall-list-includes): Define.
15813         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15814         list of ABIs and options and #if conditions for each ABI.  Do not
15815         handle common syscalls between ABIs specially.
15816         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15817         Remove.
15818         (syscall-list-variants, syscall-list-32bit-options)
15819         (syscall-list-32bit-condition, syscall-list-64bit-options)
15820         (syscall-list-64bit-condition): Define.
15821         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15822         (syscall-list-variants, syscall-list-32bit-options)
15823         (syscall-list-32bit-condition, syscall-list-64bit-options)
15824         (syscall-list-64bit-condition): Define.
15825         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15826         Remove.
15827         (syscall-list-variants, syscall-list-32bit-options)
15828         (syscall-list-32bit-condition, syscall-list-64bit-options)
15829         (syscall-list-64bit-condition): Define.
15830         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15831         Remove.
15832         (syscall-list-variants, syscall-list-32bit-options)
15833         (syscall-list-32bit-condition, syscall-list-64bit-options)
15834         (syscall-list-64bit-condition): Define.
15836 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15838         * locale/iso-639.def: Add brx entry.
15840         [BZ #13328]
15841         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15842         Proposed by Mariusz_Cukr <marcukr@op.pl>.
15844         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15845         __feraiseexcept_renamed.
15847 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15849         [BZ #13538]
15850         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15851         EPOLLET with unsigned values.
15852         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15853         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15855         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15856         to large cancellation.
15857         * math/s_cacoshf.c: Likewise.
15858         * math/s_cacoshl.c: Likewise.
15860 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
15862         [BZ #13305]
15863         [BZ #12786]
15864         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15865         * math/s_cacoshf.c: Likewise.
15866         * math/s_cacoshl.c: Likewise.
15868 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15870         [BZ #13439]
15871         * iconv/gconv.h: Define __GCONV_SWAP.
15872         * iconvdata/unicode.c: The swap bit must be stored in __flags.
15873         * iconvdata/utf-16.c: Likewise.
15874         * iconvdata/utf-32.c: Likewise.
15876 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15878         [BZ #13524]
15879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15880         numerator after shifting it by one limb.
15882 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
15884         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15885         under [__USE_EXTERN_INLINES].
15887 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15889         [BZ #13446]
15890         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15892 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15894         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15895         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15896         optimized code.
15897         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15898         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15899         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15900         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15901         for strncasecmp/strncasecmp_l compilation.
15902         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15903         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15905 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
15907         [BZ #13484]
15908         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15909         of __asm__.
15911 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15913         [BZ #13506]
15914         * time/tzfile.c (__tzfile_read): Check values from file header.
15916 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15918         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15919         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15920         * powerpc/powerpc32/dl-start.S: Likewise.
15921         * powerpc/powerpc32/elf/start.S: Likewise.
15922         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15923         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15924         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15925         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15926         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15927         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15928         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15929         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15930         * powerpc/powerpc32/fpu/s_round.S: Likewise.
15931         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15932         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15933         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15934         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15935         * powerpc/powerpc32/memset.S: Likewise.
15936         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15937         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15938         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15939         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15940         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15941         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15942         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15943         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15944         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15945         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15946         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15947         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15948         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15950 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15952         * math/libm-test.inc: Added more nearbyint tests.
15953         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15954         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15955         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15956         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15958 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
15960         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15961         FD_CLOEXEC.
15963 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15965         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15966         Add wcscpy-ssse3 wcscpy-c.
15967         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15968         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15969         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15970         * sysdeps/x86_64/wcschr.S: New file.
15971         * sysdeps/x86_64/wcsrchr.S: New file.
15972         * string/test-strcmp.c: Remove checking of wcscmp function for
15973         wrong alignments.
15974         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15975         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15976         wcsrchr-sse2 wcsrchr-c.
15977         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15978         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15979         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15980         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15981         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15982         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15983         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15984         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15985         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15986         * wcsmbc/wcschr.c (WCSCHR): New macro.
15988 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15990         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15991         * wcsmbs/test-wcsrchr.c: New file.
15992         * string/test-strrchr.c: Add wcsrchr support.
15993         (WIDE): New macro.
15994         * wcsmbs/test-wcscpy.c: New file.
15995         * string/test-strcpy.c: Add wcscpy support.
15996         (WIDE): New macro.
15998 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
16000         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16001         the inner loop.
16003 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
16005         [BZ #13472]
16006         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16008 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
16010         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16011         Minor optimizations.
16013         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16014         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16015         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16017 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
16019         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16020         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16021         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16022         for gcc to avoid warnings.
16023         * inet/Makefile (tests): Add tst-checks.
16024         * inet/tst-checks.c: New file.
16026         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16027         warning.
16029         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16030         __wmemcmp_sse2.
16032         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16033         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16035         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16037 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
16039         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16040         problem.
16042         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16044 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
16046         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16047         conditional on GCC version.
16048         (__arch_compare_and_exchange_val_8_acq)
16049         (__arch_compare_and_exchange_val_16_acq)
16050         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16051         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16052         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16054 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
16056         * sysdeps/sh/backtrace.c: New file.
16058 2011-12-02  Andreas Schwab  <schwab@redhat.com>
16060         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
16061         parenthesis.
16063 2011-12-01  Andreas Schwab  <schwab@redhat.com>
16065         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16066         falling back to utime.
16068 2011-11-30  Andreas Schwab  <schwab@redhat.com>
16070         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16071         expectations for float.
16073 2011-11-29  Andreas Schwab  <schwab@redhat.com>
16075         * locale/weight.h (findidx): Add parameter len.
16076         * locale/weightwc.h (findidx): Likewise.
16077         * posix/fnmatch_loop.c (FCT): Adjust caller.
16078         * posix/regcomp.c (build_equiv_class): Likewise.
16079         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16080         * posix/regexec.c (check_node_accept_bytes): Likewise.
16081         * string/strcoll_l.c (STRCOLL): Likewise.
16082         * string/strxfrm_l.c (STRXFRM): Likewise.
16084 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
16086         * Makefile.in: Remove CVSOPT handling.
16087         * configure.in: Remove use of AC_REVISION.
16088         * iconvdata/Makefile (distribute): No need to filter out CVS.
16089         * scripts/list-sources.sh: Remove CVS, subversion and monotone
16090         handling.
16092 2011-11-16  Andreas Schwab  <schwab@redhat.com>
16094         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16095         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16096         [USE_AS_STRNCASECMP_L]: Likewise.
16097         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16098         NO_TLS_DIRECT_SEG_REFS.
16099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16100         Fix argument offsets for non-PIC.
16101         [USE_AS_STRNCASECMP_L]: Likewise.
16102         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16103         NO_TLS_DIRECT_SEG_REFS.
16105 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16107         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16108         O_CLOEXEC.
16109         * locale/loadlocale.c (_nl_load_locale): Likewise.
16111 2011-11-15  Andreas Schwab  <schwab@redhat.com>
16113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16114         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16115         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16116         (SYSCALL_GETTIME): Set errno on error.
16118         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16119         count references to noai6ai_cached.
16121 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16123         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16125         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16126         FD_CLOEXEC for /proc/self/maps.
16128         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16129         FD_CLOEXEC for /proc/meminfo.
16131         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16132         gai.conf.
16134         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
16135         FD_CLOEXEC for given file.
16137         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16139         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16140         FD_CLOEXEC for /etc/hosts.
16141         (_gethtent): Likewise.
16143         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16145         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16146         cancellation and set FD_CLOEXEC for /etc/netgroup.
16148         * nss/nss_files/files-key.c (search): Don't allow cancellation when
16149         reading /etc/publickey.
16151         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16152         allow cancellation when reading /etc/group.
16154         * nss/nss_files/files-alias.c (internal_setent): Don't allow
16155         cancellation.
16156         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
16158         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16159         when using data file.
16161         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16163         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16164         (write_nis_obj): Use "c" and "e" in fopen.
16166         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16168         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16170         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16172         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16174         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16175         locale.alias.
16177         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16179         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16181         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16183         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16184         file parsing and set FD_CLOEXEC.
16186 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16188         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16190 2011-11-14  Andreas Schwab  <schwab@redhat.com>
16192         * malloc/arena.c (arena_get2): Don't call reused_arena when
16193         _int_new_arena failed.
16195 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16197         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16198         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16199         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16200         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16201         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16202         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16203         to compile strcasecmp and strncasecmp.
16204         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16205         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16209 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
16211         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16212         locale-defines.sym to gen-as-const-headers.
16213         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16214         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16215         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16216         to compile strcasecmp and strncasecmp.
16217         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16218         strcasecmp_l and strncasecmp_l.
16219         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16220         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16221         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16222         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16223         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16224         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16225         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16226         * sysdeps/i386/i686/multiarch/strncase.S: New file.
16227         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16228         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16229         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16231 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
16233         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16234         result of SYSDEP_GETTIME_CPU to retval.
16235         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16236         parameter list to macro.  Remove trailing semicolon.  Adjust users.
16238         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16239         variable.
16241         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16242         mantissa words.
16243         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16245         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16246         from unused variable.
16248         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16249         DWARF definitions.
16250         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16251         for assembling.
16253         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16254         over namespaces.
16256         * sunrpc/rpc_prot.c (rejected): Fix case value.
16258         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16259         unsigned long long int to avoid warnings in shift.
16261         * posix/regex_internal.c (re_string_reconstruct): Actually use result
16262         of use of trans.
16263         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16264         variable tmp.
16266         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16267         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16268         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16270         * nis/nis_table.c (nis_list): Use variable of correct type for
16271         result of __follow_path call.
16273 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16275         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16276         of math functions ceil, trunc, floor, round, and sqrt, when
16277         avaliable on the platform.
16278         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16279         name clash.
16280         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16281         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16282         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16284 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
16286         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16287         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16289 2011-11-11  Roland McGrath  <roland@hack.frob.com>
16291         * include/unistd.h: Fix __readlink return type.
16292         Reported by Chris Metcalf <cmetcalf@tilera.com>.
16294 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
16296         * stdlib/ucontext.h: Undo last change for makecontext.
16298 2011-11-11  Andreas Schwab  <schwab@redhat.com>
16300         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16302         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16303         * setjmp/setjmp.h: Mark functions as non-leaf.
16304         * setjmp/bits/setjmp2.h: Likewise.
16305         * stdlib/ucontext.h: Likewise.
16307 2011-11-10  Andreas Schwab  <schwab@redhat.com>
16309         * malloc/arena.c (_int_new_arena): Don't increment narenas.
16310         (reused_arena): Don't check arena limit.
16311         (arena_get2): Atomically check arena limit.
16313 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
16315         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16316         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16319         instructions.
16321 2011-11-07  Andreas Schwab  <schwab@redhat.com>
16323         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16324         handler when locking.
16326         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16327         Fix size of allocated buffer.
16329 2011-11-04  Andreas Schwab  <schwab@redhat.com>
16331         [BZ #10103]
16332         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16333         declarations for long double functions.
16334         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16336         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16338 2011-11-03  Andreas Schwab  <schwab@redhat.com>
16340         * nscd/nscd.c (main): Don't start AVC thread until credentials are
16341         installed.
16343         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16344         is disabled.
16346 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16348         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16350 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16352         * include/alloca.h (stackinfo_alloca_round): Define.
16353         (extend_alloca): Use it.
16354         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16355         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16356         here.
16358         * scripts/check-local-headers.sh: Ignore libaudit.h.
16360         * nscd/Makefile (extra-objs): Make recursively expanded.
16362 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
16364         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16367         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16368         * posix/tst-rfc3484-2.c: Likewise.
16369         * posix/tst-rfc3484-3.c: Likewise.
16371         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16372         process_vm_writev.
16373         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16374         process_vm_writev.
16375         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16376         process_vm_writev from libc using GLIBC_2.15 version.
16378         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16380 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
16382         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16383         stack usage.
16385 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
16387         [BZ #13367]
16388         * nss/getent.c (initgroups_keys): Show error message in case no group
16389         names are given.
16391         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16392         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16393         __bump_nl_timestamp.
16394         * nscd/connections (nscd_init): When host database is served open
16395         netlink socket and request notification about configuration changes.
16396         (main_loop_poll): Track netlink file descriptor and bump timestamp
16397         in case data becomes available.
16398         (main_loop_epoll): Likewise.
16399         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16400         (database_pers_head): Add extra_data fileds.
16401         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16402         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16403         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16404         Adjust caller.
16405         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16406         in6ai data, call __free_in6ai.
16407         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16408         Add -DHAVE_NETLINK.
16409         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
16410         interface information.  Reuse previous data if netlink timestamp
16411         is not changed.
16412         (__bump_nl_timestamp): New function.
16413         (__free_in6ai): New function.
16415 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
16417         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16418         close_not_cancel_no_status here.
16419         (__check_pf): Reorganize code a bit to not call close twice if OOM.
16421 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16423         [BZ #13276]
16424         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16425         return value.
16427         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16428         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16429         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16431 2011-07-03  Andreas Jaeger  <aj@suse.de>
16433         [BZ #10709]
16434         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16435         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16436         * math/libm-test.inc (sin_test): Add test case.
16438 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16440         [BZ #13337]
16441         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16442         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16444         * elf/chroot_canon.c (chroot_canon): Cleanups.
16446         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16448         [BZ #13335]
16449         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16450         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16452         * string/test-strchr.c: Make usable for strchrnul testing.
16453         * string/test-strchrnul.c: New file.
16454         * string/Makefile (strop-tests): Add strchrnul.
16456         * po/it.po: Update from translation team.
16457         * po/es.po: Likewise.
16459 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
16461         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16462         the three constants needed as parameters.  Drop the others.
16463         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16464         __m128i_strloadu_tolower.
16465         Create and initialize variable zero and use it in all the places
16466         where _mm_setzero_si128 was used.
16468         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16469         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16470         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16471         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16472         anymore.
16473         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16474         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16475         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16476         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16477         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16478         __mpranred, __mptan.
16479         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16480         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16481         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16482         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16483         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16484         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16485         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16486         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16487         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16489 2011-10-28  Andreas Schwab  <schwab@redhat.com>
16491         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16492         redefine if SHARED.
16493         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16496         wide char related routines to wcsmbs subdir.
16498 2011-10-27  Andreas Schwab  <schwab@redhat.com>
16500         [BZ #13344]
16501         * misc/sys/cdefs.h (__THROWNL): Define.
16502         * posix/unistd.h: Use __THREADNL instead of __THREAD
16503         for memory synchronization functions.
16505 2011-10-26  Roland McGrath  <roland@hack.frob.com>
16507         [BZ #13349]
16508         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16509         doesn't exist.
16510         * manual/stdio.texi (Obstack Streams): Node removed.
16512 2011-10-26  Andreas Schwab  <schwab@redhat.com>
16514         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16515         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16516         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16518         * math/math_private.h (math_force_eval): Allow non-addressable
16519         arguments.
16520         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16522 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16524         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16525         file is not needed.
16527         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16528         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16529         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16530         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16531         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16532         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16534         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16535         Add AVX variants.
16536         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16537         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16538         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16539         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16540         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16541         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16542         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16543         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16544         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16545         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16546         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16547         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16548         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16549         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16550         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16551         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16552         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16553         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16554         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16556         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16557         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
16559         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16560         place.  Use VEX encoding when compiling for AVX.
16562 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16564         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16565         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16567         * string/test-strchr.c (do_test): Don't generate NUL bytes.
16569 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16571         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16572         useless if() expression.
16573         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16574         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16575         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16577         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16578         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16579         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16580         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16581         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16582         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16583         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16584         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16585         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16586         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16587         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16588         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16589         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16590         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16591         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16593         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16595 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16597         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16598         condition.
16599         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16601 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16603         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16604         .text section.  Avoid duplicate constants.
16605         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16607         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16611         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16612         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16613         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16614         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16615         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16616         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16617         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16620         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16621         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16622         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16623         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16624         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16625         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16626         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16627         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16628         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16629         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16630         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16631         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16632         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16633         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16634         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16635         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16636         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16637         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16638         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16639         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16640         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16642         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16643         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16644         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16645         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16646         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16647         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16648         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16649         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16651 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
16653         * sysdeps/x86_64/dla.h: Move to ...
16654         * sysdeps/x86_64/fpu/dla.h: ...here.
16655         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16656         situations.  Use __builtin_fma only for gcc 4.6 and up.
16658         * config.make.in: Add have-mfma4 entry.
16659         * configure.in: Substitute libc_cv_cc_fma4.
16660         * math/Makefile (dbl-only-routines): Add sincostab.
16661         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16662         Use __sincostab not sincos.
16663         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16664         name is a macro.
16665         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16666         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
16669         using __copysign.
16670         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
16671         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
16672         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16673         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16674         and __inv.
16675         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16676         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16677         __copysign.
16678         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
16679         define aliases when function name is a macro.
16680         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16681         sysdeps/ieee754/dbl-64/sincos.tbl.
16682         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16683         fma4-enabled routines.
16684         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16685         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16686         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16687         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16688         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16689         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16690         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16691         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16692         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16693         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16694         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16695         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16696         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16697         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16698         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16699         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16700         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16701         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16702         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16703         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16704         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16705         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16706         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16707         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16708         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16709         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16710         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16711         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16712         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16713         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16715         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16716         rename.
16717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16721         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16723         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16726 2011-10-24  Andreas Schwab  <schwab@redhat.com>
16728         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16730 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16732         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16734         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16735         prediction.
16736         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16738         * string/strnlen.c: Don't define STRNLEN, reverse logic.
16739         Remove unused variable magic_bits.
16740         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16742         * string/strnlen.c: Define and use STRNLEN macro.
16743         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16744         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16746         * wcsmbs/wcslen.c: Define and use WCSLEN.
16747         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16748         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16749         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16750         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16751         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16752         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16753         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16755 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16758         strnlen-sse2-no-bsf.
16759         Rename strlen-no-bsf to strlen-sse2-no-bsf.
16760         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16761         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16762         Add strnlen support.
16763         (USE_AS_STRNLEN): New macro.
16764         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16765         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16766         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16767         * sysdeps/x86_64/wcslen.S: New file.
16769 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
16771         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16772         XMM-moves are used for copying on small sizes.
16774 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16776         * wcsmbs/Makefile (strop-tests): Add wcschr.
16777         * wcsmbs/test-wcschr.c: New file.
16778         * string/test-strchr.c: Update.
16779         Add wcschr support.
16780         (WIDE): New macro.
16782 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16784         * wcsmbs/Makefile (strop-tests): Add wcslen.
16785         * wcsmbs/test-wcslen.c: New file.
16786         * string/test-strlen.c: Update.
16787         Add wcslen support.
16788         (WIDE): New macro.
16790 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16792         * po/it.po: Update from translation team.
16794 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16796         * sysdeps/x86_64/wcscmp.S: Update.
16797         Fix wrong comparison semantics.
16798         wcscmp shall use signed comparison not unsigned.
16799         Don't use substraction to avoid overflow bug.
16800         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16801         * wcsmbc/wcscmp.c: Likewise.
16802         * string/test-strcmp.c: Likewise.
16803         Add new tests to check cases with negative values.
16805 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16807         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16808         * sysdeps/x86_64/dla.h: ...here.  New file.
16809         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16812         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16813         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16814         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16815         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16817         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16819 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
16821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16822         __ynl_finite aliases.
16824 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16828         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16829         define DLA_FMA.
16830         [DLA_FMA] (EMULV): Use DLA_FMA.
16831         [DLA_FMA] (MUL12): Use EMULV.
16832         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16833         that are not needed.
16834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16835         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16838         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16840         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16842 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
16844         * math/s_nan.c: Undef __nan.
16845         * math/s_nanf.c: Undef __nanf.
16846         * math/s_nanl.c: Undef __nanl.
16847         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16848         "math_private.h".
16850 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16852         * math/s_catan.c: Add branch predictions.
16853         * math/s_catanf.c: Likewise.
16854         * math/s_catanh.c: Likewise.
16855         * math/s_catanhf.c: Likewise.
16856         * math/s_catanhl.c: Likewise.
16857         * math/s_catanl.c: Likewise.
16858         * math/s_cexp.c: Likewise.
16859         * math/s_cexpf.c: Likewise.
16860         * math/s_cexpl.c: Likewise.
16861         * math/s_clog.c: Likewise.
16862         * math/s_clog10.c: Likewise.
16863         * math/s_clog10f.c: Likewise.
16864         * math/s_clog10l.c: Likewise.
16865         * math/s_clogf.c: Likewise.
16866         * math/s_clogl.c: Likewise.
16867         * math/s_csqrt.c: Likewise.
16868         * math/s_csqrtf.c: Likewise.
16869         * math/s_csqrtl.c: Likewise.
16870         * math/s_ctanf.c: Likewise.
16871         * math/s_ctanh.c: Likewise.
16872         * math/s_ctanhf.c: Likewise.
16873         * math/s_ctanhl.c: Likewise.
16874         * math/s_ctanl.c: Likewise.
16876         * math/math_private.h: Define __nan, __nanf, __nanl.
16877         * math/s_cacosh.c: Include <math_private.h>.
16878         * math/s_cacoshl.c: Likewise.
16879         * math/s_casinh.c: Likewise.
16880         * math/s_casinhf.c: Likewise.
16881         * math/s_casinhl.c: Likewise.
16882         * math/s_ccos.c: Rely entire on ccosh.
16883         * math/s_ccosf.c: Rely entire on ccoshf.
16884         * math/s_ccosl.c: Rely entirely on ccoshl.
16885         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
16886         Remove tests for FE_INVALID.
16887         * math/s_ccoshf.c: Likewise.
16888         * math/s_ccoshl.c: Likewise.
16889         * math/s_csin.c: Likewise.
16890         * math/s_csinf.c: Likewise.
16891         * math/s_csinh.c Likewise.
16892         * math/s_csinhf.c: Likewise.
16893         * math/s_csinhl.c: Likewise.
16894         * math/s_csinl.c: Likewise.
16895         * math/s_ctan.c: Likewise.
16896         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16897         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16898         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16900 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
16902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16903         compilation problems.
16905         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16906         __builtin_expect.
16908 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
16910         * sysdeps/i386/configure.in: Test for -mfma4 option.
16911         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16912         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16913         COMMON_CPUID_INDEX_80000001.
16914         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16915         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16916         use it if FMA3 is not supported.
16917         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16919         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16920         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16922 2011-10-20  Andreas Schwab  <schwab@redhat.com>
16924         [BZ #12892]
16925         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16926         it would create a cycle with a link time dependency.
16928 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
16930         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16931         instruction.
16932         * string/Makefile (strop-tests): Add rawmemchr.
16933         * string/test-rawmemchr.c: New file.
16935         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16936         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
16937         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
16938         when compiling str{,n}casecmp and when AVX is available.  Hook up
16939         new optimized code in initializers.
16941 2011-10-19  Andreas Schwab  <schwab@redhat.com>
16943         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16944         __feraiseexcept instead of feraiseexcept.
16946 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
16948         * math/math_private.h: Define defaults for libc_fetestexcept and
16949         libc_feupdateenv.
16950         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16951         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16952         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16953         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16954         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16955         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16956         libc_fetestexcept and libc_feupdateenv.
16958         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16959         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16960         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16961         * sysdeps/x86_64/fpu/math_private.h: Define special version of
16962         libc_feholdexcept_setround.
16964         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16965         Add s_nearbyint-c and s_nearbyintf-c.
16966         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16967         nearbyintf inlines.
16968         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16969         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16970         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16971         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16973         * math/math_private.h: Define defaults for libc_fegetround,
16974         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16975         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16976         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16977         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16978         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16979         standard functions.
16980         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16981         Remove comments and hacks for old compiler versions.
16982         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16983         libc_fegetround, libc_fesetround, libc_feholdexcept, and
16984         libc_feholdexceptl.
16986 2011-10-18  Andreas Schwab  <schwab@redhat.com>
16988         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16989         (__feraiseexcept_renamed): Add __NTH.
16990         (feraiseexcept): Add __NTH.  Rename local variables to fix
16991         namespace violations.
16993 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
16995         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16997         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16999         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17000         recently added interfaces.
17001         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17003         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17004         about macro parameter expansion.
17006         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17007         __NO_MATH_INLINES is defined.  Cleanups.
17009         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17010         and __floorf is target has SSE4.1.
17011         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17012         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17013         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17014         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17016         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17017         name.
17018         (floorf): Likewise.
17020         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17022 2011-10-17  Andreas Schwab  <schwab@redhat.com>
17024         * misc/sys/cdefs.h: Fix last change.
17026         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17027         database lookup.
17029 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
17031         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17033         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17034         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17035         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17036         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17038         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17039         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17040         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17041         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17042         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17043         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17044         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17045         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17046         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17047         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17048         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17049         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17050         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17051         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17052         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17053         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17054         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17056         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17057         ceil, ceilf, floor, floorf.
17059         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17060         Perform IRELATIVE relocations last.
17062         * elf/do-rel.h: Add another parameter nrelative, replacing the
17063         local variable with the same name.  Change name of the function
17064         to end in Rel or Rela (uppercase).
17065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17066         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
17067         elf_dynamic_do_##reloc function.
17069 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17071         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17072         is sufficient, at least on modern CPUs.
17074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17076         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17077         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17079         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17080         __expl_finite.
17081         * math/bits/math-finite.h: Add entries for exp.
17082         * math/e_expl.c: Add __*_finite alias.
17083         * sysdeps/i386/fpu/e_exp.S: Likewise.
17084         * sysdeps/i386/fpu/e_expf.S: Likewise.
17085         * sysdeps/i386/fpu/e_expl.c: Likewise.
17086         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17087         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17088         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17089         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17090         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17091         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17092         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17094         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17095         is sufficient, at least on modern CPUs.
17097         * ctype/ctype-info.c (__ctype_init): Define.
17098         * include/ctype.h (__ctype_init): Declare.
17099         (__ctype_b_loc): The variable is always initialized.
17100         (__ctype_toupper_loc): Likewise.
17101         (__ctype_tolower_loc): Likewise.
17102         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17103         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17105 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
17107         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17109         * configure.in: Also look in $cxxmachine/include for C++ system
17110         headers.
17112 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17114         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17115         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17116         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17117         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
17118         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17119         (USE_AS_WMEMCMP): New macro.
17120         Fixing indents.
17121         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17122         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17123         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17124         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17126         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17127         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17128         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17129         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17130         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17131         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17132         (USE_AS_WMEMCMP): New macro.
17133         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17134         * sysdeps/string/test-memcmp.c: Update.
17135         Fix simple_wmemcmp.
17136         Add new tests.
17137         * wcsmbs/wmemcmp.c: Update.
17138         (WMEMCMP): New macro.
17139         Fix overflow bug.
17141 2011-10-12  Andreas Jaeger  <aj@suse.de>
17143         [BZ #13268]
17144         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17146 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17148         * libio/iofwide.c (do_length): Avoid warning.
17150         * ctype/ctype.h (__isctype_f): Add missing __THROW.
17152 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
17154         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17156         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17157         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17158         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17159         * sysdeps/i386/i686/fpu/e_log.S: New file.
17160         * sysdeps/i386/i686/fpu/e_logf.S: New file.
17161         * sysdeps/i386/i686/fpu/e_logl.S: New file.
17163         * ctype/ctype.h: Add support for inlined isXXX functions when
17164         compiling C++ code.
17166 2011-10-14  Andreas Schwab  <schwab@redhat.com>
17168         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17170         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17172 2011-10-13  Roland McGrath  <roland@hack.frob.com>
17174         [BZ #13291]
17175         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17177 2011-10-13  Andreas Schwab  <schwab@redhat.com>
17179         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17180         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17181         feraiseexcept.
17183         * sysdeps/x86_64/memrchr.S: Check for zero size.
17185         * string/stratcliff.c: Add memrchr tests.
17187 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17190         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17191         rawmemchr-sse2 rawmemchr-sse2-bsf.
17192         * sysdeps/i386/i686/multiarch/memchr.S: New file.
17193         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17194         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17195         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17196         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17197         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17198         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17199         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17200         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17201         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17202         * string/memrchr.c (MEMRCHR): New macro.
17204 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
17206         Add integration with gcc's -ffinite-math-only and optimize wrapper
17207         functions in libm.
17208         * Versions.def: Define GLIBC_2.15 version for libm.
17209         * math/Makefile (headers): Add bits/math-finite.h.
17210         * math/bits/math-finite.h: New file.
17211         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17212         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17213         * math/e_acoshl.c: Add __*_finite alias.
17214         * math/e_acosl.c: Likewise.
17215         * math/e_asinl.c: Likewise.
17216         * math/e_atan2l.c: Likewise.
17217         * math/e_atanhl.c: Likewise.
17218         * math/e_coshl.c: Likewise.
17219         * math/e_exp10.c: Likewise.
17220         * math/e_exp10f.c: Likewise.
17221         * math/e_exp10l.c: Likewise.
17222         * math/e_exp2l.c: Likewise.
17223         * math/e_fmodl.c: Likewise.
17224         * math/e_gammal_r.c: Likewise.
17225         * math/e_hypotl.c: Likewise.
17226         * math/e_j0l.c: Likewise.
17227         * math/e_j1l.c: Likewise.
17228         * math/e_jnl.c: Likewise.
17229         * math/e_lgammal_r.c: Likewise.
17230         * math/e_log10l.c: Likewise.
17231         * math/e_log2l.c: Likewise.
17232         * math/e_logl.c: Likewise.
17233         * math/e_powl.c: Likewise.
17234         * math/e_sinhl.c: Likewise.
17235         * math/e_sqrtl.c: Likewise.
17236         * math/e_scalb.c: Completely rewritten and optimized.
17237         * math/e_scalbf.c: Likewise.
17238         * math/e_scalbl.c: Likewise.
17239         * math/w_acos.c: Likewise.
17240         * math/w_acosf.c: Likewise.
17241         * math/w_acosl.c: Likewise.
17242         * math/w_acosh.c: Likewise.
17243         * math/w_acoshf.c: Likewise.
17244         * math/w_acoshl.c: Likewise.
17245         * math/w_asin.c: Likewise.
17246         * math/w_asinf.c: Likewise.
17247         * math/w_asinl.c: Likewise.
17248         * math/w_atan2.c: Likewise.
17249         * math/w_atan2f.c: Likewise.
17250         * math/w_atan2l.c: Likewise.
17251         * math/w_atanh.c: Likewise.
17252         * math/w_atanhf.c: Likewise.
17253         * math/w_atanhl.c: Likewise.
17254         * math/w_exp10.c: Likewise.
17255         * math/w_exp10f.c: Likewise.
17256         * math/w_exp10l.c: Likewise.
17257         * math/w_fmod.c: Likewise.
17258         * math/w_fmodf.c: Likewise.
17259         * math/w_fmodl.c: Likewise.
17260         * math/w_j0.c: Likewise.
17261         * math/w_j0f.c: Likewise.
17262         * math/w_j0l.c: Likewise.
17263         * math/w_j1.c: Likewise.
17264         * math/w_j1f.c: Likewise.
17265         * math/w_j1l.c: Likewise.
17266         * math/w_jn.c: Likewise.
17267         * math/w_jnf.c: Likewise.
17268         * math/w_log.c: Likewise.
17269         * math/w_logf.c: Likewise.
17270         * math/w_logl.c: Likewise.
17271         * math/w_log10.c: Likewise.
17272         * math/w_log10f.c: Likewise.
17273         * math/w_log10l.c: Likewise.
17274         * math/w_log2.c: Likewise.
17275         * math/w_log2f.c: Likewise.
17276         * math/w_log2l.c: Likewise.
17277         * math/w_pow.c: Likewise.
17278         * math/w_powf.c: Likewise.
17279         * math/w_powl.c: Likewise.
17280         * math/w_remainder.c: Likewise.
17281         * math/w_remainderf.c: Likewise.
17282         * math/w_remainderl.c: Likewise.
17283         * math/w_scalb.c: Likewise.
17284         * math/w_scalbf.c: Likewise.
17285         * math/w_scalbl.c: Likewise.
17286         * math/w_sqrt.c: Likewise.
17287         * math/w_sqrtf.c: Likewise.
17288         * math/w_sqrtl.c: Likewise.
17289         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17290         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
17291         used.
17292         * math/math_private.h: Declare __kernel_standard_f.
17293         * math/w_cosh.c: Remove cruft and optimize a bit.
17294         * math/w_coshf.c: Likewise.
17295         * math/w_coshl.c: Likewise.
17296         * math/w_exp2.c: Likewise.
17297         * math/w_exp2f.c: Likewise.
17298         * math/w_exp2l.c: Likewise.
17299         * math/w_hypot.c: Likewise.
17300         * math/w_hypotf.c: Likewise.
17301         * math/w_hypotl.c: Likewise.
17302         * math/w_lgamma.c: Likewise.
17303         * math/w_lgamma_r.c: Likewise.
17304         * math/w_lgammaf.c: Likewise.
17305         * math/w_lgammaf_r.c: Likewise.
17306         * math/w_lgammal.c: Likewise.
17307         * math/w_lgammal_r.c: Likewise.
17308         * math/w_sinh.c: Likewise.
17309         * math/w_sinhf.c: Likewise.
17310         * math/w_sinhl.c: Likewise.
17311         * math/w_tgamma.c: Likewise.
17312         * math/w_tgammaf.c: Likewise.
17313         * math/w_tgammal.c: Likewise.
17314         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17315         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17316         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17317         Minor optimizations.  Pretty printing.  Remove cruft.
17318         * sysdeps/i386/fpu/e_acosf.S: Likewise.
17319         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17320         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17321         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17322         * sysdeps/i386/fpu/e_acosl.c: Likewise.
17323         * sysdeps/i386/fpu/e_asin.S: Likewise.
17324         * sysdeps/i386/fpu/e_asinf.S: Likewise.
17325         * sysdeps/i386/fpu/e_atan2.S: Likewise.
17326         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17327         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17328         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17329         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17330         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17331         * sysdeps/i386/fpu/e_exp10.S: Likewise.
17332         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17333         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17334         * sysdeps/i386/fpu/e_exp2.S: Likewise.
17335         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17336         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17337         * sysdeps/i386/fpu/e_fmod.S: Likewise.
17338         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17339         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17340         * sysdeps/i386/fpu/e_hypot.S: Likewise.
17341         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17342         * sysdeps/i386/fpu/e_log.S: Likewise.
17343         * sysdeps/i386/fpu/e_log10.S: Likewise.
17344         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17345         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17346         * sysdeps/i386/fpu/e_log2.S: Likewise.
17347         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17348         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17349         * sysdeps/i386/fpu/e_logf.S: Likewise.
17350         * sysdeps/i386/fpu/e_logl.S: Likewise.
17351         * sysdeps/i386/fpu/e_pow.S: Likewise.
17352         * sysdeps/i386/fpu/e_powf.S: Likewise.
17353         * sysdeps/i386/fpu/e_powl.S: Likewise.
17354         * sysdeps/i386/fpu/e_remainder.S: Likewise.
17355         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17356         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17357         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17358         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17359         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17360         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17361         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17362         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17363         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17364         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17366         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17367         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17368         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17369         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17370         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17371         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17372         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17373         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17374         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17376         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17377         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17378         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17379         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17380         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17381         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17382         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17383         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17388         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17389         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17391         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17392         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17393         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17394         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17395         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17396         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17397         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17398         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17399         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17400         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17404         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17405         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17406         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17407         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17408         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17409         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17410         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17411         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17412         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17413         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17414         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17415         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17416         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17422         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17424         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17427         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17428         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17432         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17433         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17434         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17435         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17436         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17437         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17439         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17440         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17441         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17442         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17443         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17444         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17445         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17446         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17447         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17448         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17449         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17451         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17452         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17453         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17454         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17455         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17456         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17457         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17458         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17459         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17460         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17461         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17462         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17463         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17464         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17465         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17466         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17467         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17468         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17469         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17470         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17471         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17472         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17473         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
17474         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17475         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17476         (__isnanf): Likewise.
17477         (__isinf_ns): Likewise.
17478         (__isinf_nsf): Likewise.
17479         (__finite): Likewise.
17480         (__finitef): Likewise.
17481         (__ieee754_sqrt): Define as macro.
17482         (__ieee754_sqrtf): Define as macro.
17483         (__ieee754_sqrtl): Define as macro.
17484         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17485         inlined copy.
17486         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17487         __FINITE_MATH_ONLY__ consistent.
17488         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17490 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
17492         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17493         of rawmemchr.
17495         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17497 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
17499         * po/ja.po: Update from translation team.
17501 2011-10-08  Roland McGrath  <roland@hack.frob.com>
17503         * locale/programs/locarchive.c (prepare_address_space): New function.
17504         (create_archive, enlarge_archive, open_archive): Use it.
17506         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17507         inside [SHARED], where it is used.
17509         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17511         * nss/getent.c (netgroup_keys): Remove unused variable.
17512         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17514 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
17516         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17517         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17519         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17520         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17521         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17522         * math/Makefile (libm-calls): Add s_isinf_ns.
17523         * math/divtc3.c: Use __isinf_nsl instead of isinf.
17524         * math/multc3.c: Likewise.
17525         * math/s_casin.c: Likewise.
17526         * math/s_casinf.c: Likewise.
17527         * math/s_casinl.c: Likewise.
17528         * math/s_ccos.c: Likewise.
17529         * math/s_ccosf.c: Likewise.
17530         * math/s_ccosl.c: Likewise.
17531         * math/s_ctan.c: Likewise.
17532         * math/s_ctanf.c: Likewise.
17533         * math/s_ctanh.c: Likewise.
17534         * math/s_ctanhf.c: Likewise.
17535         * math/s_ctanhl.c: Likewise.
17536         * math/s_ctanl.c: Likewise.
17537         * math/w_fmod.c: Likewise.
17538         * math/w_fmodf.c: Likewise.
17539         * math/w_fmodl.c: Likewise.
17540         * math/w_remainder.c: Likewise.
17541         * math/w_remainderf.c: Likewise.
17542         * math/w_remainderl.c: Likewise.
17543         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17544         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17547         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17548         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17549         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17550         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17552         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17553         of the number.
17554         * stdio-common/printf_fphex.c: Likewise.
17555         * stdio-common/printf_size.c: Likewise.
17557         * math/e_exp10.c: Include math_private.h using <...> not "...".
17558         * math/e_exp10f.c: Likewise.
17559         * math/e_exp10l.c: Likewise.
17560         * math/e_exp2l.c: Likewise.
17561         * math/e_j0l.c: Likewise.
17562         * math/e_j1l.c: Likewise.
17563         * math/e_jnl.c: Likewise.
17564         * math/e_lgammal_r.c: Likewise.
17565         * math/e_rem_pio2l.c: Likewise.
17566         * math/e_scalb.c: Likewise.
17567         * math/e_scalbf.c: Likewise.
17568         * math/e_scalbl.c: Likewise.
17569         * math/k_cosl.c: Likewise.
17570         * math/k_sinl.c: Likewise.
17571         * math/k_tanl.c: Likewise.
17572         * math/s_cacoshf.c: Likewise.
17573         * math/s_catan.c: Likewise.
17574         * math/s_catanf.c: Likewise.
17575         * math/s_catanh.c: Likewise.
17576         * math/s_catanhf.c: Likewise.
17577         * math/s_catanhl.c: Likewise.
17578         * math/s_catanl.c: Likewise.
17579         * math/s_ccosh.c: Likewise.
17580         * math/s_ccoshf.c: Likewise.
17581         * math/s_ccoshl.c: Likewise.
17582         * math/s_cexp.c: Likewise.
17583         * math/s_cexpf.c: Likewise.
17584         * math/s_cexpl.c: Likewise.
17585         * math/s_clog.c: Likewise.
17586         * math/s_clog10.c: Likewise.
17587         * math/s_clog10f.c: Likewise.
17588         * math/s_clog10l.c: Likewise.
17589         * math/s_clogf.c: Likewise.
17590         * math/s_clogl.c: Likewise.
17591         * math/s_csin.c: Likewise.
17592         * math/s_csinf.c: Likewise.
17593         * math/s_csinh.c: Likewise.
17594         * math/s_csinhf.c: Likewise.
17595         * math/s_csinhl.c: Likewise.
17596         * math/s_csinl.c: Likewise.
17597         * math/s_csqrt.c: Likewise.
17598         * math/s_csqrtf.c: Likewise.
17599         * math/s_csqrtl.c: Likewise.
17600         * math/s_ctan.c: Likewise.
17601         * math/s_ctanf.c: Likewise.
17602         * math/s_ctanh.c: Likewise.
17603         * math/s_ctanhf.c: Likewise.
17604         * math/s_ctanhl.c: Likewise.
17605         * math/s_ctanl.c: Likewise.
17606         * math/s_ldexp.c: Likewise.
17607         * math/s_ldexpf.c: Likewise.
17608         * math/s_ldexpl.c: Likewise.
17609         * math/s_significand.c: Likewise.
17610         * math/s_significandf.c: Likewise.
17611         * math/s_significandl.c: Likewise.
17612         * math/w_acos.c: Likewise.
17613         * math/w_acosf.c: Likewise.
17614         * math/w_acosh.c: Likewise.
17615         * math/w_acoshf.c: Likewise.
17616         * math/w_acoshl.c: Likewise.
17617         * math/w_acosl.c: Likewise.
17618         * math/w_asin.c: Likewise.
17619         * math/w_asinf.c: Likewise.
17620         * math/w_asinl.c: Likewise.
17621         * math/w_atan2.c: Likewise.
17622         * math/w_atan2f.c: Likewise.
17623         * math/w_atan2l.c: Likewise.
17624         * math/w_atanh.c: Likewise.
17625         * math/w_atanhf.c: Likewise.
17626         * math/w_atanhl.c: Likewise.
17627         * math/w_cosh.c: Likewise.
17628         * math/w_coshf.c: Likewise.
17629         * math/w_coshl.c: Likewise.
17630         * math/w_dremf.c: Likewise.
17631         * math/w_exp10.c: Likewise.
17632         * math/w_exp10f.c: Likewise.
17633         * math/w_exp10l.c: Likewise.
17634         * math/w_exp2.c: Likewise.
17635         * math/w_exp2f.c: Likewise.
17636         * math/w_fmod.c: Likewise.
17637         * math/w_fmodf.c: Likewise.
17638         * math/w_fmodl.c: Likewise.
17639         * math/w_hypot.c: Likewise.
17640         * math/w_hypotf.c: Likewise.
17641         * math/w_hypotl.c: Likewise.
17642         * math/w_j0.c: Likewise.
17643         * math/w_j0f.c: Likewise.
17644         * math/w_j0l.c: Likewise.
17645         * math/w_j1.c: Likewise.
17646         * math/w_j1f.c: Likewise.
17647         * math/w_j1l.c: Likewise.
17648         * math/w_jn.c: Likewise.
17649         * math/w_jnf.c: Likewise.
17650         * math/w_jnl.c: Likewise.
17651         * math/w_lgamma.c: Likewise.
17652         * math/w_lgamma_r.c: Likewise.
17653         * math/w_lgammaf.c: Likewise.
17654         * math/w_lgammaf_r.c: Likewise.
17655         * math/w_lgammal.c: Likewise.
17656         * math/w_lgammal_r.c: Likewise.
17657         * math/w_log.c: Likewise.
17658         * math/w_log10.c: Likewise.
17659         * math/w_log10f.c: Likewise.
17660         * math/w_log10l.c: Likewise.
17661         * math/w_log2.c: Likewise.
17662         * math/w_log2f.c: Likewise.
17663         * math/w_log2l.c: Likewise.
17664         * math/w_logf.c: Likewise.
17665         * math/w_logl.c: Likewise.
17666         * math/w_pow.c: Likewise.
17667         * math/w_powf.c: Likewise.
17668         * math/w_powl.c: Likewise.
17669         * math/w_remainder.c: Likewise.
17670         * math/w_remainderf.c: Likewise.
17671         * math/w_remainderl.c: Likewise.
17672         * math/w_scalb.c: Likewise.
17673         * math/w_scalbf.c: Likewise.
17674         * math/w_scalbl.c: Likewise.
17675         * math/w_sinh.c: Likewise.
17676         * math/w_sinhf.c: Likewise.
17677         * math/w_sinhl.c: Likewise.
17678         * math/w_sqrt.c: Likewise.
17679         * math/w_sqrtf.c: Likewise.
17680         * math/w_sqrtl.c: Likewise.
17681         * math/w_tgamma.c: Likewise.
17682         * math/w_tgammaf.c: Likewise.
17683         * math/w_tgammal.c: Likewise.
17685         * po/ja.po: Update from translation team.
17687 2011-09-29  Andreas Jaeger  <aj@suse.de>
17689         [BZ #13179]
17690         * sunrpc/netname.c (netname2host): Fix logic.
17692         [BZ #6779]
17693         [BZ #6783]
17694         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17695         correctly.
17696         * math/w_remainder.c (__remainder): Likewise.
17697         * math/w_remainderf.c (__remainderf): Likewise.
17698         * math/libm-test.inc (remainder_test): Add test cases.
17700 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17702         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
17703         sdiv_qrnnd.
17705 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17707         * string/test-memcmp.c: Avoid unncessary #defines.
17708         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17710 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17712         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17713         Use new sse2 version for core i3 - i7 as it's faster
17714         than sse42 version.
17715         (bit_Prefer_PMINUB_for_stringop): New.
17716         * sysdeps/x86_64/rawmemchr.S: Update.
17717         Replace with faster SSE2 version.
17718         * sysdeps/x86_64/memrchr.S: New file.
17719         * sysdeps/x86_64/memchr.S: Update.
17720         Replace with faster SSE2 version.
17722 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
17724         * elf/dl-load.c (lose): Add cast to avoid warning.
17726 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17728         * po/ca.po: Update from translation team.
17730         * inet/getnetgrent_r.c: Hook up nscd.
17731         * nscd/Makefile (routines): Add nscd_netgroup.
17732         (nscd-modules): Add netgroupcache.
17733         (CFLAGS-netgroupcache.c): Define.
17734         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17735         (cache_search): Add const to second parameter.
17736         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17737         INNETGR.
17738         (dbs): Add netgrdb entry.
17739         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17740         (verify_persistent_db): Handle netgrdb.
17741         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17742         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17743         GETFDNETGR.
17744         (netgroup_response_header): Define.
17745         (innetgroup_response_header): Define.
17746         (datahead): Add netgroup_response_header and innetgroup_response_header
17747         elements.
17748         * nscd/nscd.conf: Add entries for netgroup cache.
17749         * nscd/nscd.h (dbtype): Add netgrdb.
17750         (_PATH_NSCD_NETGROUP_DB): Define.
17751         (netgroup_iov_disabled): Declare.
17752         (xmalloc, xcalloc, xrealloc): Move declarations here.
17753         (cache_search): Adjust prototype.
17754         Add netgroup-related prototypes.
17755         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17756         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17757         (__nscd_innetgr): Declare.
17758         * nscd/selinux.c (perms): Use access_vector_t as element type and
17759         add netgroup-related initializers.
17760         * nscd/netgroupcache.c: New file.
17761         * nscd/nscd_netgroup.c: New file.
17762         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17763         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17764         For four parameters use innetgr.
17765         * nss/nss_files/files-init.c: Add definition and callback for netgr.
17766         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17767         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17768         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17770         * nscd/connections.c (register_traced_file): Don't register file
17771         for disabled databases.
17773 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
17775         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17777         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17778         from tree and freeing node.
17780 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
17782         * nss/nsswitch.c (__nss_database_lookup): Handle
17783         nss_parse_service_list out of memory case.
17785 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
17787         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17788         out of memory case.
17790 2011-10-04  Andreas Schwab  <schwab@redhat.com>
17792         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17793         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17794         pass it down.
17795         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17796         elf_machine_rela, elf_machine_lazy_rel.
17797         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17798         (ELF_DYNAMIC_DO_REL): Likewise.
17799         (ELF_DYNAMIC_DO_RELA): Likewise.
17800         (ELF_DYNAMIC_RELOCATE): Likewise.
17801         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17802         to ELF_DYNAMIC_DO_REL.
17803         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17804         (dl_main): In trace mode always set __RTLD_NOIFUNC.
17805         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17806         elf_machine_rela.
17807         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17808         skip_ifunc, don't call ifunc function if non-zero.
17809         (elf_machine_rela): Likewise.
17810         (elf_machine_lazy_rel): Likewise.
17811         (elf_machine_lazy_rela): Likewise.
17812         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17813         (elf_machine_lazy_rel): Likewise.
17814         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17815         Likewise.
17816         (elf_machine_lazy_rel): Likewise.
17817         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17818         Likewise.
17819         (elf_machine_lazy_rel): Likewise.
17820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17821         (elf_machine_lazy_rel): Likewise.
17822         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17823         (elf_machine_lazy_rel): Likewise.
17824         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17825         (elf_machine_lazy_rel): Likewise.
17826         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17827         (elf_machine_lazy_rel): Likewise.
17828         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17829         (elf_machine_lazy_rel): Likewise.
17830         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17831         (elf_machine_lazy_rel): Likewise.
17833 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
17835         * nss/nss_files/files-init.c (_nss_files_init): Use static
17836         initialization for all the *_traced_file variables.
17838 2011-09-28  Andreas Schwab  <schwab@redhat.com>
17840         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17842 2011-09-27  Roland McGrath  <roland@hack.frob.com>
17844         [BZ #13226]
17845         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17847 2011-09-27  Andreas Schwab  <schwab@redhat.com>
17849         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17850         Reread the line before reparsing it.
17852 2011-09-26  Andreas Schwab  <schwab@redhat.com>
17854         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17856 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
17857             Maxim Kuvyrkov  <maxim@codesourcery.com>
17858             Joseph Myers  <joseph@codesourcery.com>
17860         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17861         if needed for __stack_chk_guard.
17863 2011-09-19  Roland McGrath  <roland@hack.frob.com>
17865         * sysdeps/posix/spawni.c (script_execute): Always define it.
17866         It will be optimized away if unused.
17867         (maybe_script_execute): New function.
17868         (__spawni): Call it.
17870         * Makerules: Don't include tls.make.
17871         (config-tls): Always set to thread.
17872         * tls.make.c: File removed.
17874 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
17876         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17877         * config.make.in (CPPFLAGS-config): New substituted variable.
17879 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17881         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17883         [BZ #13192]
17884         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17885         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17887 2011-09-15  Roland McGrath  <roland@hack.frob.com>
17889         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17890         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17891         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17892         (CALL_FAIL): Likewise.
17893         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17894         (CALL_FAIL): Macro removed.
17895         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17897 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17899         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17900         for __FINITE_MATH_ONLY__ == 1.
17902 2011-09-15  Andreas Schwab  <schwab@redhat.com>
17904         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17905         __ieee754_sqrt instead of sqrt.
17906         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17907         __ieee754_sqrtf instead of sqrtf.
17908         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17909         __floorf instead of floorf.
17910         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17911         __floorf, __truncf instead of floorf, truncf.
17913 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
17915         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17917         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17918         __extern_always_inline.
17919         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17920         32-bit.
17922 2011-09-14  Andreas Schwab  <schwab@redhat.com>
17924         * elf/rtld.c (dl_main): Also relocate in dependency order when
17925         doing symbol dependency testing.
17927 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
17929         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17930         Always define `refsym'.
17932 2011-09-13  Andreas Schwab  <schwab@redhat.com>
17934         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17935         (__FD_ELT): Renamed from __FDELT.
17936         * misc/bits/select2.h (__FD_ELT): Likewise.
17937         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17938         __FD_MASK instead of __FDELT, __FDMASK.
17939         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17940         Likewise.
17941         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17942         Likewise.
17944         * elf/Makefile (gen-ldd): Fix pattern.
17946         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17947         (init_tls): Likewise.
17949 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
17951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17953 2011-09-12  Andreas Schwab  <schwab@redhat.com>
17955         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17956         `struct cmsghdr *' instead of `void *'.
17957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17958         Likewise.
17960 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
17962         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17963         if non-absolute.
17964         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17965         ldd_rewrite_script.
17967 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
17969         * configure.in: Remove --with-tls option.
17970         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17971         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17972         out in case it is missing.
17973         * sysdeps/ia64/elf/configure.in: Likewise.
17974         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17975         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17976         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17977         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17978         * sysdeps/sh/elf/configure.in: Likewise.
17979         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17980         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17981         * sysdeps/x86_64/elf/configure.in: Likewise.
17982         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17983         * sysdeps/mach/hurd/tls.h: Likewise.
17985         [BZ #13067]
17986         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17988         [BZ #13090]
17989         * configure.in: Fix use of AC_INIT.
17991         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17993 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
17995         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17996         __set_errno.
17997         * malloc/hooks.c: Likewise.
17999         [BZ #11929]
18000         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
18001         variables statically.
18002         (narenas): Initialize.
18003         (list_lock): Initialize.
18004         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
18005         initializtion of main_arena and list_lock.  Small cleanups.
18006         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18007         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
18008         Add initializers to main_arena and mp_.
18009         (malloc_state): Remove pagesize member.  Change all users to use
18010         GLRO(dl_pagesize).
18012         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18013         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
18014         is always initialized.
18016         * malloc/malloc.c: Removed unused configurations and dead code.
18017         * malloc/arena.c: Likewise.
18018         * malloc/hooks.c: Likewise.
18019         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18021         * include/tls.h: Removed.  USE___THREAD must always be defined.
18022         * bits/libc-tsd.h: Don't handle !USE___THREAD.
18023         * elf/dl-libc.c: Likewise.
18024         * elf/dl-tsd.c: Likewise.
18025         * include/errno.h: Likewise.
18026         * include/netdb.h: Likewise.
18027         * include/resolv.h: Likewise.
18028         * inet/herrno-loc.c: Likewise.
18029         * inet/herrno.c: Likewise.
18030         * malloc/arena.c: Likewise.
18031         * malloc/hooks.c: Likewise.
18032         * malloc/malloc.c: Likewise.
18033         * resolv/res-state.c: Likewise.
18034         * resolv/res_libc.c: Likewise.
18035         * sysdeps/i386/dl-machine.h: Likewise.
18036         * sysdeps/ia64/dl-machine.h: Likewise.
18037         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18038         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18039         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18040         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18041         * sysdeps/sh/dl-machine.h: Likewise.
18042         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18043         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18044         * sysdeps/unix/i386/sysdep.S: Likewise.
18045         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18046         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18051         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18053         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18055         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18056         * sysdeps/x86_64/dl-machine.h: Likewise.
18057         * tls.make.c: Likewise.
18059         * configure.in: Remove --with-__thread option.  Make tests for
18060         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18061         tls_model attribute fail if no support is available.  Remove
18062         USE_IN_LIBIO.
18063         * Makeconfig: Adjust for dropped configure option.  All features are
18064         now mandatory.
18065         * Makerules: Likewise.
18066         * Versions.def: Likewise.
18067         * argp/argp-fmtstream.c: Likewise.
18068         * argp/argp-fmtstream.h: Likewise.
18069         * argp/argp-help.c: Likewise.
18070         * assert/assert.c: Likewise.
18071         * config.h.in: Likewise.
18072         * config.make.in: Likewise.
18073         * configure: Likewise.
18074         * configure.in: Likewise.
18075         * csu/Versions: Likewise.
18076         * csu/init.c: Likewise.
18077         * elf/tst-audit2.c: Likewise.
18078         * elf/tst-tls10.c: Likewise.
18079         * elf/tst-tls10.h: Likewise.
18080         * elf/tst-tls11.c: Likewise.
18081         * elf/tst-tls12.c: Likewise.
18082         * elf/tst-tls14.c: Likewise.
18083         * elf/tst-tlsmod11.c: Likewise.
18084         * elf/tst-tlsmod12.c: Likewise.
18085         * elf/tst-tlsmod13.c: Likewise.
18086         * elf/tst-tlsmod13a.c: Likewise.
18087         * elf/tst-tlsmod14a.c: Likewise.
18088         * elf/tst-tlsmod15b.c: Likewise.
18089         * elf/tst-tlsmod16a.c: Likewise.
18090         * elf/tst-tlsmod16b.c: Likewise.
18091         * elf/tst-tlsmod7.c: Likewise.
18092         * elf/tst-tlsmod8.c: Likewise.
18093         * elf/tst-tlsmod9.c: Likewise.
18094         * gmon/gmon.c: Likewise.
18095         * grp/fgetgrent_r.c: Likewise.
18096         * grp/putgrent.c: Likewise.
18097         * hurd/fopenport.c: Likewise.
18098         * include/libc-symbols.h: Likewise.
18099         * include/tls.h: Likewise.
18100         * intl/gettextP.h: Likewise.
18101         * intl/loadinfo.h: Likewise.
18102         * locale/global-locale.c: Likewise.
18103         * locale/localeinfo.h: Likewise.
18104         * mach/devstream.c: Likewise.
18105         * malloc/arena.c: Likewise.
18106         * malloc/set-freeres.c: Likewise.
18107         * misc/err.c: Likewise.
18108         * misc/getttyent.c: Likewise.
18109         * misc/mntent_r.c: Likewise.
18110         * posix/getopt.c: Likewise.
18111         * posix/wordexp.c: Likewise.
18112         * pwd/fgetpwent_r.c: Likewise.
18113         * resolv/Versions: Likewise.
18114         * resolv/res_hconf.c: Likewise.
18115         * shadow/fgetspent_r.c: Likewise.
18116         * shadow/putspent.c: Likewise.
18117         * stdio-common/printf_fphex.c: Likewise.
18118         * stdio-common/tmpfile.c: Likewise.
18119         * stdlib/abort.c: Likewise.
18120         * stdlib/fmtmsg.c: Likewise.
18121         * sunrpc/auth_unix.c: Likewise.
18122         * sunrpc/clnt_perr.c: Likewise.
18123         * sunrpc/clnt_tcp.c: Likewise.
18124         * sunrpc/clnt_udp.c: Likewise.
18125         * sunrpc/clnt_unix.c: Likewise.
18126         * sunrpc/openchild.c: Likewise.
18127         * sunrpc/svc_simple.c: Likewise.
18128         * sunrpc/svc_tcp.c: Likewise.
18129         * sunrpc/svc_udp.c: Likewise.
18130         * sunrpc/svc_unix.c: Likewise.
18131         * sunrpc/xdr.c: Likewise.
18132         * sunrpc/xdr_array.c: Likewise.
18133         * sunrpc/xdr_rec.c: Likewise.
18134         * sunrpc/xdr_ref.c: Likewise.
18135         * sunrpc/xdr_stdio.c: Likewise.
18137 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18139         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18141 2011-07-03  Andreas Jaeger  <aj@suse.de>
18143         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18144         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18145         regenerate with gen-libm-tests.pl.
18147 2010-05-12  Petr Baudis  <pasky@suse.cz>
18149         [BZ #11589]
18150         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18151         around j0() zero points by switching to j1().
18152         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18153         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18155         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18157 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18159         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18160         instead of 0.
18161         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18162         instead of 0.                              .
18163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18164         Patch in part by Pavel Roskin <proski@gnu.org>.
18166         [BZ #13138]
18167         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18168         realloc.
18169         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
18170         Free memory block if necessary.
18172         [BZ #12847]
18173         * libio/genops.c (INTDEF): For string streams the _lock pointer can
18174         be NULL.  Don't lock in this case.
18176 2011-09-09  Roland McGrath  <roland@hack.frob.com>
18178         * elf/elf.h (ELFOSABI_GNU): New macro.
18179         (ELFOSABI_LINUX): Define to that.
18181 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
18183         * string/strncat.c (strncat): Undef the symbol in case it has been
18184         defined in bits/string.h.
18186 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18188         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18190         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18191         link map.
18193 2011-08-17  Andreas Jaeger  <aj@suse.de>
18195         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18197 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18198             Ian Lance Taylor  <iant@google.com>
18200         * math/libm-test.inc (lround_test): New testcase.
18201         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18203 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
18205         * Makefile: Remove support for automatic cvs check-ins.
18206         * Makerules: Likewise.
18207         * config.make.in: Likewise.
18208         * configure.in: Likewise.
18209         * intl/Makefile: Likewise.
18210         * locale/Makefile: Likewise.
18211         * po/Makefile: Likewise.
18212         * posix/Makefile: Likewise.
18213         * sysdeps/gnu/Makefile: Likewise.
18214         * sysdeps/mach/hurd/Makefile: Likewise.
18215         * sysdeps/sparc/sparc32/Makefile: Likewise.
18217         [BZ #13118]
18218         * posix/Makefile (bug-regex32-ENV): Define.
18219         Patch by John Stanley <jpsinthemix@verizon.net>.
18221         * misc/Makefile (headers): Add bits/select2.h.
18222         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18223         * misc/bits/select2.h: New file.
18224         * include/bits/select2.h: New file.
18225         * debug/Makefile (routines): Add fdelt_chk.
18226         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18227         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18228         FD_ISSET.
18229         * debug/fdelt_chk.c: New file.
18231         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
18232         * wcsmbs/test-wmemcmp.c: Likewise.
18233         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18234         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18236 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18238         * string/Makefile (strop-tests): Add memcmp.
18239         * string/test-wmemcmp.c: New file.
18240         * string/test-memcmp.c: Add wmemcmp support.
18242 2011-09-08  Roland McGrath  <roland@hack.frob.com>
18244         [BZ #13153]
18245         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18246         2011-07-19 change.
18248         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18249         garbage value in a __mach_port_mod_refs call in the cases of the
18250         task-self and thread-self ports.
18252 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18254         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18256 2011-09-08  Andreas Schwab  <schwab@redhat.com>
18258         * elf/dl-load.c (lose): Check for non-null L.
18260 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
18262         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18264         * elf/dl-libc.c (dlerror_run): Pass back error code from
18265         dl_catch_error.
18267         [BZ #13123]
18268         * elf/dl-load.c (lose): Free l_origin if it is valid.
18270         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18271         names.
18272         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18273         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18274         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18275         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18276         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18277         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18279 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18281         * sysdeps/powerpc/fpu/e_hypot.c: New file.
18282         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18283         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18284         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18285         * sysdeps/powerpc/fpu/k_cosf.c: New file.
18286         * sysdeps/powerpc/fpu/k_sinf.c: New file.
18287         * sysdeps/powerpc/fpu/s_cosf.c: New file.
18288         * sysdeps/powerpc/fpu/s_sinf.c: New file.
18289         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18290         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18292 2011-08-15  Alan Modra  <amodra@gmail.com>
18294         [BZ #13092]
18295         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18296         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18297         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
18298         ppc_mcount to static-only-routines.
18299         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18300         __mcount_internal.
18301         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18302         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
18304 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
18306         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18307         for finite and infinity parameters.
18309 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
18311         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18312         and add nop instructions for throughput optimization.
18313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18315 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
18317         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18318         aligned copy for power7 with vector-scalar instructions.
18319         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18321 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
18323         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18324         AVX check.
18326 2011-09-07  Andreas Schwab  <schwab@redhat.com>
18328         [BZ #13144]
18329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18330         last change.
18332 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
18334         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18335         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18336         syscall wrapper around clock_gettime in __vdso_clock_gettime.
18337         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18338         clock_gettime.
18340 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
18342         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18343         Forgot to demangle the pointer.
18345         * sysdeps/i386/sysdep.h: Define atom_text_section.
18346         * sysdeps/x86_64/sysdep.h: Likewise.
18347         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18348         section with atom_text_section.
18349         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18350         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18351         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18352         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18353         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18355         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18356         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18357         already be defined.  Change to take two parameters and don't assign
18358         result to variable.  Adjust all users.
18359         Define INTERNAL_GETTIME if not already defined.
18360         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18361         call.
18362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18363         HAVE_CLOCK_GETTIME_VSYSCALL.
18364         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18366         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18367         gettimeofday vsyscall, just use time.
18369 2011-09-06  Andreas Schwab  <schwab@redhat.com>
18371         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18372         <errno.h>.
18374 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
18376         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18377         syscall on x86-64.
18378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18379         syscall.
18380         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18381         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18382         syscall if possible.
18384 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18386         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18387         e_ident.  Don't pass to find_mapsXX.
18388         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18390 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18393         strchr-sse2-no-bsf strrchr-sse2-no-bsf
18394         * sysdeps/x86_64/multiarch/strchr.S: Update.
18395         Check bit_slow_BSF bit.
18396         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18397         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18400 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18402         [BZ #13134]
18403         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18404         before glibc 2.15.
18405         (tryshell): Define.
18406         (__spawni): Change last parameter to be flag.  Test
18407         SPAWN_XFLAGS_USE_PATH flag to use path or not.
18408         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18409         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18410         * posix/spawni.c: Likewise.
18411         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18412         * posix/spawnp.c: Likewise.  Change normal version to use
18413         SPAWN_XFLAGS_USE_PATH.
18414         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18415         SPAWN_XFLAGS_TRY_SHELL.
18417         [BZ #13150]
18418         * posix/glob.h: Remove gcc 1.x support.
18420         [BZ #13068]
18421         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18423 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18426         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18427         strrchr-sse2-bsf
18428         * sysdeps/i386/i686/multiarch/strchr.S: New file.
18429         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18430         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18431         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18432         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18433         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18435 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18437         * sysdeps/x86_64/wcscmp.S: New file.
18439         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18440         wcscmp-c wcscmp-sse2
18441         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18442         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18443         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18444         * wcsmbs/wcscmp.c: Allow renaming.
18446 2011-09-05  David S. Miller  <davem@davemloft.net>
18448         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18449         stack slot, rather than the struct return pointer slot.
18450         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18451         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18453         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18455 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18457         * po/ja.po: Update from translation team.
18459         [BZ #13144]
18460         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18461         kernel in 64-bit binaries.
18463 2011-09-01  David S. Miller  <davem@davemloft.net>
18465         * elf/elf.h (HWCAP_SPARC_*): Move to..
18466         * sysdeps/sparc/sysdep.h: this new file and add new values.
18467         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18468         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18469         _DL_HWCAP_COUNT to 24.
18470         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18471         entries.
18472         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18473         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18474         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18476         instead of magic constants.
18477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18479 2011-08-31  David S. Miller  <davem@davemloft.net>
18481         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18483         Reimplement to do errno handling inline.
18484         (SYSCALL_ERROR_HANDLER): New macro.
18485         (__SYSCALL_STRING): Do not do errno handling in asm.
18486         (__CLONE_SYSCALL_STRING): Delete.
18487         (__INTERNAL_SYSCALL_STRING): Delete.
18488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18489         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18490         (PSEUDO): Reimplement to do errno handling inline.
18491         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18492         (SYSCALL_ERROR_HANDLER): New macro.
18493         (__SYSCALL_STRING): Do not do errno handling in asm.
18494         (__CLONE_SYSCALL_STRING): Delete.
18495         (__INTERNAL_SYSCALL_STRING): Delete.
18496         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18497         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18498         i386.
18499         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18500         (inline_syscall*): Add 'err' argument.
18501         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18502         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18503         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18504         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18506         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18507         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18509 2011-08-30  Andreas Schwab  <schwab@redhat.com>
18511         * elf/rtld.c (dl_main): Relocate objects in dependency order.
18513 2011-08-29  Jiri Olsa <jolsa@redhat.com>
18515         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18516         directive.
18518 2011-08-24  David S. Miller  <davem@davemloft.net>
18520         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18522 2011-08-24  Andreas Schwab  <schwab@redhat.com>
18524         * elf/Makefile: Add rules to build and run unload8 test.
18525         * elf/unload8.c: New file.
18526         * elf/unload8mod1.c: New file.
18527         * elf/unload8mod1x.c: New file.
18528         * elf/unload8mod2.c: New file.
18529         * elf/unload8mod3.c: New file.
18531         * elf/dl-close.c (_dl_close_worker): Reset private search list if
18532         it wasn't used.
18534 2011-08-23  David S. Miller  <davem@davemloft.net>
18536         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18537         subtract stack bias.
18538         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18539         %sp not %fp in calculations.
18540         (_JMPBUF_UNWINDS_ADJ): Likewise.
18542         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18543         (aio_suspend): Call it to force an exception region around the
18544         AIO_MISC_WAIT() invocation.
18546 2011-08-23  Andreas Schwab  <schwab@redhat.com>
18548         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18549         backslash.
18551 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
18553         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18554         protection macro.
18555         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18556         and <dl-machine.h>.
18557         (Elf64_FuncDesc): Remove.
18559 2011-08-22  David S. Miller  <davem@davemloft.net>
18561         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18562         sigaltstack check, add missing cfi directives.
18563         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18564         missing cfi directives, and sigaltstack handling.
18566 2011-08-16  Andreas Schwab  <schwab@redhat.com>
18568         [BZ #11724]
18569         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18570         object is seen twice.
18571         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18573         * elf/Makefile (distribute): Add tst-initorder2.c.
18574         (tests): Add tst-initorder2.
18575         (modules-names): Add tst-initorder2a tst-initorder2b
18576         tst-initorder2c tst-initorder2d.  Add rules to build them.
18577         ($(objpfx)tst-initorder2.out): New rule.
18578         * elf/tst-initorder2.c: New file.
18579         * elf/tst-initorder2.exp: New file.
18581 2011-08-22  Andreas Schwab  <schwab@redhat.com>
18583         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18585         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18586         dependencies back to end of function.
18588         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18589         $(elfobjdir)/ld.so.
18591 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
18593         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18594         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18595         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18596         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18597         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18598         of __vdso_gettimeofday.
18599         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18600         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
18601         attribute_hidden.
18602         (_libc_vdso_platform_setup): Remove initialization of
18603         __vdso_gettimeofday and __vdso_time.
18605 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18607         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18608         and fgetc_unlocked.
18609         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18610         getc_unlocked.
18612         * elf/dl-open.c (add_to_global): Report additions to the global scope
18613         for LD_DEBUG=scopes.
18614         (dl_open_worker): Also print scope of newly loaded dependencies.
18615         (_dl_show_scope): Indicate if there is no scope.
18617         [BZ #13114]
18618         * stdio-common/Makefile (tests): Add bug24.
18619         * stdio-common/bug24.c: New file.
18621 2011-08-19  Andreas Jaeger  <aj@suse.de>
18623         [BZ #13114]
18624         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18625         non-existant file when using close-on-exec mode.
18627 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18629         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18630         the very first instruction.
18632         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18633         the CFI state in the end.
18634         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18635         inclusion of dl-trampoline.h.
18636         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18638 2011-08-19  Andreas Schwab  <schwab@redhat.com>
18640         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18641         expectations for long double.
18643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18644         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18646 2011-08-14  David S. Miller  <davem@davemloft.net>
18648         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18649         artificual limit depends upon the system page size.
18651 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18653         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18654         * resolv/Makefile: Define CFLAGS-libresolv.
18656 2011-08-17  Andreas Schwab  <schwab@redhat.com>
18658         * nss/makedb.c (compute_tables): Make variables used in nested
18659         function static.
18661 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18663         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18664         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18665         if buffer was too small.
18667         * elf/pldd.c (main): Attach to all threads in the process.
18668         Rewrite /proc handling to use *at functions.
18670 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
18672         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18673         specifies first scope to show.
18674         (dl_open_worker): Update callers.  Move printing scope of new
18675         object to before the relocation.
18676         * elf/rtld.c (dl_main): Update _dl_show_scope call.
18677         * sysdeps/generic/ldsodefs.h: Update declaration.
18679         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18680         string for the scope number.
18682 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
18684         * nscd/servicescache.c (cache_addserv): Make sure written is always
18685         initialized.
18687 2011-08-14  Roland McGrath  <roland@hack.frob.com>
18689         * sysdeps/i386/i486/bits/atomic.h
18690         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18691         statement expression, so as to suppress "set but not used" warning.
18692         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18694         * string/strncat.c (STRNCAT): Use prototype definition.
18696         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18697         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18698         -Iprograms here.
18699         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18700         (localedef-modules): Add localedef.
18701         (locale-modules): Add locale.
18703         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18704         * elf/rtld.c (dl_main): Invert order of assignment in last change,
18705         to avoid a warning.
18707 2011-08-14  David S. Miller  <davem@davemloft.net>
18709         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18710         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18712 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
18714         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18715         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18716         * elf/rtld.c (dl_main): Set l_name of vDSO.
18717         Call _dl_show_scope when DL_DEBUG_SCOPES.
18718         (process_dl_debug): Recognize scopes flag and also set it for all.
18719         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18720         Declare _dl_show_scope.
18722         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18723         (do_dlopen): Pass caller_dlopen to dl_open.
18724         (__libc_dlopen_mode): Initialize caller_dlopen.
18726         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18727         of libc.  Make tolower call locale-independent.  Optimize a bit by
18728         using isdigit instead of isalnum.
18729         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18731 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
18733         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18734         was a dependency or dynamically loaded.
18736 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
18738         * intl/l10nflist.c: Allow architecture-specific pop function.
18739         * sysdeps/x86_64/l10nflist.c: New file.
18741         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18742         classification.
18744 2011-08-10  Andreas Schwab  <schwab@redhat.com>
18746         * include/dirent.h: Add libc_hidden_proto for scandirat and
18747         scandirat64.  Don't declare __scandirat64.
18748         * dirent/scandirat.c: Add libc_hidden_def.
18749         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18750         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18752 2011-08-10  David S. Miller  <davem@davemloft.net>
18754         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18755         enum.
18756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18757         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18758         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18760 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
18762         * Versions.def [libc]: Add GLIBC_2.15.
18763         * dirent/Makefile (routines): Add scandirat and scandirat64.
18764         * dirent/Versions [libc]: Export scandirat and scandirat64 for
18765         GLIBC_2.15.
18766         * dirent/dirent.h: Declare scandirat and scandirat64.
18767         * dirent/scandirat.c: New file.
18768         * dirent/scandirat64.c: New file.
18769         * sysdeps/wordsize-64/scandirat.c: New file.
18770         * sysdeps/wordsize-64/scandirat64.c: New file.
18771         * dirent/opendir.c: Define opendirat.
18772         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
18773         using scandirat.
18774         * dirent/scandir64.c: Adjust for scandir.c change.
18775         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
18776         __scandirat64, and __scandir_cancel_handler.
18777         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
18778         additional parameter and use openat instead of open (outside of ld.so).
18779         Add new __opendir as wrapper around __opendirat.
18780         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18781         here without requiring old scandirat implementation.
18783 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
18785         * dirent/scandir.c (cancel_handler): Renamed to
18786         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
18787         defined.  Adjust users.
18788         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18789         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18791 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
18793         * string/test-string.h (IMPL): Use __STRING to expand name and then
18794         stringify it.
18796         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
18797         of cleanups.
18799 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18801         * string/Makefile: Update.
18802         (strop-tests): Append strncat.
18803         * string/test-wcscmp.c: New file.
18804         New comprehensive test for wcscmp.
18805         * string/test-strcmp.c: Update.
18806         (WIDE): New define.
18808 2011-07-22  Andreas Schwab  <schwab@redhat.com>
18810         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18811         line.
18813 2011-07-26  Andreas Schwab  <schwab@redhat.com>
18815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18816         encoding to ACE if AI_IDN.
18818 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
18820         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18821         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18823 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18825         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18826         Fix overflow bug in strncat.
18827         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18829         * string/test-strncat.c: Update.
18830         Add new tests for checking overflow bugs.
18832 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18834         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18835         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18836         * sysdeps/i386/i686/multiarch/strcat.S: New file.
18837         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18838         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18839         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18840         * sysdeps/i386/i686/multiarch/strncat.S: New file.
18841         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18842         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18844         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18845         (USE_AS_STRCAT): Define.
18846         Add strcat and strncat support.
18847         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18849 2011-07-25  Andreas Schwab  <schwab@redhat.com>
18851         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18852         __n bigger than INT_MAX+1.
18853         (__strncmp_g): Likewise.
18855 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
18857         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18858         * libio/stido.h: Likewise.
18860         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18861         (AF_NFC): Define.
18862         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18863         (AF_NFC): Define.
18865         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18866         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18867         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18868         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18871         [BZ #13021]
18872         * scripts/test-installation.pl: Don't expect libnss_test1 to be
18873         installed.
18875         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18876         typo.
18877         (_dl_x86_64_save_sse): Likewise.
18879 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
18881         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18882         OSXSAVE.
18883         (_dl_x86_64_save_sse): Likewise.
18885         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18887         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18889 2011-07-21  Andreas Schwab  <schwab@redhat.com>
18891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18892         change.
18893         (_dl_x86_64_save_sse): Use correct AVX check.
18895 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18897         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18898         bug in strncpy/strncat.
18899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18901 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
18903         * string/tester.c (test_strcat): Add tests for different alignments
18904         of source and destination.
18905         (test_strncat): Likewise.
18907 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18909         [BZ #12852]
18910         * posix/glob.c (glob): Check passed in values before using them in
18911         expressions to avoid some overflows.
18912         (glob_in_dir): Likewise.
18914         [BZ #13007]
18915         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18916         check for AVX enablement so that we don't crash with old kernels and
18917         new hardware.
18918         * elf/tst-audit4.c: Add same checks here.
18919         * elf/tst-audit6.c: Likewise.
18921         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18923 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
18925         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18927 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18929         * po/cs.po: Update from translation team.
18930         * po/bg.po: Likewise.
18932 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
18934         * misc/sys/cdefs.h: Add support for const attribute.
18935         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18936         to gnu_dev_{major,minor,makedev} functions.
18938 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
18940         * intl/dcigettext.c (get_output_charset): Add missing bracket.
18942 2011-07-20  Andreas Schwab  <schwab@redhat.com>
18944         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18945         strlen results.
18947 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18950         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18951         register in order to avoid conflicts with the soft frame pointer
18952         being held in r11 when necessary.
18953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18954         (INTERNAL_VSYSCALL_NCS): Likewise.
18956 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
18958         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18959         * elf/dl-fini.c (_dl_fini): Adjust caller.
18960         * elf/dl-close.c (_dl_close_worker): Likewise.
18961         * sysdeps/generic/ldsodefs.h: Adjust declaration.
18963 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
18965         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18966         "aux_cache->nlibs < 0".
18968         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18969         in the reload-count case.
18971 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18974         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18975         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18976         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18977         * sysdeps/x86_64/multiarch/strcat.S: New file.
18978         * sysdeps/x86_64/multiarch/strncat.S: New file.
18979         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18980         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18981         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18982         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18983         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18984         (USE_AS_STRCAT): Define.
18985         Add strcat and strncat support.
18986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18987         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18988         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18989         * string/strncat.c: Update.
18990         (USE_AS_STRNCAT): Define.
18991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18992         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18993         and i7.
18994         * sysdeps/x86_64/multiarch/init-arch.h
18995         (bit_Prefer_PMINUB_for_stringop): New.
18996         (index_Prefer_PMINUB_for_stringop): Likewise.
18997         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18998         bit_Prefer_PMINUB_for_stringop.
19000 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19002         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19003         buffer64.
19004         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19005         of casting of buffer.
19006         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19007         buffer32 and buffer64.
19008         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19009         writes instead of casting of buffer.
19010         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19011         buffer32.
19012         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19013         casting of buffer.
19015 2011-07-19  Andreas Schwab  <schwab@redhat.com>
19017         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19019 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
19021         * nscd/nscd.c (termination_handler): Don't do anything for a database
19022         if it has not yet been initialized.
19024 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19026         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19028 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
19030         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19032 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
19034         * po/nl.po: Update from translation team.
19035         * po/sv.po: Likewise.
19037 2011-07-16  Roland McGrath  <roland@hack.frob.com>
19039         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19040         now disallowed by GCC.
19042         * configure.in (use-default-link): Default to yes if a test -shared
19043         link meets our qualifications.
19044         * configure: Regenerated.
19046         * config.make.in (output-format): New variable.
19047         * configure.in: Check for ld --print-output-format support.
19048         * configure: Regenerated.
19049         * Makerules ($(common-objpfx)format.lds)
19050         [$(output-format) != unknown]: Just use $(output-format),
19051         instead of the linker-script munging.
19053 2011-07-14  Roland McGrath  <roland@hack.frob.com>
19055         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19056         of $(common-objpfx)shlib.lds.
19057         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19059         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19060         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19062         * configure.in (-z relro check): Adjust test code to add a large
19063         writable data section after it.
19064         * configure: Regenerated.
19066 2011-07-11  Roland McGrath  <roland@hack.frob.com>
19068         * configure.in (-z relro check): Fix test code to make the variable
19069         truly const.
19070         * configure: Regenerated.
19072 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
19074         * nscd/nscd.h (struct traced_file): Define.
19075         (struct database_dyn): Remove inotify_descr, reset_res, and filename
19076         elements.  Add traced_files.
19077         (inotify_fd): Declare.
19078         (register_traced_file): Declare.
19079         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19080         (inotify_fd): Export.
19081         (resolv_conf_descr): Remove.
19082         (nscd_init): Move inotify descriptor creation to main.
19083         Don't register files for notification here.
19084         (register_traced_file): New function.
19085         (invalidate_cache): Don't use reset_res to determine whether to call
19086         res_init, go through the list of registered files.
19087         (main_loop_poll): The inotify descriptors are now stored in the
19088         structures for the traced files.
19089         (main_loop_epoll): Likewise
19090         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
19091         to __nss_disable_nscd.
19092         * nscd/cache.c (prune_cache): There is no single inotify descriptor
19093         for a database anymore.  Check the records for all the registered
19094         files instead.
19095         * nss/Makefile (libnss_files-routines): Add files-init.
19096         (libnss_db-routines): Add db-init.
19097         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19098         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19099         * nss/nss_db/db-init.c: New file.
19100         * nss/nss_files/files-init.c: New file.
19101         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
19102         __nss_lookup_function.
19103         (__nss_lookup_function): Call nss_load_library.
19104         (nss_load_all_libraries): New function.
19105         (__nss_disable_nscd): Take parameter with callback function for files
19106         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
19107         used for the cached services.
19108         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19109         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19110         options for features to all the files in nscd.
19112         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19114 2011-07-10  Roland McGrath  <roland@hack.frob.com>
19116         * csu/elf-init.c (__libc_csu_init): Comment typo.
19118 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
19120         * po/pl.po: Update from translation team.
19121         * po/ja.po: Likewise.
19122         * po/ru.po: Likewise.
19123         * po/ko.po: Likewise.
19124         * po/fr.po: Likewise.
19126 2011-07-09  Roland McGrath  <roland@hack.frob.com>
19128         * configure.in (.ctors/.dtors header and trailer check):
19129         Use an empirical test on a built program.
19130         * configure: Regenerated.
19132         * configure.in (-z relro check): Use an empirical test on a built DSO.
19133         Detect, but do not require, on ia64.
19134         * configure: Regenerated.
19136         * configure.in (READELF): Find it with AC_CHECK_TOOL.
19137         Update tests that use readelf to use $READELF instead.
19138         * configure: Regenerated.
19140 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
19142         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19143         if the result is not used.
19145 2011-07-05  Andreas Jaeger  <aj@suse.de>
19147         [BZ#9696]
19148         * stdlib/tst-strtod.c: Add testcase.
19150 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
19152         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19153         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19154         The latter has a higher limit.  Take additional parameter to pass to
19155         the new function.
19156         (__pathconf): Pass file to __statfs_link_max.
19157         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19158         __statfs_link_max.
19159         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19160         __statfs_link_max.
19162         [BZ #12868]
19163         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19164         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19165         Handle Lustre.
19166         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19167         (__statfs_filesize_max): Likewise.
19168         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19170 2011-07-05  Andreas Jaeger  <aj@suse.de>
19172         * resolv/res_comp.c (dn_skipname): Remove unused variable.
19174 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
19176         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19177         `status' variable.
19178         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19179         Likewise.
19181 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
19183         * Makefile (strop-tests): Add strncat.
19184         * string/test-strncat.c: New file.
19186 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
19188         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19190 2011-06-21  Andreas Jaeger  <aj@suse.de>
19192         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19193         Copy rule from iconvdata/Makefile.
19195 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19197         [BZ #12922]
19198         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19199         but no long options are defined, just return 'W'.
19201 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
19203         [BZ #9696]
19204         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19206 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19208         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19209         netgroups to read.
19210         (innetgr): Likewise.
19212 2011-07-05  Roland McGrath  <roland@hack.frob.com>
19214         * config.make.in (install_root): Default to $(DESTDIR).
19216 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
19218         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19220 2011-07-02  Roland McGrath  <roland@hack.frob.com>
19222         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19224         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19225         containing directory rather than embedding absolute directory names.
19227         * scripts/check-local-headers.sh: Rewritten using awk.
19228         Match by word, not by line.  Print error messages for matches.
19229         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19231         * Makerules [shlib-lds-flags empty]:
19232         ($(common-objpfx)libc_pic.opts): New target.
19233         ($(common-objpfx)libc_pic.os.clean): New target.
19234         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19236         * config.make.in (OBJCOPY): New variable.
19237         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19238         * configure: Regenerated.
19240         * config.make.in (use-default-link): New variable.
19241         * configure.in (use_default_link): Grok --with-default-link to set it.
19242         * configure: Regenerated.
19243         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19244         (shlib-lds, shlib-lds-flags): Define to empty.
19246         * Makerules (shlib-lds): New variable.
19247         (shlib-lds-flags): New variable.
19248         (build-shlib, build-moduile, build-module-asneeded): Use it.
19249         ($(common-objpfx)libc.so): Use $(shlib-lds).
19250         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19251         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19253         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19254         DT_FLAGS/DT_FLAGS_1 with zero flags.
19256         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19257         linker script munging.
19259 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
19261         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19262         as 128-bit value.
19263         * crypt/sha512.c (sha512_process_block): Perform total addition using
19264         128-bit if possible.
19265         (__sha512_finish_ctx): Likewise.
19266         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19267         as 64-bit value.
19268         * crypt/sha256.c (SWAP64): Define.
19269         (sha256_process_block): Perform total addition using 64-bit if
19270         possible.
19271         (__sha256_finish_ctx): Likewise.
19273 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
19275         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
19276         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19277         * nscd/hstcache.c (cache_addhst): Likewise.
19278         * nscd/grpcache.c (cache_addgr): Likewise.
19279         * nscd/aicache.c (addhstaiX): Likewise
19280         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19282 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
19284         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19285         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19286         * nscd/hstcache.c (cache_addhst): Likewise.
19287         * nscd/grpcache.c (cache_addgr): Likewise.
19288         * nscd/aicache.c (addhstaiX): Likewise
19290 2011-07-01  Andreas Schwab  <schwab@redhat.com>
19292         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19293         domain only when needed.
19295 2011-06-30  Andreas Schwab  <schwab@redhat.com>
19297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19298         is always restored.
19300 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
19302         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19303         are re-adding the entry.
19304         * nscd/servicescache.c (cache_addserv): Likewise.
19306 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19308         * sysdeps/generic/dl-irel.h: fix protection against multiple
19309         inclusions.
19310         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19312 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
19314         [BZ #12935]
19315         * malloc/memusage.sh: Fix quoting in message.
19316         * debug/xtrace.sh: Likewise.
19318         * configure.in: Remove support for --experimental-malloc option, make
19319         it the default.
19320         * config.make.in: Likewise.
19321         * malloc/Makefile: Likewise.
19323 2011-06-27  Andreas Schwab  <schwab@redhat.com>
19325         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19326         two-byte characters.
19328 2011-06-27  Roland McGrath  <roland@hack.frob.com>
19330         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19331         AC_CACHE_CHECK invocation.
19332         * configure: Regenerated.
19334         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19336 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
19338         [BZ #12350]
19339         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
19340         bit from old_res_options.
19342         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19344         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19345         value type for setfct.
19347 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
19349         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19350         __gettimeofday instead of gettimeofday.
19352 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
19354         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19356 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19358         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19360         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19361         info.
19363 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19366         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19367         strcpy-sse2-unaligned strncpy-sse2-unaligned
19368         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19369         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19370         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19371         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19372         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19373         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19374         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19375         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19376         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19377         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19378         (STRCPY): Support SSE2 and SSSE3 versions.
19380 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
19382         [BZ #12874]
19383         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19384         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19385         kernels which artificially limit size of requests.
19387 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19389         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19390         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19391         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19392         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19393         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19394         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19395         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19396         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19397         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19398         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19399         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19400         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19401         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19402         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19403         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19405         Enable unaligned load optimization for Intel Core i3, i5 and i7
19406         processors.
19407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19408         Define.
19409         (index_Fast_Unaligned_Load): Define.
19410         (HAS_FAST_UNALIGNED_LOAD): Define.
19412 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
19414         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19416 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19418         [BZ #12907]
19419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19420         until it is clear that the information is realy needed.
19421         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19423 2011-06-22  Andreas Schwab  <schwab@redhat.com>
19425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19427 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19430         /sys/devices/system/cpu/online if it is usable.
19432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19433         reading the information from the /proc filesystem to once a second.
19435 2011-06-21  Andreas Jaeger  <aj@suse.de>
19437         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19438         NULL after inclusion of kernel headers.
19440 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
19442         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19443         calls to internal_setent.
19445         [BZ #12885]
19446         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19447         addresses using gethostbyname4_r ignore IPv4 addresses.
19449         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19450         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
19452         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19454 2011-06-20  David S. Miller  <davem@davemloft.net>
19456         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19457         inclusions.
19458         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19460         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19461         (elf_irel): Use it.
19462         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19463         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19464         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19465         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19466         * sysdeps/x86_64/dl-irel.h: Likewise.
19468         * elf/dl-runtime.c: Use elf_ifunc_invoke.
19469         * elf/dl-sym.c: Likewise.
19471 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19473         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
19474         need to dereference resplen2.
19476 2011-06-14  Andreas Schwab  <schwab@redhat.com>
19478         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19480 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19482         * Makeconfig: Define vardbdir and inst_vardbdir.
19483         * nss/Makefile: Add rules to install db-Makefile.
19485         * nss/nss_db/db-XXX.c: Cleanup.
19487         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19488         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19489         GLIBC_PRIVATE.
19490         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19491         * nss/makedb.c: Implement -g option to specify that value strings
19492         are generated and should not be added to table iterated over for
19493         get*ent calls.
19494         * nss/nss_db/db-initgroups.c: New file.
19496         * nss/getent.c: Add support for initgroups lookups through getgrouplist
19497         interface.
19499         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19500         (internal_getgrouplist): Adjust to name change.
19501         Update use_initgroups_entry if this is not the first call.
19502         * nss/databases.def: Add initgroups entry.
19504         * nss/makedb.c (compute_tables): Check result of multiple hash table
19505         sizes to minimize maximum chain length.
19507 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
19509         * Versions.def: Add entry for libnss_db.
19510         * shlib-versions: Likewise.
19511         * nss/Makefile: Add rules to build libnss_db.
19512         * nss/Versions: Add libnss_db information.  Organize libnss_files
19513         entries better.
19514         * nss/db-Makefile: Add gshadow support.  Change rules for the new
19515         makedb progra.  Some minor improvements to generate smaller files.
19516         * nss/nss_db/nss_db.h: Move NSS database header data structures to
19517         here from...
19518         * nss/makedb.c: ...here.
19519         Improve database format to be smaller and require less memory at
19520         runtime.
19521         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
19522         db anymore.
19523         * nss/nss_db/db-netgrp.c: Likewise.
19524         * nss/nss_db/db-open.c: Likewise.
19525         * nss/nss_files/flies-XXX.x: Adjust comments.
19526         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19527         * nss/nss_files/files-grp.c: Likewise.
19528         * nss/nss_files/files-hosts.c: Likewise.
19529         * nss/nss_files/files-network.c: Likewise.
19530         * nss/nss_files/files-proto.c: Likewise.
19531         * nss/nss_files/files-pwd.c: Likewise.
19532         * nss/nss_files/files-rpc.c: Likewise.
19533         * nss/nss_files/files-service.c: Likewise.
19534         * nss/nss_files/files-sgrp.c: Likewise.
19535         * nss/nss_files/files-spwd.c: Likewise.
19536         * nss/nss_db/db-alias.c: Removed.
19537         * nss/nss_db/dummy-db.h: Removed.
19539 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
19541         * nss/makedb.c: Rewritten to not use database library.
19542         * nss/Makefile: Update to build new makedb program.
19544 2011-06-14  Andreas Jaeger  <aj@suse.de>
19546         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19547         memset declaration.
19549 2011-06-10  Andreas Schwab  <schwab@redhat.com>
19551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19552         tmpbuf.
19554 2011-06-10  Roland McGrath  <roland@hack.frob.com>
19556         * Makerules (shlib.lds): Fail if the linker script comes out empty.
19557         * elf/Makefile ($(objpfx)ld.so): Likewise.
19559         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19560         Don't list ld.so twice in dependencies.
19562         * posix/bug-regex31.c: Include <stdlib.h>.
19564         * nscd/hstcache.c (cache_addhst): Remove unused variable.
19566         * nis/nss_compat/compat-spwd.c
19567         (getspent_next_nss_netgr): Remove unused variable.
19568         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19570         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19571         nonmembers" output to use the right array.
19573         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19575         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19577         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19578         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19579         * catgets/gencat.c (read_input_file): Likewise.
19580         * locale/programs/locarchive.c (enlarge_archive): Likewise.
19582         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19583         variable definition inside #if's controlling its use.
19585         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19587         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19589         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19591         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19592         unreachable code.
19594         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19596         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19597         * configure: Regenerated.
19599         * Makerules: Revert last change.
19600         * elf/Makefile: Likewise.
19602 2011-06-09  Roland McGrath  <roland@hack.frob.com>
19604         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19605         * elf/Makefile ($(objpfx)librtld.os): Likewise.
19606         (reloc-link): Likewise.
19608 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
19610         * elf/Makefile: Add rules to build pldd.
19611         * elf/pldd.c: New file.
19612         * elf/pldd-xx.c: New file.
19614 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
19616         * version.h: Update for 2.15 development version.
19618 2011-06-07  David S. Miller  <davem@davemloft.net>
19620         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19621         ifuncs.
19622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19623         elf_machine_lazy_rel): Likewise.
19624         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19626         elf_machine_lazy_rel): Likewise.
19627         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19628         dl_hwcap via passed in argument.
19629         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19630         Likewise.
19632 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19634         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
19636 2011-06-06  Roland McGrath  <roland@hack.frob.com>
19638         [BZ #12849]
19639         * manual/fdl-1.1.texi: New file, verbatim from:
19640         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19641         * manual/lgpl-2.1.texi: New file, verbatim from:
19642         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19643         * manual/Makefile (licenses): New variable, list those new file names.
19644         (texis): Use it.
19645         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19647         * manual/fdl.texi: File removed.
19648         * manual/lesser.texi: File removed.
19649         * manual/libc.texinfo (Copying, Documentation License):
19650         Use new @include file names, put @appendix directive before @include.
19652 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
19654         [BZ #12841]
19655         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19656         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19657         (mq_open): Add __NTH.
19659 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
19661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19662         Assume Intel Core i3/i5/i7 processor if AVX is available.
19664 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19667         typo.
19669 2011-05-31  Andreas Schwab  <schwab@redhat.com>
19671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19672         memory.  Use alloca_account.  Fix memory leak when retrying.
19674 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19676         * version.h (RELEASE): Bump for 2.14 release.
19677         * include/features.h (__GLIBC_MINOR__): Bump to 14.
19679         * config.make.in (RANLIB): Remove entry.
19681 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
19683         * po/Makefile (po-sed-cmd): Add ksh to extensions.
19684         (libc.pot): Work around missing support for .ksh extension in xgettext.
19686         [BZ #12684]
19687         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19688         if both request failed.
19689         (send_dg): In case of server errors clear resplen or *resplen2.
19691         [BZ #12454]
19692         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19693         when there are multiple maps.
19694         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19695         (_dl_fini): Remove test here.
19697         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19699 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
19701         [BZ #12350]
19702         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19703         bit from old_res_options.
19704         (gaih_inet): Likewise.
19706         [BZ #11099]
19707         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19708         as signed.
19710         * resolv/res_init.c (res_setoptions): Make the code more compact.
19712         [BZ #11558]
19713         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19714         set RES_USEVC.
19716         [BZ #11634]
19717         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19719         * malloc/malloc.h: Mark malloc hook variables as deprecated.
19721         [BZ #11781]
19722         * malloc/malloc.h: Declare malloc hook variables as volatile.
19724         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19725         in last patch.
19727         [BZ #11799]
19728         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19729         raise in the comment.
19730         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19731         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19732         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19734 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
19736         [BZ #12811]
19737         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19738         grow the buffers more if it already has to be sufficient.
19739         (build_wcs_upper_buffer): Likewise.
19740         * posix/regexec.c (check_matching): Likewise.
19741         (clean_state_log_if_needed): Likewise.
19742         (extend_buffers): Don't enlarge buffers beyond size of the input
19743         buffer.
19744         Patches mostly by Emil Wojak <emil@wojak.eu>.
19745         * posix/bug-regex32.c: New file.
19746         * posix/Makefile (tests): Add bug-regex32.
19748         * locale/findlocale.c (_nl_find_locale): Return right away if
19749         _nl_explode_name failed.
19750         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19752         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19754         * debug/xtrace.sh: Unify messages.
19755         * malloc/memusage.sh: Likewise.
19757         [BZ #12813]
19758         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19759         time symbol from vDSO.  Substitute with vsyscall if not available.
19760         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19761         __vdso_time.
19763         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19764         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19765         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19766         Add sendmmsg and internal_sendmmsg.
19767         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19768         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19769         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19771         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19772         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19773         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19775 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
19777         [BZ #12813]
19778         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19779         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
19780         available.
19781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19782         __vdso_getcpu.
19784         [BZ #12814]
19785         * iconvdata/Makefile (tests): Add bug-iconv9.
19786         * iconvdata/bug-iconv9.c: New file.
19788 2011-05-27  Andreas Schwab  <schwab@redhat.com>
19790         [BZ #12814]
19791         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19793 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
19795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19796         (struct user_regs_struct): Change intcs field back to cs.
19798 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
19800         * po/ja.po: Update from translation team.
19802 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
19804         [BZ #12795]
19805         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19806         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19808 2011-05-20  Andreas Schwab  <schwab@redhat.com>
19810         * stdlib/longlong.h: Update from GCC.
19812 2011-05-23  Andreas Schwab  <schwab@redhat.com>
19814         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19815         parameter name.
19816         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19817         Add parameter name.
19818         (__sysconf): Pass it down.
19820 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
19822         [BZ #12671]
19823         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19824         some situations.
19825         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19826         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19827         add in in __libc_use_alloca calls.  Adjust callers.
19828         (glob): Use malloc in some situations.
19830         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19831         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19832         pltexit.
19834 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
19836         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19837         and CLOCK_BOOTTIME_ALARM.
19839         [BZ #12782]
19840         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19841         is returned.
19843         * string/_strerror.c (__strerror_r): Print negative errors as signed
19844         numbers.
19846         [BZ #12777]
19847         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19848         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19849         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19851         * configure.in: Fix typo in redirection and correct removal of test
19852         files in two cases.
19854         [BZ #12788]
19855         * locale/setlocale.c (new_composite_name): Fix test to check for
19856         identical name of all categories.
19858         [BZ #12792]
19859         * libio/filedoalloc.c (local_isatty): New function.
19860         (_IO_file_doallocate): Use local_isatty.
19861         * stdio-common/perror.c (perror): In case a new stream is used
19862         forward the stream error.
19863         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19864         error flag.
19866 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
19868         [BZ #11869]
19869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19870         alloca.
19871         * include/alloca.h (extend_alloca_account): Define.
19873         [BZ #11857]
19874         * posix/regex.h: Fix comments with documentation of user-accessible
19875         fields after compilation and describe correct free'ing of pattern
19876         after re_compile_pattern.
19877         Patch by Reuben Thomas <rrt@sc3d.org>.
19879 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
19881         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19882         and -mno-altivec to prevent the compiler from using Altivec and/or
19883         VSX instructions when the corresponding registers are not available.
19885 2011-05-19  Andreas Schwab  <schwab@redhat.com>
19887         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19889 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
19891         * libio/freopen.c (freopen): Use __dup2, not dup2.
19892         * libio/freopen64.c (freopen64): Likewise.
19894 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19896         [BZ #12775]
19897         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19898         * math/Makefile (tests): Add test-powl.
19899         (CFLAGS-test-powl.c): Define.
19900         * math/test-powl.c: New file.
19902 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19904         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19906 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
19908         [BZ #11837]
19909         * iconvdata/gb18030.c: Update to GB18020-2005.
19911 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
19913         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19914         RE_SYNTAX_POSIX_AWK): Update to match recent development.
19915         Patch by Aharon Robbins <arnold@skeeve.com>.
19917         [BZ #11892]
19918         * stdlib/putenv.c (putenv): Don't always create copy of the variable
19919         on the stack.
19921         [BZ #11895]
19922         * misc/pselect.c (__pselect): Handle timeout value errors hidden
19923         through underflows.
19925         [BZ #12766]
19926         * misc/error.c (error_at_line): Ensure file_name and old_file_name
19927         point to strings before performing equality test for error_one_per_line
19928         mode.
19930         [BZ #11697]
19931         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19933         [BZ #11820]
19934         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19935         (struct user_fpregs_struct): Avoid __uint*_t types.
19937         [BZ #6420]
19938         * malloc/mtrace.c (tr_where): Add additional parameter to point to
19939         symbol info.  Use it instead of calling _dl_addr locally.
19940         (lock_and_info): New function.
19941         (tr_freehook): Call lock_and_info and pass symbol info as additional
19942         parameter to tr_where.
19943         (tr_mallochook): Likewise.
19944         (tr_reallochook): Likewise.
19945         (tr_memalignhook): Likewise.
19947         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
19948         used and couldn't be at all thread-safe.
19950 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
19952         * libio/freopen.c (freopen): Don't close old file descriptor
19953         before the new one is opened.  Instead dup the new file descriptor
19954         to the old one after the new stream is created.
19955         * libio/freopen64.c (freopen64): Likewise.
19956         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19957         * libio/fileops.c (_IO_new_file_close_it): Handle new
19958         _IO_FLAGS2_NOCLOSE flag.
19959         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19960         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19961         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19962         _IO_FLAGS2_NOCLOSE flag.
19963         * include/unistd.h: Add hidden_proto for dup3.
19964         Define __have_dup3.
19965         * io/dup3.c: Define hidden symbol.
19966         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19968         [BZ #7101]
19969         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19970         when an incomplete long option is used.
19971         * posix/tst-getopt_long1.c: New file.
19972         * posix/Makefile (tests): Add tst-getopt_long1.
19974         [BZ #10138]
19975         * scripts/config.guess: Update from autoconf-2.68.
19976         * scripts/config.sub: Likewise.
19978         [BZ #10157]
19979         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19980         tests into ...
19981         (has_cpuclock): ...this.  New function.
19982         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19983         macro here based on has_cpuclock code.
19985         [BZ #10149]
19986         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19987         First byte (not low byte) is now always NUL.
19988         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19990         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19991         Use non-cancelable interfaces.
19993         [BZ #9809]
19994         * locale/iso-639.def: Add entry for Sorani.
19996         [BZ #11901]
19997         * include/stdlib.h: Move include protection to the right place.
19998         Define abort_msg_s.  Declare __abort_msg with it.
19999         * stdlib/abort.c (__abort_msg): Adjust type.
20000         * assert/assert.c (__assert_fail_base): New function.  Majority
20001         of code from __assert_fail.  Allocate memory for __abort_msg with
20002         mmap.
20003         (__assert_fail): Now call __assert_fail_base.
20004         * assert/assert-perr.c: Remove bulk of implementation.  Use
20005         __assert_fail_base.
20006         * include/assert.hL Declare __assert_fail_base.
20007         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20008         mmap.
20009         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20011 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
20013         [BZ #11952]
20014         [BZ #12453]
20015         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20016         until all modules are registered in the DTV.
20017         * elf/Makefile: Add rules to build and run tst-tls19.
20018         * elf/tst-tls19.c: New file.
20019         * elf/tst-tls19mod1.c: New file.
20020         * elf/tst-tls19mod2.c: New file.
20021         * elf/tst-tls19mod3.c: New file.
20022         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20024         [BZ #12083]
20025         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20026         correctly.
20028         [BZ #12601]
20029         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20030         two-byte sequence errors.
20031         * iconvdata/Makefile (tests): Add bug-iconv8.
20032         * iconvdata/bug-iconv8.c: New file.
20034         [BZ #12626]
20035         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20036         buf2 definition.
20038         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20040         [BZ #12432]
20041         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20042         (dummy_getcfa): New function.
20043         (init): Get _Unwind_GetCFA address, use dummy if not found.
20044         (backtrace_helper): In recursion check, also check whether CFA changes.
20045         (__backtrace): Completely initialize arg.
20047         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20048         storing incomplete byte sequence in state object.  Avoid testing for
20049         guaranteed too small input if we know there is enough data available.
20051 2011-05-11  Andreas Schwab  <schwab@redhat.com>
20053         * Makeconfig (+link-pie): Indent.
20054         * Rules (binaries-pie): Define if $(have-fpie) and
20055         $(build-shared).
20056         (binaries-shared): Also filter out $(binaries-pie).
20057         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20058         * nscd/Makefile (others-pie): Add nscd.
20059         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20060         ($(objpfx)nscd): Remove command override.
20061         * login/Makefile (others-pie): Add pt_chown.
20062         ($(objpfx)pt_chown): Remove command override.
20063         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20064         remove command overrides.
20066 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
20068         * libio/tst_putwc.c: Fix error messages.
20070         [BZ #12724]
20071         * libio/fileops.c (_IO_new_file_close_it): Always flush when
20072         currently writing and seek to current position when not.
20073         * libio/Makefile (tests): Add bug-fclose1.
20074         * libio/bug-fclose1.c: New file.
20076 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
20078         [BZ #12511]
20079         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20080         don't set DF_1_NODELETE here.
20081         (do_lookup_x): When entering new entry test for copy relocation
20082         and if necessary set DF_1_NODELETE flag.
20083         * elf/tst-unique4.cc: New file.
20084         * elf/tst-unique4.h: New file.
20085         * elf/tst-unique4lib.cc: New file.
20086         * elf/Makefile: Add rules to build and run tst-unique4.
20087         Patch by Piotr Bury <pbury@goahead.com>.
20089 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
20091         [BZ #12052]
20092         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20094         [BZ #12625]
20095         * misc/mntent_r.c (addmntent): Flush the stream after the output
20097         [BZ #12393]
20098         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20099         (is_trusted_path_normalize): Skip initial colon.  Append slash
20100         to empty buffer.  Duplicate is_trusted_path code but allow
20101         constructed patch to be prefix.
20102         (is_dst): Allow $ORIGIN followed by /.
20103         (_dl_dst_substitute): Correct clearing of check_for_trusted.
20104         Correct testing of result of is_trusted_path_normalize
20105         (decompose_rpath): Fix warning.
20107 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
20109         [BZ #11257]
20110         * grp/initgroups.c (internal_getgrouplist): When we found the service
20111         list through the initgroups entry in nsswitch.conf do not always
20112         continue on a successful lookup.  Don't always use the
20113         __nss_group_database value if it is set.
20114         * nss/nsswitch.conf (initgroups): Change action for successful db
20115         lookup to continue for compatibility.
20117 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
20119         [BZ #11532]
20120         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20121         and CP774 modules.
20122         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20123         and CP774 modules.
20124         * iconvdata/tst-tables.sh: Likewise.
20125         * iconvdata/cp770.c: New file.
20126         * iconvdata/cp771.c: New file.
20127         * iconvdata/cp772.c: New file.
20128         * iconvdata/cp773.c: New file.
20129         * iconvdata/cp774.c: New file.
20130         * iconvdata/testdata/CP770: New file.
20131         * iconvdata/testdata/CP770..UTF8: New file.
20132         * iconvdata/testdata/CP771: New file.
20133         * iconvdata/testdata/CP771..UTF8: New file.
20134         * iconvdata/testdata/CP772: New file.
20135         * iconvdata/testdata/CP772..UTF8: New file.
20136         * iconvdata/testdata/CP773: New file.
20137         * iconvdata/testdata/CP773..UTF8: New file.
20138         * iconvdata/testdata/CP774: New file.
20139         * iconvdata/testdata/CP774..UTF8: New file.
20141         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20142         END CHARMAP line.
20143         * iconvdata/gen-8bit-gap.sh: Likewise.
20144         * iconvdata/gen-8bit.sh: Likewise.
20146         * locale/iso-639.def: Add ary entry.
20148         [BZ #11258]
20149         * locale/C-translit.h.in: Add U20A1 transliteration.
20151         [BZ #12178]
20152         * locale/iso-639.def: Add wae entry.
20153         Patch by Kevin Bortis <bortis@translate-wae.ch>.
20155         [BZ #12545]
20156         * locale/programs/localedef.c (construct_output_path): Use ssize_t
20157         for n.
20159         [BZ #12711]
20160         * locale/C-translit.h.in: Add entry for U20B9.
20161         Patch by pravin.d.s@gmail.com.
20163 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
20165         [BZ #12713]
20166         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20167         ENAMETOOLONG use generic getcwd.
20168         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
20169         in rtld.  Use *stat64.
20170         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20171         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20172         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20173         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20174         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20175         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20176         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20177         __fstatat64 macros.
20178         * include/dirent.h: Add libc_hidden_proto for rewinddir.
20179         * dirent/rewinddir.c: Add libc_hidden_def.
20180         * sysdeps/mach/hurd/rewinddir.c: Likewise.
20181         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
20183         * include/dirent.h (__alloc_dir): Add flags parameter.
20184         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20185         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20186         __alloc_dir.
20187         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
20188         from fdopendir if O_CLOEXEC is already set.
20190 2011-03-15  Alan Modra  <amodra@gmail.com>
20192         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20193         l_tls_firstbyte_offset non-zero.  Save padding offset in
20194         l_tls_firstbyte_offset for later use.
20195         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20196         freeing static tls block.
20198 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
20200         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20201         where #ifdef was intended.  The intent is to prevent ARG_MAX from
20202         being defined by the kernel headers.
20204 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
20206         [BZ #12734]
20207         * resolv/resolv.h: Define RES_NOTLDQUERY.
20208         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20209         no-tld-query and set RES_NOTLDQUERY.
20210         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20211         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20212         modern BIND to search name as TLD unless forbidden.
20214 2011-05-07  Petr Baudis  <pasky@suse.cz>
20215             Ulrich Drepper  <drepper@gmail.com>
20217         [BZ #12393]
20218         * elf/dl-load.c (fillin_rpath): Move trusted path check...
20219         (is_trusted_path): ...to here.
20220         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20221         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20222         using is_trusted_path_normalize() in setuid scripts.
20224 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20226         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20227         __BEGIN/__END_DECLS.
20229 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
20231         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20232         NSS_STATUS_NOTFOUND if no record was found.
20234 2011-05-05  Andreas Schwab  <schwab@redhat.com>
20236         * sunrpc/Makefile (headers): Add rpc/netdb.h.
20237         (headers-not-in-tirpc): Remove rpc/netdb.h
20238         * resolv/netdb.h: Revert last change.
20240 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20242         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20243         circular dependency between libgcc.a and libc.a.
20245 2011-05-05  Andreas Schwab  <schwab@redhat.com>
20247         * resolv/netdb.h: Don't include <rpc/netdb.h>.
20248         * nis/Makefile: Don't install rpcsvc/*.
20249         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20250         instead of <rpc/types.h>.
20251         (MAXHOSTNAMELEN): Define.
20253 2011-05-03  Andreas Schwab  <schwab@redhat.com>
20255         * elf/ldconfig.c (add_dir): Don't crash on empty path.
20257 2011-04-28  Maciej Babinski  <mbabinski@google.com>
20259         [BZ #12714]
20260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20261         gethostbyname4_r when IPv6 results are possible.
20263 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
20265         [BZ #12723]
20266         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20267         _PC_PIPE_BUF handling.
20269 2011-04-30  Bruno Haible  <bruno@clisp.org>
20271         [BZ #12717]
20272         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20273         * resolv/netdb.h (getnameinfo): Change type of flags parameter
20274         to 'int'.
20275         * inet/getnameinfo.c (getnameinfo): Likewise.
20277 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
20279         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20280         to groups setting in database lookup.
20281         * nss/nsswitch.conf: Add initgroups entry.
20283 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
20285         [BZ #12685]
20286         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20287         mode string.
20288         Patch by Eric Blake <eblake@redhat.com>.
20290 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
20292         * sunrpc/Makefile (need-export-routines): Add svc_run.
20293         (routines): Remove svc_run.
20294         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20295         * sunrpc/clnt_perr.c (clnt_perrno): Export.
20296         * sunrpc/svc_run.c (svc_run): Likewise.
20297         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20299 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
20301         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20302         problem in reallocation in last patch.
20304 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
20306         * sunrpc/Makefile: Move inclusion of Rules.
20308 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
20310         * nss/nss_files/files-initgroups.c: New file.
20311         * nss/Makefile (libnss_files-routines): Add files-initgroups.
20312         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20313         _nss_files_initgroups_dyn.
20315 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
20317         * elf/elf.h (R_ARM_IRELATIVE): Define.
20319 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
20321         * po/ru.po: Update from translation team.
20323 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
20325         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20326         dependencies.
20328 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
20330         [BZ #12653]
20331         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20332         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20333         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20334         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20335         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20337 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
20339         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20340         differing bytes.
20341         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20342         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20343         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20345 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
20347         [BZ #12420]
20348         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20349         storing it.
20350         * stdlib/bug-getcontext.c: New file.
20351         * stdlib/Makefile: Add rules to build and run bug-getcontext.
20353 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20355         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20356         instructions into .machine "z9-109".
20357         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20358         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20360 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20362         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20363         between environment variables and auxiliary vector.
20365 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
20367         * Makefile: Add rules to build linkobj/libc.so.
20368         * include/libc-symbols.h: Define libc_hidden_nolink.
20369         * include/rpc/auth.h: Mark functions which are to be hidden.
20370         * include/rpc/auth_des.h: Likewise.
20371         * include/rpc/auth_unix.h: Likewise.
20372         * include/rpc/clnt.h: Likewise.
20373         * include/rpc/des_crypt.h: Likewise.
20374         * include/rpc/key_prot.h: Likewise.
20375         * include/rpc/pmap_clnt.h: Likewise.
20376         * include/rpc/pmap_prot.h: Likewise.
20377         * include/rpc/pmap_rmt.h: Likewise.
20378         * include/rpc/rpc_msg.h: Likewise.
20379         * include/rpc/svc.h: Likewise.
20380         * include/rpc/svc_auth.h: Likewise.
20381         * include/rpc/xdr.h: Likewise.
20382         * nis/Makefile: Link all DSOs against linkobj/libc.so.
20383         * nss/Makefile: Likewise.
20384         * sunrpc/Makefile: Don't install headers.  Build library with normal
20385         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
20386         * sunrpc/auth_des.c: Hide exported symbols by default, export some
20387         for the compat linking library.  Remove use of INTDEF/INTUSE.
20388         * sunrpc/auth_none.c: Likewise.
20389         * sunrpc/auth_unix.c: Likewise.
20390         * sunrpc/authdes_prot.c: Likewise.
20391         * sunrpc/authuxprot.c: Likewise.
20392         * sunrpc/clnt_gen.c: Likewise.
20393         * sunrpc/clnt_perr.c: Likewise.
20394         * sunrpc/clnt_raw.c: Likewise.
20395         * sunrpc/clnt_simp.c: Likewise.
20396         * sunrpc/clnt_tcp.c: Likewise.
20397         * sunrpc/clnt_udp.c: Likewise.
20398         * sunrpc/clnt_unix.c: Likewise.
20399         * sunrpc/des_crypt.c: Likewise.
20400         * sunrpc/des_soft.c: Likewise.
20401         * sunrpc/get_myaddr.c: Likewise.
20402         * sunrpc/key_call.c: Likewise.
20403         * sunrpc/key_prot.c: Likewise.
20404         * sunrpc/netname.c: Likewise.
20405         * sunrpc/pm_getmaps.c: Likewise.
20406         * sunrpc/pm_getport.c: Likewise.
20407         * sunrpc/pmap_clnt.c: Likewise.
20408         * sunrpc/pmap_prot.c: Likewise.
20409         * sunrpc/pmap_prot2.c: Likewise.
20410         * sunrpc/pmap_rmt.c: Likewise.
20411         * sunrpc/publickey.c: Likewise.
20412         * sunrpc/rpc_cmsg.c: Likewise.
20413         * sunrpc/rpc_common.c: Likewise.
20414         * sunrpc/rpc_dtable.c: Likewise.
20415         * sunrpc/rpc_prot.c: Likewise.
20416         * sunrpc/rpc_thread.c: Likewise.
20417         * sunrpc/rtime.c: Likewise.
20418         * sunrpc/svc.c: Likewise.
20419         * sunrpc/svc_auth.c: Likewise.
20420         * sunrpc/svc_authux.c: Likewise.
20421         * sunrpc/svc_raw.c: Likewise.
20422         * sunrpc/svc_run.c: Likewise.
20423         * sunrpc/svc_simple.c: Likewise.
20424         * sunrpc/svc_tcp.c: Likewise.
20425         * sunrpc/svc_udp.c: Likewise.
20426         * sunrpc/svc_unix.c: Likewise.
20427         * sunrpc/svcauth_des.c: Likewise.
20428         * sunrpc/xcrypt.c: Likewise.
20429         * sunrpc/xdr.c: Likewise.
20430         * sunrpc/xdr_array.c: Likewise.
20431         * sunrpc/xdr_float.c: Likewise.
20432         * sunrpc/xdr_intXX_t.c: Likewise.
20433         * sunrpc/xdr_mem.c: Likewise.
20434         * sunrpc/xdr_rec.c: Likewise.
20435         * sunrpc/xdr_ref.c: Likewise.
20436         * sunrpc/xdr_sizeof.c: Likewise.
20437         * sunrpc/xdr_stdio.c: Likewise.
20439 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
20441         [BZ #12650]
20442         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20443         * sysdeps/ia64/dl-tls.h: Likewise.
20444         * sysdeps/powerpc/dl-tls.h: Likewise.
20445         * sysdeps/s390/dl-tls.h: Likewise.
20446         * sysdeps/sh/dl-tls.h: Likewise.
20447         * sysdeps/sparc/dl-tls.h: Likewise.
20448         * sysdeps/x86_64/dl-tls.h: Likewise.
20449         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20451 2011-03-14  Andreas Schwab  <schwab@redhat.com>
20453         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20454         rpath element also skip the following colon.
20455         (expand_dynamic_string_token): Add is_path parameter and pass
20456         down to DL_DST_REQUIRED and _dl_dst_substitute.
20457         (decompose_rpath): Call expand_dynamic_string_token with
20458         non-zero is_path.  Ignore empty rpaths.
20459         (_dl_map_object_from_fd): Call expand_dynamic_string_token
20460         with zero is_path.
20462 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
20464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20465         Make cancelable.
20467 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
20469         [BZ #12655]
20470         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20471         Patch by Filipe David Manana <fdmanana@apache.org>.
20473 2011-04-07  Andreas Schwab  <schwab@redhat.com>
20475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20476         Maintain aligned stack.
20477         (CHECK_RSP): Remove unused macro.
20479 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
20481         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20482         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20484 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
20486         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20488         * include/features.h: Mention __USE_XOPEN2K8 in comment.
20490 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
20492         [BZ #12518]
20493         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20494         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20495         * sysdeps/x86_64/memmove.c: New file.
20496         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20497         (memcpy): Renamed to ...
20498         (__new_memcpy): This.
20499         (memcpy): Provide GLIBC_2_14 memcpy.
20500         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20501         (memcpy): Provide GLIBC_2_2_5 memcpy.
20503 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20505         [BZ #12631]
20506         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20508 2011-03-30  Andreas Schwab  <schwab@redhat.com>
20510         * misc/syncfs.c: New file.
20511         * misc/Makefile (routines): Add syncfs.
20512         * posix/unistd.h: Declare syncfs.
20513         * sysdeps/unix/syscalls.list: Add syncfs.
20515 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20517         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20518         open_by_handle_at.
20519         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20520         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20524         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20525         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20527 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20529         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20530         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20531         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20537         * io/Makefile: Compile fallocate.c, fallocate64.c, and
20538         sync_file_range.c with -fexceptions.
20539         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20540         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20541         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20542         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20543         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20544         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20546         sync_file_range as cancellation point
20547         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
20548         now a wrapper around __call_sync_file_range with cancellation handling.
20549         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20550         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
20551         function name to __call_sync_file_range.
20552         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20553         Add call_sync_file_range.
20555 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20558         bits/timex.h.
20560 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20562         * iconv/iconv.h: Fix typo in comment.
20563         * io/fcntl.h: Likewise.
20564         * libio/stdio.h: Likewise.
20565         * posix/spawn.h: Likewise.
20566         * posix/unistd.h: Likewise.
20567         * stdlib/stdlib.h: Likewise.
20568         * time/time.h: Likewise.
20569         * wcsmbs/wchar.h: Likewise.
20571         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20572         open_by_handle): Add.
20573         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20574         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
20575         Augment a few comments.
20576         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20578         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20580         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20581         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20582         open_by_handle.
20584         * io/fcntl.h (AT_EMPTY_PATH): Define.
20586 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
20588         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20589         * sysdeps/unix/sysv/linux/bits/time.h: New file.
20590         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20591         to...
20592         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
20593         * Versions.def: Add GLIBC_2.14.
20594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20595         Export.
20597 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
20599         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20600         round counter.
20601         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20603 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20605         [BZ #12597]
20606         * string/test-strncmp.c (do_page_test): New function.
20607         (check2): Likewise.
20608         (test_main): Call check2.
20609         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20611 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
20613         [BZ #12587]
20614         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20615         Handle cache information in CPU leaf 4.
20616         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20618 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
20620         [BZ #12583]
20621         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20622         character representation.
20623         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20625 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
20627         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20628         END(__isnan) to END(__isnanf) to match function entry point/label
20629         EALIGN(__isnanf,...).
20631 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
20633         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20635 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
20637         [BZ #12510]
20638         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20639         copy from the symbol referenced in the relocation to initialize the
20640         used variable.
20641         Patch by Piotr Bury <pbury@goahead.com>.
20642         * elf/Makefile: Add rules to build and tst-unique3.
20643         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20644         * elf/tst-unique3.cc: New file.
20645         * elf/tst-unique3.h: New file.
20646         * elf/tst-unique3lib.cc: New file.
20647         * elf/tst-unique3lib2.cc: New file.
20649         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20651 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
20653         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20654         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
20655         to _start.
20657 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
20659         * elf/dl-load.c (_dl_map_object): If we are looking for the first
20660         to-be-loaded object along a path to loader is ld.so.
20662 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20663             Ulrich Drepper  <drepper@gmail.com>
20665         * sysdeps/x86_64/memset.S: After aligning destination, code
20666         branches to different locations depending on the value of
20667         misalignment, when multiarch is enabled. Fix this.
20669 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20671         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20672         Set _x86_64_preferred_memory_instruction for AMD processsors.
20673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20674         Set bit_Prefer_SSE_for_memop for AMD processors.
20676 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
20678         * libio/fmemopen.c (fmemopen): Optimize a bit.
20680 2011-03-03  Andreas Schwab  <schwab@redhat.com>
20682         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20684 2011-03-03  Roland McGrath  <roland@redhat.com>
20686         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20688 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
20690         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20691         __bzero_ultra1 instead of __memset_ultra1.
20693 2011-02-23  Andreas Schwab  <schwab@redhat.com>
20694             Ulrich Drepper  <drepper@gmail.com>
20696         [BZ #12509]
20697         * include/link.h (struct link_map): Add l_orig_initfini.
20698         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20699         returning unsuccessfully.
20700         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20701         close of a file loaded at startup, restore the original l_initfini
20702         list.
20703         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20704         list, store the pointer.
20705         * elf/Makefile ($(objpfx)noload-mem): New rule.
20706         (noload-ENV): Define.
20707         (tests): Add $(objpfx)noload-mem.
20708         * elf/noload.c: Include <memcheck.h>.
20709         (main): Call mtrace.  Close all opened handles.
20711 2011-02-17  Andreas Schwab  <schwab@redhat.com>
20713         [BZ #12454]
20714         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20715         dependencies are missing.
20717 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20719         Fix __if_freereq crash: Unlike the generic version which uses free,
20720         Hurd needs munmap.
20721         * sysdeps/mach/hurd/ifreq.h: New file.
20723 2011-01-27  Petr Baudis  <pasky@suse.cz>
20724             Ulrich Drepper  <drepper@gmail.com>
20726         [BZ 12445]#
20727         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20728         to extend_alloca().
20729         * stdio-common/bug23.c: New file.
20730         * stdio-common/Makefile (tests): Add bug23.
20732 2010-09-28  Andreas Schwab  <schwab@redhat.com>
20733             Ulrich Drepper  <drepper@gmail.com>
20735         [BZ #12489]
20736         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20737         before performing relro protection.  At old place add assertion
20738         to make sure nothing changed.
20740 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
20741             Glauber de Oliveira Costa  <glommer@gmail.com>
20743         * elf/elf.h: Add new ARM TLS relocs.
20745 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
20747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20748         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20749         cast from r3.
20750         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
20751         'tests' variable.
20752         * sysdeps/wordsize-64/tst-writev.c: New file.
20754 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
20756         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20757         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20758         insns in _dl_start to prevent a TOC reference before relocs are
20759         resolved.
20761 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
20763         [BZ #12469]
20764         * Makeconfig: Remove RANLIB definition.
20765         * Makerules: Don't use RANLIB.
20766         * aclocal.m4: Remove ranlib test.
20767         * configure.in: No need to check for ranlib.
20768         * elf/rtld-Rules: Don't use RANLIB.
20770 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20772         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20773         protection macro.
20774         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20775         inclusion protection macro.
20777         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20778         SIGRTMIN and SIGRTMAX and print information in that case only when
20779         SIGRTMIN is defined.
20781 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
20783         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20784         arginfo fn returning -1.
20786         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20787         and thousands string is zero terminated.
20789 2011-02-03  Andreas Schwab  <schwab@redhat.com>
20791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20792         sysdeps/unix/sysv/linux/bits/socket.h.
20794 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20796         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20797         (__CPU_COUNT): Remove old macros.
20798         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20799         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20800         (__CPU_ALLOC, __CPU_FREE): Add macros.
20801         (__sched_cpualloc, __sched_cpufree): Add declarations.
20803 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
20805         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20806         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20807         * nscd/aicache.c (addhstaiX): Return timeout of added value.
20808         (readdhstai): Return value of addhstaiX call.
20809         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20810         (addgrbyX): Return value returned by cache_addgr.
20811         (readdgrbyname): Return value returned by addgrbyX.
20812         (readdgrbygid): Likewise.
20813         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20814         (addpwbyX): Return value returned by cache_addpw.
20815         (readdpwbyname): Return value returned by addhstbyX.
20816         (readdpwbyuid): Likewise.
20817         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20818         (addservbyX): Return value returned by cache_addserv.
20819         (readdservbyname): Return value returned by addservbyX:
20820         (readdservbyport): Likewise.
20821         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20822         (addhstbyX): Return value returned by cache_addhst.
20823         (readdhstbyname): Return value returned by addhstbyX.
20824         (readdhstbyaddr): Likewise.
20825         (readdhstbynamev6): Likewise.
20826         (readdhstbyaddrv6): Likewise.
20827         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20828         (readdinitgroups): Return value returned by addinitgroupsX.
20829         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20830         (prune_cache): Keep track of timeout value of re-added entries.
20831         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20832         * nscd/nscd.h: Adjust prototypes of readd* functions.
20834 2011-02-04  Roland McGrath  <roland@redhat.com>
20836         * nis/nis_server.c (nis_servstate): Use the right name for 0.
20837         (nis_stats): Likewise.
20838         * nis/nis_modify.c (nis_modify): Likewise.
20839         * nis/nis_remove.c (nis_remove): Likewise.
20840         * nis/nis_add.c (nis_add): Likewise.
20842         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20844         * posix/fnmatch_loop.c: Add some consts.
20846         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20848 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
20850         [BZ #12460]
20851         * config.make.in (config-cflags-novzeroupper): Define.
20852         * configure.in: Substitute libc_cv_cc_novzeroupper.
20853         * elf/Makefile (AVX-CFLAGS): Define.
20854         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20855         (CFLAGS-tst-auditmod4a.c): Likewise.
20856         (CFLAGS-tst-auditmod4b.c): Likewise.
20857         (CFLAGS-tst-auditmod6b.c): Likewise.
20858         (CFLAGS-tst-auditmod6c.c): Likewise.
20859         (CFLAGS-tst-auditmod7b.c): Likewise.
20860         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20862 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
20864         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20865         function to the callback.
20866         Patch partly by Jiri Olsa <jolsa@redhat.com>.
20868 2011-02-02  Andreas Schwab  <schwab@redhat.com>
20870         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20871         of errno.
20873 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
20875         [BZ #11724]
20876         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20877         of constructors.
20878         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20879         of destructors.
20880         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20882         [BZ #11724]
20883         * elf/Makefile: Add rules to build and run new test.
20884         * elf/tst-initorder.c: New file.
20885         * elf/tst-initorder.exp: New file.
20886         * elf/tst-initordera1.c: New file.
20887         * elf/tst-initordera2.c: New file.
20888         * elf/tst-initordera3.c: New file.
20889         * elf/tst-initordera4.c: New file.
20890         * elf/tst-initorderb1.c: New file.
20891         * elf/tst-initorderb2.c: New file.
20892         * elf/tst-order-a1.c: New file.
20893         * elf/tst-order-a2.c: New file.
20894         * elf/tst-order-a3.c: New file.
20895         * elf/tst-order-a4.c: New file.
20896         * elf/tst-order-b1.c: New file.
20897         * elf/tst-order-b2.c: New file.
20898         * elf/tst-order-main.c: New file.
20899         New test case by George Gensure <werkt0@gmail.com>.
20901 2010-10-01  Andreas Schwab  <schwab@redhat.com>
20903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20904         decoding ACE if AI_CANONIDN.
20906 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
20908         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20910 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
20912         * version.h (RELEASE): Bump for 2.13 release.
20913         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20915         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20917         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20918         MADV_NOHUGEPAGE.
20919         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20920         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20921         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20923         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20924         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20926         * posix/getconf.c: Update copyright year.
20927         * catgets/gencat.c: Likewise.
20928         * csu/version.c: Likewise.
20929         * debug/catchsegv.sh: Likewise.
20930         * debug/xtrace.sh: Likewise.
20931         * elf/ldconfig.c: Likewise.
20932         * elf/ldd.bash.in: Likewise.
20933         * elf/sprof.c (print_version): Likewise.
20934         * iconv/iconv_prog.c: Likewise.
20935         * iconv/iconvconfig.c: Likewise.
20936         * locale/programs/locale.c: Likewise.
20937         * locale/programs/localedef.c: Likewise.
20938         * malloc/memusage.sh: Likewise.
20939         * malloc/mtrace.pl: Likewise.
20940         * nscd/nscd.c (print_version): Likewise.
20941         * nss/getent.c: Likewise.
20943         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20944         PF_CAIF, and PF_ALG.
20945         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20947 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
20949         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20950         (modules-names): Use them.
20951         (ifunc-test-modules, ifunc-pie-tests): Define.
20952         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20953         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20954         (test-extras): Likewise.
20955         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20956         $(compile-command.c).
20957         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20958         (all-built-dso): Define.
20959         (check-textrel.out, check-execstack.out): Depend on it.
20961         * configure.in: Don't override --enable-multi-arch.
20963 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
20965         [BZ #6812]
20966         * nscd/hstcache.c (tryagain): Define.
20967         (cache_addhst): Return tryagain not notfound for temporary errors.
20968         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20969         failed.
20971 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
20973         [BZ #10563]
20974         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20975         to make the syscall.
20976         * sysdeps/unix/sysv/linux/setgroups.c: New file.
20978         [BZ #12378]
20979         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20980         and fall back to matching as normal character if the string ends before
20981         the matching ']' is found.  This is what POSIX requires.
20982         * posix/testfnm.c: Adjust test result.
20983         * posix/globtest.sh: Adjust test result.  Add new test.
20984         * posix/tst-fnmatch.input: Likewise.
20985         * posix/tst-fnmatch2.c: Add new test.
20987 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
20989         * elf/Makefile (check-execstack): Revert last change.  Depend on
20990         check-execstack.h.
20991         (check-execstack.h): New target.
20992         (generated): Add check-execstack.h.
20993         * elf/check-execstack.c: Include "check-execstack.h".
20994         (main): Revert last change.
20995         (handle_file): Return zero if GNU_STACK is absent and
20996         DEFAULT_STACK_PERMS doesn't include PF_X.
20998 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
21000         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21001         in child fails because the descriptor is already closed.
21002         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21003         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21006         [BZ #12397]
21007         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21008         syscall.
21010         [BZ #10484]
21011         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21012         temporary buffer used to handle multi lookups locally.
21013         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21015 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21017         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21018         loader is ld.so.
21020 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
21022         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21023         alignment for SSE2.
21025 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
21027         [BZ #12394]
21028         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21029         characters.  When rounding increased number of integer digits recompute
21030         number of groups.
21031         * stdio-common/tst-grouping.c: New file.
21032         * stdio-common/Makefile: Add rules to build and run tst-grouping.
21034 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
21036         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21037         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
21039         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21040         void.
21041         * bits/select.h: Likewise.
21043 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
21045         * po/ja.po: Update from translation team.
21047 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
21049         [BZ #11155]
21050         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21051         implementation just like for lxstat, fxstatat, et al.
21053 2010-12-27  Jim Meyering  <meyering@redhat.com>
21055         [BZ #12348]
21056         * posix/regexec.c (build_trtable): Return failure indication upon
21057         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
21059 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
21061         [BZ #12201]
21062         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21063         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21064         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21065         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21067         [BZ #12207]
21068         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21070         [BZ #12204]
21071         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21072         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21074 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21076         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21077         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21078         script has SORT_BY_INIT_PRIORITY.
21079         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21080         NO_CTORS_DTORS_SECTIONS is defined.
21081         * elf/soinit.c: Likewise.
21082         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21083         NO_CTORS_DTORS_SECTIONS is defined.
21084         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21085         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21086         * sysdeps/sh/init-first.c: Likewise.
21087         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21089 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
21091         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21092         always use the slow path.
21094 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
21096         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21097         similar rule which adds the sysdep directories to the header search in
21098         order to pick up the correct platform stackinfo.h.
21099         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21100         perform test if it is, otherwise return successfully without testing.
21101         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21102         DEFAULT_STACK_PERMS define in stackinfo.h.
21103         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21104         defined in stackinfo.h.
21105         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21106         DEFAULT_STACK_PERMS defined in stackinfo.h.
21107         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21108         * sysdeps/ia64/stackinfo.h: Likewise.
21109         * sysdeps/s390/stackinfo.h: Likewise.
21110         * sysdeps/sh/stackinfo.h: Likewise.
21111         * sysdeps/sparc/stackinfo.h: Likewise.
21112         * sysdeps/x86_64/stackinfo.h: Likewise.
21113         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21114         PF_X for powerpc64.  Retain PF_X for powerpc32.
21116 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
21118         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21119         accurately.
21120         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21121         GETDENTS_64BIT_ALIGNED.
21123 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
21125         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21127 2010-12-10  Andreas Schwab  <schwab@redhat.com>
21129         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21130         _GNU_SOURCE.
21132         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21133         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21134         Remove __restrict.
21135         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21136         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21138 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
21140         [BZ #11655]
21141         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21142         are initialized.
21144 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
21146         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21148 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
21150         * po/it.po: Update from translation team.
21152 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21155         unused codes.
21157 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
21159         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21161 2010-11-24  Andreas Schwab  <schwab@redhat.com>
21163         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21164         specially.
21165         (gaih_getanswer_slice): Likewise.
21167 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
21169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21171 2010-05-31  Petr Baudis  <pasky@suse.cz>
21173         [BZ #11149]
21174         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21175         silently even in the chroot mode.
21177 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
21179         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21180         last patch a bit.  Pretty printing
21182 2010-05-31  Petr Baudis <pasky@suse.cz>
21184         [BZ #10085]
21185         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21186         initialization of skip_initgroups_dyn.
21188 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
21190         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21191         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21193 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
21195         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21197 2010-11-11  Andreas Schwab  <schwab@redhat.com>
21199         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21200         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21201         (tst-fnmatch-ENV): Set MALLOC_TRACE.
21202         ($(objpfx)tst-fnmatch-mem): New rule.
21203         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21204         * posix/tst-fnmatch.c (main): Call mtrace.
21206 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
21208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21209         Support Intel processor model 6 and model 0x2c.
21211 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
21213         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21214           signed comparison.
21216 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
21218         [BZ #12205]
21219         * string/test-strncasecmp.c (check_result): New function.
21220         (do_one_test): Use it.
21221         (check1): New function.
21222         (test_main): Use it.
21223         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21224         Support strcasecmp and strncasecmp.
21226 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
21228         [BZ #12194]
21229         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21230         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21232 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21234         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21235         IFUNC support.
21236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21237         memset-x86-64.
21238         * sysdeps/x86_64/multiarch/bzero.S: New file.
21239         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21240         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21241         * sysdeps/x86_64/multiarch/memset.S: New file.
21242         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21244         Set bit_Prefer_SSE_for_memop for Intel processors.
21245         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21246         Define.
21247         (index_Prefer_SSE_for_memop): Define.
21248         (HAS_PREFER_SSE_FOR_MEMOP): Define.
21250 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
21252         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21253         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21255 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
21257         [BZ #12191]
21258         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21259         (__x86_64_raw_data_cache_size_half): Likewise.
21260         (__x86_64_raw_shared_cache_size): Likewise.
21261         (__x86_64_raw_shared_cache_size_half): Likewise.
21263         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21264         (__x86_64_raw_data_cache_size_half): Likewise.
21265         (__x86_64_raw_shared_cache_size): Likewise.
21266         (__x86_64_raw_shared_cache_size_half): Likewise.
21267         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21268         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21269         and __x86_64_raw_shared_cache_size_half.  Round
21270         __x86_64_data_cache_size_half, __x86_64_data_cache_size
21271         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21272         to multiple of 256 bytes.
21274 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
21276         [BZ #12167]
21277         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21278         of inacessible symlinks.  Verify result of symlink before returning it.
21279         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21280         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21282 2010-10-28  Erich Ritz  <erichritz@gmail.com>
21284         * math/math.h (isinf): Fix typo in comment.
21286 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
21288         * po/da.po: Update from translation team.
21290 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
21292         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21293         is added to the list.
21295 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21296             Ulrich Drepper  <drepper@gmail.com>
21298         * elf/dl-object.c (_dl_new_object): Don't append the new object to
21299         the global list here.  Move code to...
21300         (_dl_add_to_namespace_list): ...here.  New function.
21301         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21302         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21303         * elf/dl-load.c (lose): Don't remove the element from the list.
21304         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21305         (_dl_map_object): Likewise.
21307 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
21309         [BZ #12159]
21310         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21311         into all bytes of SSE register.
21312         Patch by Richard Li <richardpku@gmail.com>.
21314 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
21316         [BZ #12140]
21317         * malloc/malloc.c (_int_free): Fill correct number of bytes when
21318         perturbing.
21320 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
21322         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21323         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21324         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21325         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21327         submachine.
21328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21330 2010-10-22  Andreas Schwab  <schwab@redhat.com>
21332         * include/dlfcn.h (__RTLD_SECURE): Define.
21333         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
21334         mode & __RTLD_SECURE instead.
21335         (open_path): Rename preloaded parameter to secure.
21336         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21337         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21338         * elf/dl-deps.c (openaux): Likewise.
21339         * elf/rtld.c (struct map_args): Remove is_preloaded.
21340         (map_doit): Don't use it.
21341         (dl_main): Likewise.
21342         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21343         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21345 2010-09-09  Andreas Schwab  <schwab@redhat.com>
21347         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21348         (sysd-rules-targets): Remove duplicates.
21349         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21350         rtld-%.$o dependency.
21352 2010-10-18  Andreas Schwab  <schwab@redhat.com>
21354         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21355         _dl_map_object do it.
21357 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
21359         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21360         fast fma builtins, define the macros in the C99 standard.
21361         (FP_FAST_FMAF): Likewise.
21362         (FP_FAST_FMAL): Likewise.
21363         * sysdeps/x86_64/bits/mathdef.h: Likewise.
21365         * bits/mathdef.h: Update copyright year.
21366         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21368 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
21370         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21371         builtins, define the macros in the C99 standard.
21372         (FP_FAST_FMAF): Likewise.
21373         (FP_FAST_FMAL): Likewise.
21374         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21375         multiply/add.
21376         (FP_FAST_FMAF): Likewise.
21378 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
21380         [BZ #3268]
21381         * math/libm-test.inc (fma_test): Some new testcases.
21382         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21383         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21384         y and infinite z.  Do multiplication by C already in long double.
21385         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21387         y and infinite z.  Do bitwise or of inexact bit into u.d.
21388         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21389         * sysdeps/i386/fpu/s_fmaf.S: Removed.
21390         * sysdeps/i386/fpu/s_fma.S: Removed.
21391         * sysdeps/i386/fpu/s_fmal.S: Removed.
21393 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
21395         [BZ #3268]
21396         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21398         computation is not scheduled after fetestexcept.  Fix value
21399         of minimum denormal long double.
21401 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
21403         [BZ #3268]
21404         * math/libm-test.inc (fma_test): Add some more tests.
21405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21406         correctly.
21408 2010-10-15  Andreas Schwab  <schwab@redhat.com>
21410         * scripts/data/localplt-s390-linux-gnu.data: New file.
21411         * scripts/data/localplt-s390x-linux-gnu.data: New file.
21413 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
21415         [BZ #3268]
21416         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21417         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21418         instead of dbl-64.
21419         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21420         inlines.
21421         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21423         if one of x and y is very large and the other is subnormal.
21424         * sysdeps/s390/fpu/s_fmaf.c: New file.
21425         * sysdeps/s390/fpu/s_fma.c: New file.
21426         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21427         * sysdeps/powerpc/fpu/s_fma.S: New file.
21428         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21429         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21430         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21432 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
21434         [BZ #3268]
21435         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21436         fma tests.
21437         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21438         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21439         * sysdeps/i386/i686/multiarch/s_fma.c: Include
21440         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21441         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21442         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21443         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21445 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
21447         [BZ #12078]
21448         * posix/regcomp.c (parse_branch): One more memory leak plugged.
21449         * posix/bug-regex31.input: Add test case.
21451 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21453         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21454         * posix/bug-regex31.input: New file.
21456         [BZ #12078]
21457         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21458         (parse_sub_exp): Fix last change, use postorder.
21460         * posix/bug-regex31.c: New file.
21461         * posix/Makefile: Add rules to build and run bug-regex31.
21463         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21465         [BZ #12078]
21466         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21468         [BZ #12108]
21469         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21470         to have entries in sys_siglist.
21472         [BZ #12093]
21473         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21474         be NULL.
21476 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
21478         [BZ #3268]
21479         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21480         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21481         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21482         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21483         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21484         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21485         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21486         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21487         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21488         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21489         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21490         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21491         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21492         * math/ftestexcept.c (fetestexcept): Likewise.
21493         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21494         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21495         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21496         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21497         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21498         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21499         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21501 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21503         [BZ #12107]
21504         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21505         newline.
21507 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
21509         * string/bug-strstr1.c: New file.
21510         * string/Makefile: Add rules to build and run bug-strstr1.
21512 2010-10-05  Eric Blake  <eblake@redhat.com>
21514         [BZ #12092]
21515         * string/str-two-way.h (two_way_long_needle): Always clear memory
21516         when skipping input due to the shift table.
21518 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
21520         [BZ #12005]
21521         * malloc/mcheck.c: Handle large requests.
21523         [BZ #12077]
21524         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21525         for strncmp and strncasecmp.
21526         * string/stratcliff.c: Add tests for strcmp and strncmp.
21527         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21529 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21531         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21532         __set_fpscr.
21534 2010-09-30  Andreas Jaeger  <aj@suse.de>
21536         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21537         (CGROUP_SUPER_MAGIC): Define.
21538         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21539         Handle btrfs and cgroup file systems.
21540         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21541         Likewise.
21543 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
21545         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21546         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21548 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21550         [BZ #12067]
21551         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21552         trying to locate the ELF header.
21554 2010-09-27  Andreas Schwab  <schwab@redhat.com>
21556         [BZ #11611]
21557         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21558         Mask out sign-bit copies when constructing f_fsid.
21560 2010-09-24  Petr Baudis <pasky@suse.cz>
21562         * debug/stack_chk_fail_local.c: Add missing licence exception.
21563         * debug/warning-nop.c: Likewise.
21565 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
21567         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21568         implementing getdents64 using getdents syscall, set d_type if
21569         __ASSUME_GETDENTS32_D_TYPE.
21571 2010-09-16  Andreas Schwab  <schwab@redhat.com>
21573         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21574         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21576 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
21578         [BZ #12037]
21579         * posix/unistd.h: Undo change of feature selection for ftruncate from
21580         2010-01-11.
21582 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
21584         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21585         detection.
21587 2010-09-20  Andreas Schwab  <schwab@redhat.com>
21589         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21590         fanotify_mark.
21591         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21593 2010-09-14  Andreas Schwab  <schwab@redhat.com>
21595         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21596         variables after CHECK_SP call.
21597         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21599 2010-09-13  Andreas Schwab  <schwab@redhat.com>
21600             Ulrich Drepper  <drepper@redhat.com>
21602         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21603         re-relocationg ld.so.
21604         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21605         _dl_init_paths call.
21606         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
21607         here anymore.
21609 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
21611         * resolv/res_init.c (__res_vinit): Count the default server we added.
21613 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
21614             Ulrich Drepper  <drepper@redhat.com>
21616         [BZ #11968]
21617         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21618         (____longjmp_chk): Use %ebx for saving value across system call.
21619         Add unwind info.
21621 2010-09-06  Andreas Schwab  <schwab@redhat.com>
21623         * manual/Makefile: Don't mix pattern rules with normal rules.
21625 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21627         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21628         operation.
21629         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21630         * libio/iofopncook.c (_IO_cookie_init): Likewise.
21631         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21632         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21634         Likewise.
21636 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
21638         [BZ #11979]
21639         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21640         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21642 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
21644         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21645         * sysdeps/x86_64/addmul_1.S: Likewise.
21646         * sysdeps/x86_64/lshift.S: Likewise.
21647         * sysdeps/x86_64/mul_1.S: Likewise.
21648         * sysdeps/x86_64/rshift.S: Likewise.
21649         * sysdeps/x86_64/sub_n.S: Likewise.
21650         * sysdeps/x86_64/submul_1.S: Likewise.
21652 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21654         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21655         Define __sched_param instead of SCHED_* and sched_param when
21656         <bits/sched.h> is included with __need_schedparam defined.
21657         * bits/sched.h [__need_schedparam]
21658         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21659         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21660         (__defined_schedparam): Define to 1.
21661         (__sched_param): New structure, identical to sched_param.
21662         (__need_schedparam): Undefine.
21664 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
21666         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21667         (epoll_create1): Declare.
21669         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21671 2010-08-31  Andreas Schwab  <schwab@redhat.com>
21673         [BZ #7066]
21674         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21675         shifting retval into place.
21677 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
21679         * nis/rpcsvc/nis.h: Update copyright notice.
21680         * nis/rpcsvc/nis.x: Likewise.
21681         * nis/rpcsvc/nis_callback.h: Likewise.
21682         * nis/rpcsvc/nis_callback.x: Likewise.
21683         * nis/rpcsvc/nis_object.x: Likewise.
21684         * nis/rpcsvc/nis_tags.h: Likewise.
21685         * nis/rpcsvc/yp.h: Likewise.
21686         * nis/rpcsvc/yp.x: Likewise.
21687         * nis/rpcsvc/ypupd.h: Likewise.
21688         * nis/yp_xdr.c: Likewise.
21689         * nis/ypupdate_xdr.c: Likewise.
21691         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
21692         mainly the body of pmap_getport.  Add parameters to specify timeouts.
21693         (pmap_getport): Use __libc_rpc_getport.
21694         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21695         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21696         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21698 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
21700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21701         fanotify_mark.
21703 2010-08-27  Roland McGrath  <roland@redhat.com>
21705         * sysdeps/i386/i686/multiarch/Makefile
21706         (CFLAGS-varshift.c): New variable.
21708 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
21710         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21711         * sysdeps/i386/i686/multiarch/varshift.c: New file.
21713         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21715         * sysdeps/x86_64/strlen.S: Minimal code improvement.
21717 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21719         * sysdeps/x86_64/strlen.S: Unroll the loop.
21720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21721         strlen-sse2 strlen-sse2-bsf.
21722         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21723         __strlen_no_bsf if bit_Slow_BSF is set.
21724         (__strlen_sse42): Removed.
21725         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21726         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21728 2010-08-25  Roland McGrath  <roland@redhat.com>
21730         * sysdeps/x86_64/multiarch/varshift.S: File removed.
21731         * sysdeps/x86_64/multiarch/varshift.c: New file.
21732         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21733         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21734         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21735         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21737 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21739         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21740         strlen-sse2 strlen-sse2-bsf.
21741         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21742         __strlen_sse2_bsf if bit_Slow_BSF is unset.
21743         (__strlen_sse2): Removed.
21744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21747         bit_Slow_BSF for Atom.
21748         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21749         (index_Slow_BSF): Define.
21750         (HAS_SLOW_BSF): Define.
21752 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
21754         [BZ #10851]
21755         * resolv/res_init.c (__res_vinit): When no server address at all
21756         is given default to loopback.
21758 2010-08-24  Roland McGrath  <roland@redhat.com>
21760         * configure.in: Remove config-name.h generation.
21761         * configure: Regenerated.
21762         * config-name.in: File removed.
21763         * scripts/config-uname.sh: New file.
21764         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21765         ($(objdir)config-name.h): New target.
21767         * sunrpc/rpc_parse.h: Avoid nested comment.
21769 2010-08-24  Richard Henderson  <rth@redhat.com>
21770             Ulrich Drepper  <drepper@redhat.com>
21771             H.J. Lu  <hongjiu.lu@intel.com>
21773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21775         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21776         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
21777         _mm_alignr_epi8 with _mm_loadu_si128.
21778         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21779         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21780         (__m128i_shift_right): Removed.
21781         * sysdeps/i386/i686/multiarch/varshift.h: New file.
21782         * sysdeps/i386/i686/multiarch/varshift.S: New file.
21783         * sysdeps/x86_64/multiarch/varshift.h: New file.
21784         * sysdeps/x86_64/multiarch/varshift.S: New file.
21786 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
21788         * configure.in: Move assembler checks to before sysdep dir checking.
21790 2010-08-20  Petr Baudis  <pasky@suse.cz>
21792         * LICENSES: Sync the sunrpc license.
21794 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
21796         * sunrpc/auth_des.c: Update copyright notice once again.
21797         * sunrpc/auth_none.c: Likewise.
21798         * sunrpc/auth_unix.c: Likewise.
21799         * sunrpc/authdes_prot.c: Likewise.
21800         * sunrpc/authuxprot.c: Likewise.
21801         * sunrpc/bindrsvprt.c: Likewise.
21802         * sunrpc/clnt_gen.c: Likewise.
21803         * sunrpc/clnt_perr.c: Likewise.
21804         * sunrpc/clnt_raw.c: Likewise.
21805         * sunrpc/clnt_simp.c: Likewise.
21806         * sunrpc/clnt_tcp.c: Likewise.
21807         * sunrpc/clnt_udp.c: Likewise.
21808         * sunrpc/clnt_unix.c: Likewise.
21809         * sunrpc/des_crypt.c: Likewise.
21810         * sunrpc/des_soft.c: Likewise.
21811         * sunrpc/get_myaddr.c: Likewise.
21812         * sunrpc/getrpcport.c: Likewise.
21813         * sunrpc/key_call.c: Likewise.
21814         * sunrpc/key_prot.c: Likewise.
21815         * sunrpc/openchild.c: Likewise.
21816         * sunrpc/pm_getmaps.c: Likewise.
21817         * sunrpc/pm_getport.c: Likewise.
21818         * sunrpc/pmap_clnt.c: Likewise.
21819         * sunrpc/pmap_prot.c: Likewise.
21820         * sunrpc/pmap_prot2.c: Likewise.
21821         * sunrpc/pmap_rmt.c: Likewise.
21822         * sunrpc/rpc/auth.h: Likewise.
21823         * sunrpc/rpc/auth_unix.h: Likewise.
21824         * sunrpc/rpc/clnt.h: Likewise.
21825         * sunrpc/rpc/des_crypt.h: Likewise.
21826         * sunrpc/rpc/key_prot.h: Likewise.
21827         * sunrpc/rpc/netdb.h: Likewise.
21828         * sunrpc/rpc/pmap_clnt.h: Likewise.
21829         * sunrpc/rpc/pmap_prot.h: Likewise.
21830         * sunrpc/rpc/pmap_rmt.h: Likewise.
21831         * sunrpc/rpc/rpc.h: Likewise.
21832         * sunrpc/rpc/rpc_des.h: Likewise.
21833         * sunrpc/rpc/rpc_msg.h: Likewise.
21834         * sunrpc/rpc/svc.h: Likewise.
21835         * sunrpc/rpc/svc_auth.h: Likewise.
21836         * sunrpc/rpc/types.h: Likewise.
21837         * sunrpc/rpc/xdr.h: Likewise.
21838         * sunrpc/rpc_clntout.c: Likewise.
21839         * sunrpc/rpc_cmsg.c: Likewise.
21840         * sunrpc/rpc_common.c: Likewise.
21841         * sunrpc/rpc_cout.c: Likewise.
21842         * sunrpc/rpc_dtable.c: Likewise.
21843         * sunrpc/rpc_hout.c: Likewise.
21844         * sunrpc/rpc_main.c: Likewise.
21845         * sunrpc/rpc_parse.c: Likewise.
21846         * sunrpc/rpc_parse.h: Likewise.
21847         * sunrpc/rpc_prot.c: Likewise.
21848         * sunrpc/rpc_sample.c: Likewise.
21849         * sunrpc/rpc_scan.c: Likewise.
21850         * sunrpc/rpc_scan.h: Likewise.
21851         * sunrpc/rpc_svcout.c: Likewise.
21852         * sunrpc/rpc_tblout.c: Likewise.
21853         * sunrpc/rpc_util.c: Likewise.
21854         * sunrpc/rpc_util.h: Likewise.
21855         * sunrpc/rpcinfo.c: Likewise.
21856         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21857         * sunrpc/rpcsvc/key_prot.x: Likewise.
21858         * sunrpc/rpcsvc/klm_prot.x: Likewise.
21859         * sunrpc/rpcsvc/mount.x: Likewise.
21860         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21861         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21862         * sunrpc/rpcsvc/rex.x: Likewise.
21863         * sunrpc/rpcsvc/rstat.x: Likewise.
21864         * sunrpc/rpcsvc/rusers.x: Likewise.
21865         * sunrpc/rpcsvc/sm_inter.x: Likewise.
21866         * sunrpc/rpcsvc/spray.x: Likewise.
21867         * sunrpc/rpcsvc/yppasswd.x: Likewise.
21868         * sunrpc/rtime.c: Likewise.
21869         * sunrpc/svc.c: Likewise.
21870         * sunrpc/svc_auth.c: Likewise.
21871         * sunrpc/svc_authux.c: Likewise.
21872         * sunrpc/svc_raw.c: Likewise.
21873         * sunrpc/svc_run.c: Likewise.
21874         * sunrpc/svc_simple.c: Likewise.
21875         * sunrpc/svc_tcp.c: Likewise.
21876         * sunrpc/svc_udp.c: Likewise.
21877         * sunrpc/svc_unix.c: Likewise.
21878         * sunrpc/svcauth_des.c: Likewise.
21879         * sunrpc/xcrypt.c: Likewise.
21880         * sunrpc/xdr.c: Likewise.
21881         * sunrpc/xdr_array.c: Likewise.
21882         * sunrpc/xdr_float.c: Likewise.
21883         * sunrpc/xdr_mem.c: Likewise.
21884         * sunrpc/xdr_rec.c: Likewise.
21885         * sunrpc/xdr_ref.c: Likewise.
21886         * sunrpc/xdr_sizeof.c: Likewise.
21887         * sunrpc/xdr_stdio.c: Likewise.
21889         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21890         handling.
21892 2010-08-19  Andreas Schwab  <schwab@redhat.com>
21894         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21896 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
21898         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21899         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21900         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21901         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21902         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21903         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21904         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21905         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21906         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21907         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21908         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21909         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21910         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21911         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21913 2010-07-26  Anton Blanchard  <anton@samba.org>
21915         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21916         * malloc/arena.c (heap_trim): Likewise.
21918 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
21920         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21921         here.  Not...
21922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21923         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21925 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21927         * sysdeps/i386/elf/Makefile: New file.
21929 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21931         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21932         from fanotify_init.
21933         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21934         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21936 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
21938         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21939         of strncasecmp_l.
21940         * sysdeps/multiarch/strcmp.S: Likewise.
21942 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
21944         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21945         strncase_l-nonascii.
21946         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21947         Add strncase_l-ssse3.
21948         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21949         * sysdeps/x86_64/strcmp.S: Likewise.
21950         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21951         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21952         * sysdeps/x86_64/strncase.S: New file.
21953         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21954         * sysdeps/x86_64/strncase_l.S: New file.
21955         * string/Makefile (strop-tests): Add strncasecmp.
21956         * string/test-strncasecmp.c: New file.
21958         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21959         warning.
21961         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21962         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21964 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21966         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21968 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
21970         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21971         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21972         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21974 2010-05-01  Alan Modra  <amodra@gmail.com>
21976         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21977         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21978         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21979         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21980         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21981         tidying.  Don't tail-call __sigjmp_save for static lib.
21982         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21983         save location.
21984         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21985         (CALL_MCOUNT): Add eh info, and nop after bl.
21986         (TAIL_CALL_SYSCALL_ERROR): New macro.
21987         (PSEUDO_RET): Use it.
21988         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21989         Correct save location of integer regs and cr.
21990         (_dl_profile_resolve): Correct cr save location.  Delete nops
21991         after bl when SHARED.  Reduce cfi size a little by better
21992         placement of cfi directives.
21993         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21994         make a stack frame.  Instead use parm save area as a temp.
21995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21996         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
21997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21998         Don't make a stack frame for parent, use parm save area.
21999         Increase child stack frame to 112 bytes.  Don't save unused reg,
22000         and adjust reg usage.  Set up cfi on error recovery and
22001         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22003         (__makecontext): Add dummy nop after jump to exit.
22004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22005         Use correct parm save area and cr save, reduce stack frame.
22006         Correct cfi for possible PSEUDO_RET frame setup.
22007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22008         Branch to local label emitted by PSEUDO_RET rather than
22009         __syscall_error.
22011 2010-08-12  Andreas Schwab  <schwab@redhat.com>
22013         [BZ #11904]
22014         * locale/programs/locale.c (print_assignment): New function.
22015         (show_locale_vars): Use it.
22017 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
22019         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22020         field.
22021         (struct statfs64): Likewise.
22022         (_STATFS_F_FLAGS): Define.
22023         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22024         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22025         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22026         (ST_VALID): Define locally.
22027         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22028         __statvfs_getflags, use the provided value.
22029         * sysdeps/unix/sysv/linux/kernel-features.h: Define
22030         __ASSUME_STATFS_F_FLAGS.
22032         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22034         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22035         Add sys/fanotify.h.
22036         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22037         fanotify_mask for GLIBC_2.13.
22038         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22039         fanotify_init and fanotify_mark.
22040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22041         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22043         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22044         Add prlimit.
22045         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22046         prlimit64 for GLIBC_2.13.
22047         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22048         prlimit64.
22049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22050         syscall.
22051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22052         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22053         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22055         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
22056         add prlimit alias.
22057         * sysdeps/unix/sysv/linux/prlimit.c: New file.
22059         [BZ #11903]
22060         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22061         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22063         * nss/Makefile: Add rules to build and run tst-nss-test1.
22064         * shlib-versions: Add entry for libnss_test1.
22065         * nss/nss_test1.c: New file.
22066         * nss/tst-nss-test1.c: New file.
22068         * nss/nsswitch.c (__nss_database_custom): Define new variable.
22069         (__nss_configure_lookup): Set appropriate entry in
22070         __nss_configure_lookup to true.
22071         * nss/nsswitch.h: Define enum with indeces of databases in
22072         databases and __nss_database_custom arrays.  Declare
22073         __nss_database_custom.
22074         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22075         to avoid using nscd when custom rules are installed.
22076         * nss/getXXbyYY_r.c: Likewise.
22077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22079         * nss/nss_files/files-parse.c: Whitespace fixes.
22081 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
22083         [BZ #11883]
22084         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22085         * posix/fnmatch_loop.c: Likewise.
22087 2010-07-17  Andi Kleen  <ak@linux.intel.com>
22089         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22090         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22091         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22092         * Versions.def [GLIBC_2.13]: Add.
22094 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
22096         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22097         Also fail if tpwd after pwuid call is NULL.
22099 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22101         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22102         when converting to ms.
22104 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22106         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22107         EOPNOTSUPP errors with ENOTTY.
22108         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22109         EOPNOTSUPP errors with ENOTTY.
22111 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
22113         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22114         Add strcasecmp_l-ssse3.
22115         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22116         strcasecmp.
22117         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22118         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22119         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22121 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
22123         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22125         * string/Makefile (strop-tests): Add strcasecmp.
22126         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22127         strcasecmp_l-nonascii.
22128         (gen-as-const-headers): Add locale-defines.sym.
22129         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22130         * sysdeps/x86_64/strcasecmp.S: New file.
22131         * sysdeps/x86_64/strcasecmp_l.S: New file.
22132         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22133         * sysdeps/x86_64/locale-defines.sym: New file.
22134         * string/test-strcasecmp.c: New file.
22136         * string/test-strcasestr.c: Test both ends of the range of characters.
22137         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22139 2010-07-29  Roland McGrath  <roland@redhat.com>
22141         [BZ #11856]
22142         * manual/locale.texi (Yes-or-No Questions): Fix example code.
22144 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
22146         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22147         for ld.so.
22149 2010-07-27  Andreas Schwab  <schwab@redhat.com>
22151         * manual/memory.texi (Malloc Tunable Parameters): Document
22152         M_PERTURB.
22154 2010-07-26  Roland McGrath  <roland@redhat.com>
22156         [BZ #11840]
22157         * configure.in (-fgnu89-inline check): Set and substitute
22158         gnu89_inline, not libc_cv_gnu89_inline.
22159         * configure: Regenerated.
22160         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22162 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
22164         * string/test-strnlen.c: New file.
22165         * string/Makefile (strop-tests): Add strnlen.
22166         * string/tester.c (test_strnlen): Add a few more test cases.
22167         * string/tst-strlen.c: Better error reporting.
22169         * sysdeps/x86_64/strnlen.S: New file.
22171 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
22173         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22174         lower-latency instructions.
22176 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
22178         * string/test-strcasestr.c: New file.
22179         * string/test-strstr.c: New file.
22180         * string/Makefile (strop-tests): Add strstr and strcasestr.
22181         * string/str-two-way.h: Don't undefine MAX.
22182         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22184 2010-07-21  Andreas Schwab  <schwab@redhat.com>
22186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22187         strcasestr-nonascii.
22188         (CFLAGS-strcasestr-nonascii.c): Define.
22189         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22191         Remove unused attribute.
22193 2010-07-20  Roland McGrath  <roland@redhat.com>
22195         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22196         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
22197         ld.so.cache was broken.  With it, there is no way to disable dsocaps
22198         like LD_HWCAP_MASK can disable hwcaps.
22200 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22202         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22204 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
22206         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22207         call in strcasestr.
22208         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22209         __strcasestr_sse42_nonascii.
22210         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22211         strcasestr-nonascii.c.
22212         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22214 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
22216         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22217         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22218         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22219         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22221 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
22223         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22224         fcntl.
22226 2010-07-06  Andreas Schwab  <schwab@redhat.com>
22228         [BZ #11577]
22229         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22230         dl_signal_cerror.
22232 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
22234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22235         _PC_PIPE_BUF using F_GETPIPE_SZ.
22237 2010-07-05  Roland McGrath  <roland@redhat.com>
22239         * manual/arith.texi (Rounding Functions): Fix rint description
22240         implicit in round description.
22242 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
22244         * elf/Makefile: Fix linking for a few tests to make recent linker
22245         happy.
22247 2010-06-30  Andreas Schwab  <schwab@redhat.com>
22249         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22250         $(common-objpfx)libc_nonshared.a.
22252 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
22254         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22255         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22256         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22257         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22258         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22259         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22260         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22261         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22276         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22277         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22278         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22279         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22280         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22281         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22282         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22283         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22284         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22285         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22286         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22287         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22303 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22305         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22306         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
22307         * string/memmove.c (memmove): Renamed to ...
22308         (MEMMOVE): ...this.  Default to memmove.
22309         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22310         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22311         (END_CHK): Define.
22312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22313         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22314         mempcpy-ssse3-back memmove-ssse3-back.
22315         * sysdeps/x86_64/multiarch/bcopy.S: New file .
22316         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22317         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22318         * sysdeps/x86_64/multiarch/memcpy.S: New file.
22319         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22320         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22321         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22322         * sysdeps/x86_64/multiarch/memmove.c: New file.
22323         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22324         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22325         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22326         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22327         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22328         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22329         Define.
22330         (index_Fast_Copy_Backward): Define.
22331         (HAS_ARCH_FEATURE): Define.
22332         (HAS_FAST_REP_STRING): Define.
22333         (HAS_FAST_COPY_BACKWARD): Define.
22335 2010-06-21  Andreas Schwab  <schwab@redhat.com>
22337         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22338         Restore proper fallback handling.
22340 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
22342         [BZ #11701]
22343         * posix/group_member.c (__group_member): Correct checking loop.
22345         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22346         OOM in getpwuid_r correctly.  Return error number when the caller
22347         should return, otherwise -1.
22348         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22349         call returning > 0 value.
22350         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22352 2010-06-07  Andreas Schwab  <schwab@redhat.com>
22354         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22355         libc_nonshared.a from targets in modules-names.
22357 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
22359         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22360         requires it.
22362 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
22364         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22365         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22369 2010-06-02  Andreas Schwab  <schwab@redhat.com>
22371         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22373 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
22375         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22376         and F_GETPIPE_SZ.
22377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22378         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22381         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22384 2010-06-14  Roland McGrath  <roland@redhat.com>
22386         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22388 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
22390         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22391         __REDIRECT followed by __THROW.
22392         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22393         * posix/getopt.h (getopt): Likewise.
22395 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22397         * hurd/lookup-at.c (__file_name_lookup_at): Accept
22398         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
22399         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22400         in AT_FLAGS.
22401         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22402         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22404 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
22406         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22408 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
22410         [BZ #11640]
22411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22412         Properly check family and model.
22414 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
22416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22418 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
22420         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22422 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
22424         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22425         symbol reference.
22427 2010-05-19  Andreas Schwab  <schwab@redhat.com>
22429         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22430         symbol reference.
22432 2010-05-21  Andreas Schwab  <schwab@redhat.com>
22434         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22435         and internal_recvmmsg.
22436         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22437         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22438         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22439         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22441         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22442         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22443         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22445 2010-05-20  Andreas Schwab  <schwab@redhat.com>
22447         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22449 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
22451         POWER7 optimizations.
22452         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22453         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22455 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
22457         * version.h: Update for 2.13 development version.
22459 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
22461         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22462         exceptions.  Return 0.
22464 2010-05-07  Roland McGrath  <roland@redhat.com>
22466         * elf/ldconfig.c (main): Add a const.
22468 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
22470         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22471         (args_options): Add no-idn option.
22472         (ahosts_keys_int): Add idn_flags to ai_flags.
22473         (parse_option): Handle 'i' option to clear idn_flags.
22475         * malloc/malloc.c (_int_free): Possible race in the most recently
22476         added check.  Only act on the data if no current modification
22477         happened.
22479 See ChangeLog.17 for earlier changes.