Note in a comment that references to C++ bits are obsolete
[glibc.git] / ChangeLog
blob6d522d60db0008208df57f7173a5f99f8608955e
1 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * libio/libioP.h: Add comment note that the references to C++
4         bits are now obsolete.
6 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8         * math/libm-test.inc (check_complex): Use asprintf.
10 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12         * debug/pcprofiledump.c (print_version): Update copyright year.
13         * malloc/memusagestat.c (print_version): Likewise.
15 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17         [BZ #14831]
18         * elf/Makefile (tests): Add tst-audit8.
19         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20         ($(objpfx)tst-audit8.out): New target.
21         (tst-audit8-ENV): New variable.
22         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23         audit if l_reloc_result is NULL.
24         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26         * elf/tst-audit8.c: New file.
28 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31         * misc/Makefile (CFLAGS-select.c): Define.
32         * posix/Makefile (CFLAGS-pause.c): Define.
34 2012-11-13  David S. Miller  <davem@davemloft.net>
36         * crypt/Makefile: Move test targets after toplevel Rules
37         inclusion.  Grab any necessary sysdep routines when linking.
38         * crypt/md5.c (md5_process_block): Remove define, we will always
39         name it __md5_process_block.
40         (md5_finish_ctx): Update md5_process_block call.
41         (md5_stream): Likewise.
42         (md5_process_bytes): Likewise.
43         (md5_process_block): Rename to __md5_process_block and move to ...
44         * crypt/md5-block.c: ... here.
45         * crypt/sha256.c (sha256_process_block): Move to ...
46         * crypt/sha256-block.c: ... here.
47         * crypt/sha512.c (sha512_process_block): Move to ...
48         * crypt/sha512-block.c: ... here.
49         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50         path.
51         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52         * sysdeps/sparc/sparc64/multiarch/Makefile
53         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54         crypt subdir.
55         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57         multiarch changes.
58         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
64         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67         file.
68         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70         file.
71         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
75         * timezone/tzselect.ksh: Update from tzcode git revision
76         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
77         * timezone/zdump.c: Likewise.
78         * timezone/zic.c: Likewise.
79         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
80         in TZVERSION setting, not $(PKGVERSION).
81         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
82         REPORT_BUGS_TO settings.
84         [BZ #14838]
85         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
86         macro.
88 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
90         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
91         detection to immediately after _FP_ROUND().
92         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
93         bits are 0.
95 2012-11-11  David S. Miller  <davem@davemloft.net>
97         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
98         inttypes.h
99         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
100         __close rather than their public counterparts.
102 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
104         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
105         file.
106         [UNIX98] (sem_timedwait): Do not expect.
107         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
108         [XPG4 || UNIX98] (sockatmark): Do not expect.
109         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
110         (clock_getcpuclockid): Do not expect.
111         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
112         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
113         Do not expect.
114         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
115         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
116         [UNIX98] (vwscanf): Likewise.
117         [UNIX98] (vswscanf): Likewise.
119 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
121         * timezone/version.h: Remove file.
122         * timezone/README: Do not refer to version.h.
123         * timezone/Makefile ($(objpfx)zic.o): New dependency on
124         $(objpfx)version.h.
125         ($(objpfx)zdump.o): Likewise.
126         ($(objpfx)version.h): New target.
128         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
129         2012i.
130         * timezone/README: Don't mention modification to tzselect.ksh.
131         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
132         work on unmodified tzselect.ksh.  Substitute version numbers in
133         tzselect.ksh.
135         * Makefile (format-me): Remove.
136         (INSTALL): Adjust indentation.  Use commands directly instead of
137         using $(format-me).
139         * aclocal.m4 (ACX_PKGVERSION): New macro.
140         (ACX_BUGURL): Likewise.
141         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
142         (PKGVERSION): New AC_DEFINE_UNQUOTED.
143         (REPORT_BUGS_TO): Likewise.
144         * configure: Regenerated.
145         * config.h.in (PKGVERSION): New macro.
146         (REPORT_BUGS_TO): Likewise.
147         * config.make.in (PKGVERSION): New variable.
148         (PKGVERSION_TEXI): Likewise.
149         (REPORT_BUGS_TO): Likewise.
150         (REPORT_BUGS_TEXI): Likewise.
151         * Makefile (format-me): Use -I$(common-objpfx)manual.
152         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
153         ($(common-objpfx)manual/%): New target.
154         (manual/%): Remove target.
155         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
156         (print_version): Use PKGVERSION.
157         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
158         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
159         and REPORT_BUGS_TO.
160         ($(objpfx)xtrace): Likewise.
161         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
162         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
163         (print_version): Use PKGVERSION.
164         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
165         (do_version): Use PKGVERSION.
166         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
167         REPORT_BUGS_TO.
168         (common-ldd-rewrite): Likewise.
169         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
170         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
171         (print_version): Use PKGVERSION.
172         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
173         * elf/pldd.c (argp_program_bug_address): Remove variable.
174         (more_help): New function.
175         (argp): Use more_help.
176         (print_version): Use PKGVERSION.
177         * elf/sln.c (main): Use PKGVERSION.
178         (usage): Use REPORT_BUGS_TO.
179         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
180         (top level): Use PKGVERSION.
181         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
182         (print_version): Use PKGVERSION.
183         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
184         (print_version): Use PKGVERSION.
185         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
186         (print_version): Use PKGVERSION.
187         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
188         (print_version): Use PKGVERSION.
189         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
190         (print_version): Use PKGVERSION.
191         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
192         (print_version): Use PKGVERSION.
193         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
194         and BUGURL.
195         ($(objpfx)memusage): Likewise.
196         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
197         (do_version): Use PKGVERSION.
198         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
199         (print_version): Use PKGVERSION.
200         * malloc/mtrace.pl ($PACKAGE): Remove variable.
201         ($PKGVERSION): New variable.
202         ($REPORT_BUGS_TO): Likewise.
203         (usage): Use $REPORT_BUGS_TO.
204         (top level): Use $PKGVERSION.
205         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
206         ($(objpfx)pkgvers.texi): New rule.
207         ($(objpfx)stamp-pkgvers): Likewise.
208         * manual/install.texi: Include pkgvers.texi.
209         (--with-pkgversion): Document new configure option.
210         (--with-bugurl): Likewise.
211         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
212         than necessarily for this particular distribution.  Use
213         REPORT_BUGS_TO for where to report bugs.
214         * INSTALL: Regenerated.
215         * manual/libc.texinfo: Include pkgvers.texi.
216         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
217         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
218         (print_version): Use PKGVERSION.
219         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
220         (print_version): Use PKGVERSION.
221         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
222         (print_version): Use PKGVERSION.
223         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
224         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
225         macro.
226         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
227         (print_version): Use PKGVERSION.
228         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
229         (print_version): Use PKGVERSION.
230         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
231         and PKGVERSION.
233         * timezone/checktab.awk: Update from tzcode 2012i.
234         * timezone/ialloc.c: Likewise.
235         * timezone/private.h: Likewise.
236         * timezone/scheck.c: Likewise.
237         * timezone/tzfile.h: Likewise.
238         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
239         (TZVERSION): Hardcode tzcode version number.
240         * timezone/zdump.c: Update from tzcode 2012i.
241         * timezone/zic.c: Likewise.
242         * timezone/version.h: New file.
243         * timezone/README: Describe version.h.  Update upstream location.
245         [BZ #14824]
246         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
247         (mktemp): Enable declaration.
248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
252         Likewise.
253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
254         Likewise.
255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
256         Likewise.
257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
258         Likewise.
259         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
260         Likewise.
261         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
262         Likewise.
264         [BZ #14821]
265         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
266         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
267         for copies of such integer values.
268         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
269         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
271 2012-11-09  Andreas Jaeger  <aj@suse.de>
273         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
274         definitions and declarations that are provided by
275         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
277 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
279         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
280         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
281         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
282         definition.
284 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
286         * elf/elf.h: Update comment before AArch64 relocations.
288 2012-11-07  David S. Miller  <davem@davemloft.net>
290         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
291         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
292         (__start_context): Declare.
293         (__makecontext_ret): Delete.
294         (__makecontext): Hook up __start_context instead of
295         __makecontext_ret.
296         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
297         (sysdep_routines): Add __start_context when in stdlib.
299 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
302         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
303         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
304         hardcoded "nm".
305         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
306         (READELF): New variable.  Use it instead of hardcoded "readelf".
308 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
310         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
311         * sysdeps/x86/Makefile: Here.
312         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
313         * sysdeps/x86/tst-xmmymm.sh: This.
315 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
317         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
318         expectations.
319         [UNIX98] (pthread_barrier_t): Do not expect.
320         [UNIX98] (pthread_barrierattr_t): Likewise.
321         [UNIX98] (pthread_spinlock_t): Likewise.
322         [UNIX98] (pthread_barrier_destroy): Likewise.
323         [UNIX98] (pthread_barrier_init): Likewise.
324         [UNIX98] (pthread_barrier_wait): Likewise.
325         [UNIX98] (pthread_barrierattr_destroy): Likewise.
326         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
327         [UNIX98] (pthread_barrierattr_init): Likewise.
328         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
329         [UNIX98] (pthread_getcpuclockid): Likewise.
330         [UNIX98] (pthread_mutex_timedlock): Likewise.
331         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
332         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
333         [UNIX98] (pthread_sigmask): Likewise.
334         [UNIX98] (pthread_spin_destroy): Likewise.
335         [UNIX98] (pthread_spin_init): Likewise.
336         [UNIX98] (pthread_spin_lock): Likewise.
337         [UNIX98] (pthread_spin_trylock): Likewise.
338         [UNIX98] (pthread_spin_unlock): Likewise.
339         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
340         Do not expect.
341         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
342         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
343         [XPG3 || XPG4] (pthread_cond_t): Likewise.
344         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
345         [XPG3 || XPG4] (pthread_key_t): Likewise.
346         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
347         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
348         [XPG3 || XPG4] (pthread_once_t): Likewise.
349         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
350         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
351         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
352         [XPG3 || XPG4] (pthread_t): Likewise.
354         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
355         not expect.
356         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
358         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
359         Change function return type to int.
361         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
362         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
363         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
364         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
365         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
366         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
367         [!POSIX] (posix_madvise): Likewise.
368         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
369         && !UNIX98].
370         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
371         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
372         (mode_t): Likewise.
373         (posix_mem_offset): Likewise.
374         (posix_typed_mem_get_info): Likewise.
375         (posix_typed_mem_open): Likewise.
377         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
378         Change condition to [XOPEN2K8].
380         * conform/conformtest.pl: Preprocess allow-header data with -x c
381         instead of from stdin.
382         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
383         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
384         [C99-based standards] (cerfc): Likewise.
385         [C99-based standards] (cexp2): Likewise.
386         [C99-based standards] (cexpm1): Likewise.
387         [C99-based standards] (clog10): Likewise.
388         [C99-based standards] (clog1p): Likewise.
389         [C99-based standards] (clog2): Likewise.
390         [C99-based standards] (clgamma): Likewise.
391         [C99-based standards] (ctgamma): Likewise.
392         [C99-based standards] (cerff): Likewise.
393         [C99-based standards] (cerfcf): Likewise.
394         [C99-based standards] (cexp2f): Likewise.
395         [C99-based standards] (cexpm1f): Likewise.
396         [C99-based standards] (clog10f): Likewise.
397         [C99-based standards] (clog1pf): Likewise.
398         [C99-based standards] (clog2f): Likewise.
399         [C99-based standards] (clgammaf): Likewise.
400         [C99-based standards] (ctgammaf): Likewise.
401         [C99-based standards] (cerfl): Likewise.
402         [C99-based standards] (cerfcl): Likewise.
403         [C99-based standards] (cexp2l): Likewise.
404         [C99-based standards] (cexpm1l): Likewise.
405         [C99-based standards] (clog10l): Likewise.
406         [C99-based standards] (clog1pl): Likewise.
407         [C99-based standards] (clog2l): Likewise.
408         [C99-based standards] (clgammal): Likewise.
409         [C99-based standards] (ctgammal): Likewise.
410         * conform/data/inttypes.h-data [C99-based standards]: Include
411         stdint.h-data.  Remove all expectations for stdint.h contents.
412         [C99-based standards] (PRI*): Do not allow.
413         [C99-based standards] (SCN*): Likewise.
414         [C99-based standards] (*_t): Likewise.
415         [C99-based-standards] (PRId8): Expect macro.
416         [C99-based-standards] (PRIi8): Likewise.
417         [C99-based-standards] (PRIo8): Likewise.
418         [C99-based-standards] (PRIu8): Likewise.
419         [C99-based-standards] (PRIx8): Likewise.
420         [C99-based-standards] (PRIX8): Likewise.
421         [C99-based-standards] (SCNd8): Likewise.
422         [C99-based-standards] (SCNi8): Likewise.
423         [C99-based-standards] (SCNo8): Likewise.
424         [C99-based-standards] (SCNu8): Likewise.
425         [C99-based-standards] (SCNx8): Likewise.
426         [C99-based-standards] (PRIdLEAST8): Likewise.
427         [C99-based-standards] (PRIiLEAST8): Likewise.
428         [C99-based-standards] (PRIoLEAST8): Likewise.
429         [C99-based-standards] (PRIuLEAST8): Likewise.
430         [C99-based-standards] (PRIxLEAST8): Likewise.
431         [C99-based-standards] (PRIXLEAST8): Likewise.
432         [C99-based-standards] (SCNdLEAST8): Likewise.
433         [C99-based-standards] (SCNiLEAST8): Likewise.
434         [C99-based-standards] (SCNoLEAST8): Likewise.
435         [C99-based-standards] (SCNuLEAST8): Likewise.
436         [C99-based-standards] (SCNxLEAST8): Likewise.
437         [C99-based-standards] (PRIdFAST8): Likewise.
438         [C99-based-standards] (PRIiFAST8): Likewise.
439         [C99-based-standards] (PRIoFAST8): Likewise.
440         [C99-based-standards] (PRIuFAST8): Likewise.
441         [C99-based-standards] (PRIxFAST8): Likewise.
442         [C99-based-standards] (PRIXFAST8): Likewise.
443         [C99-based-standards] (SCNdFAST8): Likewise.
444         [C99-based-standards] (SCNiFAST8): Likewise.
445         [C99-based-standards] (SCNoFAST8): Likewise.
446         [C99-based-standards] (SCNuFAST8): Likewise.
447         [C99-based-standards] (SCNxFAST8): Likewise.
448         [C99-based-standards] (PRId16): Likewise.
449         [C99-based-standards] (PRIi16): Likewise.
450         [C99-based-standards] (PRIo16): Likewise.
451         [C99-based-standards] (PRIu16): Likewise.
452         [C99-based-standards] (PRIx16): Likewise.
453         [C99-based-standards] (PRIX16): Likewise.
454         [C99-based-standards] (SCNd16): Likewise.
455         [C99-based-standards] (SCNi16): Likewise.
456         [C99-based-standards] (SCNo16): Likewise.
457         [C99-based-standards] (SCNu16): Likewise.
458         [C99-based-standards] (SCNx16): Likewise.
459         [C99-based-standards] (PRIdLEAST16): Likewise.
460         [C99-based-standards] (PRIiLEAST16): Likewise.
461         [C99-based-standards] (PRIoLEAST16): Likewise.
462         [C99-based-standards] (PRIuLEAST16): Likewise.
463         [C99-based-standards] (PRIxLEAST16): Likewise.
464         [C99-based-standards] (PRIXLEAST16): Likewise.
465         [C99-based-standards] (SCNdLEAST16): Likewise.
466         [C99-based-standards] (SCNiLEAST16): Likewise.
467         [C99-based-standards] (SCNoLEAST16): Likewise.
468         [C99-based-standards] (SCNuLEAST16): Likewise.
469         [C99-based-standards] (SCNxLEAST16): Likewise.
470         [C99-based-standards] (PRIdFAST16): Likewise.
471         [C99-based-standards] (PRIiFAST16): Likewise.
472         [C99-based-standards] (PRIoFAST16): Likewise.
473         [C99-based-standards] (PRIuFAST16): Likewise.
474         [C99-based-standards] (PRIxFAST16): Likewise.
475         [C99-based-standards] (PRIXFAST16): Likewise.
476         [C99-based-standards] (SCNdFAST16): Likewise.
477         [C99-based-standards] (SCNiFAST16): Likewise.
478         [C99-based-standards] (SCNoFAST16): Likewise.
479         [C99-based-standards] (SCNuFAST16): Likewise.
480         [C99-based-standards] (SCNxFAST16): Likewise.
481         [C99-based-standards] (PRId32): Likewise.
482         [C99-based-standards] (PRIi32): Likewise.
483         [C99-based-standards] (PRIo32): Likewise.
484         [C99-based-standards] (PRIu32): Likewise.
485         [C99-based-standards] (PRIx32): Likewise.
486         [C99-based-standards] (PRIX32): Likewise.
487         [C99-based-standards] (SCNd32): Likewise.
488         [C99-based-standards] (SCNi32): Likewise.
489         [C99-based-standards] (SCNo32): Likewise.
490         [C99-based-standards] (SCNu32): Likewise.
491         [C99-based-standards] (SCNx32): Likewise.
492         [C99-based-standards] (PRIdLEAST32): Likewise.
493         [C99-based-standards] (PRIiLEAST32): Likewise.
494         [C99-based-standards] (PRIoLEAST32): Likewise.
495         [C99-based-standards] (PRIuLEAST32): Likewise.
496         [C99-based-standards] (PRIxLEAST32): Likewise.
497         [C99-based-standards] (PRIXLEAST32): Likewise.
498         [C99-based-standards] (SCNdLEAST32): Likewise.
499         [C99-based-standards] (SCNiLEAST32): Likewise.
500         [C99-based-standards] (SCNoLEAST32): Likewise.
501         [C99-based-standards] (SCNuLEAST32): Likewise.
502         [C99-based-standards] (SCNxLEAST32): Likewise.
503         [C99-based-standards] (PRIdFAST32): Likewise.
504         [C99-based-standards] (PRIiFAST32): Likewise.
505         [C99-based-standards] (PRIoFAST32): Likewise.
506         [C99-based-standards] (PRIuFAST32): Likewise.
507         [C99-based-standards] (PRIxFAST32): Likewise.
508         [C99-based-standards] (PRIXFAST32): Likewise.
509         [C99-based-standards] (SCNdFAST32): Likewise.
510         [C99-based-standards] (SCNiFAST32): Likewise.
511         [C99-based-standards] (SCNoFAST32): Likewise.
512         [C99-based-standards] (SCNuFAST32): Likewise.
513         [C99-based-standards] (SCNxFAST32): Likewise.
514         [C99-based-standards] (PRId64): Likewise.
515         [C99-based-standards] (PRIi64): Likewise.
516         [C99-based-standards] (PRIo64): Likewise.
517         [C99-based-standards] (PRIu64): Likewise.
518         [C99-based-standards] (PRIx64): Likewise.
519         [C99-based-standards] (PRIX64): Likewise.
520         [C99-based-standards] (SCNd64): Likewise.
521         [C99-based-standards] (SCNi64): Likewise.
522         [C99-based-standards] (SCNo64): Likewise.
523         [C99-based-standards] (SCNu64): Likewise.
524         [C99-based-standards] (SCNx64): Likewise.
525         [C99-based-standards] (PRIdLEAST64): Likewise.
526         [C99-based-standards] (PRIiLEAST64): Likewise.
527         [C99-based-standards] (PRIoLEAST64): Likewise.
528         [C99-based-standards] (PRIuLEAST64): Likewise.
529         [C99-based-standards] (PRIxLEAST64): Likewise.
530         [C99-based-standards] (PRIXLEAST64): Likewise.
531         [C99-based-standards] (SCNdLEAST64): Likewise.
532         [C99-based-standards] (SCNiLEAST64): Likewise.
533         [C99-based-standards] (SCNoLEAST64): Likewise.
534         [C99-based-standards] (SCNuLEAST64): Likewise.
535         [C99-based-standards] (SCNxLEAST64): Likewise.
536         [C99-based-standards] (PRIdFAST64): Likewise.
537         [C99-based-standards] (PRIiFAST64): Likewise.
538         [C99-based-standards] (PRIoFAST64): Likewise.
539         [C99-based-standards] (PRIuFAST64): Likewise.
540         [C99-based-standards] (PRIxFAST64): Likewise.
541         [C99-based-standards] (PRIXFAST64): Likewise.
542         [C99-based-standards] (SCNdFAST64): Likewise.
543         [C99-based-standards] (SCNiFAST64): Likewise.
544         [C99-based-standards] (SCNoFAST64): Likewise.
545         [C99-based-standards] (SCNuFAST64): Likewise.
546         [C99-based-standards] (SCNxFAST64): Likewise.
547         [C99-based-standards] (PRIdMAX): Likewise.
548         [C99-based-standards] (PRIiMAX): Likewise.
549         [C99-based-standards] (PRIoMAX): Likewise.
550         [C99-based-standards] (PRIuMAX): Likewise.
551         [C99-based-standards] (PRIxMAX): Likewise.
552         [C99-based-standards] (PRIXMAX): Likewise.
553         [C99-based-standards] (SCNdMAX): Likewise.
554         [C99-based-standards] (SCNiMAX): Likewise.
555         [C99-based-standards] (SCNoMAX): Likewise.
556         [C99-based-standards] (SCNuMAX): Likewise.
557         [C99-based-standards] (SCNxMAX): Likewise.
558         [C99-based-standards] (PRIdPTR): Likewise.
559         [C99-based-standards] (PRIiPTR): Likewise.
560         [C99-based-standards] (PRIoPTR): Likewise.
561         [C99-based-standards] (PRIuPTR): Likewise.
562         [C99-based-standards] (PRIxPTR): Likewise.
563         [C99-based-standards] (PRIXPTR): Likewise.
564         [C99-based-standards] (SCNdPTR): Likewise.
565         [C99-based-standards] (SCNiPTR): Likewise.
566         [C99-based-standards] (SCNoPTR): Likewise.
567         [C99-based-standards] (SCNuPTR): Likewise.
568         [C99-based-standards] (SCNxPTR): Likewise.
569         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
570         allow.
571         * conform/data/stdint.h-data: Update comments to clarify
572         requirements.
573         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
574         type.
575         [C99-based standards] (INT8_MAX): Likewise.
576         [C99-based standards] (INT16_MIN): Likewise.
577         [C99-based standards] (INT16_MAX): Likewise.
578         [C99-based standards] (INT32_MIN): Likewise.
579         [C99-based standards] (INT32_MAX): Likewise.
580         [C99-based standards] (INT64_MIN): Likewise.
581         [C99-based standards] (INT64_MAX): Likewise.
582         [C99-based standards] (UINT8_MAX): Likewise.
583         [C99-based standards] (UINT16_MAX): Likewise.
584         [C99-based standards] (UINT32_MAX): Likewise.
585         [C99-based standards] (UINT64_MAX): Likewise.
586         [C99-based standards] (INT_LEAST8_MIN): Likewise.
587         [C99-based standards] (INT_LEAST8_MAX): Likewise.
588         [C99-based standards] (INT_LEAST16_MIN): Likewise.
589         [C99-based standards] (INT_LEAST16_MAX): Likewise.
590         [C99-based standards] (INT_LEAST32_MIN): Likewise.
591         [C99-based standards] (INT_LEAST32_MAX): Likewise.
592         [C99-based standards] (INT_LEAST64_MIN): Likewise.
593         [C99-based standards] (INT_LEAST64_MAX): Likewise.
594         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
595         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
596         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
597         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
598         [C99-based standards] (INT_FAST8_MIN): Likewise.
599         [C99-based standards] (INT_FAST8_MAX): Likewise.
600         [C99-based standards] (INT_FAST16_MIN): Likewise.
601         [C99-based standards] (INT_FAST16_MAX): Likewise.
602         [C99-based standards] (INT_FAST32_MIN): Likewise.
603         [C99-based standards] (INT_FAST32_MAX): Likewise.
604         [C99-based standards] (INT_FAST64_MIN): Likewise.
605         [C99-based standards] (INT_FAST64_MAX): Likewise.
606         [C99-based standards] (UINT_FAST8_MAX): Likewise.
607         [C99-based standards] (UINT_FAST16_MAX): Likewise.
608         [C99-based standards] (UINT_FAST32_MAX): Likewise.
609         [C99-based standards] (UINT_FAST64_MAX): Likewise.
610         [C99-based standards] (INTPTR_MIN): Likewise.
611         [C99-based standards] (INTPTR_MAX): Likewise.
612         [C99-based standards] (UINTPTR_MAX): Likewise.
613         [C99-based standards] (INTMAX_MIN): Likewise.
614         [C99-based standards] (INTMAX_MAX): Likewise.
615         [C99-based standards] (UINTMAX_MAX): Likewise.
616         [C99-based standards] (PTRDIFF_MIN): Likewise.
617         [C99-based standards] (PTRDIFF_MAX): Likewise.
618         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
619         [C99-based standards] (SIZE_MAX): Likewise.
620         [C99-based standards] (WCHAR_MAX): Likewise.
621         [C99-based standards] (WINT_MAX): Likewise.
622         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
623         constraint on value.
624         [C99-based standards] (WCHAR_MIN): Likewise.
625         [C99-based standards] (WINT_MIN): Likewise.
626         [C99-based standards] (*_t): Allow.
627         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
628         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
629         Include math.h-data and complex.h-data.  Remove all expectations
630         of math.h and complex.h contents.
631         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
632         at end of line.
633         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
634         (struct tm): Expect tag.
635         [C99-based-standards] (wcstof): Expect function.
636         [C99-based-standards] (wcstold): Likewise.
637         [C99-based-standards] (wcstoll): Likewise.
638         [C99-based-standards] (wcstoull): Likewise.
639         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
640         macro-int-constant.  Specify type.
641         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
642         constraint on value.
643         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
644         Specify type.
645         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
646         Specify value.
647         [ISO C standards]: Do not allow headers.
648         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
649         wcs[abcdefghijklmnopqrstuvwxyz]*.
650         [ISO C standards] (*_t): Do not allow.
651         * conform/data/wctype.h-data [C99-based standards] (iswblank):
652         Expect function.
653         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
654         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
655         Specify type.
656         [ISO C standards]: Do not allow headers.
657         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
658         is[abcdefghijklmnopqrstuvwxyz]*.
659         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
660         to[abcdefghijklmnopqrstuvwxyz]*.
661         [ISO C standards] (*_t): Do not allow.
662         * conform/data/stdalign.h-data: New file.
663         * conform/data/stdbool.h-data: Likewise.
664         * conform/data/stdnoreturn.h-data: Likewise.
666 2012-11-07  Andreas Jaeger  <aj@suse.de>
668         [BZ #14809]
669         * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
670         (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
671         guards are changed.  Only define if not yet defined, #undef back
672         after including linux/sysctl.h if defined here.
674 2012-11-07  Roland McGrath  <roland@hack.frob.com>
676         [BZ #14815]
677         * manual/filesys.texi (Directory Entries): Typo fix.
678         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
680 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
682         * elf/elf.h (EM_AARCH64): New macro.
683         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
684         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
685         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
686         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
687         (R_AARCH64_TLSDESC): Likewise.
688         (NT_ARM_TLS): Likewise.
689         (NT_ARM_HW_BREAK): Likewise.
690         (NT_ARM_HW_WATCH): Likewise.
692 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #14811]
695         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
696         (__ieee754_powl): Saturate nonzero exponents with absolute value
697         below 0x1p-79 to +/- 0x1p-79.
698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
699         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
700         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
701         nonzero exponents with absolute value below 0x1p-32 to +/-
702         0x1p-32.
703         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
704         (__ieee754_powl): Saturate nonzero exponents with absolute value
705         below 0x1p-79 to +/- 0x1p-79.
706         * math/libm-test.inc (pow_test): Add more tests.
708 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
710         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
711         _dl_s390_cap_flags with kernel. Increase string length.
712         (_dl_s390_platforms): Add z196 and zEC12.
714 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
716         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
717         Change XOPEN21K to XOPEN2K.
719 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
721         * string/memmove.c: Use memcpy when possible.
723 2012-11-06  Andreas Jaeger  <aj@suse.de>
725         * po/eo.po: Update from translation team.
727 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
729         [BZ #14793]
730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
731         exponent and small x and y exponents, scale x or y up.  Increase
732         by 2 the exponent used in scaling up.
733         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
735         * math/libm-test.inc (fma_test): Add more tests.
736         (fma_test_towardzero): Likewise.
737         (fma_test_downward): Likewise.
738         (fma_test_upward): Likewise.
740 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
742         [BZ #14805]
743         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
744         fenv_t *.
746         [BZ #14801]
747         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
748         namespace for names of struct fields.
749         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
750         fenv_t fields.
751         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
752         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
754 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
756         [BZ #3665]
757         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
759 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
761         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
762         PTR_DEMANGLE.
764         [BZ #5246]
765         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
766         PTR_DEMANGLE.
768 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
770         [BZ #14797]
771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
772         definitely overflow as x * y not x * y + z.
773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
775         * math/libm-test.inc (fma_test): Add more tests.
776         (fma_test_towardzero): Likewise.
777         (fma_test_downward): Likewise.
778         (fma_test_upward): Likewise.
780 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
782         [BZ #157]
784         * include/stub-tag.h: Remove file.
785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
786         '#include' of it.
787         * manual/maint.texi (Porting): Don't reference it.
788         * Makerules ($(objpfx)stubs): Likewise.
789         * dirent/closedir.c: Don't include <stub-tag.h>.
790         * dirent/dirfd.c: Likewise.
791         * dirent/fdopendir.c: Likewise.
792         * dirent/getdents.c: Likewise.
793         * dirent/getdents64.c: Likewise.
794         * dirent/opendir.c: Likewise.
795         * dirent/readdir.c: Likewise.
796         * dirent/readdir64.c: Likewise.
797         * dirent/readdir64_r.c: Likewise.
798         * dirent/readdir_r.c: Likewise.
799         * dirent/rewinddir.c: Likewise.
800         * dirent/seekdir.c: Likewise.
801         * dirent/telldir.c: Likewise.
802         * gmon/profil.c: Likewise.
803         * grp/setgroups.c: Likewise.
804         * inet/if_index.c: Likewise.
805         * io/access.c: Likewise.
806         * io/chdir.c: Likewise.
807         * io/chmod.c: Likewise.
808         * io/chown.c: Likewise.
809         * io/close.c: Likewise.
810         * io/dup.c: Likewise.
811         * io/dup2.c: Likewise.
812         * io/dup3.c: Likewise.
813         * io/euidaccess.c: Likewise.
814         * io/faccessat.c: Likewise.
815         * io/fchdir.c: Likewise.
816         * io/fchmod.c: Likewise.
817         * io/fchmodat.c: Likewise.
818         * io/fchown.c: Likewise.
819         * io/fchownat.c: Likewise.
820         * io/fcntl.c: Likewise.
821         * io/flock.c: Likewise.
822         * io/fstatfs.c: Likewise.
823         * io/fstatfs64.c: Likewise.
824         * io/fstatvfs.c: Likewise.
825         * io/fstatvfs64.c: Likewise.
826         * io/futimens.c: Likewise.
827         * io/fxstat.c: Likewise.
828         * io/fxstat64.c: Likewise.
829         * io/fxstatat.c: Likewise.
830         * io/fxstatat64.c: Likewise.
831         * io/getcwd.c: Likewise.
832         * io/isatty.c: Likewise.
833         * io/lchmod.c: Likewise.
834         * io/lchown.c: Likewise.
835         * io/link.c: Likewise.
836         * io/linkat.c: Likewise.
837         * io/lseek.c: Likewise.
838         * io/lseek64.c: Likewise.
839         * io/lxstat64.c: Likewise.
840         * io/mkdir.c: Likewise.
841         * io/mkdirat.c: Likewise.
842         * io/mkfifo.c: Likewise.
843         * io/mkfifoat.c: Likewise.
844         * io/open.c: Likewise.
845         * io/open64.c: Likewise.
846         * io/openat.c: Likewise.
847         * io/openat64.c: Likewise.
848         * io/pipe.c: Likewise.
849         * io/pipe2.c: Likewise.
850         * io/poll.c: Likewise.
851         * io/posix_fadvise.c: Likewise.
852         * io/posix_fadvise64.c: Likewise.
853         * io/posix_fallocate.c: Likewise.
854         * io/posix_fallocate64.c: Likewise.
855         * io/read.c: Likewise.
856         * io/readlink.c: Likewise.
857         * io/readlinkat.c: Likewise.
858         * io/rmdir.c: Likewise.
859         * io/sendfile.c: Likewise.
860         * io/sendfile64.c: Likewise.
861         * io/statfs.c: Likewise.
862         * io/statfs64.c: Likewise.
863         * io/statvfs.c: Likewise.
864         * io/statvfs64.c: Likewise.
865         * io/symlink.c: Likewise.
866         * io/symlinkat.c: Likewise.
867         * io/ttyname.c: Likewise.
868         * io/ttyname_r.c: Likewise.
869         * io/umask.c: Likewise.
870         * io/unlink.c: Likewise.
871         * io/unlinkat.c: Likewise.
872         * io/utime.c: Likewise.
873         * io/utimensat.c: Likewise.
874         * io/write.c: Likewise.
875         * io/xmknod.c: Likewise.
876         * io/xmknodat.c: Likewise.
877         * io/xstat.c: Likewise.
878         * io/xstat64.c: Likewise.
879         * login/getpt.c: Likewise.
880         * login/grantpt.c: Likewise.
881         * login/unlockpt.c: Likewise.
882         * math/e_acoshl.c: Likewise.
883         * math/e_acosl.c: Likewise.
884         * math/e_asinl.c: Likewise.
885         * math/e_atan2l.c: Likewise.
886         * math/e_atanhl.c: Likewise.
887         * math/e_coshl.c: Likewise.
888         * math/e_expl.c: Likewise.
889         * math/e_fmodl.c: Likewise.
890         * math/e_gammal_r.c: Likewise.
891         * math/e_hypotl.c: Likewise.
892         * math/e_j0l.c: Likewise.
893         * math/e_j1l.c: Likewise.
894         * math/e_jnl.c: Likewise.
895         * math/e_lgammal_r.c: Likewise.
896         * math/e_log10l.c: Likewise.
897         * math/e_log2l.c: Likewise.
898         * math/e_logl.c: Likewise.
899         * math/e_powl.c: Likewise.
900         * math/e_rem_pio2l.c: Likewise.
901         * math/e_sinhl.c: Likewise.
902         * math/e_sqrtl.c: Likewise.
903         * math/fclrexcpt.c: Likewise.
904         * math/fedisblxcpt.c: Likewise.
905         * math/feenablxcpt.c: Likewise.
906         * math/fegetenv.c: Likewise.
907         * math/fegetexcept.c: Likewise.
908         * math/fegetround.c: Likewise.
909         * math/feholdexcpt.c: Likewise.
910         * math/fesetenv.c: Likewise.
911         * math/fesetround.c: Likewise.
912         * math/feupdateenv.c: Likewise.
913         * math/fgetexcptflg.c: Likewise.
914         * math/fraiseexcpt.c: Likewise.
915         * math/fsetexcptflg.c: Likewise.
916         * math/ftestexcept.c: Likewise.
917         * math/k_cosl.c: Likewise.
918         * math/k_rem_pio2l.c: Likewise.
919         * math/k_sinl.c: Likewise.
920         * math/k_tanl.c: Likewise.
921         * math/s_asinhl.c: Likewise.
922         * math/s_atanl.c: Likewise.
923         * math/s_cbrtl.c: Likewise.
924         * math/s_erfl.c: Likewise.
925         * math/s_expm1l.c: Likewise.
926         * math/s_log1pl.c: Likewise.
927         * math/s_tanhl.c: Likewise.
928         * misc/acct.c: Likewise.
929         * misc/brk.c: Likewise.
930         * misc/chflags.c: Likewise.
931         * misc/chroot.c: Likewise.
932         * misc/fchflags.c: Likewise.
933         * misc/fgetxattr.c: Likewise.
934         * misc/flistxattr.c: Likewise.
935         * misc/fremovexattr.c: Likewise.
936         * misc/fsetxattr.c: Likewise.
937         * misc/fsync.c: Likewise.
938         * misc/ftruncate.c: Likewise.
939         * misc/futimes.c: Likewise.
940         * misc/futimesat.c: Likewise.
941         * misc/getdomain.c: Likewise.
942         * misc/getdtsz.c: Likewise.
943         * misc/gethostid.c: Likewise.
944         * misc/gethostname.c: Likewise.
945         * misc/getloadavg.c: Likewise.
946         * misc/getpagesize.c: Likewise.
947         * misc/getsysstats.c: Likewise.
948         * misc/getxattr.c: Likewise.
949         * misc/gtty.c: Likewise.
950         * misc/ioctl.c: Likewise.
951         * misc/lgetxattr.c: Likewise.
952         * misc/listxattr.c: Likewise.
953         * misc/llistxattr.c: Likewise.
954         * misc/lremovexattr.c: Likewise.
955         * misc/lsetxattr.c: Likewise.
956         * misc/lutimes.c: Likewise.
957         * misc/madvise.c: Likewise.
958         * misc/mincore.c: Likewise.
959         * misc/mlock.c: Likewise.
960         * misc/mlockall.c: Likewise.
961         * misc/mmap.c: Likewise.
962         * misc/mprotect.c: Likewise.
963         * misc/msync.c: Likewise.
964         * misc/munlock.c: Likewise.
965         * misc/munlockall.c: Likewise.
966         * misc/munmap.c: Likewise.
967         * misc/preadv.c: Likewise.
968         * misc/preadv64.c: Likewise.
969         * misc/ptrace.c: Likewise.
970         * misc/pwritev.c: Likewise.
971         * misc/pwritev64.c: Likewise.
972         * misc/readv.c: Likewise.
973         * misc/reboot.c: Likewise.
974         * misc/remap_file_pages.c: Likewise.
975         * misc/removexattr.c: Likewise.
976         * misc/revoke.c: Likewise.
977         * misc/select.c: Likewise.
978         * misc/setdomain.c: Likewise.
979         * misc/setegid.c: Likewise.
980         * misc/seteuid.c: Likewise.
981         * misc/sethostid.c: Likewise.
982         * misc/sethostname.c: Likewise.
983         * misc/setregid.c: Likewise.
984         * misc/setreuid.c: Likewise.
985         * misc/setxattr.c: Likewise.
986         * misc/sstk.c: Likewise.
987         * misc/stty.c: Likewise.
988         * misc/swapoff.c: Likewise.
989         * misc/swapon.c: Likewise.
990         * misc/sync.c: Likewise.
991         * misc/syncfs.c: Likewise.
992         * misc/syscall.c: Likewise.
993         * misc/truncate.c: Likewise.
994         * misc/ualarm.c: Likewise.
995         * misc/usleep.c: Likewise.
996         * misc/ustat.c: Likewise.
997         * misc/utimes.c: Likewise.
998         * misc/vhangup.c: Likewise.
999         * misc/writev.c: Likewise.
1000         * posix/_exit.c: Likewise.
1001         * posix/alarm.c: Likewise.
1002         * posix/execve.c: Likewise.
1003         * posix/fexecve.c: Likewise.
1004         * posix/fork.c: Likewise.
1005         * posix/fpathconf.c: Likewise.
1006         * posix/getaddrinfo.c: Likewise.
1007         * posix/getegid.c: Likewise.
1008         * posix/geteuid.c: Likewise.
1009         * posix/getgid.c: Likewise.
1010         * posix/getgroups.c: Likewise.
1011         * posix/getlogin.c: Likewise.
1012         * posix/getlogin_r.c: Likewise.
1013         * posix/getpgid.c: Likewise.
1014         * posix/getpid.c: Likewise.
1015         * posix/getppid.c: Likewise.
1016         * posix/getresgid.c: Likewise.
1017         * posix/getresuid.c: Likewise.
1018         * posix/getsid.c: Likewise.
1019         * posix/getuid.c: Likewise.
1020         * posix/glob64.c: Likewise.
1021         * posix/nanosleep.c: Likewise.
1022         * posix/pathconf.c: Likewise.
1023         * posix/pause.c: Likewise.
1024         * posix/posix_madvise.c: Likewise.
1025         * posix/pread.c: Likewise.
1026         * posix/pread64.c: Likewise.
1027         * posix/pwrite.c: Likewise.
1028         * posix/pwrite64.c: Likewise.
1029         * posix/sched_getaffinity.c: Likewise.
1030         * posix/sched_getp.c: Likewise.
1031         * posix/sched_gets.c: Likewise.
1032         * posix/sched_primax.c: Likewise.
1033         * posix/sched_primin.c: Likewise.
1034         * posix/sched_rr_gi.c: Likewise.
1035         * posix/sched_setaffinity.c: Likewise.
1036         * posix/sched_setp.c: Likewise.
1037         * posix/sched_sets.c: Likewise.
1038         * posix/sched_yield.c: Likewise.
1039         * posix/setgid.c: Likewise.
1040         * posix/setlogin.c: Likewise.
1041         * posix/setpgid.c: Likewise.
1042         * posix/setresgid.c: Likewise.
1043         * posix/setresuid.c: Likewise.
1044         * posix/setsid.c: Likewise.
1045         * posix/setuid.c: Likewise.
1046         * posix/sleep.c: Likewise.
1047         * posix/spawni.c: Likewise.
1048         * posix/sysconf.c: Likewise.
1049         * posix/times.c: Likewise.
1050         * posix/wait.c: Likewise.
1051         * posix/wait3.c: Likewise.
1052         * posix/wait4.c: Likewise.
1053         * posix/waitpid.c: Likewise.
1054         * resolv/gai_sigqueue.c: Likewise.
1055         * resource/getpriority.c: Likewise.
1056         * resource/getrlimit.c: Likewise.
1057         * resource/getrusage.c: Likewise.
1058         * resource/nice.c: Likewise.
1059         * resource/setpriority.c: Likewise.
1060         * resource/setrlimit.c: Likewise.
1061         * resource/ulimit.c: Likewise.
1062         * rt/aio_cancel.c: Likewise.
1063         * rt/aio_fsync.c: Likewise.
1064         * rt/aio_read.c: Likewise.
1065         * rt/aio_sigqueue.c: Likewise.
1066         * rt/aio_suspend.c: Likewise.
1067         * rt/aio_write.c: Likewise.
1068         * rt/clock_getres.c: Likewise.
1069         * rt/clock_gettime.c: Likewise.
1070         * rt/clock_nanosleep.c: Likewise.
1071         * rt/clock_settime.c: Likewise.
1072         * rt/lio_listio.c: Likewise.
1073         * rt/mq_close.c: Likewise.
1074         * rt/mq_getattr.c: Likewise.
1075         * rt/mq_notify.c: Likewise.
1076         * rt/mq_open.c: Likewise.
1077         * rt/mq_receive.c: Likewise.
1078         * rt/mq_send.c: Likewise.
1079         * rt/mq_setattr.c: Likewise.
1080         * rt/mq_timedreceive.c: Likewise.
1081         * rt/mq_timedsend.c: Likewise.
1082         * rt/mq_unlink.c: Likewise.
1083         * rt/shm_open.c: Likewise.
1084         * rt/shm_unlink.c: Likewise.
1085         * rt/timer_create.c: Likewise.
1086         * rt/timer_delete.c: Likewise.
1087         * rt/timer_getoverr.c: Likewise.
1088         * rt/timer_gettime.c: Likewise.
1089         * rt/timer_settime.c: Likewise.
1090         * setjmp/__longjmp.c: Likewise.
1091         * setjmp/setjmp.c: Likewise.
1092         * signal/kill.c: Likewise.
1093         * signal/killpg.c: Likewise.
1094         * signal/raise.c: Likewise.
1095         * signal/sigaction.c: Likewise.
1096         * signal/sigaltstack.c: Likewise.
1097         * signal/sigblock.c: Likewise.
1098         * signal/sigignore.c: Likewise.
1099         * signal/sigintr.c: Likewise.
1100         * signal/signal.c: Likewise.
1101         * signal/sigpause.c: Likewise.
1102         * signal/sigpending.c: Likewise.
1103         * signal/sigqueue.c: Likewise.
1104         * signal/sigreturn.c: Likewise.
1105         * signal/sigset.c: Likewise.
1106         * signal/sigsetmask.c: Likewise.
1107         * signal/sigstack.c: Likewise.
1108         * signal/sigsuspend.c: Likewise.
1109         * signal/sigtimedwait.c: Likewise.
1110         * signal/sigvec.c: Likewise.
1111         * signal/sigwait.c: Likewise.
1112         * signal/sigwaitinfo.c: Likewise.
1113         * signal/sysv_signal.c: Likewise.
1114         * socket/accept.c: Likewise.
1115         * socket/accept4.c: Likewise.
1116         * socket/bind.c: Likewise.
1117         * socket/connect.c: Likewise.
1118         * socket/getpeername.c: Likewise.
1119         * socket/getsockname.c: Likewise.
1120         * socket/getsockopt.c: Likewise.
1121         * socket/isfdtype.c: Likewise.
1122         * socket/listen.c: Likewise.
1123         * socket/recv.c: Likewise.
1124         * socket/recvfrom.c: Likewise.
1125         * socket/recvmsg.c: Likewise.
1126         * socket/send.c: Likewise.
1127         * socket/sendmsg.c: Likewise.
1128         * socket/sendto.c: Likewise.
1129         * socket/setsockopt.c: Likewise.
1130         * socket/shutdown.c: Likewise.
1131         * socket/sockatmark.c: Likewise.
1132         * socket/socket.c: Likewise.
1133         * socket/socketpair.c: Likewise.
1134         * stdio-common/ctermid.c: Likewise.
1135         * stdio-common/cuserid.c: Likewise.
1136         * stdio-common/remove.c: Likewise.
1137         * stdio-common/rename.c: Likewise.
1138         * stdio-common/renameat.c: Likewise.
1139         * stdio-common/tempname.c: Likewise.
1140         * stdlib/getcontext.c: Likewise.
1141         * stdlib/makecontext.c: Likewise.
1142         * stdlib/setcontext.c: Likewise.
1143         * stdlib/swapcontext.c: Likewise.
1144         * stdlib/system.c: Likewise.
1145         * streams/fattach.c: Likewise.
1146         * streams/fdetach.c: Likewise.
1147         * streams/getmsg.c: Likewise.
1148         * streams/getpmsg.c: Likewise.
1149         * streams/putmsg.c: Likewise.
1150         * streams/putpmsg.c: Likewise.
1151         * sysdeps/unix/bsd/getpt.c: Likewise.
1152         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1153         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1154         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1156         Likewise.
1157         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1158         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1159         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1160         * sysvipc/msgctl.c: Likewise.
1161         * sysvipc/msgget.c: Likewise.
1162         * sysvipc/msgrcv.c: Likewise.
1163         * sysvipc/msgsnd.c: Likewise.
1164         * sysvipc/semctl.c: Likewise.
1165         * sysvipc/semget.c: Likewise.
1166         * sysvipc/semop.c: Likewise.
1167         * sysvipc/semtimedop.c: Likewise.
1168         * sysvipc/shmat.c: Likewise.
1169         * sysvipc/shmctl.c: Likewise.
1170         * sysvipc/shmdt.c: Likewise.
1171         * sysvipc/shmget.c: Likewise.
1172         * termios/tcdrain.c: Likewise.
1173         * termios/tcflow.c: Likewise.
1174         * termios/tcflush.c: Likewise.
1175         * termios/tcgetattr.c: Likewise.
1176         * termios/tcgetpgrp.c: Likewise.
1177         * termios/tcsendbrk.c: Likewise.
1178         * termios/tcsetattr.c: Likewise.
1179         * termios/tcsetpgrp.c: Likewise.
1180         * time/adjtime.c: Likewise.
1181         * time/clock.c: Likewise.
1182         * time/getitimer.c: Likewise.
1183         * time/gettimeofday.c: Likewise.
1184         * time/setitimer.c: Likewise.
1185         * time/settimeofday.c: Likewise.
1186         * time/stime.c: Likewise.
1187         * time/time.c: Likewise.
1189 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
1191         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1192         /usr/old/bin.
1194         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1195         instead of spaces.
1196         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1198 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
1200         [BZ #14796]
1201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1202         FE_TONEAREST before applying Dekker multiplication and Knuth
1203         addition.  Clear inexact exceptions and check for exact zero
1204         results afterwards.
1205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1206         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1208         * math/libm-test.inc (fma_test): Add more tests.
1209         (fma_test_towardzero): Likewise.
1210         (fma_test_downward): Likewise.
1211         (fma_test_upward): Likewise.
1212         * sysdeps/generic/math_private.h (default_libc_fesetround): New
1213         function.
1214         (libc_fesetround): New macro.
1215         (libc_fesetroundf): Likewise.
1216         (libc_fesetroundl): Likewise.
1217         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1218         function.
1219         (libc_fesetround_387): Likewise.
1220         (libc_fesetroundf): New macro.
1221         (libc_fesetround): Likewise.
1222         (libc_fesetroundl): Likewise.
1223         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1224         function.
1225         (libc_fesetroundf): New macro.
1226         (libc_fesetround): Likewise.
1227         (libc_fesetroundl): Likewise.
1228         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1229         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1230         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1231         libm_hidden_ver.
1232         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1233         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1234         libm_hidden_def.
1235         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1236         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1237         libm_hidden_ver.
1238         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1239         libm_hidden_def.
1241         [BZ #3439]
1242         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1243         integer constant usable in #if and use that to give value to enum
1244         constant.
1245         (FE_DIVBYZERO): Likewise.
1246         (FE_UNDERFLOW): Likewise.
1247         (FE_OVERFLOW): Likewise.
1248         (FE_INVALID): Likewise.
1249         (FE_INVALID_SNAN): Likewise.
1250         (FE_INVALID_ISI): Likewise.
1251         (FE_INVALID_IDI): Likewise.
1252         (FE_INVALID_ZDZ): Likewise.
1253         (FE_INVALID_IMZ): Likewise.
1254         (FE_INVALID_COMPARE): Likewise.
1255         (FE_INVALID_SOFTWARE): Likewise.
1256         (FE_INVALID_SQRT): Likewise.
1257         (FE_INVALID_INTEGER_CONVERSION): Likewise.
1258         (FE_TONEAREST): Likewise.
1259         (FE_TOWARDZERO): Likewise.
1260         (FE_UPWARD): Likewise.
1261         (FE_DOWNWARD): Likewise.
1262         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1263         (FE_DIVBYZERO): Likewise.
1264         (FE_OVERFLOW): Likewise.
1265         (FE_UNDERFLOW): Likewise.
1266         (FE_INEXACT): Likewise.
1267         (FE_TONEAREST): Likewise.
1268         (FE_DOWNWARD): Likewise.
1269         (FE_UPWARD): Likewise.
1270         (FE_TOWARDZERO): Likewise.
1271         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1272         (FE_UNDERFLOW): Likewise.
1273         (FE_OVERFLOW): Likewise.
1274         (FE_DIVBYZERO): Likewise.
1275         (FE_INVALID): Likewise.
1276         (FE_TONEAREST): Likewise.
1277         (FE_TOWARDZERO): Likewise.
1278         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1279         (FE_OVERFLOW): Likewise.
1280         (FE_UNDERFLOW): Likewise.
1281         (FE_DIVBYZERO): Likewise.
1282         (FE_INEXACT): Likewise.
1283         (FE_TONEAREST): Likewise.
1284         (FE_TOWARDZERO): Likewise.
1285         (FE_UPWARD): Likewise.
1286         (FE_DOWNWARD): Likewise.
1287         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1288         (FE_DIVBYZERO): Likewise.
1289         (FE_OVERFLOW): Likewise.
1290         (FE_UNDERFLOW): Likewise.
1291         (FE_INEXACT): Likewise.
1292         (FE_TONEAREST): Likewise.
1293         (FE_DOWNWARD): Likewise.
1294         (FE_UPWARD): Likewise.
1295         (FE_TOWARDZERO): Likewise.
1297 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
1299         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1301 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
1303         * scripts/cross-test-ssh.sh (command): Use newlines to separate
1304         commands.  Quote $PWD.
1305         (blacklist_exports): Don't use remove_newlines.  Replace "declare
1306         -x" by "export".
1307         (remove_newlines): Remove.
1309 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
1311         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1312         * stdlib/stdlib.h (atof): Moved to ...
1313         * include/bits/stdlib-float.h: Here.  New file.
1314         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1315         * stdlib/bits/stdlib-float.h: New file.
1316         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1317         -mno-sse -mno-mmx.
1318         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1319         <xmmintrin.h>.
1321 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1323         * conform/conformtest.pl (@headers): Add fenv.h.
1324         * conform/data/fenv.h-data: New file.
1325         * include/fenv.h [_ISOMAC]: Disable all contents of file except
1326         include of <math/fenv.h>.
1328         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1329         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1330         && !UNIX98].  Enables tests for XOPEN2K8.
1331         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1332         POSIX2008]: Likewise.
1334         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1335         (struct rusage): Do not expect type or its members.
1337         [BZ #3439]
1338         * math/math.h (FP_NAN): Define macro to integer constant usable in
1339         #if and use that to give value to enum constant.
1340         (FP_INFINITE): Likewise.
1341         (FP_ZERO): Likewise.
1342         (FP_SUBNORMAL): Likewise.
1343         (FP_NORMAL): Likewise.
1345 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
1347         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1348         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1349         arguments.
1351 2012-11-02  Roland McGrath  <roland@hack.frob.com>
1353         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1354         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1355         autoconf-time if not.
1356         * configure.in: Remove AC_PREREQ.
1358 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1360         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1361         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1362         of the internal implementation.
1364 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
1366         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1367         except include of <misc/sys/syslog.h>.
1369 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1372         function returns with a NULL context exit with zero.
1374 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1376         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1378 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
1380         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1381         (run_program_cmd): This.
1382         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1383         (tst_langinfo): New variable.  Use it.
1385 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
1387         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1388         floating point opcodes.
1390 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1392         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1393         variable.
1395         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1397         * sysdeps/mach/hurd/powerpc: Remove directory.
1398         * sysdeps/mach/powerpc: Likewise.
1400 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
1402         * scripts/check-local-headers.sh: Ignore c++ headers.
1404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1406         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1407         __libc_cleanup_region_start argument.
1409 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #14784]
1412         [BZ #14785]
1413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1414         x * y using scaling, not as x * y + z.
1415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1417         * math/libm-test.inc (fma_test): Add more tests.
1418         (fma_test_towardzero): Likewise.
1419         (fma_test_downward): Likewise.
1420         (fma_test_upward): Likewise.
1422 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
1424         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1426 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1428         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1429         New variable.
1431 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
1433         * rt/tst-shm.c (worker): Correct checking for mmap failure.
1435 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1438         Fix sort order.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1440         Likewise.
1442 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1445         Fix the order of the list for glibc 2.17.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1447         Likewise.
1449 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1453 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
1455         [BZ #14610]
1456         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1457         for low part of x being zero before using __atanl (y).
1458         * math/libm-test.inc (atan2_test): Add another test.
1460         * manual/install.texi (Configuring and compiling): Document
1461         general use of test-wrapper and test-wrapper-env.
1462         * INSTALL: Regenerated.
1464         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1465         (__fma): Do not extract and scale down low bits on after-rounding
1466         systems when result rounded to normal precision would have normal
1467         exponent.
1468         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1469         (__fmal): Do not extract and scale down low bits on after-rounding
1470         systems when result rounded to normal precision would have normal
1471         exponent.
1472         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1473         (__fmal): Do not extract and scale down low bits on after-rounding
1474         systems when result rounded to normal precision would have normal
1475         exponent.
1476         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1477         macro.
1478         (fma_test): Add more tests.
1479         (fma_test_towardzero): Likewise.
1480         (fma_test_downward): Likewise.
1481         (fma_test_upward): Likewise.
1483 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
1485         * sysdeps/i386/tininess.h: Renamed to ...
1486         * sysdeps/x86/tininess.h: This.
1487         * sysdeps/x86_64/tininess.h: Removed.
1489 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1491         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1492         input.  Use $(build-program-cmd).
1493         ($(objpfx)tst-array1-static.out): Likewise.
1494         ($(objpfx)tst-array2.out): Likewise.
1495         ($(objpfx)tst-array3.out): Likewise.
1496         ($(objpfx)tst-array4.out): Likewise.
1497         ($(objpfx)tst-array5.out): Likewise.
1498         ($(objpfx)tst-array5-static.out): Likewise.
1500 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
1502         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1503         if defined.
1505         * nss/nsswitch.h (nss_interface_function): Provide new
1506         macro for use with NSS functions.
1507         * grp/initgroups.c: Use new macro.
1508         * nss/getXXbyYY.c: Likewise.
1509         * nss/getXXbyYY_r.c: Likewise.
1510         * nss/getXXent.c: Likewise.
1511         * nss/getXXent_r.c: Likewise.
1512         * sysdeps/posix/getaddrinfo.c: Likewise.
1514 2012-10-30  Andreas Jaeger  <aj@suse.de>
1516         * po/ru.po: Update Russion translation from translation project.
1518 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
1520         [BZ #14152]
1521         [BZ #14783]
1522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1523         result and shift together with sticky bit instead of replicating
1524         round-to-nearest rounding.
1525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1527         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
1528         missing underflow exceptions.
1529         (fma_test_towardzero): Add more tests.
1530         (fma_test_downward): Likewise.
1531         (fma_test_upward): Likewise.
1533         [BZ #14047]
1534         * sysdeps/generic/tininess.h: New file.
1535         * sysdeps/i386/tininess.h: Likewise.
1536         * sysdeps/sh/tininess.h: Likewise.
1537         * sysdeps/x86_64/tininess.h: Likewise.
1538         * stdlib/tst-strtod-underflow.c: Likewise.
1539         * stdlib/tst-tininess.c: Likewise.
1540         * stdlib/strtod_l.c: Include <tininess.h>.
1541         (round_and_return): Do not set errno for exact underflow cases.
1542         Force an underflow exception when setting errno for underflow.
1543         Determine underflow based on rounding to normal precision if
1544         TININESS_AFTER_ROUNDING.
1545         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1546         ERANGE for exact underflow cases.
1547         * stdlib/Makefile (tests): Add tst-tininess and
1548         tst-strtod-underflow.
1549         ($(objpfx)tst-tininess): Use $(link-libm).
1550         ($(objpfx)tst-strtod-underflow): Likewise.
1552 2012-10-30  Andreas Jaeger  <aj@suse.de>
1554         [BZ#14767]
1555         * elf/Makefile (tests): Remove conditional for have-initfini-array
1556         since this is now always required and the variable does not exist
1557         anymore.
1558         (tests-static): Likewise.
1559         (modules-names): Likewise.
1561         * po/eo.po: Add Esperanto translation from translation project.
1563         * elf/tst-array1.c (fini_array): Make writeable so that it can be
1564         merged with constructor/destructor.
1565         (init_array): Likewise.
1566         * elf/tst-array2dep.c (fini_array): Likewise.
1567         (init_array): Likewise.
1569 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
1571         * manual/message.texi: Delete @cartouche tags.
1573 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
1575         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1576         EOPNOTSUPP.
1577         * sysdeps/mach/hurd/fsync.c: Likewise.
1579         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1580         [_POSIX_REALTIME_SIGNALS]: Change condition to
1581         [_POSIX_REALTIME_SIGNALS > 0].
1583 2012-10-27  Andreas Jaeger  <aj@suse.de>
1585         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1586         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1588         [__WORDSIZE != 64]: Likewise.
1590 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
1592         *  iconvdata/tst-table.sh: Remove ${SHELL}.
1593         *  iconvdata/tst-tables.sh: Likewise.
1595 2012-10-25  David S. Miller  <davem@davemloft.net>
1597         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1598         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1599         of strtoull.
1601         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1602         ifunc-impl-list.c
1603         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1604         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1605         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1606         file.
1608 2012-10-25  Roland McGrath  <roland@hack.frob.com>
1610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1611         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1612         __getdirentries.
1614 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1615             Jim Blandy  <jimb@codesourcery.com>
1617         * scripts/cross-test-ssh.sh: New file.
1618         * manual/install.texi (Configuring and compiling): Document use of
1619         cross-test-ssh.sh.
1620         * INSTALL: Regenerated.
1622 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
1624         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1625         EOPNOTSUPP.
1627 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
1629         * Makeconfig (run-program-prefix): Fix comment.
1631 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1632             Jim Blandy  <jimb@codesourcery.com>
1634         * Makeconfig (test-wrapper): New variable,
1635         (test-wrapper-env): Likewise.
1636         [$(cross-compiling) = yes && $(test-wrapper) != ""]
1637         (run-built-tests): Define to yes.
1638         (run-program-prefix): Use $(test-wrapper).
1639         (built-program-cmd): Likewise.
1640         * Rules (make-test-out): Use $(test-wrapper-env) and
1641         $(host-built-program-cmd).
1642         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1643         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1644         tst-pathopt.sh.
1645         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1646         $(test-wrapper-env) to tst-rtld-load-self.sh.
1647         ($(objpfx)order2.out): Use $(test-wrapper).
1648         ($(objpfx)tst-initorder.out): Likewise.
1649         ($(objpfx)tst-initorder2.out): Likewise.
1650         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1651         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1652         (test_wrapper_env): New variable.  Use it to run ld.so.
1653         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1654         Use it to run ld.so.
1655         (test_wrapper_env): Likewise.
1656         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1657         $(test-wrapper) to run-iconv-test.sh.
1658         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1659         (ICONV): Use $test_wrapper.
1660         * posix/Makefile ($(objpfx)globtest.out): Pass
1661         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1662         globtest.sh, not $(run-program-prefix).
1663         * posix/globtest.sh (run_via_rtld_prefix): New variable.
1664         (test_wrapper): Likewise.
1665         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
1666         set together with run_via_rtld_prefix.
1667         (run_program_prefix): Define in terms of test_wrapper and
1668         run_via_rtld_prefix.
1670 2012-10-24  Roland McGrath  <roland@hack.frob.com>
1672         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1673         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1674         Targets removed.
1676         [BZ #14743]
1677         * include/time.h: Remove librt_hidden_proto (clock_gettime).
1678         Declare __clock_getres, __clock_gettime, __clock_settime,
1679         __clock_nanosleep, and __clock_getcpuclockid.
1680         * rt/clock_gettime.c: Define __clock_gettime as an alias.
1681         Remove librt_hidden_def (clock_gettime).
1682         * sysdeps/unix/clock_gettime.c: Likewise.
1683         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1684         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1685         * rt/clock_getres.c: Define __clock_getres as an alias.
1686         * sysdeps/posix/clock_getres.c: Likewise.
1687         * rt/clock_settime.c: Define __clock_settime as an alias.
1688         * sysdeps/unix/clock_settime.c: Likewise.
1689         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1690         * sysdeps/unix/clock_nanosleep.c: Likewise.
1691         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1692         * rt/clock-compat.c: New file.
1693         * rt/Makefile (librt-routines): Add clock-compat and move
1694         $(clock-routines) to ...
1695         (routines): ... here, new variable.
1696         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1697         Don't add get_clockfreq here.
1698         * rt/Versions (libc: GLIBC_2.17): New version set.
1699         Add clock_* symbols here.
1700         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
1701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1702         (GLIBC_2.17): Add clock_* symbols.
1703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1707         Likewise.
1708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1709         Likewise.
1710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1714         * NEWS: Mention the move.
1716         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1717         Use __open, __read, __close rather than their public counterparts.
1718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1719         (__get_clockfreq_via_cpuinfo): Likewise.
1720         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1721         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1723         * config.h.in (HAVE_IFUNC): New #undef.
1724         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1725         was successful.
1726         * configure: Regenerated.
1728 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1730         * configure.in: Move READELF check to start of file.
1731         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1732         libc_cv_asm_gnu_indirect_function in the process.
1733         * configure: Regenerated.
1735 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
1737         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1738         send the output to /dev/null.
1739         (libc_cv_cc_with_libunwind): Likewise.
1740         (libc_cv_as_noexecstack): Likewise.
1741         * configure: Regenerate.
1743 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
1745         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1747         * posix/globtest.sh (TMPDIR): Do not set.
1748         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1749         (testout): Likewise.
1751 2012-10-24  Andreas Jaeger  <aj@suse.de>
1753         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1754         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1755         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1756         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1757         posix_fadvise64, posix_fallocate64.
1759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1760         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1761         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1762         Likewise.
1763         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1764         Likewise.
1765         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1768         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1769         <bits/fcntl-linux.h>.
1770         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1772         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1773         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1774         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1775         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1776         [__WORDSIZE != 64]: Likewise.
1778 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1780         * Makeconfig (run-built-tests): New variable.
1781         * Rules [$(cross-compiling) = yes]: Change condition to
1782         [$(run-built-tests) = no].
1783         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1784         to [$(run-built-tests) = yes].
1785         * elf/Makefile [$(cross-compiling) = no]: Likewise
1786         * grp/Makefile [$(cross-compiling) = no]: Likewise.
1787         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1788         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1789         * intl/Makefile [$(cross-compiling) = no]: Likewise.
1790         * io/Makefile [$(cross-compiling) = no]: Likewise.
1791         * libio/Makefile [$(cross-compiling) = no]: Likewise.
1792         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1793         * misc/Makefile [$(cross-compiling) = no]: Likewise.
1794         * posix/Makefile [$(cross-compiling) = no]: Likewise.
1795         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1796         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1797         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1798         * string/Makefile [$(cross-compiling) = no]: Likewise.
1800         * posix/Makefile ($(objpfx)globtest.out): Pass
1801         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1802         $(rtld-installed-name).
1803         * posix/globtest.sh (elf_objpfx): Remove variable.
1804         (rtld_installed_name): Likewise.
1805         (library_path): Likewise.
1806         (run_program_prefix): New variable.  Use for running globtest
1807         binary.
1809 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
1810             Joseph Myers  <joseph@codesourcery.com>
1812         * Makeconfig (host-built-program-cmd): New variable.
1813         * elf/Makefile (tst-stackguard1-ARGS): Use
1814         $(host-built-program-cmd).
1815         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1816         (tst-spawn-ARGS): Likewise.
1817         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1819 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
1820             Jim Blandy  <jimb@codesourcery.com>
1822         * Makeconfig (run-via-rtld-prefix): New variable.
1823         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1824         (built-program-cmd): Likewise.
1826 2012-10-22  Andreas Jaeger  <aj@suse.de>
1828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1829         __O_RSYNC if it exists, otherwise to O_SYNC.
1831 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
1832             Joseph Myers  <joseph@codesourcery.com>
1834         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1835         /dev/null.
1836         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1837         from /dev/null
1838         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1839         /dev/null.
1841 2012-10-22  Andreas Jaeger  <aj@suse.de>
1843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1844         Define always.
1845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1848         bits/fcntl-linux.h.
1850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1851         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1854         to __O_LARGEFILE.
1855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1856         to __O_LARGEFILE.
1858 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
1859             Joseph Myers  <joseph@codesourcery.com>
1861         * config.make.in (NM): New variable.
1863 2012-10-21  Andreas Jaeger  <aj@suse.de>
1865         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1866         definitions and declarations that are provided by
1867         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1869 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1871         [BZ #14683]
1872         * elf/Makefile (tests-static): Add tst-leaks1-static.
1873         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1874         ($(objpfx)tst-leaks1-static): New rule.
1875         ($(objpfx)tst-leaks1-static-mem): Likewise.
1876         (tst-leaks1-static-ENV): New macro.
1877         * elf/dl-open.c (dl_open_worker): Check the main application
1878         only if SHARED is defined.
1879         * elf/tst-leaks1-static.c: New file.
1881 2012-10-20  Andreas Jaeger  <aj@suse.de>
1883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1884         generic values for Linux.
1885         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1886         and declarations that are provided by <bits/fcntl-linux.h> and
1887         include <bits/fcntl-linux.h>.
1888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1891 2012-10-20  Roland McGrath  <roland@hack.frob.com>
1893         * io/fcntl.h: Move include of <bits/types.h> to the top and
1894         include it unconditionally.
1896 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
1898         * wcsmbs/Makefile (tests-ifunc): New variable.
1899         (tests): Add $(tests-ifunc).
1900         * wcsmbs/test-wcschr-ifunc.c: New file.
1901         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1902         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1903         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1904         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1905         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1907         * string/Makefile (tests-ifunc): New variable.
1908         (tests): Add $(tests-ifunc).
1909         * string/test-memccpy.c (TEST_NAME): New macro.
1910         * string/test-memchr.c (TEST_NAME): Likewise.
1911         * string/test-memcmp.c (TEST_NAME): Likewise.
1912         * string/test-memcpy.c (TEST_NAME): Likewise.
1913         * string/test-memmem.c (TEST_NAME): Likewise.
1914         * string/test-memmove.c (TEST_NAME): Likewise.
1915         * string/test-memset.c (TEST_NAME): Likewise.
1916         * string/test-rawmemchr.c (TEST_NAME): Likewise.
1917         * string/test-stpcpy.c (TEST_NAME): Likewise.
1918         * string/test-stpncpy.c (TEST_NAME): Likewise.
1919         * string/test-strcasecmp.c (TEST_NAME): Likewise.
1920         * string/test-strcasestr.c (TEST_NAME): Likewise.
1921         * string/test-strcat.c (TEST_NAME): Likewise.
1922         * string/test-strchr.c (TEST_NAME): Likewise.
1923         * string/test-strcmp.c(TEST_NAME): Likewise.
1924         * string/test-strcpy.c (TEST_NAME): Likewise.
1925         * string/test-strcspn.c (TEST_NAME): Likewise.
1926         * string/test-strlen.c (TEST_NAME): Likewise.
1927         * string/test-strncasecmp.c (TEST_NAME): Likewise.
1928         * string/test-strncmp.c (TEST_NAME): Likewise.
1929         * string/test-strncpy.c (TEST_NAME): Likewise.
1930         * string/test-strnlen.c (TEST_NAME): Likewise.
1931         * string/test-strpbrk.c (TEST_NAME): Likewise.
1932         * string/test-strrchr.c (TEST_NAME): Likewise.
1933         * string/test-strspn.c (TEST_NAME): Likewise.
1934         * string/test-strstr.c (TEST_NAME): Likewise.
1935         * string/test-bcopy-ifunc.c: New file.
1936         * string/test-bzero-ifunc.c: Likewise.
1937         * string/test-memccpy-ifunc.c: Likewise.
1938         * string/test-memchr-ifunc.c: Likewise.
1939         * string/test-memcmp-ifunc.c: Likewise.
1940         * string/test-memcpy-ifunc.c: Likewise.
1941         * string/test-memmem-ifunc.c: Likewise.
1942         * string/test-memmove-ifunc.c: Likewise.
1943         * string/test-mempcpy-ifunc.c: Likewise.
1944         * string/test-memset-ifunc.c: Likewise.
1945         * string/test-rawmemchr-ifunc.c: Likewise.
1946         * string/test-stpcpy-ifunc.c: Likewise.
1947         * string/test-stpncpy-ifunc.c: Likewise.
1948         * string/test-strcasecmp-ifunc.c: Likewise.
1949         * string/test-strcasestr-ifunc.c: Likewise.
1950         * string/test-strcat-ifunc.c: Likewise.
1951         * string/test-strchr-ifunc.c: Likewise.
1952         * string/test-strchrnul-ifunc.c: Likewise.
1953         * string/test-strcmp-ifunc.c: Likewise.
1954         * string/test-strcpy-ifunc.c: Likewise.
1955         * string/test-strcspn-ifunc.c: Likewise.
1956         * string/test-strlen-ifunc.c: Likewise.
1957         * string/test-strncasecmp-ifunc.c: Likewise.
1958         * string/test-strncat-ifunc.c: Likewise.
1959         * string/test-strncmp-ifunc.c: Likewise.
1960         * string/test-strncpy-ifunc.c: Likewise.
1961         * string/test-strnlen-ifunc.c: Likewise.
1962         * string/test-strpbrk-ifunc.c: Likewise.
1963         * string/test-strrchr-ifunc.c: Likewise.
1964         * string/test-strspn-ifunc.c: Likewise.
1965         * string/test-strstr-ifunc.c: Likewise.
1967         * debug/Makefile (tests-ifunc): New variable.
1968         (tests): Add $(tests-ifunc).
1969         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1970         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1971         * debug/test-stpcpy_chk-ifunc.c: New file.
1972         * debug/test-strcpy_chk-ifunc.c: Likewise.
1974 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1976         [BZ #13601]
1977         * elf/dl-load.c (open_verify): Retry read if the entire ELF
1978         header is not read in.
1980 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
1982         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
1983         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
1984         directly.  Pass built executable to script as
1985         $(built-program-cmd).
1986         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
1987         $testprogram without using LD_LIBRARY_PATH and $ldso.
1989         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1990         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1991         $(rtld-installed-name).
1992         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1993         (rtld_installed_name): Likewise.
1994         (library_path): Likewise.
1995         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
1996         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1997         $(run-program-prefix) to tst-tables.sh.
1998         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
1999         it to run tst-table-from and tst-table-to.
2000         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2001         Pass it to tst-table.sh.
2002         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2003         $(run-program-prefix) to tst-gettext.sh.
2004         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2005         tst-translit.sh.
2006         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2007         tst-gettext2.sh.
2008         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
2009         to run tst-gettext.
2010         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
2011         to run tst-gettext2.
2012         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
2013         to run tst-translit.
2014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2015         $(run-program-prefix) to tst-mtrace.sh.
2016         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
2017         to run tst-mtrace.
2018         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2019         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2020         $(rtld-installed-name).
2021         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2022         (rtld_installed_name): Likewise.
2023         (run_program_prefix): New variable.  Use it to run wordexp-test.
2025         * Makeconfig (ARCH): Remove all definitions.
2026         (machine): Likewise.
2027         [ARCH]: Remove conditional code.
2028         [!objdir]: Give error.
2029         [!objdir] (objpfx): Remove.
2030         [!objdir] (common-objpfx): Likewise.
2031         [!objdir] (common-objdir): Likewise.
2032         * configure.in (config_makefile): Remove.  Hardcode Makefile in
2033         AC_CONFIG_FILES call.
2034         * configure: Regenerated.
2036         [BZ #13888]
2037         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2038         or TMPDIR.
2039         (testout): Likewise.
2041         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2042         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2043         $(rtld-installed-name).
2044         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2045         (rtld_installed_name): Likwise.
2046         (runit): Remove function.
2047         (run_getconf): New variable,  Use it for running getconf binary.
2049 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
2051         [BZ #14716]
2052         * string/test-memmem.c (check_result): New function.
2053         (do_one_test): Use it.
2054         (check1): New function.
2055         (test_main): Use it.
2057 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
2059         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2061 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
2063         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2064         (_G_LSEEK64): Likewise.
2065         (_G_MMAP64): Likewise.
2066         (_G_FSTAT64): Likewise.
2067         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2068         (_G_LSEEK64): Likewise.
2069         (_G_MMAP64): Likewise.
2070         (_G_FSTAT64): Likewise.
2071         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2072         unconditional.  Call __mmap64 directly.
2073         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2074         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
2075         __lseek64 directly.
2076         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2077         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
2078         __mmap64 directly.
2079         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2080         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2081         __lseek64 directly.
2082         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2083         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
2084         __lseek64 directly.
2085         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2086         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
2087         __lseek64 directly.
2088         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2089         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
2090         __fxstat64 directly.
2091         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2092         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2093         unconditional.
2094         (freopen64) [!_G_OPEN64]: Remove conditional code.
2095         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2096         unconditional.
2097         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2098         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2099         unconditional.
2100         (ftello64) [!_G_LSEEK64]: Remove conditional code.
2101         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2102         unconditional.
2103         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2104         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2105         unconditional.
2106         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2107         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2108         unconditional.
2109         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2110         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2111         unconditional.
2112         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2113         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2114         unconditional.
2115         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2117 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2119         [BZ #12140]
2120         * manual/memory.texi (Malloc Tunable Parameters): Add note
2121         about free list pointers overwriting some perturb bytes.
2122         Wording suggested by Roland McGrath.
2124 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
2126         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2127         (lgamma_test): Likewise.
2128         (tgamma_test): Likewise.
2130 2012-10-16  Florian Weimer  <fweimer@redhat.com>
2132         [BZ #14700]
2133         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2134         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2136 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
2138         * NEWS: Mention BZ #14716.
2139         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2140         when removing AVAILABLE1_USES_J macro.
2142 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2144         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2145         (__bswap_64): __uint64_t for unsigned 64-bit int.
2147 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
2149         * include/string.h (memmem): Declare libc hidden alias.
2150         * string/memmem.c (memmem): Define libc hidden alias.
2151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2152         __read, __close instead of open, read, close.
2154 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
2156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2157         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2158         global and hidden.
2159         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2160         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2161         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2162         Likewise.
2163         (__rawmemchr_sse2): Likewise.
2164         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2165         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2166         (__strchr_sse2): Likewise.
2167         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2168         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2169         (__strcasecmp_sse2): Likewise.
2170         (__strncasecmp_sse2): Likewise.
2171         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2172         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2173         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2174         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2175         (__strrchr_sse2): Likewise.
2176         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2177         ifunc-impl-list.c.
2178         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2179         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2180         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2181         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2182         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2183         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2184         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2185         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2186         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2187         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2188         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2189         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2190         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2191         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2192         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2193         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2194         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2195         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2196         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2197         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2198         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2199         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2200         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2201         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2202         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2203         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2204         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2205         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2206         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2207         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2209         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2210         global and hidden.
2211         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2212         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2213         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2214         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2215         Likewise.
2216         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2217         Likewise.
2218         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2219         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2220         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2221         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2222         ifunc-impl-list.c.
2223         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2224         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2225         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2226         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2227         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2228         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2229         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2230         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2231         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2232         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2233         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2234         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2235         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2236         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2237         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2238         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2239         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2240         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2241         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2242         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2243         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2244         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2245         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2246         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2247         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2248         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2249         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2250         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2251         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2252         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2253         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2254         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2255         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2256         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2257         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2258         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2259         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2260         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2261         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2262         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2263         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2265         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2266         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2267         * include/ifunc-impl-list.h: New file.
2268         * misc/ifunc-impl-list.c: Likewise.
2269         * misc/Makefile (routines): Add ifunc-impl-list.
2270         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2271         * string/test-string.h: Include <ifunc-impl-list.h>.
2272         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2273         impl_array): New variables.
2274         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2275         are defined.
2276         (test_init): Call __libc_ifunc_impl_list to initialize
2277         func_list if TEST_IFUNC and TEST_NAME are defined.
2279         * string/Makefile (strop-tests): Add bcopy and bzero.
2280         * string/test-bcopy.c: New file.
2281         * string/test-bzero.c: Likewise.
2282         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2283         defined.
2284         * string/test-memset.c: Support bzero test if TEST_BZERO is
2285         defined.
2286         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2287         __libc_memmove.
2288         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2289         __libc_memset.
2290         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2291         of memset.
2293 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
2295         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2296         * configure: Regenerated.
2298         * Makeconfig (+link-static-before-libc): Don't include
2299         $(link-static-libc).
2301         * libio/libio.h (_IO_pos_t): Remove.
2303 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2305         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
2306         McGrath.
2308 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2310         * crypt/crypt-entry.c: Include fips-private.h.
2311         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2312         * crypt/md5c-test.c (main): Tolerate disabled MD5.
2313         * sysdeps/unix/sysv/linux/fips-private.h: New file.
2314         * sysdeps/generic/fips-private.h: New file, dummy fallback.
2316 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
2318         * crypt/crypt-private.h: Include stdbool.h.
2319         (_ufc_setup_salt_r): Return bool.
2320         * crypt/crypt-entry.c: Include errno.h.
2321         (__crypt_r): Return NULL with EINVAL for bad salt.
2322         * crypt/crypt_util.c (bad_for_salt): New.
2323         (_ufc_setup_salt_r): Check that salt is long enough and within
2324         the specified alphabet.
2325         * crypt/badsalttest.c: New file.
2326         * crypt/Makefile (tests): Add it.
2327         ($(objpfx)badsalttest): New.
2329 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
2331         * NEWS: Add entry for BZ #14602.
2333 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2335         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2336         type-generic.
2337         * math/libm-test.inc: Update comment listing what functions and
2338         macros are tested.
2339         (isgreater_test): New function.
2340         (isgreaterequal_test): Likewise.
2341         (isless_test): Likewise.
2342         (islessequal_test): Likewise.
2343         (islessgreater_test): Likewise.
2344         (isunordered_test): Likewise.
2345         (main): Call the new functions.
2347 2012-10-09  Roland McGrath  <roland@hack.frob.com>
2349         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2350         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2351         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2352         * sysdeps/i386/configure: Regenerated.
2353         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2354         * sysdeps/mach/configure: Regenerated.
2355         * sysdeps/mach/hurd/configure: Regenerated.
2356         * sysdeps/powerpc/configure: Regenerated.
2357         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2358         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2359         * sysdeps/s390/s390-32/configure: Regenerated.
2360         * sysdeps/s390/s390-64/configure: Regenerated.
2361         * sysdeps/sh/configure: Regenerated.
2362         * sysdeps/sparc/configure: Regenerated.
2363         * sysdeps/unix/sysv/linux/configure: Regenerated.
2364         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2365         * sysdeps/x86_64/configure: Regenerated.
2367         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2368         defined.  Don't check if MAP is NULL.
2370 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
2372         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2373         (_G_stat64): Likewise.
2374         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2375         (_G_stat64): Likewise.
2376         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2377         instead of struct _G_stat64.
2378         * libio/fileops.c (mmap_remap_check): Likewise.
2379         (decide_maybe_mmap): Likewise.
2380         (_IO_new_file_seekoff): Likewise.
2381         (_IO_file_stat): Likewise.
2382         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2383         _G_off64_t.
2384         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2385         instead of struct _G_stat64.
2386         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2388 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
2390         [BZ #14602]
2391         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2392         Replace with ...
2393         (CHECK_EOL): New macro.
2394         (two_way_short_needle): Check beginning of haystack for EOL.  Use
2395         CHECK_EOL.
2396         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2397         Replace with CHECK_EOL.
2398         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2399         Replace with CHECK_EOL.
2401 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
2403         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2404         type-generic.
2405         * math/libm-test.inc: Update comment listing what functions and
2406         macros are tested.
2407         (finite_test): New function.
2408         (isinf_test): Likewise.
2409         (isnan_test): Likewise.
2410         (fpclassify_test): Test subnormal input.
2411         (isfinite_test): Likewise.
2412         (isnormal_test): Likewise.
2413         (main): Call the new functions.
2415 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
2417         [BZ #14660]
2418         * Makerules (%.dynsym): Force C locale when running
2419         $(OBJDUMP) --dynamic-syms.
2421 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2423         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2424         <stdint.h>.
2426 2012-10-06  David S. Miller  <davem@davemloft.net>
2428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2429         upper 32-bits of the length value in %o2 since we use branch-on-register
2430         tests which consider the entire 64-bit register.
2432 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
2434         * string/test-strstr.c (check2): Add a test for page boundary.
2436 2012-10-05  David S. Miller  <davem@davemloft.net>
2438         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2439         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2440         file.
2441         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2442         sysdep_routines.
2443         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2444         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2445         and bzero when HWCAP_SPARC_CRYPTO is present.
2447 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
2449         [BZ #14602]
2450         * string/test-strstr.c (check2): New function.
2451         (test_main): Call check2.
2453         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2454         and bug-strchr1.
2455         * string/bug-strcasestr1.c (do_test): Moved to ...
2456         * string/test-strcasestr.c (check1): Here.  New function.
2457         (do_one_test): Break out result checking code into ...
2458         (check_result): This.  New function.
2459         (do_one_test): Call check_result.
2460         (test_main): Call check1.
2461         * string/bug-strchr1.c (do_test): Moved to ...
2462         * string/test-strchr.c (check1): Here.  New function.
2463         (do_one_test): Break out result checking code into ...
2464         (check_result): This.  New function.
2465         (do_one_test): Call check_result.
2466         (test_main): Call check1.
2467         * string/bug-strstr1.c (main): Moved to ...
2468         * string/test-strchr.c (check1): Here.  New function.
2469         (do_one_test): Break out result checking code into ...
2470         (check_result): This.  New function.
2471         (do_one_test): Call check_result.
2472         (test_main): Call check1.
2473         * string/bug-strcasestr1.c: Removed.
2474         * string/bug-strchr1.c: Likewise.
2475         * string/bug-strstr1.c: Likewise.
2477         * elf/Makefile (dl-routines): Add hwcaps.
2478         * elf/dl-support.c (_dl_important_hwcaps): Removed.
2479         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2480         (_dl_important_hwcaps): Moved to ...
2481         * elf/dl-hwcaps.c: Here.  New file.
2482         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2484         [BZ #14557]
2485         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2486         if IS_IN_rtld isn't defined.
2488         * elf/dl-support.c (_dl_sysinfo_map): New.
2489         Include "get-dynamic-info.h" and "setup-vdso.h".
2490         (_dl_non_dynamic_init): Call setup_vdso.
2491         * elf/dynamic-link.h: Don't include <assert.h>.
2492         (elf_get_dynamic_info): Moved to ...
2493         * elf/get-dynamic-info.h: Here.  New file.
2494         * elf/dynamic-link.h: Include "get-dynamic-info.h".
2495         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2496         * elf/setup-vdso.h: Here.  New file.
2497         * elf/rtld.c: Include "setup-vdso.h".
2498         (dl_main): Call setup_vdso.
2500 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
2502         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2503         creal in comment listing functions tested.  List finite, isinf,
2504         isnan, isless, islessequal, isgreater, isgreaterequal,
2505         islessgreater, isunordered, lgamma_r and pow10 as functions and
2506         macros not tested.  Mention which functions not tested are aliases
2507         for other functions.  Fix typo.  Note that signs of NaNs are not
2508         tested.
2510         * scripts/config.guess: Update from config.git.
2511         * scripts/config.sub: Likewise.
2513 2012-10-04  Roland McGrath  <roland@hack.frob.com>
2515         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2516         * misc/madvise.c (madvise): Renamed to __madvise.
2517         Make madvise a weak alias.
2518         * include/sys/mman.h: Declare __madvise.
2519         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2520         * sysdeps/unix/syscalls.list
2521         (madvise): Make __madvise the strong name, and madvise a weak alias.
2522         * sysdeps/unix/sysv/linux/syscalls.list
2523         (madvise, mmap): Remove redundant entries.
2524         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2525         * malloc/malloc.c (mtrim): Likewise.
2526         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2528 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2530         * sysdeps/mach/hurd/dl-cache.c: File removed.
2531         * config.h.in (USE_LDCONFIG): New #undef.
2532         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2533         * configure: Regenerated.
2534         * elf/Makefile (dl-routines): Add dl-cache only under
2535         [$(use-ldconfig) = yes].
2536         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2537         cache on [USE_LDCONFIG].
2538         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2539         [USE_LDCONFIG].
2540         * elf/rtld.c (dl_main): Likewise.
2542 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
2544         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2545         _SC_LEVEL4_CACHE_LINESIZE.
2547 2012-10-03  Roland McGrath  <roland@hack.frob.com>
2549         * sysdeps/unix/bsd/confstr.h: File removed.
2551 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
2553         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2554         sys/sdt-config.h.
2556 2012-10-02  Roland McGrath  <roland@hack.frob.com>
2558         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2559         Make 'mapoff' field ElfW(Off) rather than off_t.
2561 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
2563         * nscd/Makefile: Remove nscd-cflags and all its users.
2564         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2565         (CFLAGS-nonlib): Add compiler flags for nscd modules.
2567         [BZ #10631]
2568         * malloc.c (malloc_printerr): Clarify error message.
2570 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
2572         [BZ #14648]
2573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2574         Set bit_FMA_Usable if FMA is supported.
2575         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2576         macro.
2577         (bit_FMA4_Usable): Updated.
2578         (index_FMA_Usable): New macro.
2579         (CPUID_FMA): Likewise
2580         (HAS_FMA): Defined with bit_FMA_Usable.
2582 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2584         * bits/types.h (__swblk_t): Type removed.
2585         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2586         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2588         (__SWBLK_T_TYPE): Likewise.
2589         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2590         (__SWBLK_T_TYPE): Likewise.
2591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2592         (__SWBLK_T_TYPE): Likewise.
2593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2594         (__SWBLK_T_TYPE): Likewise.
2596 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
2597             Honza Horak <hhorak@redhat.com>
2599         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2600         (xdr_mapname): Use YPMAXMAP as maxsize.
2601         (xdr_peername): Use YPMAXPEER as maxsize.
2602         (xdr_keydat): Use YPAXRECORD as maxsize.
2603         (xdr_valdat): Use YPMAXRECORD as maxsize.
2605 2012-10-01  Roland McGrath  <roland@hack.frob.com>
2607         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2609         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2610         * csu/init-first.c: ... here.
2611         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2612         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2613         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2614         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2615         * sysdeps/i386/init-first.c: File removed.
2616         * sysdeps/sh/init-first.c: File removed.
2618 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
2620         [BZ #14645]
2621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2622         if x * y might underflow to zero and z is zero.
2623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2625         * math/libm-test.inc (min_subnorm_value): New variable.
2626         (fma_test): Add more tests.
2627         (fma_test_towardzero): Likewise.
2628         (fma_test_downward): Likewise
2629         (fma_test_upward): Likewise.
2630         (initialize): Set min_subnorm_value.
2632 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
2634         [BZ #14638]
2635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2636         0 + 0.
2637         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2638         mode for addition resulting in exact zero.
2639         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2641         exact 0 + 0.
2642         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2643         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2644         * math/libm-test.inc (fma_test): Add more tests.
2645         (fma_test_towardzero): New function.
2646         (fma_test_downward): Likewise.
2647         (fma_test_upward): Likewise.
2648         (main): Call the new functions.
2650 2012-09-28  David S. Miller  <davem@davemloft.net>
2652         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2654 2012-09-28  Roland McGrath  <roland@hack.frob.com>
2656         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2657         instead of SIGALRM.
2659         * sysdeps/gnu/_G_config.h: Moved to ...
2660         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2661         * sysdeps/mach/hurd/_G_config.h: Moved to ...
2662         * sysdeps/generic/_G_config.h: ... here.
2664         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
2666         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2668         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2669         Conditionalize target on [libnss_test1.so-version].
2671         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2673         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2674         (elfobjdir): Move out of conditionals.
2676         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2677         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2678         (__nss_lookup_function): Conditionalize label remove_from_tree on
2679         [!DO_STATIC_NSS || SHARED], matching its only use.
2681 2012-09-28  David S. Miller  <davem@davemloft.net>
2683         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2684         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2685         file.
2686         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2687         sysdep_routines.
2688         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2690         when HWCAP_SPARC_CRYPTO is present.
2692 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2694         * io/tst-mknodat.c: Create a FIFO instead of a socket.
2696 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
2698         [BZ #6530]
2699         * stdio-common/vfprintf.c (process_string_arg): Revert
2700         2000-07-22 change.
2702 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
2704         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2705         for testcase.
2706         * stdio-common/tst-sprintf.c: Include <locale.h>
2707         (main): Test sprintf's handling of incomplete multibyte
2708         characters.
2710 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
2712         * elf/dl-runtime.c (VERSYMIDX): Removed.
2713         * elf/dl-version.c (VERSYMIDX): Likewise.
2714         * elf/do-rel.h (VERSYMIDX): Likewise.
2715         (VALIDX): Likewise.
2716         * elf/dynamic-link.h (VERSYMIDX): Likewise.
2717         * elf/rtld.c (VALIDX): Likewise.
2718         (ADDRIDX): Likewise.
2719         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2720         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2721         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
2722         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2723         (VALIDX): Likewise.
2724         (ADDRIDX): Likewise.
2726 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2728         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2730 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
2732         [BZ #11438]
2733         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2734         to global scope.
2735         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2736         addresses are in the same scope as 192.0.2/24.
2737         * posix/gai.conf: Document new scope table defaults.
2739 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2741         [BZ #5298]
2742         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2743         for ftell.  Compute offsets from write pointers instead.
2744         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2746 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2748         [BZ #14543]
2749         * libio/Makefile (tests): New test case tst-fseek.
2750         * libio/tst-fseek.c: New test case to verify that fseek/ftell
2751         combination works in wide mode.
2752         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2753         state when the external buffer state changes.
2755 2012-09-27  David S. Miller  <davem@davemloft.net>
2757         [BZ #14376]
2758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2759         pass reloc->r_addend in as the 'high' argument to
2760         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2764 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
2766         * rt/tst-aio2.c: Include <pthread.h>.
2767         * rt/tst-aio3.c: Likewise.
2769 2012-09-27  Steve Ellcey  <sellcey@mips.com>
2771         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2773 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
2775         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2776         contents on [SHARED].
2778 2012-09-26  Marek Polacek  <polacek@redhat.com>
2780         [BZ #14530]
2781         [BZ #13741]
2782         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2783         for C++ and GCC <4.3 as well as for non GCC compilers.
2785 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
2787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2789 2012-09-25  Roland McGrath  <roland@hack.frob.com>
2791         * Makefile.in (all, install): Declare with .PHONY.
2792         Reported by Michael Hope <michael.hope@linaro.org>.
2794 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2796         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2797         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2798         system header.
2799         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2800         Likewise.
2801         (sydep_routines): Add the new and the internal functions.
2802         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2803         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2805         (GLIBC_2.17): Add the new function.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2807         (GLIBC_2.17): Likewise.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2809         (GLIBC_2.17): Likewise.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2811         (GLIBC_2.17): Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2814 2012-09-25  Alan Modra  <amodra@gmail.com>
2816         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2817         Add release barrier before setting once_control to say
2818         initialisation is done.  Add hints on lwarx.  Use macro in
2819         place of isync.
2820         (clear_once_control): Add release barrier.
2822 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2824         [BZ #13629]
2825         * math/s_clog.c (__clog): Handle more values close to |z| = 1
2826         specially.
2827         * math/s_clog10.c (__clog10): Likewise.
2828         * math/s_clog10f.c (__clog10f): Likewise.
2829         * math/s_clog10l.c (__clog10l): Likewise.
2830         * math/s_clogf.c (__clogf): Likewise.
2831         * math/s_clogl.c (__clogl): Likewise.
2832         * math/Makefile (libm-calls): Add x2y2m1.
2833         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2834         (__x2y2m1): Likewise.
2835         (__x2y2m1l): Likewise.
2836         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2837         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2840         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2841         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2842         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2843         * sysdeps/i386/fpu/libm-test-ulps: Update.
2844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846         [BZ #14621]
2847         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2848         int as type of variable DEPTH.
2849         (glob): Use size_t instead of int as type of variables NEWCOUNT
2850         and OLD_PATHC.
2852 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2854         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2855         Add s_sincosf-sse2.
2856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2858         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2859         macros for using routine as __sincosf_ia32.
2860         Use macro for function declaration and weak_alias.
2861         * sysdeps/i386/fpu/libm-test-ulps: Update.
2863         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2866         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
2867         subnormal argument.
2868         * math/s_cexpf.c (__cexpf): Likewise.
2869         * math/s_csinf.c (__csinf): Likewise.
2870         * math/s_csinhf.c (__csinhf): Likewise.
2871         * math/s_ctanf.c (__ctanf): Likewise.
2872         * math/s_ctanhf.c (__ctanhf): Likewise.
2873         * math/s_ccosh.c (__ccoshf): Likewise.
2874         * math/s_cexp.c (__cexpl): Likewise.
2875         * math/s_csin.c (__csin): Likewise.
2876         * math/s_csinh.c (__csinh): Likewise.
2877         * math/s_ctan.c (__ctan): Likewise.
2878         * math/s_ctanh.c (ctanh): Likewise.
2879         * math/s_ccoshl.c (__ccoshl): Likewise.
2880         * math/s_cexpl.c (__cexpl): Likewise.
2881         * math/s_csinl.c (__csinl): Likewise.
2882         * math/s_csinhl.c (__csinhl): Likewise.
2883         * math/s_ctanl.c (__ctanl): Likewise.
2884         * math/s_ctanhl.c (__ctanhl): Likewise.
2886 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
2888         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2889         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2890         (_IO_off_t): Define to __off_t, not _G_off_t.
2891         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2892         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2893         (_IO_wint_t): Define to wint_t, not _G_wint_t.
2894         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2895         type of __dummy and __dummy2 fields.
2896         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2897         (_G_ssize_t): Likewise.
2898         (_G_off_t): Likewise.
2899         (_G_pid_t): Likewise.
2900         (_G_uid_t): Likewise.
2901         (_G_wchar_t): Likewise.
2902         (_G_wint_t): Likewise.
2903         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2904         (_G_ssize_t): Likewise.
2905         (_G_off_t): Likewise.
2906         (_G_pid_t): Likewise.
2907         (_G_uid_t): Likewise.
2908         (_G_wchar_t): Likewise.
2909         (_G_wint_t): Likewise.
2910         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2911         (_G_ssize_t): Likewise.
2912         (_G_off_t): Likewise.
2913         (_G_pid_t): Likewise.
2914         (_G_uid_t): Likewise.
2915         (_G_wchar_t): Likewise.
2916         (_G_wint_t): Likewise.
2918 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2920         * malloc/arena.c: Include malloc-sysdep.h.
2921         (shrink_heap): Use check_may_shrink_heap to decide if madvise
2922         is sufficient to shrink the heap or an unmap is needed.
2923         * sysdeps/generic/malloc-sysdep.h: New file.  Define
2924         new function check_may_shrink_heap.
2925         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
2926         new function check_may_shrink_heap.
2928 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2930         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2931         comments.
2933 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
2935         * catgets/test-gencat.sh: Add "set -e".
2936         * elf/tst-pathopt.sh: Likewise.
2937         * grp/tst_fgetgrent.sh: Likewise.
2938         * iconvdata/run-iconv-test.sh: Likewise.
2939         * intl/tst-gettext.sh: Likewise.
2940         * intl/tst-gettext2.sh: Likewise.
2941         * intl/tst-gettext4.sh: Likewise.
2942         * intl/tst-gettext6.sh: Likewise.
2943         * intl/tst-translit.sh: Likewise.
2944         * io/ftwtest-sh: Likewise.
2945         * libio/test-freopen.sh: Likewise.
2946         * malloc/tst-mtrace.sh: Likewise.
2947         * posix/globtest.sh: Likewise.
2948         * posix/tst-getconf.sh: Likewise.
2949         * posix/wordexp-tst.sh: Likewise.
2950         * stdio-common/tst-printf.sh: Likewise.
2951         * stdio-common/tst-unbputc.sh: Likewise.
2952         * stdlib/tst-fmtmsg.sh: Likewise.
2953         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2954         * catgets/Makefile: Do not specify -e option when running
2955         testsuite shell scripts.
2956         * elf/Makefile: Likewise.
2957         * grp/Makefile: Likewise.
2958         * iconvdata/Makefile: Likewise.
2959         * intl/Makefile: Likewise.
2960         * io/Makefile: Likewise.
2961         * libio/Makefile: Likewise.
2962         * malloc/Makefile: Likewise.
2963         * posix/Makefile: Likewise.
2964         * stdio-common/Makefile: Likewise.
2965         * stdlib/Makefile: Likewise.
2966         * sysdeps/x86_64/Makefile: Likewise.
2968         * io/ftwtest-sh: Add copyright header.
2969         * posix/globtest.sh: Likewise.
2970         * posix/tst-getconf.sh: Likewise.
2971         * posix/wordexp-tst.sh: Likewise.
2972         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2974 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
2976         [BZ #13679]
2977         * Makeconfig (+link): Defined as $(+link-static) if
2978         $(build-shared) isn't yes.
2979         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2980         isn't yes.
2981         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2983         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2985         [BZ #14562]
2986         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2987         new chunk size with MALLOC_ALIGN_MASK.
2989 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
2991         [BZ #5044]
2992         * stdio-common/printf_fphex.c: Include <stdbool.h> and
2993         <rounding-mode.h>.
2994         (__printf_fphex): Determine rounding using get_rounding_mode and
2995         round_away.
2996         * stdio-common/tst-printf-round.c (struct hex_test): New
2997         structure.
2998         (hex_tests): New variable.
2999         (test_hex_in_one_mode): New function.
3000         (do_test): Also run tests for hex float output.
3002 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
3004         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3005         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3006         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3007         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3008         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3009         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3010         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3011         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3013 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
3015         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3016         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3017         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3018         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3020 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
3022         [BZ #14579]
3023         * elf/rtld.c (dl_main): Limit the check for self loading to normal
3024         mode only.
3025         * elf/tst-rtld-load-self.sh: New test.
3026         * elf/Makefile: Run it.
3028 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
3030         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3031         (tst-writev-ENV): Remove.
3032         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3034 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
3036         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3038 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
3040         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3041         unconditional.
3042         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3043         Likewise.
3044         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3045         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3046         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3047         Likewise.
3049 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3051         [BZ #14587]
3052         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3053         * config.make.in (have-cpp-asm-debuginfo): Removed.
3054         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3055         * configure: Regenerated.
3057 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
3059         [BZ #5044]
3060         * stdio-common/printf_fp.c: Include <stdbool.h> and
3061         <rounding-mode.h>.
3062         (___printf_fp): Determine rounding using get_rounding_mode and
3063         round_away.
3064         * stdio-common/tst-printf-round.c: New file.
3065         * stdio-common/Makefile (tests): Add tst-printf-round.
3066         (link-libm): New variable.
3067         ($(objpfx)tst-printf-round): Depend in $(link-libm).
3069 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
3071         [BZ #14576]
3072         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3073         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3074         Likewise.
3075         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3076         Likewise.
3078 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
3080         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3081         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3082         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3083         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3085 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #14518]
3088         * include/rounding-mode.h: New file.
3089         * sysdeps/generic/get-rounding-mode.h: Likewise.
3090         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3091         * stdlib/strtod_l.c: Include <rounding-mode.h>.
3092         (MAX_VALUE): New macro.
3093         (MIN_VALUE): Likewise.
3094         (overflow_value): New function.
3095         (underflow_value): Likewise.
3096         (round_and_return): Use overflow_value and underflow_value to
3097         determine return values in overflow and underflow cases.  Use
3098         round_away to determine rounding depending on rounding mode.
3099         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3100         determine return values in overflow and underflow cases.
3101         * stdlib/tst-strtod-round.c: Include <fenv.h>.
3102         (struct test_results): New structure.
3103         (struct test): Use struct test_results to store expected results
3104         for all rounding modes.
3105         (TEST): Include expected results for all rounding modes.
3106         (test_in_one_mode): New function.
3107         (do_test): Use test_in_one_mode to compute and check results.
3108         Check results for all rounding modes.
3109         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3110         $(link-libm).
3112 2012-12-09  Allan McRae  <allan@archlinux.org>
3114         * sysdeps/i386/fpu/libm-test-ulps: Update
3116 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
3118         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3119         (_G_int32_t): Likewise.
3120         (_G_uint16_t): Likewise.
3121         (_G_uint32_t): Likewise.
3122         (_G_HAVE_BOOL): Likewise.
3123         (_G_HAVE_ATEXIT): Likewise.
3124         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3125         (_G_HAVE_IO_FILE_OPEN): Likewise.
3126         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3127         (_G_int32_t): Likewise.
3128         (_G_uint16_t): Likewise.
3129         (_G_uint32_t): Likewise.
3130         (_G_HAVE_BOOL): Likewise.
3131         (_G_HAVE_ATEXIT): Likewise.
3132         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3133         (_G_HAVE_IO_FILE_OPEN): Likewise.
3134         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3135         (_G_int32_t): Likewise.
3136         (_G_uint16_t): Likewise.
3137         (_G_uint32_t): Likewise.
3138         (_G_HAVE_BOOL): Likewise.
3139         (_G_HAVE_ATEXIT): Likewise.
3140         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3141         (_G_HAVE_IO_FILE_OPEN): Likewise.
3143 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
3145         * csu/libc-tls.c: Update copyright years.
3147 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
3149         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3150         [!_G_USING_THUNKS]: Remove conditional code.
3151         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3152         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3154         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3155         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3156         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3157         (_G_VTABLE_LABEL_PREFIX): Likewise.
3158         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3159         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3160         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3161         (_G_VTABLE_LABEL_PREFIX): Likewise.
3162         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3163         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3164         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3165         (_G_VTABLE_LABEL_PREFIX): Likewise.
3166         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3168 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
3170         * libio/Makefile: Include ../Makeconfig before tests.
3171         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3172         only if $(build-shared) is yes.
3174         * iconv/gconv_db.c: Update copyright years.
3176 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3178         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3179         unwind info if defined PIC. Fix special cases description.
3180         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3182         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3183         DP_HI_MASK entry.
3184         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3186 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
3188         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3190         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3191         is NULL.
3193         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3194         (LDLIBS-tst-chk4): This.
3195         (LDFLAGS-tst-chk5): Renamed to ...
3196         (LDLIBS-tst-chk5): This.
3197         (LDFLAGS-tst-chk6): Renamed to ...
3198         (LDLIBS-tst-chk6): This.
3199         (LDFLAGS-tst-lfschk4): Renamed to ...
3200         (LDLIBS-tst-lfschk4): This.
3201         (LDFLAGS-tst-lfschk5): Renamed to ...
3202         (LDLIBS-tst-lfschk5): This.
3203         (LDFLAGS-tst-lfschk6): Renamed to ...
3204         (LDLIBS-tst-lfschk6): This.
3206         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3207         on $(common-objpfx)soversions.mk.
3209 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #10014]
3212         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3213         example host name.
3215 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3217         * malloc/arena.c (arena_get_retry): New function that gets
3218         another arena for the caller to try its request on.
3219         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3220         current arena cannot fulfill the request.
3221         (__libc_memalign): Likewise.
3222         (__libc_memalign): Likewise.
3223         (__libc_pvalloc): Likewise.
3224         (__libc_calloc): Likewise.
3226 2012-09-05  John Tobey  <john.tobey@gmail.com>
3228         [BZ #13542]
3229         * manual/arith.texi (Operations on Complex): Fix description
3230         of carg branch cut.
3232 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
3234         [BZ #10014]
3235         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3236         host name.
3238         [BZ #10038]
3239         * manual/memory.texi (Memory): Make order of menu items match
3240         order of sections.
3242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3244         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3245         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
3246         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3248 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3250         * csu/libc-tls.c (static_dtv): Renamed to ...
3251         (_dl_static_dtv): This.  Make it global.
3252         (_dl_initial_dtv): Removed.
3253         (__libc_setup_tls): Updated.
3254         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3255         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3256         DL_INITIAL_DTV.
3258 2012-09-06  Petr Machata  <pmachata@redhat.com>
3260         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3261         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3262         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3263         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3267         [BZ #14545]
3268         * csu/libc-tls.c (_dl_initial_dtv): New variable.
3269         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3270         freeing dtv[-1].
3272 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3274         [BZ #14544]
3275         * Makeconfig (link-static-before-libc): Replace $(+prector)
3276         with $(+prectorT).
3277         (link-static-after-libc): Replace $(+postctor) with
3278         $(+postctorT).
3279         (link-bounded): Replace $(+prector)/$(+postctor) with
3280         $(+prectorT)/$(+postctorT).
3281         (+prectorT): New macro.
3282         (+postctorT): Likewise.
3284 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
3286         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3287         (round_str): Handle values above the maximum for IBM long double
3288         as inexact.
3289         * stdlib/tst-strtod-round.c (tests): Regenerated.
3291 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3293         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3294         assembler flag.
3295         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3296         zarch_nohighgprs around the zarch optimized routines.
3297         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3298         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3300         for zarch.
3302 2012-09-05  David S. Miller  <davem@davemloft.net>
3304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3306         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3307         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3308         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3309         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3310         entries.
3312 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3314         * malloc/arena.c: Fold copyright years.
3315         * malloc/mcheck.c, malloc/memusage.c: Likewise.
3317 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3319         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3321 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3323         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
3325 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3327         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3328         change internal state upon failure.
3330 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
3332         * malloc/mcheck.c (mcheck_check_all): Fix typo.
3333         * malloc/memusage.c (mmap): Likewise.
3334         (mmap64, mremap): Likewise.  Adjust name in comment.
3336 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3338         * libio/fileops.c: Fix typos in comments.
3339         * libio/oldfileops.c: Likewise.
3340         * libio/wfileops.c: Likewise.
3342 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3344         [BZ #1349]
3345         * malloc/Makefile (tests): Add tst-malloc-usable test case.
3346         (tst-malloc-usable-ENV): Set environment for test case.
3347         * malloc/hooks.c (malloc_check_get_size): New function to get
3348         requested size.
3349         * malloc/malloc.c (musable): Use malloc_check_get_size.
3350         * malloc/tst-malloc-usable.c: New test case.
3352 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3354         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3356 2012-09-05  Allan McRae  <allan@archlinux.org>
3358         [BZ #13966]
3359         * configure.in (CXX_SYSINCLUDES): Use compiler output to
3360         determine header location.
3361         * configure: Regenerated.
3363 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
3365         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3366         float format.
3367         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3368         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3369         format.
3370         (test): Regenerate.
3372 2012-09-04  David S. Miller  <davem@davemloft.net>
3374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3376         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3378 2012-09-04  Florian Weimer  <fweimer@redhat.com>
3380         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3381         failures.
3383         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3385 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #9914]
3388         * libio/iogetdelim.c: Include <limits.h>.
3389         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3390         + len + 1 would overflow.
3392 2012-09-03  Andreas Jaeger  <aj@suse.de>
3394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3395         * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3399         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3400         Add s_sinf-sse2, s_conf-sse2.
3402         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3403         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3404         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3405         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3407         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3408         for using routine as __sinf_ia32.
3409         Use macro for function declaration and weak_alias.
3410         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3411         for using routine as __cosf_ia32.
3412         Use macro for function declaration and weak_alias.
3414         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3415         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3417         * sysdeps/x86_64/fpu/s_sinf.S: New file.
3418         * sysdeps/x86_64/fpu/s_cosf.S: New file.
3419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3421         * math/libm-test.inc (cos_test): Add more test cases.
3422         (sin_test): Likewise.
3423         (sincos_test): Likewise.
3425 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3427         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3428         (IFUNC_RESOLVE): Make pointers to the specialized implementations
3429         hidden.
3430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3432 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
3434         [BZ #14538]
3435         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3436         first element of the GOT.
3437         (elf_machine_load_address): Return the difference between
3438         the runtime address of _DYNAMIC and elf_machine_dynamic ().
3440 2012-09-01  Allan McRae  <allan@archlinux.org>
3442         [BZ #13412]
3443         * configure.in (AWK): Require gawk version 3.0 or later.
3444         * configure: Regenerated.
3446 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
3448         * sysdeps/unix/sysv/linux/kernel-features.h
3449         (__ASSUME_POSIX_CPU_TIMERS): Remove.
3450         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3451         [__NR_clock_getres]: Make code unconditional.
3452         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3453         (clock_getcpuclockid): Remove code left unreachable by removal of
3454         conditionals.
3455         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3456         code unconditional.
3457         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3458         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3459         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3460         Make code unconditional.
3461         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3462         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3463         * sysdeps/unix/sysv/linux/clock_settime.c
3464         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3465         conditional code.
3466         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3467         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3469 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
3471         [BZ #14476]
3472         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3473         scripts/test-installation.pl.
3475         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3476         and $ld_so_version if it is set.
3478 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3480         [BZ #14516]
3481         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3482         failure if reading from procfs failed.
3483         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3485 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3487         * sysdeps/unix/sysv/linux/kernel-features.h
3488         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3489         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3490         Remove conditional code.
3491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3492         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3493         Remove conditional code.
3494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3495         * sysdeps/unix/sysv/linux/i386/fxstat.c
3496         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3498         * sysdeps/unix/sysv/linux/i386/fxstatat.c
3499         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3501         * sysdeps/unix/sysv/linux/i386/lxstat.c
3502         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3504         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3505         Remove conditional code.
3506         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3507         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3508         Remove conditional code.
3509         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3510         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3511         <kernel-features.h>.
3512         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3513         Remove.
3514         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3515         Remove conditional code.
3516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3517         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3518         Remove conditional.
3520 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
3522         [BZ #5400]
3523         * NEWS: Add fixed bug number.
3525 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
3527         [BZ #14519]
3528         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3529         underflowing exponent in case of negative sign.
3530         * stdlib/tst-strtod-round-data: Add more tests.
3531         * stdlib/tst-strtod-round.c (tests): Regenerated.
3533         [BZ #3479]
3534         * stdlib/strtod_l.c (NDIG): Remove.
3535         (HEXNDIG): Likewise.
3536         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3537         smallest representable value.
3538         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3539         lie within an exact representation of 1/2 ulp of the result.
3540         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3541         unconditionally.
3542         (TENS_P9_IDX): Define unconditionally.
3543         (TENS_P9_SIZE): Likewise.
3544         (TENS_P10_IDX): Likewise.
3545         (TENS_P10_SIZE): Likewise.
3546         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3547         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3548         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3549         entries for 10^2^13 and 10^2^14.
3550         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3551         (TENS_P13_IDX): Define.
3552         (TENS_P13_SIZE): Likewise.
3553         (TENS_P14_IDX): Likewise.
3554         (TENS_P14_SIZE): Likewise.
3555         (_fpioconst_pow10): Change array size to
3556         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
3557         unconditional.
3558         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3559         1024]: Add entries for 10^2^13 and 10^2^14.
3560         [LAST_POW10 > _LAST_POW10]: Remove #error.
3561         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3562         (_fpioconst_pow10): Change array size to
3563         FPIOCONST_POW10_ARRAY_SIZE.
3564         * stdlib/gen-fpioconst.c: New file.
3565         * stdlib/gen-tst-strtod-round.c: Likewise.
3566         * stdlib/tst-strtod-round-data: Likewise.
3567         * stdlib/tst-strtod-round.c: Likewise.
3568         * stdlib/Makefile (tests): Add tst-strtod-round.
3570         [BZ #14459]
3571         * stdlib/strtod_l.c: Include <stdint.h>.
3572         (NDEBUG): Do not define.
3573         (round_and_return): Change EXPONENT parameter to type intmax_t.
3574         Rearrange calculations to avoid internal overflow possibilities.
3575         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3576         Rearrange calculations to avoid internal overflow possibilities.
3577         Assert that number fits inside MPNSIZE limbs.
3578         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3579         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
3580         calculations and add assertions to avoid internal overflow
3581         possibilities.  Add casts to avoid signed/unsigned operations.
3582         * stdlib/tst-strtod-overflow.c: New file.
3583         * stdlib/Makefile (tests): Add tst-strtod-overflow.
3585 2012-08-25  Marek Polacek  <polacek@redhat.com>
3587         * time/time.h: Fix some typos in comments.
3589 2012-08-23  Roland McGrath  <roland@hack.frob.com>
3591         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3592         * posix/tst-rfc3484-2.c: Likewise.
3593         * posix/tst-rfc3484-3.c: Likewise.
3595 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
3597         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3598         (EF_ARM_ABI_FLOAT_HARD): Likewise.
3600 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
3602         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3603         #include of fxstatat64.c.
3605 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3607         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3608         * shadow/getspent_r.c: Likewise.
3609         * shadow/getspnam.c: Likewise.
3610         * shadow/getspnam_r.c: Likewise.
3611         * gshadow/getsgent.c: Likewise.
3612         * gshadow/getsgent_r.c: Likewise.
3613         * gshadow/getsgnam.c: Likewise.
3614         * gshadow/getsgnam_r.c: Likewise.
3615         * inet/getnetbyad.c: Likewise.
3616         * inet/getnetbyad_r.c: Likewise.
3617         * inet/getnetbynm.c: Likewise.
3618         * inet/getnetbynm_r.c: Likewise.
3619         * inet/getnetent.c: Likewise.
3620         * inet/getnetent_r.c: Likewise.
3621         * inet/getproto.c: Likewise.
3622         * inet/getproto_r.c: Likewise.
3623         * inet/getprtent.c: Likewise.
3624         * inet/getprtent_r.c: Likewise.
3625         * inet/getprtname.c: Likewise.
3626         * inet/getprtname_r.c: Likewise.
3627         * inet/getrpcbyname.c: Likewise.
3628         * inet/getrpcbyname_r.c: Likewise.
3629         * inet/getrpcbynumber.c: Likewise.
3630         * inet/getrpcbynumber_r.c: Likewise.
3631         * inet/getrpcent.c: Likewise.
3632         * inet/getrpcent_r.c: Likewise.
3633         * inet/getaliasent.c: Likewise.
3634         * inet/getaliasent_r.c: Likewise.
3635         * inet/getaliasname.c: Likewise.
3636         * inet/getaliasname_r.c: Likewise.
3637         * nscd/getgrgid_r.c: Likewise.
3638         * nscd/getgrnam_r.c: Likewise.
3639         * nscd/gethstbyad_r.c: Likewise.
3640         * nscd/gethstbynm3_r.c: Likewise.
3641         * nscd/getpwnam_r.c: Likewise.
3642         * nscd/getpwuid_r.c: Likewise.
3643         * nscd/getsrvbynm_r.c: Likewise.
3644         * nscd/getsrvbypt_r.c: Likewise.
3645         * nscd/gai.c: Likewise.
3647         * configure.in (build_nscd): New substituted variable, set
3648         by --disable-build-nscd and defaults to $use_nscd.
3649         * configure: Regenerated.
3650         * config.make.in (build-nscd): New substituted variable.
3651         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3652         Change conditional to require [$(build-nscd) = yes] as well.
3653         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3655         [BZ# 13696]
3656         * configure.in (use_nscd): New substituted variable, set by
3657         --disable-nscd.  If enabled, define USE_NSCD.
3658         * configure: Regenerated.
3659         * config.h.in: Add USE_NSCD.
3660         * config.make.in (use-nscd): New substituted variable.
3661         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3662         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3663         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3664         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3665         (CFLAGS-getgrnam_r.c): Likewise.
3666         (CFLAGS-initgroups.c): Likewise.
3667         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3668         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3669         Variables removed.
3670         * inet/getnetgrent_r.c
3671         (nscd_setnetgrent): New function, broken out of ...
3672         (setnetgrent): ... here.  Call it.
3673         (innetgr): Conditionalize nscd bits on [USE_NSCD].
3674         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3675         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3676         * nscd/Makefile (routines, aux): Move definitions after include of
3677         Makeconfig.  Conditionalize on [$(use-nscd) != no].
3678         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3679         Conditionalize on [USE_NSCD].
3680         (is_nscd, nscd_init_cb): Likewise.
3681         (nss_load_library): Conditionalize init callback on [USE_NSCD].
3682         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3683         * nss/nss_db/db-init.c: Likewise.
3684         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3685         [USE_NSCD].
3686         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3687         (make_request): Use it.
3688         (cache_valid_p): New function.
3689         (__check_pf): Use it.
3690         * NEWS: Add item for --disable-nscd.
3692 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
3694         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3695         to support sed >= 4.2.1-20-ga9bf076.
3696         * configure: Regenerated.
3698 2012-08-22  Roland McGrath  <roland@hack.frob.com>
3700         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3701         Conditionalize whole body on [IREL].
3703 2012-08-22  Jeff Law <law@redhat.com>
3705         [BZ #14505]
3706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3707         if the family is PF_UNSPEC.
3709 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
3711         * Makerules (lib-version): Rename from V.
3712         (install-lib-nosubdir): Change V to lib-version.
3714 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
3716         [BZ #14252]
3717         * powerpc32/power6/wcschr.c: New file.
3718         * powerpc32/power6/wcscpy.c: New file.
3719         * powerpc32/power6/wcsrchr.c: New file.
3720         * powerpc64/power6/wcschr.c: New file.
3721         * powerpc64/power6/wcscpy.c: New file.
3722         * powerpc64/power6/wcsrchr.c: New file.
3724 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3726         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3727         (two_way_short_needle): Use it.
3728         * string/strstr.c (AVAILABLE1_USES_J): Define.
3729         * string/strcasestr.c: Likewise.
3731         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3732         array references.
3733         * string/strcasestr.c (TOLOWER): Make side-effect safe.
3735         [BZ #11607]
3736         * NEWS: Add an entry.
3737         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3738         define their defaults.
3739         (two_way_short_needle): Detect end-of-string on-the-fly.
3740         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3741         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3742         * string/bug-strcasestr1.c: New test.
3743         * string/Makefile: Run it.
3745 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
3747         [BZ #11607]
3748         * string/str-two-way.h (two_way_short_needle): Optimize matching of
3749         the first character.
3751 2012-08-21  Roland McGrath  <roland@hack.frob.com>
3753         * csu/elf-init.c (__libc_csu_irel): Function removed.
3754         * csu/libc-start.c (apply_irel): New function.
3755         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3757 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
3759         * sysdeps/unix/sysv/linux/kernel-features.h
3760         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3761         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3762         <kernel-features.h>.
3763         [__NR_fadvise64_64]: Make code unconditional.
3764         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3765         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3766         !__NR_fadvise64_64)]: Likewise.
3767         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3768         !__NR_fadvise64_64))]: Likewise.
3769         [__NR_fadvise64]: Make code unconditional.
3770         [!__NR_fadvise64]: Remove conditional code.
3771         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3772         <kernel-features.h>.
3773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3774         unconditional.
3775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3776         conditional code.
3777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3778         not include <kernel-features.h>.
3779         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3780         unconditional.
3781         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3782         conditional code.
3783         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3784         include <kernel-features.h>.
3785         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3786         unconditional.
3787         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3788         conditional code.
3790 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
3792         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3793         slight instruction rearrangements per scrollpipe analysis.
3794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3796 2012-08-20  Roland McGrath  <roland@hack.frob.com>
3798         * manual/syslog.texi (syslog; vsyslog, closelog):
3799         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3800         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3802         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3803         DSOCAPS to match condition on defining it.
3805 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
3807         * sysdeps/unix/sysv/linux/kernel-features.h
3808         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3810         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3811         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3813         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3814         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3816         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3817         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3819         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3820         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3822         * sysdeps/unix/sysv/linux/kernel-features.h
3823         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3824         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3825         unconditional.
3826         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3827         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3828         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3829         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3830         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3831         Make code unconditional.
3832         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3833         (__mmap64) [!__NR_mmap2]: Likewise.
3834         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3835         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3836         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3837         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3838         [__NR_mmap2]: Make code unconditional.
3839         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3840         (__mmap64) [!__NR_mmap2]: Likewise.
3842 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3844         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3846 2012-08-18  Andreas Jaeger  <aj@suse.de>
3848         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3850 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3852         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3853         * include/unistd.h (__have_sock_cloexec): Likewise.
3854         (__have_pipe2): Likewise.
3855         (__have_dup3): Likewise.
3857 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
3859         [BZ #9685]
3860         * include/unistd.h (__have_pipe2): Change define into an extern int.
3861         (__have_dup3): Likewise.
3862         * socket/have_sock_cloexec.c: Include fcntl.h.
3863         (__have_pipe2): New variable.
3864         (__have_dup3): Likewise.
3866 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
3868         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3870 2012-08-17  Marek Polacek  <polacek@redhat.com>
3872         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3873         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3875 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3877         * configure.in: Add AC_SUBST for sysheaders.
3878         * configure: Regenerated.
3879         * config.make.in (sysheaders): New substituted variable.
3881         * sysdeps/unix/mkfifo.c: Moved ...
3882         * sysdeps/posix/mkfifo.c: ... here.
3883         * sysdeps/unix/mkfifoat.c: Moved ...
3884         * sysdeps/posix/mkfifoat.c: ... here.
3886         * sysdeps/unix/utime.c: Moved ...
3887         * sysdeps/posix/utime.c: ... here.
3889         * sysdeps/unix/time.c: Moved ...
3890         * sysdeps/posix/time.c: ... here.
3891         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3892         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
3894         * sysdeps/unix/nice.c: Moved ...
3895         * sysdeps/posix/nice.c: ... here.
3897         * sysdeps/unix/alarm.c: Moved ...
3898         * sysdeps/posix/alarm.c: ... here.
3900         * intl/Makefile ($(codeset_mo)): Depend on the input file.
3902 2012-08-17  Jeff Law <law@redhat.com>
3904         * intl/Makefile (codeset_mo): New variable.
3905         ($(codeset_mo)): New target.
3906         (tst-codeset.out): Depend on that.  Remove explicit rule.
3907         (tst-gettext3.out, tst-gettext5.out): Likewise.
3908         (LOCPATH-ENV, tst-codeset-ENV): New variables.
3909         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3910         * intl/tst-codeset.sh: Remove.
3911         * intl/tst-gettext3.sh: Likewise.
3912         * intl/tst-gettext5.sh: Likewise.
3914 2012-08-17  Roland McGrath  <roland@hack.frob.com>
3916         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
3917         * sysdeps/unix/syscalls.list: ... here.
3919         * sysdeps/posix/getaddrinfo.c
3920         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3921         (gaiconf_init, gaiconf_reload): Use them.
3922         [!_STATBUF_ST_NSEC]
3923         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3924         Define using time_t rather than struct timespec.
3926         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3927         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3928         Macros removed.
3929         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3930         [!NO_THREADS].
3931         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3932         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3933         Likewise.
3935         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3936         __libc_cleanup_push argument.
3938         * bits/param.h: New file.
3939         * misc/sys/param.h: New file.
3940         * include/sys/param.h: New file.
3941         * misc/Makefile (headers): Add bits/param.h.
3942         * sysdeps/generic/sys/param.h: File removed.
3943         * sysdeps/unix/sysv/linux/bits/param.h: New file.
3944         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3945         * sysdeps/mach/hurd/bits/param.h: New file.
3946         * sysdeps/mach/hurd/sys/param.h: File removed.
3948         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3949         last change.
3951         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3952         [_IO_MTSAFE_IO].
3953         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3954         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3955         New macros.
3957         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3958         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3959         rather than -D_IO_MTSAFE_IO conditionally.
3960         * stdio-common/Makefile (CPPFLAGS): Likewise.
3961         * wcsmbs/Makefile (CPPFLAGS): Likewise.
3962         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3963         Use $(libio-mtsafe).
3964         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3965         of -D_IO_MTSAFE_IO.
3966         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3967         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3968         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3969         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3970         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3971         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3972         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3973         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3974         (CFLAGS-fread_u_chk.c): Likewise.
3975         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3976         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3977         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3978         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3979         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3980         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3981         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3982         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3983         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3985         * libio/Makefile: Test [$(libc-reentrant) = yes]
3986         instead of [$(filter %REENTRANT, $(defines)) nonempty].
3988         * Makeconfig
3989         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3990         * sysdeps/pthread/configure: File removed.
3991         * sysdeps/pthread/Makeconfig: New file.
3992         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3993         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3995 2012-08-16  Gary Benson  <gbenson@redhat.com>
3997         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3998         unmapping the first object in a namespace.
4000 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4002         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4003         (__internal_setnetgrent): ... this.  Add internal_function to
4004         definition.  Add libc_hidden_def.
4005         (setnetgrent): Update caller.
4006         (internal_endnetgrent): Renamed to ...
4007         (__internal_endnetgrent): ... this.  Add internal_function to
4008         definition.  Add libc_hidden_def.
4009         (endnetgrent): Update caller.
4010         (internal_getnetgrent_r): Renamed to ...
4011         (__internal_getnetgrent_r): ... this.  Add internal_function to
4012         definition.  Add libc_hidden_def.
4013         (__getnetgrent_r): Update caller.
4014         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
4016 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4018         * stdlib/longlong.h: Update from GCC.
4020 2012-08-16  Roland McGrath  <roland@hack.frob.com>
4022         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4023         on _QL, which is set by umul_ppmm but never used.
4024         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4025         variables, which are set by GMP macros but never used.
4026         * stdio-common/_itowa.c (_itowa): Likewise.
4027         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4028         * stdlib/mod_1.c (mpn_mod_1): Likewise.
4030 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
4032         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4033         struct La_sh_regs is not constant.
4034         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4035         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4036         and struct La_sparc64_regs are not constant.
4038 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
4040         * sysdeps/unix/sysv/linux/kernel-features.h
4041         (__ASSUME_POSIX_TIMERS): Remove.
4042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4044         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4045         Make code unconditional.
4046         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4047         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4048         Make code unconditional.
4049         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4050         * sysdeps/unix/sysv/linux/clock_nanosleep.c
4051         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4052         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4053         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4054         Make code unconditional.
4055         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4056         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4057         (__libc_missing_posix_timers): Remove.
4059 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4061         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4062         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4064         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4066         * elf/dl-sym.c: Include <stdlib.h>.
4068         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4069         constants, which avoids warnings in 32-bit builds.
4071         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4072         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4074         * misc/lseek.c: File moved to ...
4075         * io/lseek.c: ... here.
4077         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4079         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4080         shifting LEN more than 31 bits at once.
4082 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4084         [BZ #14195]
4085         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4086         segmentation fault for a case of two empty input strings.
4087         * string/test-strncasecmp.c (check1): Renamed to...
4088         (bz12205): ...this.
4089         (bz14195): Add new testcase for two empty input strings and N > 0.
4090         (test_main): Call new testcase, adapt for renamed function.
4092 2012-08-15  Andreas Jaeger  <aj@suse.de>
4094         [BZ #14090]
4095         * crypt/md5test2.c: New test, based on test supplied by Serge
4096         Belyshev <belyshev@depni.sinp.msu.ru>.
4097         * crypt/Makefile (xtests): Add md5test-giant..
4098         * crypt/Makefile ($(objpfx)md5test-giant): Add.
4100 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
4102         [BZ #14090]
4103         * crypt/md5.c (md5_process_block): Don't assume the buffer
4104         length is less than 2**32.
4105         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4106         length is less than 2**64.
4108 2012-08-15  Roland McGrath  <roland@hack.frob.com>
4110         * string/str-two-way.h: Include <sys/param.h>.
4111         (MAX): Macro removed.
4113         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4114         Move #define and #undef of memmove to just before and after
4115         including <string.h>.
4117         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4118         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4119         and after including <string.h>.  Move declarations of
4120         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4121         to before #include "string/memmove.c".
4123         * include/dirent.h: Declare __getdirentries.
4125         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4126         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4128 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
4130         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4131         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4132         * sysdeps/i386/configure: Regenerated.
4133         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4134         STABS_CURRENT_FILE, and STABS_FUN.
4135         (END): Remove call to STABS_FUN_END.
4136         (STABS_CURRENT_FILE1): Delete.
4137         (STABS_CURRENT_FILE): Likewise.
4138         (STABS_FUN): Likewise.
4139         (STABS_FUN_END): Likewise.
4140         (STABS_FUN2): Likewise.
4141         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4142         * sysdeps/x86_64/configure: Regenerated.
4144 2012-08-14  Roland McGrath  <roland@hack.frob.com>
4146         * elf/dl-open.c: Include <atomic.h>.
4147         * elf/dl-lookup.c: Likewise.
4149 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
4151         * sysdeps/unix/sysv/linux/kernel-features.h
4152         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4153         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4154         unconditionally.
4155         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4156         unconditionally.
4157         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4158         condition on __ASSUME_CLONE_THREAD_FLAGS.
4160 2012-08-14  Andreas Jaeger  <aj@suse.de>
4162         * sysdeps/i386/fpu/libm-test-ulps: Update.
4164 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
4166         * include/atomic.h (atomic_exchange_and_add): Split into ...
4167         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4168         New atomic macros.
4170 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
4172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4174 2012-08-13  Jeff Law <law@redhat.com>
4176         * manual/stdio.texi (snprintf): Clarify handling of the trailing
4177         null byte in the output string.
4179 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
4181         * sysdeps/unix/sysv/linux/kernel-features.h
4182         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4183         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4184         (__ASSUME_ARG_MAX_STACK_BASED): Define.
4185         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4186         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4187         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
4188         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4190 2012-08-09  Jeff Law <law@redhat.com>
4192         [BZ #13939]
4193         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4194         When avoid_arena is set, don't retry in the that arena.  Pick the
4195         next one, whatever it might be.
4196         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4197         (arena_lock): Pass in new parameter to arena_get2.
4198         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4199         arena_get2.
4200         (__libc_malloc): Unify retrying after main arena failure with
4201         __libc_memalign version.
4202         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4204 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
4206         [BZ #14166]
4207         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4208         to __redirect_strstr.
4209         (__strstr_sse42): Use typeof __redirect_strstr.
4210         (__strstr_ia32): Likewise.
4211         (__libc_strstr): New prototype.
4212         (strstr): Renamed to ...
4213         (__libc_strstr): This.
4214         (strstr): New strong alias of __libc_strstr.
4215         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4216         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4217         __redirect_time.
4218         Include <time.h>.
4219         (__libc_time): New prototype.
4220         (time_ifunc): Replace time with __libc_time.
4221         (time): New strong alias and hidden definition of __libc_time.
4222         (__GI_time): Remove strong alias.
4223         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4224         Include <stddef.h>.
4225         (memmove): Redefined to __redirect_memmove.
4226         (__memmove_sse2): Use typeof __redirect_memmove.
4227         (__memmove_ssse3): Likewise.
4228         (__memmove_ssse3_back): Likewise.
4229         (__libc_memmove): New prototype.
4230         (memmove): Renamed to ...
4231         (__libc_memmove): This.
4232         (memmove): New strong alias of __libc_memmove.
4234 2012-08-08  Mark Salter  <msalter@redhat.com>
4236         * elf/elf.h
4237         (R_MN10300_TLS_GD): Define.
4238         (R_MN10300_TLS_LD): Likewise.
4239         (R_MN10300_TLS_LDO): Likewise.
4240         (R_MN10300_TLS_GOTIE): Likewise.
4241         (R_MN10300_TLS_IE): Likewise.
4242         (R_MN10300_TLS_LE): Likewise.
4243         (R_MN10300_TLS_DTPMOD): Likewise.
4244         (R_MN10300_TLS_DTPOFF): Likewise.
4245         (R_MN10300_TLS_TPOFF): Likewise.
4246         (R_MN10300_SYM_DIFF): Likewise.
4247         (R_MN10300_ALIGN): Likewise.
4248         (R_MN10300_NUM): Update.
4250 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
4252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4253         Remove.
4255 2012-08-08  Roland McGrath  <roland@hack.frob.com>
4257         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4259         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4260         sysdeps/unix -> sysdeps/posix move.
4261         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4263 2012-08-07      Allan McRae     <allan@archlinux.org>
4265         [BZ #14303]
4266         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4267         (SUNOS_CPP): Likewise.
4268         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4269         not found.
4270         (open_input): Call CPP using execvp.
4272 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
4274         * sysdeps/unix/sysv/linux/kernel-features.h
4275         (__ASSUME_PROT_GROWSUPDOWN): Remove.
4276         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4277         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4278         (__ASSUME_WAITID_SYSCALL): Likewise.
4279         * sysdeps/unix/sysv/linux/dl-execstack.c
4280         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4281         code unconditional.
4282         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4283         conditional code.
4284         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4285         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4286         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4287         code.
4288         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4289         unconditional.
4290         [__ASSUME_WAITID_SYSCALL]: Likewise.
4291         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4293 2012-08-07  Roland McGrath  <roland@hack.frob.com>
4295         * sysdeps/unix/closedir.c: Renamed to ...
4296         * sysdeps/posix/closedir.c: ... here.
4297         * sysdeps/unix/dirfd.c: Renamed to ...
4298         * sysdeps/posix/dirfd.c: ... here.
4299         * sysdeps/unix/dirstream.h: Renamed to ...
4300         * sysdeps/posix/dirstream.h: ... here.
4301         * sysdeps/unix/fdopendir.c: Renamed to ...
4302         * sysdeps/posix/fdopendir.c: ... here.
4303         * sysdeps/unix/opendir.c: Renamed to ...
4304         * sysdeps/posix/opendir.c: ... here.
4305         * sysdeps/unix/readdir.c: Renamed to ...
4306         * sysdeps/posix/readdir.c: ... here.
4307         * sysdeps/unix/readdir_r.c: Renamed to ...
4308         * sysdeps/posix/readdir_r.c: ... here.
4309         * sysdeps/unix/rewinddir.c: Renamed to ...
4310         * sysdeps/posix/rewinddir.c: ... here.
4311         * sysdeps/unix/seekdir.c: Renamed to ...
4312         * sysdeps/posix/seekdir.c: ... here.
4313         * sysdeps/unix/telldir.c: Renamed to ...
4314         * sysdeps/posix/telldir.c: ... here.
4315         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4316         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4317         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4318         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4320         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4321         * bits/fcntl.h: ... here.
4323         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4324         not 0.
4325         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4326         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4327         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4328         (struct flock): Move l_start, l_len to the beginning.
4329         Use __pid_t for l_pid.
4330         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4331         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4332         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4333         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4334         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4335         [__USE_LARGEFILE64] (struct flock64): New type.
4336         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4338         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4339         * bits/dirent.h: ... here.
4341         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4342         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4344 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
4346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4347         Change from 2.6.0 to 2.6.16.
4348         * sysdeps/unix/sysv/linux/configure: Regenerated.
4349         * sysdeps/unix/sysv/linux/kernel-features.h
4350         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4351         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4352         version.
4353         (__ASSUME_UTIMES): Likewise.
4354         (__ASSUME_CLONE_STOPPED): Remove.
4355         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4356         architectures, not kernel version.
4357         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4358         (__ASSUME_NO_CLONE_DETACHED): Likewise.
4359         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4360         (__ASSUME_WAITID_SYSCALL): Likewise.
4361         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4362         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4363         * README: State 2.6.16 as minimum Linux kernel version.  Do not
4364         refer to older versions.
4366 2012-08-06  Roland McGrath  <roland@hack.frob.com>
4368         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4369         Define alphasort64 as an alias.
4370         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4371         Define versionsort64 as an alias.
4372         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4373         Define scandir64 as an alias.
4374         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4375         Define scandirat64 as an alias.
4376         * dirent/alphasort64.c (alphasort64):
4377         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4378         * dirent/versionsort64.c: Likewise.
4379         * dirent/scandir64.c: Likewise.
4380         * dirent/scandirat64.c: Likewise.
4381         * sysdeps/wordsize-64/alphasort.c: File removed.
4382         * sysdeps/wordsize-64/alphasort64.c: File removed.
4383         * sysdeps/wordsize-64/scandir.c: File removed.
4384         * sysdeps/wordsize-64/scandir64.c: File removed.
4385         * sysdeps/wordsize-64/scandirat.c: File removed.
4386         * sysdeps/wordsize-64/scandirat64.c: File removed.
4387         * sysdeps/wordsize-64/versionsort.c: File removed.
4388         * sysdeps/wordsize-64/versionsort64.c: File removed.
4389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4390         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4392         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4394         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4396         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4398         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4400         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4401         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4402         [defined __arch64__ || defined __sparcv9]
4403         (__INO_T_MATCHES_INO64_T): New macro.
4404         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4405         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4406         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4407         * sysdeps/unix/sysv/linux/bits/dirent.h
4408         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4409         (_DIRENT_MATCHES_DIRENT64): New macro.
4411         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4412         Define lockf64 as an alias.
4413         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4414         Define fseeko64 as an alias.
4415         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4416         Define ftello64 as an alias.
4417         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4418         Define _IO_fgetpos64 and fgetpos64 as aliases.
4419         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4420         Define _IO_fsetpos64 and fsetpos64 as aliases.
4421         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4422         Conditionalize body on this.
4423         * libio/fseeko64.c: Likewise.
4424         * libio/ftello64.c: Likewise.
4425         * libio/iofgetpos64.c: Likewise.
4426         * libio/iofsetpos64.c: Likewise.
4427         * sysdeps/wordsize-64/lockf.c: File removed.
4428         * sysdeps/wordsize-64/lockf64.c: File removed.
4429         * sysdeps/wordsize-64/fseeko.c: File removed.
4430         * sysdeps/wordsize-64/fseeko64.c: File removed.
4431         * sysdeps/wordsize-64/ftello.c: File removed.
4432         * sysdeps/wordsize-64/ftello64.c: File removed.
4433         * sysdeps/wordsize-64/iofgetpos.c: File removed.
4434         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4435         * sysdeps/wordsize-64/iofsetpos.c: File removed.
4436         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4438         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4440         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4442         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4444         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4446         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4448         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4450         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4451         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4452         [defined __arch64__ || defined __sparcv9]
4453         (__OFF_T_MATCHES_OFF64_T): New macro.
4454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4455         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4457         (__OFF_T_MATCHES_OFF64_T): New macro.
4459 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4461         * stdlib/secure-getenv.c (__secure_getenv): Replace
4462         GLIBC_2_16 with GLIBC_2_17.
4464 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
4466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4467         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4469 2012-08-03  David S. Miller  <davem@davemloft.net>
4471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4473 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4475         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4476         Remove.
4477         (__ASSUME_CORRECT_SI_PID): Likewise.
4478         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4479         (__ASSUME_TMPFS_NAME): Likewise.
4480         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4481         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4482         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4483         (HAVE_AUX_SECURE): Make definition unconditional.
4484         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4485         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4487 2012-08-03  Roland McGrath  <roland@hack.frob.com>
4489         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4490         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4491         * sysdeps/mach/hurd/eloop-threshold.h: New file.
4492         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4493         __eloop_threshold instead of SYMLOOP_MAX.
4495         * sysdeps/generic/eloop-threshold.h: New file.
4496         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4497         of MAXSYMLINKS.
4498         * elf/chroot_canon.c (chroot_canon): Likewise.
4500 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
4502         [BZ #13717]
4503         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4504         Change to 2.6.0 everywhere.
4505         * sysdeps/unix/sysv/linux/configure: Regenerated.
4506         * sysdeps/unix/sysv/linux/kernel-features.h
4507         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4508         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4509         kernel versions.
4510         (__ASSUME_POSIX_TIMERS): Define unconditionally.
4511         (__ASSUME_FUTEX_REQUEUE): Remove.
4512         (__ASSUME_STATFS64): Define unconditionally.
4513         (__ASSUME_AT_SECURE): Likewise.
4514         (__ASSUME_CORRECT_SI_PID): Likewise.
4515         (__ASSUME_TGKILL): Define without depending on kernel version for
4516         i386.
4517         (__ASSUME_UTIMES): Likewise.
4518         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4519         kernel version.
4520         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4521         (__ASSUME_TMPFS_NAME): Likewise.
4522         * README: Update reference to Linux kernel versions.
4524 2012-08-02  Marek Polacek  <polacek@redhat.com>
4526         [BZ# 14150]
4527         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
4528         libc_cv_asm_type_prefix with %.
4529         * configure: Regenerated.
4530         * include/libc-symbols.h: Remove comment about
4531         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4532         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4533         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4534         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4535         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4536         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4538         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4539         * elf/tst-unique2mod1.c: Likewise.
4540         * elf/tst-unique1mod2.c: Likewise.
4541         * elf/tst-unique1mod1.c: Likewise.
4542         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4543         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4544         Replace ASM_TYPE_DIRECTIVE with .type.
4545         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4546         * sysdeps/i386/sysdep.h: Likewise.
4547         * sysdeps/x86_64/sysdep.h: Likewise.
4548         * sysdeps/sh/sysdep.h: Likewise.
4549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4550         Do not define ASM_TYPE_DIRECTIVE.
4551         * sysdeps/powerpc/sysdep.h: Likewise.
4552         * sysdeps/powerpc/powerpc32/sysdep.h:
4553         Replace ASM_TYPE_DIRECTIVE with .type.
4554         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4555         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4556         * sysdeps/i386/fpu/e_powf.S: Likewise.
4557         * sysdeps/i386/fpu/e_expl.S: Likewise.
4558         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4559         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4560         * sysdeps/i386/fpu/e_pow.S: Likewise.
4561         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4562         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4563         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4564         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4565         * sysdeps/i386/fpu/e_log2.S: Likewise.
4566         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4567         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4568         * sysdeps/i386/fpu/e_powl.S: Likewise.
4569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4570         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4571         * sysdeps/i386/fpu/e_logl.S: Likewise.
4572         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4573         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4574         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4575         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4577         * sysdeps/i386/fpu/e_log.S: Likewise.
4578         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4579         * sysdeps/i386/fpu/e_logf.S: Likewise.
4580         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4581         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4582         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4583         * sysdeps/i386/fpu/e_log10.S: Likewise.
4584         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4585         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4586         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4587         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4588         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4589         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4590         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4591         * sysdeps/i386/i686/strtok.S: Likewise.
4592         * sysdeps/i386/i386-mcount.S: Likewise.
4593         * sysdeps/i386/strtok.S: Likewise.
4594         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4595         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4596         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4597         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4598         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4599         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4600         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4601         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4602         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4603         * sysdeps/x86_64/_mcount.S: Likewise.
4604         * sysdeps/x86_64/strtok.S: Likewise.
4605         * sysdeps/sh/_mcount.S: Likewise.
4607 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4609         * libio/iofopen.c: Include <fcntl.h>.
4610         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4611         (_IO_fopen64, fopen64): Define as aliases.
4612         * libio/iofopen64.c: Include <fcntl.h>.
4613         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4614         Conditionalize body on this.
4615         * sysdeps/wordsize-64/iofopen.c: File removed.
4616         * sysdeps/wordsize-64/iofopen64.c: File removed.
4618 2012-08-01  Marek Polacek  <polacek@redhat.com>
4620         * libc/Makeconfig: Use elf in place of binfmt-subdir.
4621         Use dlfcn directly instead of a variable.
4622         (binfmt-subdir): Do not define.
4623         (dlfcn): Likewise.
4625 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
4627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4628         Remove all definitions.
4629         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4630         <kernel-features.h>.
4631         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4632         (miss_F_GETOWN_EX): Remove all definitions.
4633         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4634         macro definition.
4635         [!__ASSUME_FCNTL64]: Remove conditional code.
4636         [__ASSUME_FCNTL64]: Make code unconditional.
4637         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4638         <kernel-features.h>.
4639         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4640         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4641         (lockf64) [__NR_fcntl64]: Make code unconditional.
4642         (lockf64) [__ASSUME_FCNTL64]: Likewise.
4644         * sysdeps/unix/sysv/linux/kernel-features.h
4645         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4646         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4647         Make code unconditional.
4648         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4649         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4651         [__NR_vfork]: Make code unconditional.
4652         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4653         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4655         [__NR_vfork]: Make code unconditional.
4656         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4657         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4659 2012-08-01  Roland McGrath  <roland@hack.frob.com>
4661         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4662         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4664         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4665         Define mkstemp64 as an alias.
4666         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4667         Define mkstemps64 as an alias.
4668         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4669         Define mkostemp64 as an alias.
4670         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4671         Define mkostemps64 as an alias.
4672         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4673         Conditionalize body on this.
4674         * misc/mkostemp64.c: Likewise.
4675         * misc/mkostemps64.c: Likewise.
4676         * misc/mkstemps64.c: Likewise.
4677         * sysdeps/wordsize-64/mkstemp64.c: File removed.
4678         * sysdeps/wordsize-64/mkostemp64.c: File removed.
4679         * sysdeps/wordsize-64/mkostemp.c: File removed.
4680         * sysdeps/wordsize-64/mkstemp.c: File removed.
4681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4683         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4684         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4686         [BZ #14138]
4687         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4688         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4689         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4690         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4692         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4693         compat_symbol macros from <shlib-compat.h> rather than the underlying
4694         default_symbol_version and symbol_version macros, so that DEFAULT
4695         lines in shlib-versions are respected.
4696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4698 2012-08-01  Florian Weimer  <fweimer@redhat.com>
4700         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4701         Declare with warn_unused_result.
4702         (setgid, setregid, setegid, setresgid): Likewise.
4703         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4704         Likewise.
4705         * WUR-REPORT: Remove set*id functions.
4707 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
4709         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4711 2012-07-31  Roland McGrath  <roland@hack.frob.com>
4713         * include/sys/socket.h (__libc_accept, __libc_accept4):
4714         Add attribute_hidden.
4715         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4718         use of PTR_MANGLE.
4719         * inet/getnetgrent_r.c (setup): Likewise.
4721         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4723 2012-07-31  David S. Miller  <davem@davemloft.net>
4725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4727 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
4729         [BZ #13629]
4730         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4731         value between 1.0 and 2.0 and smaller part has absolute value less
4732         than 1.0.
4733         * math/s_clog10.c (__clog10): Likewise.
4734         * math/s_clog10f.c (__clog10f): Likewise.
4735         * math/s_clog10l.c (__clog10l): Likewise.
4736         * math/s_clogf.c (__clogf): Likewise.
4737         * math/s_clogl.c (__clogl): Likewise.
4738         * math/libm-test.inc (clog_test): Add more tests.
4739         (clog10_test): Likewise.
4740         * sysdeps/i386/fpu/libm-test-ulps: Update.
4741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4743 2012-07-31  Florian Weimer  <fweimer@redhat.com>
4745         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4746         Exit with zero in case no suitable GID is found, and write a
4747         message to standard error.
4749 2012-07-30  Roland McGrath  <roland@hack.frob.com>
4751         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4752         rather than to 1.
4753         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4754         (MAXPATHLEN): Removed.
4755         (NOGROUP, NODEV): New macros.
4756         (setbit, clrbit, isset, isclr): New macros.
4757         (howmany, roundup, powerof2): New macros.
4758         (DEV_BSIZE): New macro.
4760         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4761         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4763         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4764         definition on [!__NO_LONG_DOUBLE_MATH].
4766         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4767         PTR_MANGLE and PTR_DEMANGLE.
4769         * socket/accept4.c (accept4): Rename to __libc_accept4.
4770         Define accept4 as a weak alias.
4772         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4773         on [_DIRENT_HAVE_D_TYPE].
4774         * io/ftw.c (ftw_dir): Likewise.
4776         * io/xmknod.c (__xmknod): Don't check PATH for being null.
4778         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4780         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4781         Use the BSD numbers rather than the arbitrary ones we had.
4782         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4783         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4784         (SIGXCPU, SIGXFSZ): New macros.
4785         (_NSIG): Now 32.
4787         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4788         initializer on [_LIBC_REENTRANT].
4790         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4791         definitions inside [_POSIX_MAPPED_FILES].
4793         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4795         * dirent/opendir.c: Include <fcntl.h>.
4797         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4798         (__libc_getspecific): Likewise.
4799         (__libc_key_create): Likewise.
4801         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4802         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4803         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4804         (tmpfile64): Define as alias.
4805         * sysdeps/wordsize-64/tmpfile.c: File removed.
4806         * sysdeps/wordsize-64/tmpfile64.c: File removed.
4807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4810         * stdio-common/vfscanf.c: Include <stdbool.h>.
4811         * nss/makedb.c: Likewise.
4812         * stdio-common/_i18n_number.h: Likewise.
4813         * argp/argp-help.c: Likewise.
4814         * posix/wordexp.c: Likewise.
4815         * sysdeps/posix/spawni.c: Likewise.
4816         * nss/nss_files/files-initgroups.c: Likewise.
4817         * stdio-common/reg-modifier.c: Include <stdlib.h>.
4818         * nss/nss_files/files-initgroups.c: Likewise.
4819         * nss/nss_db/db-netgrp.c: Likewise.
4820         * nss/nss_db/db-initgroups.c: Likewise.
4821         * io/fchmodat.c: Include <sys/stat.h>.
4823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4824         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4826         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4827         [HAVE_MMAP].
4829         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4830         Add multiple inclusion protection.
4832 2012-07-27  David S. Miller  <davem@davemloft.net>
4834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4836 2012-07-27  Gary Benson  <gbenson@redhat.com>
4838         [BZ #14298]
4839         * elf/rtld.c: Include <stap-probe.h>.
4840         (dl_main): Added static probes "init_start" and "init_complete".
4841         * elf/dl-load.c: Include <stap-probe.h>.
4842         (lose): Take new parameter "nsid".
4843         Added static probe "map_failed".
4844         (_dl_map_object_from_fd): Pass namespace id to lose.
4845         Added static probe "map_start".
4846         (open_verify): Pass namespace id to lose.
4847         * elf/dl-open.c: Include <stap-probe.h>.
4848         (dl_open_worker) Added static probes "map_complete", "reloc_start"
4849         and "reloc_complete".
4850         * elf/dl-close.c: Include <stap-probe.h>.
4851         (_dl_close_worker): Added static probes "unmap_start" and
4852         "unmap_complete".
4853         * elf/rtld-debugger-interface.txt: New file documenting the above.
4855 2012-07-26  Roland McGrath  <roland@hack.frob.com>
4857         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4858         rather than a string variable.
4859         * sunrpc/rpc_main.c (h_output): Likewise.
4860         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4862 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
4864         * inet/check_native.c: New file.
4866 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #13629]
4869         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4870         if larger part has absolute value 1.0.
4871         * math/s_clog10.c (__clog10): Likewise.
4872         * math/s_clog10f.c (__clog10f): Likewise.
4873         * math/s_clog10l.c (__clog10l): Likewise.
4874         * math/s_clogf.c (__clogf): Likewise.
4875         * math/s_clogl.c (__clogl): Likewise.
4876         * math/libm-test.inc (clog_test): Add more tests.
4877         (clog10_test): Likewise.
4878         * sysdeps/i386/fpu/libm-test-ulps: Update.
4879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4882         (pltexit): Likewise.
4883         (La_regs): Likewise.
4884         (La_retval): Likewise.
4885         (int_retval): Likewise.
4886         Update #error for removed macros to refer only to definitions in
4887         tst-audit.h.
4888         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4889         macro.
4890         (pltexit): Likewise.
4891         (La_regs): Likewise.
4892         (La_retval): Likewise.
4893         (int_retval): Likewise.
4894         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4895         macro.
4896         (pltexit): Likewise.
4897         (La_regs): Likewise.
4898         (La_retval): Likewise.
4899         (int_retval): Likewise.
4900         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4901         macro.
4902         (pltexit): Likewise.
4903         (La_regs): Likewise.
4904         (La_retval): Likewise.
4905         (int_retval): Likewise.
4906         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4907         macro.
4908         (pltexit): Likewise.
4909         (La_regs): Likewise.
4910         (La_retval): Likewise.
4911         (int_retval): Likewise.
4912         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4913         macro.
4914         (pltexit): Likewise.
4915         (La_regs): Likewise.
4916         (La_retval): Likewise.
4917         (int_retval): Likewise.
4918         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4919         macro.
4920         (pltexit): Likewise.
4921         (La_regs): Likewise.
4922         (La_retval): Likewise.
4923         (int_retval): Likewise.
4924         * sysdeps/generic/tst-audit.h: Update comment to refer only to
4925         macro definitions in tst-audit.h.
4926         * sysdeps/i386/tst-audit.h: New file.
4927         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4928         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4929         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4930         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4931         * sysdeps/sh/tst-audit.h: Likewise.
4932         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4933         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4934         * sysdeps/x86_64/tst-audit.h: Likewise.
4936 2012-07-26  Andreas Jaeger  <aj@suse.de>
4938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4939         ptrace.
4941         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4942         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4943         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4944         PTRACE_O_MASK.
4945         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4946         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4949         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4950         value.
4952         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4953         _sigsys.
4954         (si_call_addr, si_syscall, si_arch): Define new macro.
4955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4956         _sigsys.
4957         (si_call_addr, si_syscall, si_arch): Define new marcro.
4958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4959         _sigsys.
4960         (si_call_addr, si_syscall, si_arch): Define new macro.
4961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4962         _sigsys.
4963         (si_call_addr, si_syscall, si_arch): Define new macro.
4965 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
4967         [BZ #13717]
4968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4969         Change to 2.4.21 where previously 2.4.1.
4970         * sysdeps/unix/sysv/linux/configure: Regenerated.
4971         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4972         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4973         Linux kernel version.
4974         (__ASSUME_STD_AUXV): Remove.
4975         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4976         kernel version.
4977         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4978         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4979         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4980         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4981         (__ASSUME_NETLINK_SUPPORT): Likewise.
4982         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4983         (__no_netlink_support): Remove conditional definition.
4984         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4985         Remove.
4986         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4987         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4988         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4989         (if_nameindex_ioctl): Remove.
4990         (if_nameindex_netlink): Do not handle __no_netlink_support.
4991         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4992         code.
4993         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4994         Remove conditional code.
4995         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4996         code.
4997         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4998         unconditional.
4999         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5000         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5001         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5002         Remove.
5003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5004         [!__ASSUME_STD_AUXV]: Remove conditional code.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5006         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5007         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5010         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5011         code.
5012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5014         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5015         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5016         conditional code.
5017         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5020         code.
5021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5022         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5023         conditional code.
5024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5025         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5026         code unconditional.
5027         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5028         conditional code.
5029         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5030         unconditional.
5031         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5032         conditional code.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5034         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5035         unconditional.
5036         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5037         conditional code.
5038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5039         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5040         code unconditional.
5041         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5042         conditional code.
5043         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5044         unconditional.
5045         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5046         conditional code.
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5048         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5049         code unconditional.
5050         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5051         conditional code.
5052         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5053         unconditional.
5054         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5055         conditional code.
5057 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5059         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5060         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5062         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5063         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5067         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5069         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5070         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5071         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5074         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5075         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5076         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5077         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5079         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5083 2012-07-25  Florian Weimer  <fweimer@redhat.com>
5085         * Versions.def: Add GLIBC_2.17.
5086         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5087         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5088         Introduce __libc_secure_getenv.
5089         * stdlib/Versions (2.17): Add secure_getenv
5090         (GLIBC_PRIVATE): Add __libc_secure_getenv.
5091         * stdlib/secure-getenv.c: Rename __secure_getenv to
5092         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
5093         symbol __secure_getenv for GLIBC_2.0.
5094         * stdlib/tst-secure-getenv.c: New.
5095         * stdlib/Makefile (tests): Add testcase.
5096         * manual/startup.texi (Environment Access): Document
5097         secure_getenv.
5098         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5099         __libc_secure_getenv.
5100         * inet/ruserpass.c (ruserpass): Likewise.
5101         * malloc/mtrace.c (mtrace): Likewise.
5102         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5103         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5104         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5105         * sysdeps/posix/tempname.c: Likewise.  Evaluate
5106         HAVE_SECURE_GETENV.
5107         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5108         __secure_getenv to __libc_secure_getenv.
5109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5122 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
5124         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5125         (struct La_i86_retval): Likewise.
5126         (struct La_x86_64_regs): Likewise.
5127         (struct La_x86_64_retval): Likewise.
5128         (struct La_x32_regs): Likewise.
5129         (struct La_x32_retval): Likewise.
5130         (struct La_ppc32_regs): Likewise.
5131         (struct La_ppc32_retval): Likewise.
5132         (struct La_ppc64_regs): Likewise.
5133         (struct La_ppc64_retval): Likewise.
5134         (struct La_sh_regs): Likewise.
5135         (struct La_sh_retval): Likewise.
5136         (struct La_s390_32_regs): Likewise.
5137         (struct La_s390_32_retval): Likewise.
5138         (struct La_s390_64_regs): Likewise.
5139         (struct La_s390_64_retval): Likewise.
5140         (struct La_sparc32_regs): Likewise.
5141         (struct La_sparc32_retval): Likewise.
5142         (struct La_sparc64_regs): Likewise.
5143         (struct La_sparc64_retval): Likewise.
5144         (struct audit_ifaces): Remove architecture-specific pltenter and
5145         pltexit members.
5146         * sysdeps/i386/ldsodefs.h: New file.
5147         * sysdeps/powerpc/ldsodefs.h: Likewise.
5148         * sysdeps/s390/ldsodefs.h: Likewise.
5149         * sysdeps/sh/ldsodefs.h: Likewise.
5150         * sysdeps/sparc/ldsodefs.h: Likewise.
5151         * sysdeps/x86_64/ldsodefs.h: Likewise.
5153 2012-07-25  Marek Polacek  <polacek@redhat.com>
5155         [BZ #6808]
5156         * math/libm-test.inc (yn_test): Add another test.
5157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5158         to ERANGE when the result is +-Inf.
5159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5164 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
5166         * conform/data/time.h-data (NULL): Use macro-constant.  Require
5167         equal to 0.
5168         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
5169         clock_t.
5170         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
5172 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
5174         * configure.in <sysdeps resolving>: Correct printing
5175         Implies_before.
5176         * configure: Regenerate.
5178 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
5180         * math/w_ilogb.c: Include <limits.h>.
5181         * math/w_ilogbl.c: Likewise.
5183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
5185         * manual/lang.texi (__va_copy): Document primarily as ISO C99
5186         va_copy.  Document allowing for unavailable va_copy only as
5187         pre-C99 compatibility.
5188         * manual/string.texi (Copying and Concatenation): Use va_copy
5189         instead of __va_copy in concat example.
5191 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
5193         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5194         (__sendto): Use create_address_port.  Initialize APORT and deallocate
5195         it if not null.
5197         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5198         with O_NOLINK passed to __file_name_lookup.
5200         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5201         with O_NOLINK passed to __file_name_lookup.
5203         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5204         negative N or less than NGIDS.
5206         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5207         type to string_t.  Set ERANGE as errno and return it if NAME is not big
5208         enough.  Use memcpy instead of strncpy.
5210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
5212         * elf/Makefile (check-data): Remove.
5213         (localplt.data): New vpath directive.
5214         ($(objpfx)check-localplt.out): Use localplt.data from vpath
5215         instead of $(check-data).
5216         * scripts/data/localplt-generic.data: Move to ...
5217         * sysdeps/generic/localplt.data: ... here.
5218         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5219         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5220         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5222         ... here.
5223         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5225         ... here.
5226         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5228         ... here.
5229         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5231         ... here.
5232         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5234         ... here.
5235         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5237         ... here.
5239 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5241         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5242         PPC32 and PPC64 files.
5243         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5244         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5248         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5249         __makecontext_ret to ...
5250         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5251         ... here and call exit if uc_link is NULL.  New file.
5252         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5253         __makecontext_ret.S.
5254         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5255         __makecontext_ret to ...
5256         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5257         ... here and call exit if uc_link is NULL.  New file.
5258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5259         __makecontext_ret.S.
5261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5263         * elf/elf.h (R_390_IRELATIVE): New definition.
5264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5265         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
5266         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5268         (elf_machine_lazy_rel): Likewise.
5269         * sysdeps/s390/dl-irel.h: New file.
5270         * sysdeps/s390/s390-64/memcpy.S: New asm code.
5271         * sysdeps/s390/s390-64/memset.S: New asm code.
5272         * sysdeps/s390/s390-64/memcmp.S: New asm code.
5273         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5275         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5276         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5277         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5279         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5280         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5281         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5282         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5283         * sysdeps/s390/s390-32/memcpy.S: New asm code.
5284         * sysdeps/s390/s390-32/memset.S: New asm code.
5285         * sysdeps/s390/s390-32/memcmp.S: New asm code.
5287 2012-07-17  Marek Polacek  <polacek@redhat.com>
5289         [BZ #14349]
5290         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5291         * sysdeps/s390/s390-64/configure.in: Likewise.
5292         * sysdeps/sparc/configure.in: Likewise.
5293         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5294         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5295         * sysdeps/i386/configure.in: Likewise.
5296         * sysdeps/x86_64/configure.in: Likewise.
5297         * sysdeps/sh/configure.in: Likewise.
5298         * sysdeps/s390/s390-32/configure: Regenerated.
5299         * sysdeps/s390/s390-64/configure: Likewise.
5300         * sysdeps/x86_64/configure: Likewise.
5301         * sysdeps/sh/configure: Likewise.
5302         * sysdeps/powerpc/powerpc64/configure: Likewise.
5303         * sysdeps/powerpc/powerpc32/configure: Likewise.
5304         * sysdeps/sparc/configure: Likwise.
5305         * sysdeps/i386/configure: Likewise.
5307         * elf/dl-open.c: Comment fixes.
5309 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
5311         * Makefile [CXX] (check-data): Remove.
5312         [CXX] (c++-types.data): New vpath directive.
5313         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5314         vpath.  Do not allow for C++ type data being missing.
5315         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5316         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5317         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5318         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5319         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5320         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5321         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5323         ... here.
5324         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5326         ... here.
5327         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5329         ... here.
5330         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5332         ... here.
5333         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5335         ... here.
5336         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5338         ... here.
5339         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5341         ... here.
5342         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5345         * elf/tls-macros.h (TLS_LE): Move architecture-specific
5346         definitions to architecture-specific files.
5347         (TLS_IE): Likewise.
5348         (TLS_LD): Likewise.
5349         (TLS_GD): Likewise.
5350         * sysdeps/i386/tls-macros.h: New file.
5351         * sysdeps/powerpc/tls-macros.h: Likewise.
5352         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5353         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5354         * sysdeps/sh/tls-macros.h: Likewise.
5355         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5356         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5357         * sysdeps/x86_64/tls-macros.h: Likewise.
5359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5362         zero value for regular exit case.
5364         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5365         (__start_context): Preserve zero value for regular exit case.
5367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
5368             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5370         * manual/setjmp.texi (setcontext): Clarify normal process
5371         termination when uc_link is the null pointer.
5372         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5373         exit call.
5375 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
5377         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5378         preprocessor.  Test for each exception mask separately.
5380 2012-07-16  Andreas Jaeger  <aj@suse.de>
5382         * po/ru.po: Update from translation team.
5384 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
5386         * conform/data/string.h-data (NULL): Use macro-constant.  Require
5387         equal to 0.
5388         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5389         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5390         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5391         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5394 2012-07-13  Andreas Jaeger  <aj@suse.de>
5396         * po/fr.po: Update from translation team.
5398 2012-07-12  Marek Polacek  <polacek@redhat.com>
5400         [BZ #14173]
5401         * math/libm-test.inc (yn_test): Add test for BZ #14173.
5402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5403         loop condition.
5405 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
5407         [BZ #13717]
5408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5409         Change to 2.4.1 where previously 2.4.0.
5410         * sysdeps/unix/sysv/linux/configure: Regenerated.
5411         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5412         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5413         version.
5414         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5415         (__ASSUME_AT_CLKTCK): Remove.
5416         (__ASSUME_AT_PAGESIZE): Likewise.
5417         (__ASSUME_AT_XID): Likewise.
5418         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5419         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5420         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5421         unconditionally.
5422         (HAVE_AUX_PAGESIZE): Likewise.
5423         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5424         [__ASSUME_AT_CLKTCK]: Make code unconditional.
5425         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5427 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
5429         [BZ #14307]
5430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5431         the temporary buffer used to invoke __gethostbyname2_r,
5432         __gethostbyaddr_r and gethostbyname4_r to make room for struct
5433         host_data / struct gaih_addrtuple.
5434         * resolv/nss_dns/dns-host.c (global scope): Move definition of
5435         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5436         header file nss/nsswitch.h.
5437         * nss/nsswitch.h (global scope): Add definition of implementation
5438         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5439         resolv/nss_dns/dns-host.c).
5441 2012-07-11  Andreas Jaeger  <aj@suse.de>
5443         * po/fr.po: Update from translation team.
5445         * po/sv.po: Update from translation team
5446         * po/fr.po: Another update from translation team.
5448 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5451         for subnormals or multiply small sinh result by itself.
5452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5455 2012-07-11  David S. Miller  <davem@davemloft.net>
5457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5459 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
5461         [BZ #14347]
5462         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5463         (INTERNAL_MARK): Shift it here.
5465 2012-07-10  Marek Polacek  <polacek@redhat.com>
5467         [BZ #14151]
5468         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
5469         libc_cv_asm_global_directive with .globl.
5470         * configure: Regenerated.
5471         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5472         with .globl.
5473         * sysdeps/i386/configure: Regenerated.
5474         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5475         with .globl.
5476         * sysdeps/x86_64/configure: Regenerated.
5477         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5478         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5479         * elf/tst-unique2mod2.c: Likewise.
5480         * elf/tst-unique2mod1.c: Likewise.
5481         * elf/tst-unique1mod2.c: Likewise.
5482         * elf/tst-unique1mod1.c: Likewise.
5483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5484         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5485         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5487         * sysdeps/mach/sysdep.h: Likewise.
5488         * sysdeps/i386/sysdep.h: Likewise.
5489         * sysdeps/i386/i386-mcount.S: Likewise.
5490         * sysdeps/x86_64/_mcount.S: Likewise.
5491         * sysdeps/x86_64/sysdep.h: Likewise.
5492         * sysdeps/sh/_mcount.S: Likewise.
5493         * sysdeps/sh/sysdep.h: Likewise.
5494         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5495         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5496         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5497         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5498         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5499         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5500         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5501         * locale/localeinfo.h: Likewise.
5502         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5503         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5505 2012-07-09  Roland McGrath  <roland@hack.frob.com>
5507         [BZ #14336]
5508         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5509         system".
5510         * manual/message.texi (The Uniforum approach): Likewise.
5511         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5512         (glibc iconv Implementation): Likewise.
5514 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
5516         [BZ #14337]
5517         * math/s_clog.c (__clog): Avoid scaling a value down where that
5518         could result in underflow.
5519         * math/s_clog10.c (__clog10): Likewise.
5520         * math/s_clog10f.c (__clog10f): Likewise.
5521         * math/s_clog10l.c (__clog10l): Likewise.
5522         * math/s_clogf.c (__clogf): Likewise.
5523         * math/s_clogl.c (__clogl): Likewise.
5524         * math/libm-test.inc (clog_test): Add more tests.
5525         (clog10_test): Likewise.
5526         * sysdeps/i386/fpu/libm-test-ulps: Update.
5527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5529 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
5531         [BZ #14283]
5532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5533         by 7 not 8 to examine high bit of fractional part.
5535         [BZ #14042]
5536         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5537         for call to __mcount_internal.
5538         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5539         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5540         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5542 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #14154]
5545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5546         approximation for values within 0x1p-13f of an odd multiple of
5547         pi/4.
5548         * math/libm-test.inc (tan_test): Do not allow spurious underflow
5549         exception.  Add more tests.
5550         * sysdeps/i386/fpu/libm-test-ulps: Update.
5552         [BZ #6778]
5553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5554         inputs and return -1 for them.  Do not check for +Inf in case not
5555         reachable for +Inf.
5556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5557         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5559         and return -1 for them.  Do not check for +Inf in case not
5560         reachable for +Inf.
5561         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5562         define.
5563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5564         and return -1 for them.  Do not check for +Inf in case not
5565         reachable for +Inf.
5566         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
5567         spurious underflow.
5568         * sysdeps/i386/fpu/libm-test-ulps: Update.
5569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5571 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
5573         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5575 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
5577         [BZ #14157]
5578         [BZ #14331]
5579         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5580         could result in spurious underflow.  Scale down values above
5581         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5582         * math/s_csqrtf.c (__csqrtf): Likewise.
5583         * math/s_csqrtl.c (__csqrtl): Likewise.
5584         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
5585         spurious underflow.
5586         * sysdeps/i386/fpu/libm-test-ulps: Update.
5587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5591         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5592         xopen-msg.sed.
5593         * catgets/xopen-msg.awk: New file.
5594         * catgets/xopen-msg.sed: Removed.
5596         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5597         po2text.sed.
5598         * intl/po2test.awk: New file.
5599         * intl/po2test.sed: Removed.
5601 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
5603         [BZ #14328]
5604         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5605         or multiply small sinh result by itself.
5606         * math/s_ctanf.c (__ctanf): Likewise.
5607         * math/s_ctanh.c (__ctanh): Likewise.
5608         * math/s_ctanhf.c (__ctanhf): Likewise.
5609         * math/s_ctanhl.c (__ctanhl): Likewise.
5610         * math/s_ctanl.c (__ctanl): Likewise.
5611         * math/libm-test.inc (ctan_test_tonearest): New function.
5612         (ctan_test_towardzero): Likewise.
5613         (ctan_test_downward): Likewise.
5614         (ctan_test_upward): Likewise.
5615         (ctanh_test_tonearest): Likewise.
5616         (ctanh_test_towardzero): Likewise.
5617         (ctanh_test_downward): Likewise.
5618         (ctanh_test_upward): Likewise.
5619         (main): Call these new functions.
5620         * sysdeps/i386/fpu/libm-test-ulps: Update.
5621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5623 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
5625         * .gitignore: Delete /ports entry.
5627 2012-07-03  Andreas Jaeger  <aj@suse.de>
5629         * po/bg.po: Update from translation team.
5630         * po/cs.po: Likewise.
5631         * po/de.po: Likewise.
5632         * po/hr.po: Likewise.
5633         * po/nl.pl: Likewise.
5634         * po/pl.po: Likewise.
5635         * po/vi.po: Likewise.
5637 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
5639         * Makeconfig [!+link] (+link-before-libc): New variable.
5640         [!+link] (+link-after-libc): Likewise.
5641         [!+link] (+link-tests): Likewise.
5642         [!+link] (+link): Define in terms of $(+link-before-libc) and
5643         $(+link-after-libc).
5644         [!+link-static] (+link-static-before-libc): New variable.
5645         [!+link-static] (+link-static-after-libc): Likewise.
5646         [!+link-static] (+link-static-tests): Likewise.
5647         [!+link-static] (+link-static): Define in terms of
5648         $(+link-static-before-libc) and $(+link-static-after-libc).
5649         [build-shared] (link-libc-before-gnulib): New variable.
5650         [build-shared] (link-libc-tests): Likewise.
5651         [build-shared] (link-libc): Define in terms of
5652         $(link-libc-before-gnulib).
5653         [!build-shared] (link-libc-tests): New variable.
5654         (link-libc-static-tests): New variable.
5655         [!gnulib] (gnulib-arch): New variable.
5656         [!gnulib] (gnulib-tests): Likewise.
5657         [!gnulib] (static-gnulib-arch): Likewise.
5658         [!gnulib] (static-gnulib-tests): Likewise.
5659         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
5660         Define with "=" instead of ":=".
5661         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
5662         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
5663         * Rules (binaries-all-notests): New variable.
5664         (binaries-all-tests): Likewise.
5665         (binaries-static-notests): Likewise.
5666         (binaries-static-tests): Likewise.
5667         (binaries-all): Define using $(binaries-all-notests) and
5668         $(binaries-all-tests).
5669         (binaries-static): Define using $(binaries-static-notests) and
5670         $(binaries-static-tests).
5671         (binaries-shared-tests): New variable.
5672         (binaries-shared-notests): Likewise.
5673         (binaries-shared): Remove variable.
5674         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5675         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5676         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5677         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5678         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5679         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5680         * elf/Makefile (sln-modules): New variable.
5681         (extra-objs): Add $(sln-modules:=.o).
5682         (ldconfig-modules): Add static-stubs.
5683         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5684         * elf/static-stubs.c: New file.
5686         [BZ #14283]
5687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5688         by 7 not 8 to examine high bit of fractional part.  Use volatile
5689         variables when splitting into final array of floats if
5690         __FLT_EVAL_METHOD__ != 0.
5691         * math/libm-test.inc (cos_test): Add another test.
5692         (sin_test): Likewise.
5693         * sysdeps/i386/fpu/libm-test-ulps: Update.
5695         [BZ #14273]
5696         * math/libm-test.inc (cosh_test): Add more tests.
5698         * version.h (RELEASE): Set to "development".
5699         (VERSION): Set to "2.16.90".
5701 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
5703         * NEWS: Update copyright. Remove last-updated date.
5704         Mention math library bug fixes and timezone data changes.
5705         * README: Mention GNU/Hurd, x32, and HPPA support status.
5707 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
5709         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5711 2012-06-27  Andreas Jaeger  <aj@suse.de>
5713         * manual/contrib.texi (Contributors): Add Samuel Thibault.
5715 2012-06-25  Andreas Jaeger  <aj@suse.de>
5717         * sysdeps/s390/fpu/libm-test-ulps: Update.
5719 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
5720             Thomas Schwinge  <thomas@codesourcery.com>
5722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5723         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5725         fanotify_mark.
5727 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
5729         * sysdeps/mach/start.c: Remove file.
5730         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5731         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5732         * sysdeps/sh/init-first.c: Likewise.
5734         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5735         registers for frame unwinding purposes, add CFI directives.
5736         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5738         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5739         Likewise.
5741         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5742         __fortify_fail returning.
5743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5746         sysdeps/sh/____longjmp_chk.S.
5747         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5748         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5749         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5750         (gen-as-const-headers): Append sigaltstack-offsets.sym.
5752         * sysdeps/sh/abort-instr.h: New file.
5753         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5754         process in case exit returns.
5756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5757         initialize the GOT register before use.
5759         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5760         calculation of ARGC > 4.
5762         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5763         meaningful names to some local labels.
5765 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
5766             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5768         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5769         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5770         (__arch_compare_and_exchange_val_16_acq): Likewise.
5771         (__arch_compare_and_exchange_val_32_acq): Likewise.
5772         (atomic_exchange_and_add): Fix gUSA sequence.
5773         (atomic_add): Likewise.
5774         (atomic_add_negative): Likewise.
5775         (atomic_add_zero): Likewise.
5776         (atomic_bit_test_set): Likewise.
5778 2012-06-22  Andreas Schwab  <schwab@redhat.com>
5780         [BZ #13579]
5781         * include/link.h (struct link_map): Add l_free_initfini.
5782         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5783         l_initfini.
5784         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5785         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5786         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5787         set.
5789 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
5791         * configure.in: Use AC_LANG_SOURCE.
5792         * configure: Regenerate.
5794 2012-06-22  Roland McGrath  <roland@hack.frob.com>
5796         * configure.in (libc_cv_localstatedir): New substituted variable.
5797         * configure: Regenerated.
5798         * config.make.in (localstatedir): New variable, substituted from
5799         libc_cv_localstatedir.
5800         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5801         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5802         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5803         * sysdeps/gnu/configure: Regenerated.
5805 2012-06-21  Jeff Law  <law@redhat.com>
5807         [BZ #14277]
5808         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5809         free.  Simplify list management for _LIBC case.
5811 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
5813         [BZ #14273]
5814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5815         Clear sign bit of 64-bit integer value before comparing against
5816         overflow value.
5818         * sysdeps/mach/configure: Regenerated.
5820 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
5822         [BZ #14278]
5823         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5825 2012-06-21  Jeff Law  <law@redhat.com>
5827         [BZ #13882]
5828         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
5829         uint16_t for elements in the "seen" array to avoid char overflows.
5830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5831         * elf/dl-open.c (dl_open_worker): Likewise.
5833 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
5835         * scripts/list-sources.sh: Scan PORTS for translations.
5836         * po/libc.pot: Regenerated.
5838 2012-06-21  Andreas Jaeger  <aj@suse.de>
5840         [BZ #12194]
5841         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5842         warning.
5843         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5844         * bits/byteswap-16.h (__bswap_16): Likewise.
5845         * bits/byteswap.h (__bswap_constant_16): Likewise.
5847 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
5849         [BZ #14117]
5850         * sysdeps/i386/fpu_control.h: Removed.
5851         * sysdeps/x86_64/fpu_control.h: Moved to ...
5852         * sysdeps/x86/fpu_control.h: Here.
5854         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5855         (_FPU_SETCW): Likewise.
5857 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
5859         [BZ #14117]
5860         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5861         * sysdeps/x86/fpu/bits/mathinline.h: This.
5862         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5864         [BZ #14050]
5865         [BZ #14117]
5866         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5867         functions if __x86_64__ is defined.
5869 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
5871         * string/endian.h: Add !__ASSEMBLER__ condition for including
5872         conversion interfaces.
5874 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
5876         [BZ #14241]
5877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5878         of ABS(x) in calculating zero to negative powers other than odd
5879         integers.
5880         * math/libm-test.inc (pow_test): Add more tests.
5882 2012-06-15  Andreas Jaeger  <aj@suse.de>
5884         * manual/contrib.texi (Contributors): Update entry of Liubov
5885         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5886         Machado Filho.
5888 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
5890         * string/string.h: Add __wur to GNU version of strerror_r.
5892 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
5894         [BZ #14229]
5895         * string/Makefile (tests): Add tst-strtok_r.
5896         * string/tst-strtok_r.c: New file.
5897         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5898         RAX_LP/RDX_LP on SAVE_PTR.
5900 2012-06-14  Roland McGrath  <roland@hack.frob.com>
5902         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5904 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
5906         * libm_test.inc (csqrt_test): Allow more spurious underflow
5907         exceptions.
5908         (j0_test): Likewise.
5909         (j1_test): Likewise.
5910         (y0_test): Likewise.
5911         (y1_test): Likewise.
5913 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
5915         * po/Makefile (libc.pot): Use UTF-8 charset.
5917 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
5919         [BZ #14210]
5920         Suppress sign-conversion warning from FD_SET.
5921         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5922         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5923         not unsigned long int.
5924         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5926 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
5928         [BZ #14050]
5929         [BZ #14117]
5930         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5931         __extern_always_inline instead of __extern_inline.
5932         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5933         (__signbit): Likewise.
5934         (__signbitl): Support C++ namespace.
5935         (lrintf): New inline function.
5936         (lrint): Likewise.
5937         (llrintf): Likewise.
5938         (llrint): Likewise.
5939         (fmaxf): Likewise.
5940         (fmax): Likewise.
5941         (fminf): Likewise.
5942         (fmin): Likewise.
5943         (rint): Likewise.
5944         (rintf): Likewise.
5945         (ceil): Likewise.
5946         (ceilf): Likewise.
5947         (floor): Likewise.
5948         (floorf): Likewise.
5949         (nearbyint): Likewise.
5950         (nearbyintf): Likewise.
5952 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
5954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5955         non-default versions.
5957 2012-06-11  Roland McGrath  <roland@hack.frob.com>
5959         [BZ #14218]
5960         * manual/argp.texi (Argp): Reword argp_parse description slightly.
5962 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
5964         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5965         (FE_UPWARD, FE_DOWNWARD): Don't define.
5966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5970         reading it.
5971         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5974 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5981 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5983         [BZ #14117]
5984         * sysdeps/i386/fpu/bits/fenv.h: Removed.
5985         * sysdeps/i386/fpu/Implies: New file.
5986         * sysdeps/x86_64/fpu/Implies: Likewise.
5987         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5988         * sysdeps/x86/fpu/bits/fenv.h: This.
5990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5991         __SSE_MATH__.
5993 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5995         [BZ #14134]
5996         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5997         character 0xffff that matches the last element of the
5998         conversion table.
6000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6003         fmodl commit.
6005 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6008         values higher than 25.6283.
6010 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6013         subnormal exponent extraction and add some __builtin_expect.
6014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6015         Fix for subnormal mantissa calculation.
6017 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
6019         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6020         cpu2 is -1 and errno is not ENOSYS.
6022 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
6024         [BZ #14117]
6025         * sysdeps/i386/i486/bits/string.h: Renamed to ...
6026         * sysdeps/x86/bits/string.h: This.
6027         * sysdeps/x86_64/bits/string.h: Removed.
6029         * sysdeps/i386/i486/bits/string.h: Define inline functions only
6030         if not compiling for x86-64, but compiling for >= i486.
6032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6033         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6035         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6036         New macro from Linux kernel 3.4.0.
6037         (FP_XSTATE_MAGIC2): Likewise.
6038         (FP_XSTATE_MAGIC2_SIZE): Likewise.
6039         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6040         (struct _fpx_sw_bytes): New struct.
6041         (struct _xsave_hdr): Likewise.
6042         (struct _ymmh_state): Likewise.
6043         (struct _xstate): Likewise.
6045         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6046         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6047         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6048         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6050         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6052         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6054         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6055         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6056         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6057         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6059 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6061         [BZ #13743]
6062         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6063         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6064         (sysdep_headers): Include sys/platform/ppc.h.
6065         * sysdeps/powerpc/test-gettimebase.c: Test for
6066         __ppc_get_timebase() to catch future ISA opcode/insn changes.
6067         * manual/Makefile (appendices): Include platform.texi.
6068         * manual/contrib.texi (Contributors): Update @node pointers.
6069         * manual/maint.texi (Maintenance): Likewise.
6070         (Platform): New node.
6071         * manual/platform.texi: New file.  Document the new features.
6073 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6074             Jakub Jelinek  <jakub@redhat.com>
6076         [BZ #14188]
6077         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6078         where __builtin_expect is unavailable.
6080 2012-06-03  David S. Miller  <davem@davemloft.net>
6082         * stdlib/longlong.h: Updated from GCC.
6084 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
6086         [BZ #14042]
6087         * sysdeps/powerpc/powerpc32/mcount.c: New file.
6088         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6089         __mcount_internal.
6090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6091         (GLIBC_2.16): Likewise.
6093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6095         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6100         (default-abi): New variable.
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6102         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6103         variable.
6104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6105         Likewise.
6106         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6107         Likewise.
6108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6109         Likewise.
6111         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6112         definition.  Document in comment.
6114 2012-06-01  David S. Miller  <davem@davemloft.net>
6116         * stdlib/longlong.h: Updated from GCC.
6118 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6120         [BZ #14117]
6121         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6122         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6123         sys/debugreg.h sys/io.h here.
6124         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6125         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6126         sys/io.h.
6127         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6128         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6129         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6130         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6131         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6132         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6135         Define only if __x86_64__ is defined.
6137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
6139         [BZ #14048]
6140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6141         Use int64_t for variable i.
6142         * math/libm-test.inc (fmod_test): Add more tests.
6144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6145         z computation is not scheduled after fetestexcept.
6146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6147         Use math_force_eval instead of asm to ensure calculation scheduled
6148         before exception test.
6149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6150         Ensure a1 + u.d computation is not scheduled after fetestexcept.
6152 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
6154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6155         computation is not scheduled after fetestexcept.
6157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
6159         [BZ #14117]
6160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6163 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6165         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6166         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6168 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
6170         [BZ #14117]
6171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6172         <bits/wordsize.h>.
6173         (__WCHAR_MIN): Support __WORDSIZE == 64.
6174         (__WCHAR_MAX): Likewise.
6176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6179         [BZ #14183]
6180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6181         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6183         [BZ #14117]
6184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6191         Defined to 1 if __x86_64__ isn't defined.
6192         (_STAT_VER_LINUX_OLD): New.
6193         (st_atime): Remove duplicate.
6194         (st_mtime): Likewise.
6195         (st_ctime): Likewise.
6197 2012-05-31  David S. Miller  <davem@davemloft.net>
6199         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6200         entries.
6202 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
6204         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6205         gen-libm-test.pl.
6207         [BZ #14132]
6208         * elf/dl-reloc.c: Include <_itoa.h>.
6209         (_dl_reloc_bad_type): Remove use of INTUSE.
6210         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6211         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6212         * stdio-common/psiginfo.c (psiginfo): Likewise.
6213         * stdio-common/psignal.c (psignal): Likewise.
6214         * string/strsignal.c (strsignal): Likewise.
6215         * include/signal.h (_sys_siglist): Declare hidden proto.
6216         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
6217         INTVARDEF with libc_hidden_data_def.
6218         * stdio-common/itoa-udigits.c: Likewise.
6219         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6220         (_itoa_lower_digits_internal): Remove declaration.
6221         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6222         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6223         (_sys_sigabbrev_internal): Remove aliases.
6224         (_sys_siglist): Define hidden alias.
6226 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
6228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6229         bits/sysctl.h.
6231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
6233         [BZ #14117]
6234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6235         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6237         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6238         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6239         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6240         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6242         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6244         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6246         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6249         with __addr.
6250         (insw): Likewise.
6251         (insl): Likewise.
6252         (outsb): Likewise.
6253         (outsw): Likewise.
6254         (outsl): Likewise.
6256         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6257         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6260         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6264         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6267         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6268         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6277         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6278         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6279         to ...
6280         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6282         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6283         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6284         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6286         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6287         for x86-64.
6288         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6290 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
6292         * math/math.h (M_El): Use two more decimal places.
6293         (M_LOG2El): Likewise.
6294         (M_LOG10El): Likewise.
6295         (M_LN2l): Likewise.
6296         (M_LN10l): Likewise.
6297         (M_PIl): Likewise.
6298         (M_PI_2l): Likewise.
6299         (M_PI_4l): Likewise.
6300         (M_1_PIl): Likewise.
6301         (M_2_PIl): Likewise.
6302         (M_2_SQRTPIl): Likewise.
6303         (M_SQRT2l): Likewise.
6304         (M_SQRT1_2l): Likewise.
6306 2012-05-31  David S. Miller  <davem@davemloft.net>
6308         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6309         values between float registers.
6310         * sysdeps/sparc/sparc64/memset.S: Likewise.
6311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6313 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
6315         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6316         -D_FORTIFY_SOURCE=1.
6317         (CPPFLAGS-tst-longjmp_chk.c): Define.
6318         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6319         (CPPFLAGS-tst-longjmp_chk2.c): Define.
6320         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6321         CFLAGS-tst-wchar-h.c.
6323 2012-05-31  Marek Polacek  <polacek@redhat.com>
6325         [BZ #14132]
6326         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6327         __endmntent_internal): Remove declaration.
6328         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6329         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6330         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6332 2012-05-30  David S. Miller  <davem@davemloft.net>
6334         * sysdeps/sparc/sparc32/soft-fp/q_util.c
6335         (___Q_simulate_exceptions): Use real FP ops rather than writing
6336         into the %fsr.
6337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6338         Likewise.
6340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6342         [BZ #14117]
6343         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6344         * sysdeps/x86/bits/xtitypes.h: This.
6346         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6347         * sysdeps/x86/bits/wordsize.h: This.
6349         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6350         * sysdeps/x86/bits/huge_vall.h: This.
6352         * sysdeps/i386/bits/select.h: Removed.
6353         * sysdeps/x86_64/bits/select.h: Renamed to ...
6354         * sysdeps/x86/bits/select.h: This.
6356         * sysdeps/i386/bits/setjmp.h: Removed.
6357         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6358         * sysdeps/x86/bits/setjmp.h: This.
6360         * sysdeps/i386/bits/mathdef.h: Removed.
6361         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6362         * sysdeps/x86/bits/mathdef.h: This.
6364 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
6366         [BZ #14132]
6367         * include/sys/socket.h (__connect_internal)
6368         (__libc_sa_len_internal): Remove declaration.
6369         (__connect, __libc_sa_len): Declare hidden_proto.
6370         (SA_LEN): Remove use of INTUSE.
6371         * socket/connect.c: Add libc_hidden_def.
6372         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6373         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6374         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6375         alias.
6376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6378         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6379         of adding _internal alias.
6381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6383         [BZ #14117]
6384         * sysdeps/i386/bits/link.h: Removed.
6385         * sysdeps/i386/bits/linkmap.h: Likewise.
6386         * sysdeps/x86_64/bits/link.h: Renamed to ...
6387         * sysdeps/x86/bits/link.h: This.
6388         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6389         * sysdeps/x86/bits/linkmap.h: This.
6391         * sysdeps/i386/bits/endian.h: Removed.
6392         * sysdeps/x86_64/bits/endian.h: Renamed to ...
6393         * sysdeps/x86/bits/endian.h: This.
6395         * sysdeps/i386/bits/byteswap.h: Removed.
6396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6397         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6398         * sysdeps/x86/bits/byteswap.h: This.
6399         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6400         * sysdeps/x86/bits/byteswap-16.h: This.
6401         * sysdeps/i386/Implies: Add x86.
6402         * sysdeps/x86_64/Implies: Likewise.
6404 2012-05-30  David S. Miller  <davem@davemloft.net>
6406         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6407         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6409         (FP_TRAPPING_EXCEPTIONS): Define.
6410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6411         (FP_TRAPPING_EXCEPTIONS): Define.
6412         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6413         subnormals only when inexact has been signalled or underflow
6414         exceptions are enabled.
6415         (_FP_PACK_CANONICAL): Likewise.
6417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6419         [BZ #14183]
6420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6421         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6423 2012-05-30  Richard Henderson  <rth@twiddle.net>
6425         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6426         with #ifndef NOT_IN_libc.
6428         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
6429         marked to avoid plt entry.
6431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
6433         [BZ #14112]
6434         * Makeconfig (default-abi): New macro.
6435         (abi-includes): Likewise.
6436         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
6437         $(abi-$(default-abi)-lib-soname) for soname if defined.
6438         ($(common-objpfx)gnu/lib-names.stmp): Generate from
6439         abi-variants.
6440         * Makefile (installed-stubs): Likewise.
6441         * include/stubs-biarch.h: Removed.
6442         * scripts/lib-names.awk: Only handle one library at a time.
6443         * scripts/soversions.awk: Remove WORDSIZE support.
6444         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6445         entries.
6446         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6447         Removed.
6448         (syscall-list-default-condition): Likewise.
6449         (syscall-list-default-condition): Likewise.
6450         (syscall-list-includes): Likewise.
6451         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6452         syscall-list-* with abi-*.  Handle undefined abi-variants.
6453         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6454         * sysdeps/unix/sysv/linux/i386/Implies: New file.
6455         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6456         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6457         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6458         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6459         Removed.
6460         (syscall-list-32-options): Likewise.
6461         (syscall-list-32-condition): Likewise.
6462         (syscall-list-64-options): Likewise.
6463         (syscall-list-64-condition): Likewise.
6464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6465         macro.
6466         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6467         Renamed to ...
6468         (abi-*): This.
6469         (abi-64-ld-soname): New macro.
6470         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6471         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6472         Renamed to ...
6473         (abi-*): This.
6474         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6475         * sysdeps/x86_64/x32/shlib-versions: Likewise.
6477 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
6479         * sysdeps/unix/sysv/linux/kernel-features.h
6480         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6481         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6482         include <kernel-features.h>.
6483         [!__NR_ftruncate64]: Remove conditional code.
6484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6485         [__NR_ftruncate64]: Make code unconditional.
6486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6487         * sysdeps/unix/sysv/linux/truncate64.c: Do not
6488         include <kernel-features.h>.
6489         [!__NR_ftruncate64]: Remove conditional code.
6490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6491         [__NR_ftruncate64]: Make code unconditional.
6492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6494         include <kernel-features.h>.
6495         [!__NR_ftruncate64]: Remove conditional code.
6496         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6497         [__NR_ftruncate64]: Make code unconditional.
6498         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6500         include <kernel-features.h>.
6501         [!__NR_ftruncate64]: Remove conditional code.
6502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6503         [__NR_ftruncate64]: Make code unconditional.
6504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6506         * configure.in (libc_cv_fpie): Weaken to a compile test using
6507         LIBC_TRY_CC_OPTION.
6508         * configure: Regenerated.
6510 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6516         Refreshed.
6517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6523         Refreshed.
6525 2012-05-27  David S. Miller  <davem@davemloft.net>
6527         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6528         (___Q_zero): New.
6529         (__Q_simulate_exceptions): Return void.  Change to simulate
6530         exceptions by writing into the %fsr.
6531         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6532         (__Qp_handle_exceptions): Likewise.
6533         (numbers): Delete.
6534         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6535         __Qp_handle_exceptions.
6536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6537         __Qp_handle_exceptions.
6538         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6539         as unused and give dummy FP_RND_NEAREST initializer.
6540         (FP_INHIBIT_RESULTS): Define.
6541         (___Q_simulate_exceptions): Update declaration.
6542         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6543         formatting.
6544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6545         as unused and give dummy FP_RND_NEAREST initializer.
6546         (__Qp_handle_exceptions): Update declaration.
6547         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6548         formatting.
6550 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
6552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6553         the temporary FPU control word.
6554         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6555         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6562         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6563         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6564         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6566 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6569         fields.
6571 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
6573         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6574         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6575         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6576         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6579         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6580         Likewise.
6582 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
6584         * po/h.po: Update from translation team.
6586 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
6588         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6591         handling of denormals.
6592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6593         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6599         Likewise.
6601 2012-05-26  Marek Polacek  <polacek@redhat.com>
6603         [BZ #14152]
6604         * math/libm-test.inc (fma_test): Don't always expect underflow
6605         exception.
6607 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6609         [BZ #12416]
6610         * elf/tst-execstack.c: Include stackinfo.h.
6611         (do_test): Adjust test case to ensure that pthread_getattr_np
6612         behaviour remains the same after marking stack executable.
6614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6616         * sysdeps/unix/sysv/linux/kernel-features.h
6617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6618         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6619         kernel-features.h.
6620         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6621         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6622         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6623         kernel-features.h.
6624         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6625         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6627 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
6629         * configure.in: Define the default includes to being none.
6630         * configure: Regenerated.
6632 2012-05-25  Roland McGrath  <roland@hack.frob.com>
6634         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6635         * sysdeps/x86_64/setjmp.S: Likewise.
6636         * sysdeps/i386/bsd-setjmp.S: Likewise.
6637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6638         * sysdeps/i386/setjmp.S: Likewise.
6639         * sysdeps/i386/__longjmp.S: Likewise.
6640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6641         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6643         * include/stap-probe.h: New file.
6644         * configure.in: Handle --enable-systemtap.
6645         * configure: Regenerated.
6646         * config.h.in (USE_STAP_PROBE): New #undef.
6647         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6648         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6649         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
6653         [BZ #13717]
6654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6655         to 2.4.0 where earlier.
6656         * sysdeps/unix/sysv/linux/configure: Regenerated.
6657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6658         <kernel-features.h>.
6659         [__ASSUME_32BITUIDS]: Make code unconditional.
6660         [!__ASSUME_32BITUIDS]: Remove conditional code.
6661         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6662         <kernel-features.h>.
6663         [__ASSUME_32BITUIDS]: Make code unconditional.
6664         [!__ASSUME_32BITUIDS]: Remove conditional code.
6665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6666         [__ASSUME_32BITUIDS]: Make code unconditional.
6667         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6668         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6669         <kernel-features.h>.
6670         [__ASSUME_32BITUIDS]: Make code unconditional.
6671         [!__ASSUME_32BITUIDS]: Remove conditional code.
6672         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6673         <kernel-features.h>.
6674         [__ASSUME_32BITUIDS]: Make code unconditional.
6675         [!__ASSUME_32BITUIDS]: Remove conditional code.
6676         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6677         <kernel-features.h>.
6678         [__ASSUME_32BITUIDS]: Make code unconditional.
6679         [!__ASSUME_32BITUIDS]: Remove conditional code.
6680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6681         <kernel-features.h>.
6682         [__ASSUME_32BITUIDS]: Make code unconditional.
6683         [!__ASSUME_32BITUIDS]: Remove conditional code.
6684         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6685         <kernel-features.h>.
6686         [__ASSUME_32BITUIDS]: Make code unconditional.
6687         [!__ASSUME_32BITUIDS]: Remove conditional code.
6688         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6689         <kernel-features.h>.
6690         [__ASSUME_32BITUIDS]: Make code unconditional.
6691         [!__ASSUME_32BITUIDS]: Remove conditional code.
6692         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6693         <kernel-features.h>.
6694         [__ASSUME_32BITUIDS]: Make code unconditional.
6695         [!__ASSUME_32BITUIDS]: Remove conditional code.
6696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6697         <kernel-features.h>.
6698         [__ASSUME_32BITUIDS]: Make code unconditional.
6699         [!__ASSUME_32BITUIDS]: Remove conditional code.
6700         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6701         <kernel-features.h>.
6702         [__ASSUME_32BITUIDS]: Make code unconditional.
6703         [!__ASSUME_32BITUIDS]: Remove conditional code.
6704         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6705         <kernel-features.h>.
6706         [__ASSUME_32BITUIDS]: Make code unconditional.
6707         [!__ASSUME_32BITUIDS]: Remove conditional code.
6708         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6709         <kernel-features.h>.
6710         [__NR_setresgid] (__setresgid): Do not declare.
6711         [__ASSUME_32BITUIDS]: Make code unconditional.
6712         [!__ASSUME_32BITUIDS]: Remove conditional code.
6713         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6714         <kernel-features.h>.
6715         [__NR_setresuid] (__setresuid): Do not declare.
6716         [__ASSUME_32BITUIDS]: Make code unconditional.
6717         [!__ASSUME_32BITUIDS]: Remove conditional code.
6718         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6719         <kernel-features.h>.
6720         [__ASSUME_32BITUIDS]: Make code unconditional.
6721         [!__ASSUME_32BITUIDS]: Remove conditional code.
6722         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6723         <kernel-features.h>.
6724         [__ASSUME_32BITUIDS]: Make code unconditional.
6725         [!__ASSUME_32BITUIDS]: Remove conditional code.
6726         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6727         <kernel-features.h>.
6728         [__ASSUME_32BITUIDS]: Make code unconditional.
6729         [!__ASSUME_32BITUIDS]: Remove conditional code.
6730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6731         <kernel-features.h>.
6732         [__ASSUME_32BITUIDS]: Make code unconditional.
6733         [!__ASSUME_32BITUIDS]: Remove conditional code.
6734         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6735         <kernel-features.h>.
6736         [__ASSUME_32BITUIDS]: Make code unconditional.
6737         [!__ASSUME_32BITUIDS]: Remove conditional code.
6738         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6739         <kernel-features.h>.
6740         [__ASSUME_32BITUIDS]: Make code unconditional.
6741         [!__ASSUME_32BITUIDS]: Remove conditional code.
6742         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6743         <kernel-features.h>.
6744         [__ASSUME_32BITUIDS]: Make code unconditional.
6745         [!__ASSUME_32BITUIDS]: Remove conditional code.
6746         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6747         <kernel-features.h>.
6748         [__ASSUME_32BITUIDS]: Make code unconditional.
6749         [!__ASSUME_32BITUIDS]: Remove conditional code.
6750         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6751         <kernel-features.h>.
6752         [__ASSUME_32BITUIDS]: Make code unconditional.
6753         [!__ASSUME_32BITUIDS]: Remove conditional code.
6754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6755         <kernel-features.h>.
6756         [__ASSUME_32BITUIDS]: Make code unconditional.
6757         [!__ASSUME_32BITUIDS]: Remove conditional code.
6758         * sysdeps/unix/sysv/linux/kernel-features.h
6759         (__ASSUME_SETRESUID_SYSCALL): Remove.
6760         (__ASSUME_SETRESGID_SYSCALL): Likewise.
6761         (__ASSUME_32BITUIDS): Likewise.
6762         (__ASSUME_LDT_WORKS): Likewise.
6763         (__ASSUME_O_DIRECTORY): Likewise.
6764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6765         architecture but not kernel version.
6766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6767         (__ASSUME_MMAP2_SYSCALL): Likewise.
6768         (__ASSUME_STAT64_SYSCALL): Likewise.
6769         (__ASSUME_IPC64): Likewise.
6770         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6771         <kernel-features.h>.
6772         [__ASSUME_32BITUIDS]: Make code unconditional.
6773         [!__ASSUME_32BITUIDS]: Remove conditional code.
6774         * sysdeps/unix/sysv/linux/opendir.c: Do not include
6775         <kernel-features.h>.
6776         [__ASSUME_O_DIRECTORY]: Make code unconditional.
6777         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6778         132096]: Remove conditional code.
6779         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6781         <kernel-features.h>.
6782         [__ASSUME_32BITUIDS]: Make code unconditional.
6783         [!__ASSUME_32BITUIDS]: Remove conditional code.
6784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6785         <kernel-features.h>.
6786         [__ASSUME_32BITUIDS]: Make code unconditional.
6787         [!__ASSUME_32BITUIDS]: Remove conditional code.
6788         * sysdeps/unix/sysv/linux/setegid.c: Do not include
6789         <kernel-features.h>.
6790         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6791         unconditional.
6792         (__setresgid): Do not declare.
6793         [__ASSUME_32BITUIDS]: Make code unconditional.
6794         [!__ASSUME_32BITUIDS]: Remove conditional code.
6795         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6796         <kernel-features.h>.
6797         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6798         unconditional.
6799         (__setresuid): Do not declare.
6800         [__ASSUME_32BITUIDS]: Make code unconditional.
6801         [!__ASSUME_32BITUIDS]: Remove conditional code.
6802         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6803         <kernel-features.h>.
6804         [__ASSUME_32BITUIDS]: Make code unconditional.
6805         [!__ASSUME_32BITUIDS]: Remove conditional code.
6806         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6807         <kernel-features.h>.
6808         [__ASSUME_32BITUIDS]: Make code unconditional.
6809         [!__ASSUME_32BITUIDS]: Remove conditional code.
6811 2012-05-25  Richard Henderson  <rth@twiddle.net>
6813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6814         dl_hwcap to ifunc resolver.
6815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6816         elf_ifunc_invoke.
6817         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6818         dl_hwcap to ifunc resolver.
6819         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6821 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6823         [BZ #14153]
6824         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6825         for |x| <= 2**-26, not 2**-57.
6826         * math/libm-test.inc (acos_test): Do not allow spurious underflow
6827         exception.
6829 2012-05-24  Jeff Law  <law@redhat.com>
6831         * stdio-common/Makefile (tests): Add bug25.
6832         * stdio-common/bug25.c: New test.
6834 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6836         [BZ #13576]
6837         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6838         multiple of MALLOC_ALIGNMENT in size.
6839         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
6843         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6844         Require >= 256.
6845         (FILENAME_MAX): Use macro-int-constant.
6846         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
6847         (_IOFBF): Use macro-int-constant.
6848         (_IOLBF): Likewise.
6849         (_IONBF): Likewise.
6850         (SEEK_CUR): Likewise.
6851         (SEEK_END): Likewise.
6852         (SEEK_SET): Likewise.
6853         (TMP_MAX): Likewise.
6854         (EOF): Use macro-int-constant.  Require < 0.
6855         (NULL): Use macro-constant.  Require == 0.
6856         (stdin): Require type to be FILE *.
6857         (stdout): Likewise.
6858         (stderr): Likewise.
6859         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6860         macro-int-constant.
6861         (EXIT_SUCCESS): Likewise.
6862         (NULL): Use macro-constant.  Require == 0.
6863         (RAND_MAX): Use macro-int-constant.
6864         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6865         [C99-based standards] (strtof): Require function.
6866         [C99-based standards] (strtold): Likewise.
6867         [C99-based standards] (strtoll): Likewise.
6868         [C99-based standards] (strtoull): Likewise.
6869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6870         [ISO || ISO99 || ISO11] (limits.h): Likewise.
6871         [ISO || ISO99 || ISO11] (math.h): Likewise.
6872         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6876 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
6878         [BZ #14132]
6879         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6880         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6881         * intl/dgettext.c (DCGETTEXT): Likewise.
6882         * intl/gettext.c (DCGETTEXT): Likewise.
6883         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6884         * posix/regex_internal.h (gettext): Likewise.
6885         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6886         Remove declaration.
6887         * include/argz.h (__argz_count_internal)
6888         (__argz_stringify_internal): Remove declaration.
6889         (__argz_count, __argz_stringify): Declare hidden proto.
6890         * intl/dcgettext.c: Remove use of INTDEF.
6891         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6892         * string/argz-stringify.c: Likewise.
6893         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6894         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6895         Declare hidden proto.
6896         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6897         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6898         Declare hidden proto.
6899         * include/stdio.h (__asprintf_internal): Don't declare.
6900         (__asprintf): Don't define as macro.  Declare hidden proto.
6901         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6902         (__fsetlocking): Declare hidden proto.
6903         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6904         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6905         hidden proto.
6906         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6907         (_IO_setlinebuf): Remove use of INTUSE.
6908         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6909         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6910         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6911         Remove declaration.
6912         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6913         (_IO_do_flush): Remove use of INTUSE.
6914         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6915         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6916         (_IO_adjust_column, _IO_least_wmarker)
6917         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6918         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6919         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6920         (_IO_default_doallocate, _IO_wdefault_doallocate)
6921         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6922         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6923         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6924         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6925         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6926         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6927         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6928         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6929         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6930         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6931         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6932         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6933         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6934         proto.
6935         (_IO_flush_all_internal, _IO_adjust_column_internal)
6936         (_IO_default_uflow_internal, _IO_default_finish_internal)
6937         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6938         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6939         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6940         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6941         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6942         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6943         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6944         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6945         (_IO_file_close_internal, _IO_file_close_it_internal)
6946         (_IO_file_underflow_internal, _IO_file_overflow_internal)
6947         (_IO_file_init_internal, _IO_file_attach_internal)
6948         (_IO_file_fopen_internal, _IO_file_read_internal)
6949         (_IO_file_sync_internal, _IO_file_seek_internal)
6950         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6951         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6952         (_IO_str_underflow_internal, _IO_str_overflow_internal)
6953         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6954         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6955         (_IO_list_all_internal, _IO_link_in_internal)
6956         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6957         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6958         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6959         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6960         (_IO_do_write_internal, _IO_padn_internal)
6961         (_IO_getline_info_internal, _IO_getline_internal)
6962         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6963         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6964         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6965         (_IO_vfscanf_internal, _IO_vfprintf_internal)
6966         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6967         (_IO_init_internal, _IO_un_link_internal): Don't declare.
6968         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6969         with libc_hidden_ver, remove use of INTUSE.
6970         * libio/genops.c: Likewise.
6971         * libio/freopen.c: Likewise.
6972         * libio/freopen64.c: Likewise.
6973         * libio/iofclose.c: Likewise.
6974         * libio/iofdopen.c: Likewise.
6975         * libio/iofflush.c: Likewise.
6976         * libio/iofflush_u.c: Likewise.
6977         * libio/iofgets.c: Likewise.
6978         * libio/iofgets_u.c: Likewise.
6979         * libio/iofopen.c: Likewise.
6980         * libio/iofopncook.c: Likewise.
6981         * libio/iofread.c: Likewise.
6982         * libio/iofread_u.c: Likewise.
6983         * libio/ioftell.c: Likewise.
6984         * libio/iofwrite.c: Likewise.
6985         * libio/iogetline.c: Likewise.
6986         * libio/iogets.c: Likewise.
6987         * libio/iogetwline.c: Likewise.
6988         * libio/iopadn.c: Likewise.
6989         * libio/iopopen.c: Likewise.
6990         * libio/ioseekoff.c: Likewise.
6991         * libio/ioseekpos.c: Likewise.
6992         * libio/iosetbuffer.c: Likewise.
6993         * libio/iosetvbuf.c: Likewise.
6994         * libio/ioungetc.c: Likewise.
6995         * libio/ioungetwc.c: Likewise.
6996         * libio/iovdprintf.c: Likewise.
6997         * libio/iovsprintf.c: Likewise.
6998         * libio/iovsscanf.c: Likewise.
6999         * libio/memstream.c: Likewise.
7000         * libio/obprintf.c: Likewise.
7001         * libio/oldfileops.c: Likewise.
7002         * libio/oldiofclose.c: Likewise.
7003         * libio/oldiofdopen.c: Likewise.
7004         * libio/oldiofopen.c: Likewise.
7005         * libio/oldiopopen.c: Likewise.
7006         * libio/oldstdfiles.c: Likewise.
7007         * libio/putc.c: Likewise.
7008         * libio/setbuf.c: Likewise.
7009         * libio/setlinebuf.c: Likewise.
7010         * libio/stdfiles.c: Likewise.
7011         * libio/strops.c: Likewise.
7012         * libio/vasprintf.c: Likewise.
7013         * libio/vscanf.c: Likewise.
7014         * libio/vsnprintf.c: Likewise.
7015         * libio/vswprintf.c: Likewise.
7016         * libio/wfiledoalloc.c: Likewise.
7017         * libio/wfileops.c: Likewise.
7018         * libio/wgenops.c: Likewise.
7019         * libio/wmemstream.c: Likewise.
7020         * libio/wstrops.c: Likewise.
7021         * libio/__fpurge.c: Likewise.
7022         * libio/__fsetlocking.c: Likewise.
7023         * assert/assert.c: Likewise.
7024         * debug/fgets_chk.c: Likewise.
7025         * debug/fgets_u_chk.c: Likewise.
7026         * debug/fread_chk.c: Likewise.
7027         * debug/fread_u_chk.c: Likewise.
7028         * debug/gets_chk.c: Likewise.
7029         * debug/obprintf_chk.c: Likewise.
7030         * debug/vasprintf_chk.c: Likewise.
7031         * debug/vdprintf_chk.c: Likewise.
7032         * debug/vsnprintf_chk.c: Likewise.
7033         * debug/vsprintf_chk.c: Likewise.
7034         * malloc/mtrace.c: Likewise.
7035         * misc/error.c: Likewise.
7036         * misc/syslog.c: Likewise.
7037         * stdio-common/asprintf.c: Likewise.
7038         * stdio-common/fxprintf.c: Likewise.
7039         * stdio-common/getw.c: Likewise.
7040         * stdio-common/isoc99_fscanf.c: Likewise.
7041         * stdio-common/isoc99_scanf.c: Likewise.
7042         * stdio-common/isoc99_vfscanf.c: Likewise.
7043         * stdio-common/isoc99_vscanf.c: Likewise.
7044         * stdio-common/isoc99_vsscanf.c: Likewise.
7045         * stdio-common/printf-prs.c: Likewise.
7046         * stdio-common/printf_fp.c: Likewise.
7047         * stdio-common/printf_fphex.c: Likewise.
7048         * stdio-common/printf_size.c: Likewise.
7049         * stdio-common/putw.c: Likewise.
7050         * stdio-common/scanf.c: Likewise.
7051         * stdio-common/sprintf.c: Likewise.
7052         * stdio-common/tmpfile.c: Likewise.
7053         * stdio-common/vfprintf.c: Likewise.
7054         * stdio-common/vfscanf.c: Likewise.
7055         * stdlib/strfmon_l.c: Likewise.
7056         * sunrpc/openchild.c: Likewise.
7057         * sunrpc/xdr_stdio.c: Likewise.
7058         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7059         * sysdeps/mach/hurd/tmpfile.c: Likewise.
7061 2012-05-24  Roland McGrath  <roland@hack.frob.com>
7063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7065         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7066         in the third column, to generate for the shared library an IFUNC
7067         that uses _dl_vdso_vsym.
7068         * Makerules (COMPILE.c, compile-stdin.c): New variables.
7069         * Makeconfig (object-suffixes-noshared): New variable.
7071         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7072         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7073         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7074         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7076         [BZ #14132]
7077         * include/sys/time.h (__gettimeofday): Remove macro.
7078         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7079         * time/gettimeofday.c (__gettimeofday): Remove #undef.
7080         Remove INTDEF.
7081         (__gettimeofday): Add libc_hidden_def.
7082         (gettimeofday): Add libc_hidden_weak.
7083         * sysdeps/mach/gettimeofday.c: Likewise.
7084         * sysdeps/posix/gettimeofday.c: Likewise.
7085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7086         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7088         (__gettimeofday_internal): Remove strong_alias.
7089         (__gettimeofday): Add libc_hidden_def.
7090         (gettimeofday): Add libc_hidden_weak.
7091         * sysdeps/unix/syscalls.list (gettimeofday):
7092         Remove __gettimeofday_internal alias.
7094 2012-05-24  Daniel Jacobowitz  <drow@false.org>
7095             H.J. Lu  <hongjiu.lu@intel.com>
7097         [BZ #12495]
7098         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7099         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7100         (largebin_index_32_big): New.
7101         (largebin_index): Use it for 16-byte alignment.
7102         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
7103         correction with front_misalign.
7105 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7109         Likewise.
7110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7111         Likewise.
7112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7113         Likewise.
7114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7115         Likewise.
7116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7117         Likewise.
7118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7119         Likewise.
7120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7121         Likewise.
7122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7123         Likewise.
7124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7125         Likewise.
7126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7127         Likewise.
7128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7129         Likewise.
7130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7131         Likewise.
7133         * scripts/data/c++-types-x32-linux-gnu.data: New file.
7134         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7136 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
7138         [BZ #10846]
7139         [BZ #14036]
7140         * math/libm-test.inc (exp_test): Add test from bug 14036.
7141         (pow_test): Add test from bug 10846.
7143         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7144         and other flags.
7145         (special_function): Do not include flags in test name.
7146         (parse_args): Likewise.
7147         * sysdeps/i386/fpu/libm-test-ulps: Update.
7148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7153         * math/gen-libm-test.pl (%beautify): Add entries for underflow
7154         exceptions.
7155         * math/libm-test.inc ("Philosophy"): Update comment about
7156         exception testing.
7157         (UNDERFLOW_EXCEPTION): New macro.
7158         (UNDERFLOW_EXCEPTION_OK): Likewise.
7159         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7160         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7161         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7163         (INVALID_EXCEPTION_OK): Update value.
7164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7165         (OVERFLOW_EXCEPTION_OK): Likewise.
7166         (IGNORE_ZERO_INF_SIGN): Likewise.
7167         (test_exceptions): Handle underflow exceptions.
7168         (acos_test): Update for underflow exception expectations.
7169         (cexp_test): Likewise.
7170         (clog_test): Likewise.
7171         (clog10_test): Likewise.
7172         (csqrt_test): Likewise.
7173         (ctan_test): Likewise.
7174         (ctanh_test): Likewise.
7175         (exp_test): Likewise.
7176         (exp10_test): Likewise.
7177         (exp2_test): Likewise.
7178         (expm1_test): Likewise.
7179         (fma_test): Likewise.
7180         (j0_test): Likewise.
7181         (jn_test): Likewise.
7182         (nexttoward_test): Likewise.
7183         (pow_test): Likewise.
7184         (scalbn_test): Likewise.
7185         (scalbln_test): Likewise.
7186         (tan_test): Likewise.
7187         (y1_test): Likewise.
7188         * sysdeps/i386/fpu/libm-test-ulps: Update.
7189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191 2012-05-23  David S. Miller  <davem@davemloft.net>
7193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7194         (__libc_sigaction): Remove unused local variables.
7196 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7198         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7200 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
7202         mktime: avoid signed integer overflow
7203         * time/mktime.c (__mktime_internal): Do not mishandle the case
7204         where diff == INT_MIN.
7206         mktime: simplify computation of average
7207         * time/mktime.c (ranged_convert): Use new time_t_avg function
7208         instead of rolling our own (probably-slower) code.
7210         mktime: do not assume signed right shift propagates sign bit
7211         * time/mktime.c (isdst_differ): New static function.
7212         (__mktime_internal): No need to normalize tm_isdst now.
7213         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7214         tm_isdst values.
7216         mktime: merge another wrapv change from gnulib
7217         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7218         from some compilers.
7220         mktime: remove incorrect attempt at unusual arithmetics
7221         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7222         The code didn't really work on such machines anyway.
7223         (TYPE_MINIMUM): Assume two's complement.
7224         (twos_complement_arithmetic): Verify that long_int and time_t
7225         are two's complement (or unsigned, in the latter case).
7227         mktime: check signed shifts on long_int and time_t, too
7228         * time/mktime.c (SHR): Check that shifts work as desired
7229         on the types long_int and time_t too, as SHR is used on
7230         such types.
7232         mktime: do not assume 'long' is wide enough
7233         * time/mktime.c (verify): Move decl up.
7234         (long_int): New type.
7235         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7236         to remove assumption in the code that 'long' is wide enough to
7237         store year values.  This assumption is not true on x32 and on
7238         some non-glibc platforms.
7240         mktime: merge wrapv change from gnulib
7241         * time/mktime.c (WRAPV): New macro.
7242         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7243         (guess_time_tm, __mktime_internal): Do not assume that signed
7244         integer overflow wraps around; modern compilers generate code
7245         where this assumption is no longer valid.
7247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7250         Replace "jmp L(pseudo_end)" with "ret".
7251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7252         Likewise.
7254 2012-05-23  Andreas Jaeger  <aj@suse.de>
7256         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7257         * sysdeps/unix/sysv/linux/poll.c: Remove file.
7259 2012-05-23  Andreas Jaeger  <aj@suse.de>
7260             Maximilian Attems  <max@stro.at>
7262         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7263         New macros.
7265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
7267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7268         code so that pseudo_end is just ret and the stack pointer is
7269         correct also for static library in error case.
7271 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
7273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7274         move to syscalls.list.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7280         * manual/install.texi (Running make install): Do not mention Linux
7281         kernel version for which pt_chown is not needed.
7282         (Linux): Do not mention problems with nscd with 2.0 kernels.
7283         * INSTALL: Regenerated.
7285 2012-05-23  Andreas Jaeger  <aj@suse.de>
7287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7288         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7289         macro.
7290         * sysdeps/unix/sysv/linux/s390/bits/mman.h
7291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7292         * sysdeps/unix/sysv/linux/sh/bits/mman.h
7293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7294         * sysdeps/unix/sysv/linux/i386/bits/mman.h
7295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7300         * sysdeps/unix/sysv/linux/bits/in.h
7301         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7303 2012-05-22  Roland McGrath  <roland@hack.frob.com>
7305         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7306         (PREPARE_VERSION): Just use assert instead, it will be elided
7307         under [NDEBUG] anyway.
7309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7311         * sysdeps/unix/sysv/linux/Makefile: Include
7312         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7313         (sysdep_routines): Remove sysctl.
7314         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7315         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7317         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7318         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7320 2012-05-22  Andreas Jaeger  <aj@suse.de>
7322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7323         that pseudo_end is just ret and the stack pointer is correct also
7324         for static library in error case.
7326 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7328         [BZ #14122]
7329         * nss/nsswitch.c (defconfig_entries): New variable.
7330         (__nss_database_lookup): Don't leak defconfig entries.
7331         (nss_parse_service_list): Don't leak on error paths.
7332         (free_database_entries): New function.
7333         (free_defconfig): New function.
7334         (free_mem): Move common code to free_database_entries.
7336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7339         Add arch_prctl.
7340         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7343         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7345         New macro.
7346         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7347         (INTERNAL_SYSCALL_TYPES): Likewise.
7348         (LOAD_ARGS_TYPES_[1-6]): Likewise.
7349         (LOAD_REGS_TYPES_[1-6]): Likewise.
7350         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7351         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7353 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7355         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7356         copysignl for GLIBC_2_0.
7357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7358         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7360         logbl for GLIBC_2_0.
7361         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7364 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7367         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7369         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7370         Use "neg %eax".
7372         * time/mktime.c: Update copyright years.
7374 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7376         mktime: merge comment-quoting-style change from gnulib
7377         * time/mktime.c: Quote 'like this' in comments.
7378         The GNU coding standards suggest that we no longer quote `like this',
7379         as "`" and "'" are typically rendered asymmetrically nowadays.
7380         The typical gnulib style is to quote 'like this' when quoting
7381         code, and "like this" when quoting English.
7383         * time/mktime.c (compile-command): Add "-I.".
7385         mktime: merge mktime-internal.h change from gnulib
7386         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7388         mktime: merge time_r change from gnulib
7389         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7391         mktime: merge DEBUG change from gnulib
7392         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7393         case system <time.h> has a #define.
7395         mktime: merge <sys/types.h> change from gnulib
7396         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7397         since <time.t> is now guaranteed to define time_t.
7399         mktime: merge HAVE_CONFIG_H change from gnulib
7400         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7405         Use "neg %eax".
7407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7408         __rlim_t cast.
7409         (struct rusage): Use anonymous union to pad each field to
7410         __syscall_slong_t.
7412 2012-05-21  David S. Miller  <davem@davemloft.net>
7414         * Makefules (o-iterator): Remove .s cases.
7415         (compile-command.s): Delete.
7416         (COMPILE.s): Delete.
7417         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7419 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
7421         * configure.in (libc_cv_predef_stack_protector): Only consider
7422         "foobar" and "__stack_chk_fail" lines in libc_undefs.
7423         * configure: Regenerated.
7425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7428         New macro.  Use R*LP on int and pointer.
7429         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7430         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7431         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7432         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7434         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7435         [__WORDSIZE_TIME64_COMPAT32] instead of
7436         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7437         (struct utmp): Likewise.
7438         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7439         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7440         Renamed to ...
7441         (__WORDSIZE_TIME64_COMPAT32): This.
7442         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7443         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7444         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7445         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7447         (__WORDSIZE_TIME64_COMPAT32): New macro.
7449 2012-05-21  Andreas Jaeger  <aj@suse.de>
7451         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7452         only if [SHARED]. Add prototype for __wcschr_ia32.
7454 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7456         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7457         of %rbp unmolested in the jmp_buf while mangling the low bits.
7458         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7459         unmolested high bits of %rbp while demangling the low bits.
7460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7462 2012-05-21  Andreas Jaeger  <aj@suse.de>
7464         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7465         * sunrpc/svc_simple.c: Use it for registerrpc.
7466         * sunrpc/xcrypt.c: Use it for passwd2des.
7468         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7470 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7472         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7473         Don't define if [__SYSCALL_WORDSIZE != 32].
7474         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7475         New macro.
7477 2012-05-21  Bruno Haible  <bruno@clisp.org>
7478             Andreas Jaeger  <aj@suse.de>
7480         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7481         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7482         inptr and inend for must_buffer_ch.
7483         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7484         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7485         * stdio-common/Makefile (tests): Remove bug15.
7486         (bug15-ENV): Remove macro.
7487         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7488         anymore.
7490 2012-05-19  Andreas Jaeger  <aj@suse.de>
7491             Roland McGrath  <roland@hack.frob.com>
7493         * manual/contrib.texi: Completely rewritten. It contains now an
7494         alphabetical list of contributors and their contributions.
7496 2012-05-21  Richard Henderson  <rth@twiddle.net>
7498         * misc/getauxval.c (__getauxval): Use unsigned long int.
7499         * misc/sys/auxv.h: Include <sys/cdefs.h>.
7500         (getauxval): Use unsigned long int.
7502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
7504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7506 2012-05-21  Roland McGrath  <roland@hack.frob.com>
7508         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7509         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7510         __alignof__ (long double).
7512 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7516 2012-05-20  Richard Henderson  <rth@twiddle.net>
7518         * misc/getauxval.c: New file.
7519         * misc/sys/auxv.h: New file.
7520         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7521         (routines): Add getauxval.
7522         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7524         * elf/dl-sysdep.c (_dl_auxv): Remove.
7525         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7526         * elf/dl-support.c (_dl_auxv): New variable.
7527         (_dl_aux_init): Initialize it.
7528         * manual/startup.texi (Auxiliary Vector): New node.
7529         * sysdeps/generic/bits/hwcap.h: New file.
7530         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7531         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
7532         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7533         * sysdeps/sparc/sysdep.h: ... here.  Include it.
7534         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7537         Update.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7547 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7551 2012-05-19  David S. Miller  <davem@davemloft.net>
7553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7555 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7557         [BZ #14123]
7558         * math/s_ccosh.c: Include <float.h>
7559         (__ccosh): Avoid internal overflow calculating sinh and cosh
7560         values before multiplying by sin and cos values.
7561         * math/s_ccoshf.c: Likewise.
7562         * math/s_ccoshl.c: Likewise.
7563         * math/s_csin.c: Likewise.
7564         * math/s_csinf.c: Likewise.
7565         * math/s_csinl.c: Likewise.
7566         * math/s_csinh.c: Likewise.
7567         * math/s_csinhf.c: Likewise.
7568         * math/s_csinhl.c: Likewise.
7569         * math/libm-test.inc (ccos_test): Add more tests.
7570         (ccosh_test): Likewise.
7571         (csin_test): Likewise.
7572         (csinh_test): Likewise.
7573         * sysdeps/i386/fpu/libm-test-ulps: Update.
7574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7576 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7578         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7581         * sysdeps/x86_64/x32/_itoa.h: Add comment.
7583 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
7585         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7586         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7587         * sysdeps/powerpc/soft-fp/Versions: Likewise.
7588         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7589         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7590         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7591         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7592         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7593         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7594         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7595         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7596         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7597         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7598         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7599         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7600         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7601         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7602         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7603         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7604         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7605         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7606         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7607         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7608         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7609         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7610         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7611         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7612         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7613         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7614         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7615         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7617 2012-05-18  Andreas Jaeger  <aj@suse.de>
7619         * csu/.gitignore: Delete.
7621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7623         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7624         (timex): Use __syscall_slong_t.
7626 2012-05-18  Andreas Jaeger  <aj@suse.de>
7627             Carlos O'Donell  <carlos_odonell@mentor.com>
7629         * manual/install.texi (Configuring and compiling): Update
7630         description about files modified in the source directory.
7631         * INSTALL: Regenerated.
7633 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7635         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7636         value.  Use "or" to set return value to -1.
7637         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7638         negate return value.
7640 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7642         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7643         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7644         failure if the compiler has Graphite support disabled.
7645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7646         Likewise.
7647         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7648         CFLAGS-memmove.c): Likewise.
7649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7650         Likewise.
7652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7654         * sysdeps/x86_64/x32/_itoa.h: New file.
7656         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7657         getdents system call only if kernel and user dirents have the
7658         same d_ino and d_off.
7660         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7661         LLONG_MAX != LONG_MAX.
7662         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7663         (_fitoa_word): Likewise.
7665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7666         years.
7667         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7669         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7672         include <bits/wordsize.h>.  Check __x86_64__ instead of
7673         __WORDSIZE.
7674         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7675         if __x86_64__ is defined.  Use anonymous union on fpstate.
7677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7678         anonymous union.
7680 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
7682         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7683         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7685         Refer to _rtld_local_ro instead of _rtld_global_ro.
7686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7687         Likewise.
7688         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7689         Likewise.
7690         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7691         Likewise.
7692         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7693         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7694         of _rtld_global, and rtld_progname instead of _dl_argv[0].
7696         * sysdeps/powerpc/powerpc32/dl-machine.c
7697         (__elf_machine_runtime_setup) [PROF]: Don't reference
7698         _dl_prof_resolve.
7700 2012-05-18  Andreas Jaeger  <aj@suse.de>
7702         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7703         function only available for GCCs before 3.4 since GCC 3.4
7704         introduced a builtin.
7705         (lrint): Likewise.
7706         (llrintf): Likewise.
7707         (llrint): Likewise.
7708         (fmaxf): Likewise.
7709         (fmax): Likewise.
7710         (fminf): Likewise.
7711         (fmin): Likewise.
7712         (rint): Likewise.
7713         (rintf): Likewise.
7714         (nearbyint): Likewise.
7715         (nearbyintf): Likewise.
7716         (ceil): Likewise.
7717         (ceilf): Likewise.
7718         (floor): Likewise.
7719         (floorf): Likewise.
7721 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7723         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7724         on both fields and cast pointer to __syscall_ulong_t.
7726         * bits/types.h (__fsword_t): New type.
7727         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7728         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7730         (__FSWORD_T_TYPE): Likewise.
7731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7732         (__FSWORD_T_TYPE): Likewise.
7733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7734         (__FSWORD_T_TYPE): Likewise.
7735         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7736         (__FSWORD_T_TYPE): Likewise.
7737         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7738         __SWORD_TYPE with __fsword_t.
7739         (statfs64): Likewise.
7741 2012-05-17  David S. Miller  <davem@davemloft.net>
7743         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7745 2012-05-17  Andreas Jaeger  <aj@suse.de>
7747         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7748         warning.
7750 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7752         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7754 2012-05-17  Andreas Jaeger  <aj@suse.de>
7756         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7757         when it is used.
7759 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7761         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7763 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
7765         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7766         * sysdeps/x86_64/tst-mallocalign1.c: New file.
7768 2012-05-17  Andreas Jaeger  <aj@suse.de>
7769             Carlos O'Donell  <carlos_odonell@mentor.com>
7771         [BZ #14059]
7772         * sysdeps/x86_64/multiarch/init-arch.h
7773         (bit_YMM_Usable): Rename to...
7774         (bit_AVX_Usable): ... this.
7775         (bit_FMA4_Usable): New macro.
7776         (bit_XMM_state): New macro.
7777         (bit_YMM_state): New macro.
7778         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7779         [__ASSEMBLER__] (index_AVX_Usable): ... this.
7780         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7781         (CPUID_OSXSAVE): New macro.
7782         (CPUID_AVX): New macro.
7783         (CPUID_FMA4): New macro.
7784         (index_YMM_Usable): Rename to...
7785         (index_AVX_Usable): ... this.
7786         (HAS_AVX): Use HAS_ARCH_FEATURE.
7787         (HAS_FMA4): Likewise.
7788         (HAS_YMM_USABLE): Remove.
7789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7790         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7791         are present.
7792         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7793         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7794         * sysdeps/x86_64/multiarch/Makefile: Likewise.
7795         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7796         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7798 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
7800         * math/libm-test.c: Support platforms without multiple rounding modes.
7801         * math/bug-nextafter.c: Support platforms without FP exceptions.
7802         * math/bug-nexttoward.c: Likewise.
7803         * math/test-fenv.c: Likewise.
7804         * math/test-misc.c: Likewise.
7805         * stdlib/bug-getcontext.c: Likewise.
7807 2012-05-17  Andreas Jaeger  <aj@suse.de>
7809         * manual/examples/search.c (critter_cmp): Change signature to
7810         avoid warnings.
7811         * manual/string.texi (Collation Functions): Likewise.
7813 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7815         * bits/types.h: Fold copyright years.
7816         * bits/typesizes.h: Likewise.
7817         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7821         * time/time.h: Likewise.
7823 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
7825         [BZ #208]
7826         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7827         in instead of returning them.  Return void.
7828         (__libc_mallinfo): Accumulate over all arenas.
7829         (__malloc_stats): Adjust for change in int_mallinfo interface.
7831 2012-05-16  Roland McGrath  <roland@hack.frob.com>
7833         [BZ #10375]
7834         * configure.in (NM): Add AC_CHECK_TOOL for it.
7835         (libc_extra_cflags): New substituted variable.
7836         Check for -fstack-protector being used implicitly.
7837         * configure: Regenerated.
7838         * config.make.in (config-extra-cflags): New variable,
7839         gets @libc_extra_cflags@.
7840         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7842         [BZ #10375]
7843         * configure.in: Check for _FORTIFY_SOURCE being predefined.
7844         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7845         * configure: Regenerated.
7846         * config.make.in (CPPUNDEFS): New substituted variable.
7847         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7848         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7849         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7853         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7854         (mq_attr): Use __syscall_slong_t.
7856 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7858         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7859         Check __x86_64__ instead of __WORDSIZE.
7860         (_STAT_VER_LINUX): Likewise.
7861         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
7862         __syscall_ulong_t and __syscall_slong_t.
7863         (stat64): Likewise.
7865 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7867         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7871         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7873 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7875         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7876         __syscall_ulong_t.
7878         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7879         include <bits/wordsize.h>.  Check __x86_64__ instead of
7880         __WORDSIZE.
7881         (greg_t): Use "__extension__ long long int" if __x86_64__ is
7882         defined.
7883         (mcontext_t): Replace "unsigned long" with "unsigned long long".
7885         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7886         include <bits/wordsize.h>.  Check __x86_64__ instead of
7887         __WORDSIZE.
7888         (user_regs_struct): Use "__extension__ unsigned long long"
7889         instead of "unsigned long" if __x86_64__ is defined.
7890         (user): Likewise.  Pad after pointer field if __ILP32__ is
7891         defined.
7893 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
7895         * configure.in (makeinfo): Require version 4.5 or later.  Allow
7896         versions 5 to 9.
7897         * configure: Regenerated.
7898         * manual/install.texi (texinfo): Increase version requirement to
7899         4.5 or later.
7900         * INSTALL: Regenerated.
7902         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7904 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
7906         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7908         * sysdeps/x86_64/x32/ffs.c: New file.
7910         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7911         __syscall_ulong_t.
7912         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7913         defined.  Use __syscall_ulong_t.
7914         (shminfo): Use __syscall_ulong_t.
7915         (shm_info): Likewise.
7917         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7918         __syscall_ulong_t.
7920         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7921         <bits/wordsize.h>.
7922         (msgqnum_t): Use __syscall_ulong_t.
7923         (msglen_t): Likewise.
7924         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
7925         __syscall_ulong_t.
7927         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7928         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7930         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7932         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7933         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7935         * sysvipc/sys/msg.h (msgbuf): Replace long int with
7936         __syscall_slong_t.
7938         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7939         include <bits/wordsize.h>.  Check __x86_64__ instead of
7940         __WORDSIZE.
7942         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7943         "unsigned long long int" if __x86_64__ is defined.
7944         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7947         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
7948         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7950         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7951         <stdint.h>.
7952         (GET_PC): Cast to uintptr_t first.
7953         (GET_FRAME): Likewise.
7954         (GET_STACK): Likewise.
7956         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7958         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7960         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7962         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7964         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7965         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7969         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7971         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7973         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7975         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7981         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7983         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7986 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
7988         * Makerules (+depfiles): Also collect depfiles from .oS in
7989         $(extra-objs).
7990         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7991         .oS, $(libnldbl-routines)).
7993         * Makerules (native-compile-mkdep-flags): Define.
7994         * sunrpc/Makefile (extra-objs): Add $(addprefix
7995         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7996         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7997         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
7998         calling $(make-target-directory).
8000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8002         * bits/types.h (__snseconds_t): Removed.
8003         * time/time.h (struct timespec): Replace __snseconds_t with
8004         __syscall_slong_t.
8005         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8006         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8007         Likewise.
8008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8009         (__SNSECONDS_T_TYPE): Likewise.
8010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8011         (__SNSECONDS_T_TYPE): Likewise.
8012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8013         (__SNSECONDS_T_TYPE): Likewise.
8015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8017         * sysdeps/mach/hurd/bits/typesizes.h
8018         (__SYSCALL_SLONG_TYPE): New macro.
8019         (__SYSCALL_ULONG_TYPE): Likewise.
8021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8023         * bits/types.h (__syscall_slong_t): New type.
8024         (__syscall_ulong_t): Likewise.
8026         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8027         (__SYSCALL_ULONG_TYPE): Likewise.
8028         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8029         (__SYSCALL_SLONG_TYPE): Likewise.
8030         (__SYSCALL_ULONG_TYPE): Likewise.
8031         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8032         (__SYSCALL_SLONG_TYPE): Likewise.
8033         (__SYSCALL_ULONG_TYPE): Likewise.
8034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8035         (__SYSCALL_SLONG_TYPE): Likewise.
8036         (__SYSCALL_ULONG_TYPE): Likewise.
8038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8040         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8041         Add sigaltstack-offsets.sym.
8042         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8043         <sigaltstack-offsets.h>.
8044         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
8045         longjmp_msg pointer.
8046         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
8047         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8048         signal stack.
8049         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8051 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8053         * elf/stackguard-macros.h: Remove file.
8054         * sysdeps/generic/stackguard-macros.h: New file.
8055         * sysdeps/i386/stackguard-macros.h: Likewise.
8056         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8057         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8058         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8059         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8060         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8061         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8062         * sysdeps/x86_64/stackguard-macros.h: Likewise.
8063         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8064         <elf/stackguard-macros.h>.
8066         [BZ #14109]
8067         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8068         __aligned__ in attribute.
8069         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8070         (gregset_t): Likewise.
8072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8074         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8075         * sysdeps/x86_64/64/Implies-after: Here.  New file.
8076         * sysdeps/x86_64/x32/Implies-after: New file.
8078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8080         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8081         and access return value for _dl_profile_fixup.  Use R10_LP to
8082         load frame size.
8084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8086         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8090         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8091         * sysdeps/x86_64/x32/sysdep.h: New file.
8093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8095         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8096         * sysdeps/x86_64/setjmp.S: Likewise.
8098 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8100         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8102         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8103         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8104         remove unused global constant.
8106 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
8108         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8109         include of <not-cancel.h>.
8111 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8113         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8115 2012-05-15  Jeff Law  <law@redhat.com>
8116             Andreas Jaeger  <aj@suse.de>
8118         [BZ #13594]
8119         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8120         out from...
8121         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8122         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8124         code changing __hst_map_handle.map.
8126 2012-05-15  Roland McGrath  <roland@hack.frob.com>
8128         * configure.in (sysnames): Look for Implies-before and Implies-after
8129         files.
8130         * configure: Regenerated.
8132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8134         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8135         8-byte data alignment with LP_SIZE alignment.
8137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8139         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8140         into R10_LP.
8142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8144         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8148         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8149         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8151         Likewise.
8152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8156         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8157         (stackinfo_sub_sp): Likewise.
8159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8162         RAX_LP.
8164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8166         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8167         into R*_LP.
8169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8171         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8172         sizes into R*_LP.
8174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8176         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8180         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8181         into R11_LP and load __x86_64_shared_cache_size_half into
8182         R8_LP.
8184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
8186         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8187         R8_LP.
8189 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8192         logb for POWER7.
8193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8194         logbf for POWER7.
8195         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8196         logbl for POWER7.
8197         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8198         powerpc32/power7/fpu/s_logb.c via #include.
8199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8200         powerpc32/power7/fpu/s_logbf.c via #include.
8201         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8202         powerpc32/power7/fpu/s_logbl.c via #include.
8204 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
8206         * README.libm: Remove file.
8208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8210         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8211         count for x32.  Use R*_LP and omit operand-size suffix.
8213 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8215         * shlib-versions: Move x86_64-.*-linux.* entries to ...
8216         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
8217         * sysdeps/x86_64/x32/shlib-versions: New file.
8219 2012-05-14  Roland McGrath  <roland@hack.frob.com>
8221         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8222         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8223         Use _dl_fatal_printf instead.
8225 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
8227         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8228         set if not set by the user.  Do not allow for being unset.
8229         * sysdeps/unix/sysv/linux/configure: Regenerated.
8231 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8233         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8234         the `q' suffix from lea and replace .quad with ASM_ADDR.
8236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8239         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
8240         instead of $17.
8241         (PTR_DEMANGLE): Likewise.
8243 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8245         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8246         (LP_OP): Likewise.
8247         (ASM_ADDR): Likewise.
8248         (RAX_LP): Likewise.
8249         (RBP_LP): Likewise.
8250         (RBX_LP): Likewise.
8251         (RCX_LP): Likewise.
8252         (RDI_LP): Likewise.
8253         (RSI_LP): Likewise.
8254         (RSP_LP): Likewise.
8255         (R8_LP): Likewise.
8256         (R9_LP): Likewise.
8257         (R10_LP): Likewise.
8258         (R10_LP): Likewise.
8259         (R11_LP): Likewise.
8260         (R12_LP): Likewise.
8261         (R13_LP): Likewise.
8262         (R14_LP): Likewise.
8263         (R15_LP): Likewise.
8265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8267         * sysdeps/x86_64/x32/dl-machine.h: New file.
8269 2012-05-14  Andreas Jaeger  <aj@suse.de>
8271         * manual/Makefile (subdir): Remove export of subdir.
8272         (all): Remove target.
8273         (.PHONY): Remove all from list.
8274         (mkinstalldirs): Remove.
8275         (.PHONY): Remove installdirs from list.
8276         ($(inst_infodir)/libc.info): Use make-target-directory.
8277         (installdirs): Remove.
8278         (subdir_%): Remove.
8279         (glibc-targets): Remove.
8280         (lib): Remove.
8281         (stubs): Remove.
8282         ($(objpfx)stubs ../po/manual.pot): Remove.
8283         ($(objpfx)stamp%): Remove.
8284         (make-target-directory): Remove.
8285         (subdir_install): Remove.
8286         (routines): Remove.
8287         (aux): Remove.
8288         (sources): Remove.
8289         (objects): Remove.
8290         (headers): Remove.
8292         [BZ #13750]
8293         * manual/.gitignore: Remove, it's not needed anymore.
8294         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8295         all files in it.
8296         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8297         directory.
8298         (texis): Renamed to $(objpfx)texis.
8299         (texis-path): New, contains path to generated files.
8300         (chapters.%): Use texis-path for complete path, add extra argument
8301         libc-texinfo.sh.
8302         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8303         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8304         (summary,texi, stamp-summary): Use complete path of
8305         files. Generate files in build dir.
8306         (dir-add.texi): Build in build dir.
8307         (libm-err.texi,stamp-libm-err): Likewise.
8308         (version.texi, stamp-version): Likewise.
8309         (.%c.texi): Likewise.
8310         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8311         (mostlyclean): Remove target.
8312         (realclean): Remove target.
8313         (generated): Add new variable with contents from mostlyclean and
8314         realclean, remove entries duplicated in common-mostlyclean, add
8315         stamp-libm-err and stamp-version.
8316         (generated-dirs): Add libc directory.
8317         ($(inst_infodir)/libc.info): Install files from build dir.
8319         * manual/install.texi (Configuring and compiling): Adjust since
8320         the info files are not part of the tar ball anymore.
8322 2012-05-14  Andreas Jaeger  <aj@suse.de>
8324         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8325         variable.
8327 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
8329         [BZ #13717]
8330         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8331         to 2.2.0 where earlier.
8332         * sysdeps/unix/sysv/linux/configure: Regenerated.
8333         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8334         Remove conditional code.
8335         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8336         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8337         Remove conditional code.
8338         [!__NR_lchown]: Likewise.
8339         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8340         [__NR_lchown]: Likewise.
8341         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8342         comment referencing __ASSUME_LCHOWN_SYSCALL.
8343         * sysdeps/unix/sysv/linux/i386/sigaction.c
8344         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8345         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8346         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8347         Remove conditional code.
8348         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8349         (__protocol_available): Remove #if 0 code.
8350         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8351         conditional code.
8352         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8353         * sysdeps/unix/sysv/linux/kernel-features.h
8354         (__ASSUME_GETCWD_SYSCALL): Don't define.
8355         (__ASSUME_REALTIME_SIGNALS): Likewise.
8356         (__ASSUME_PREAD_SYSCALL): Likewise.
8357         (__ASSUME_PWRITE_SYSCALL): Likewise.
8358         (__ASSUME_POLL_SYSCALL): Likewise.
8359         (__ASSUME_LCHOWN_SYSCALL): Likewise.
8360         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8361         non-SPARC.
8362         (__ASSUME_SIOCGIFNAME): Don't define.
8363         (__ASSUME_MSG_NOSIGNAL): Likewise.
8364         (__ASSUME_SENDFILE): Define unconditionally.
8365         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8366         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8367         conditional code.
8368         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8369         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8370         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8371         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8372         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8373         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8374         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8376         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8379         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8380         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8382         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8385         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8386         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8388         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8391         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8394         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8399         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8400         Remove conditional code.
8401         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8402         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8403         Remove conditional code.
8404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8405         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8406         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8407         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8408         Remove conditional code.
8409         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8410         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8411         Remove conditional code.
8412         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8413         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8414         Remove conditional code.
8415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8416         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8417         Remove conditional code.
8418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8419         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8420         Remove conditional code.
8421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8422         * sysdeps/unix/sysv/linux/sh/pwrite64.c
8423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8425         * sysdeps/unix/sysv/linux/sigaction.c
8426         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8427         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8428         * sysdeps/unix/sysv/linux/sigpending.c
8429         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8430         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8431         * sysdeps/unix/sysv/linux/sigprocmask.c
8432         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8433         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8434         * sysdeps/unix/sysv/linux/sigsuspend.c
8435         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8436         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8438         (__libc_missing_rt_sigs): Remove.
8439         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8440         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8441         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8442         Remove conditional code.
8443         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8444         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8445         return 1.
8446         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8447         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8448         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8449         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8451 2012-05-14  Andreas Jaeger  <aj@suse.de>
8453         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8454         it's not used in glibc.
8455         (__coshm1): Likewise.
8456         (__acosh1p): Likewise.
8457         (__sgn): Likewise.
8459         * manual/string.texi (Copying and Concatenation): Add missing
8460         variable in concat example.
8461         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8463 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8465         [BZ #14103]
8466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8467         __builtin_clzl with __builtin_clzll.
8469 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8471         [BZ #14104]
8472         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8473         libc_freeres_ptr.
8475 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8477         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8478         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8479         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8480         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8482 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
8484         * NEWS: Update ia64 info.
8486 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
8488         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8489         used as bcopy.
8491 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
8493         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8494         * sysdeps/unix/syscalls.list (dup3): Likewise.
8495         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8496         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8498 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8500         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8501         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8503 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8505         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8506         thread pointer.
8507         (TLS_IE): Use mov/add instead of movq/addq to load thread
8508         pointer.
8509         (TLS_GD_PREFIX): New.
8510         (TLS_GD): Use it.
8512 2012-05-11  David S. Miller  <davem@davemloft.net>
8514         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8515         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8516         (_FPU_SETCW): Likewise.
8518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8520         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8521         is 32-byte aligned.
8523 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
8525         [BZ #11837]
8526         * iconvdata/gb18030.c: Update tables.
8527         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
8528         characters specially.
8529         (BODY for TO_LOOP): Add encoding of missing ranges.
8531 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
8533         [BZ #13673]
8534         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8535         * sysdeps/mach/hurd/dup3.c: Likewise.
8536         * sysdeps/mach/hurd/readlinkat.c: Likewise.
8537         * sysdeps/powerpc/memmove.c:: Likewise.
8539 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8542         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8544 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8546         * elf/elf.h (R_X86_64_RELATIVE64): New.
8547         (R_X86_64_NUM): Updated.
8548         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8549         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
8550         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8551         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8552         tst-quad1pie tst-quad2pie
8553         (modules-names): Add tst-quadmod1 tst-quadmod2.
8554         ($(objpfx)tst-quad1): New dependency.
8555         ($(objpfx)tst-quad2): Likewise.
8556         ($(objpfx)tst-quad1pie): Likewise.
8557         ($(objpfx)tst-quad2pie): Likewise.
8558         * sysdeps/x86_64/tst-quad1.c: New file.
8559         * sysdeps/x86_64/tst-quad1pie.c: New file.
8560         * sysdeps/x86_64/tst-quad2.c: Likewise.
8561         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8562         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8563         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8564         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8565         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8569         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8570         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8571         * streams/stropts.h (t_scalar_t): Define type.
8573         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8574         (_PATH_PRESERVE): Set to "/var/lib".
8575         (_PATH_RWHODIR): Set to "/var/spool/rwho".
8577         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8578         instead of int.
8580         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8581         if __dir_mkfile succeeded.
8583         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8584         checking for _hurd_dtablesize.  Unlock it right after having
8585         finished _hurd_dtable allocation.
8587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8589         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8590         * sysdeps/mach/hurd/configure: Regenerated.
8591         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8592         special-casing to...
8593         * sysdeps/gnu/configure.in: ... this new file.
8594         * sysdeps/unix/sysv/linux/configure: Regenerated.
8595         * sysdeps/gnu/configure: New generated file.
8597         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8598         for Linux: use nsec instead of usec, as well as:
8599         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8600         members of type struct timespec.
8601         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8602         New macros.
8603         (struct stat64): Likewise.
8604         (_STATBUF_ST_NSEC): New macro.
8605         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8607         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8608         __strtoul_internal rather than strtoul.
8610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8612         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8613         and reject them.
8615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8617         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8618         which preserves existing values.
8619         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8621 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8623         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8624         TIMEOUT values.  Return EINVAL for NFDS values either negative or
8625         greater than FD_SETSIZE.
8627 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8629         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8630         allocated, call __vm_protect to finish enabling the existing space, and
8631         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8632         allocate the remainder.
8634 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8636         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8637         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
8639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8641         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8642         sysdeps/mach/hurd/readlink.c.
8644         * posix/tst-sysconf.c (posix_options): Only use
8645         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8646         _POSIX_SYNCHRONIZED_IO when they are defined
8647         * sysdeps/mach/hurd/bits/posix_opt.h:
8648         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8649         (_XOPEN_REALTIME): Undefine macro.
8650         (_XOPEN_REALTIME_THREADS): Undefine macro.
8651         (_XOPEN_SHM): Undefine macro.
8652         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8653         macro to -1.
8654         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8655         macro to -1.
8656         (_POSIX_ASYNC_IO): Undefine macro.
8657         (_POSIX_PRIORITIZED_IO): Undefine macro.
8658         (_POSIX_SPIN_LOCKS): Define macro to -1.
8660         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8661         SA_NODEFER, SA_RESETHAND.
8662         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8663         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8664         F_DUPFD_CLOEXEC.
8666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8668         * elf/Makefile (pldd-modules): Define unconditionally.
8670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8672         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8676         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8677         Return ENOENT when name is empty.
8678         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8682         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8684         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8688         Fix mlock in all cases except non-readable pages.
8689         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8690         instead of VM_PROT_ALL as parameter to __vm_wire function.
8692         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8693         (__mkdir): When path is `/', just fail with EEXIST.
8694         * sysdeps/mach/hurd/mkdirat.c: Likewise.
8696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8698         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8699         <sys/uio.h> (for writev).
8700         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8701         and <sys/param.h> (for MIN).
8703 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8705         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8706         REQUESTED_TIME.  Properly set the remaining time and return EINTR
8707         if interrupted.
8709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8711         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8712         Depend on against $(link-rpcuserlibs).
8714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8716         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8717         (__libc_stack_end): Do not use attribute_relro.
8718         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8719         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
8720         to libthread-provided value.
8721         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8722         attribute_relro.
8724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8726         [BZ #3748]
8727         * bits/libc-lock.h (__libc_once_get): New macro.
8728         * sysdeps/mach/bits/libc-lock.h: Likewise.
8729         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8731         instead of using implementation details.
8733         * libio/fileops.c: Unconditionally include <kernel-features.h>.
8734         * libio/freopen.c: Likewise.
8735         * libio/freopen64.c: Likewise.
8736         * misc/syslog.c: Likewise.
8737         * nscd/connections.c: Likewise.
8738         * nscd/netgroupcache.c: Likewise.
8739         * sysdeps/posix/getcwd.c: Likewise.
8741 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8743         * math/w_ilogbf.c: Add #include <limits.h>.
8745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8747         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
8748         path instead of returning without unlocking.
8750         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8751         immediate-write ioctls.
8752         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8754 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8756         * sysdeps/mach/hurd/i386/init-first.c (init): Use
8757         __builtin_frame_address instead of making assumptions about the
8758         location of the return address relative to DATA.  Force early load of
8759         the return address.
8760         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8761         __builtin_frame_address.
8763         dup3 for GNU Hurd.
8764         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8765         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
8766         implement dup3 and do some further code clean-ups.
8767         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8768         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8770 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8772         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8774         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8775         HURD_CRITICAL_END around holding _hurd_dtable_lock.
8776         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8777         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8778         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8779         d->port.lock.
8781         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8782         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
8783         when handler == SIG_ERR, not when handler != SIG_ERR.
8785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8787         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8788         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8789         definitions.
8791         accept4 for GNU Hurd.
8792         * include/sys/socket.h (__libc_accept4): New prototype.
8793         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
8794         to implement __libc_accept4.
8795         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8796         __libc_accept4.
8797         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8799         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8800         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8801         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8802         signal-defines.sym.
8804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8806         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
8808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
8810         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8811         assertion on O_CLOEXEC flag.
8812         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8813         * hurd/intern-fd.c: Likewise.
8814         * hurd/port2fd.c: Likewise.
8816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8818         [BZ #3906]
8819         * bits/in.h (IPV6_PKTINFO): Define new macro.
8820         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8822 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8824         [BZ #13954]
8825         [BZ #13955]
8826         [BZ #13956]
8827         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8829         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8830         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8832         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8833         * math/libm-test.inc (logb_test) : Additional logb tests.
8835 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
8836             Andreas Jaeger  <aj@suse.de>
8838         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8839         * configure: Regenerated.
8840         * config.h.in (LINK_OBSOLETE_RPC): New macro.
8841         * config.make.in (link-obsolete-rpc): New substituted variable.
8842         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8843         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8844         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8845         (shared-only-routines): Don't set it under [link-obsolete-rpc],
8846         so that libc.a contains the symbols.
8847         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8848         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8849         * sunrpc/auth_none.c: Likewise.
8850         * sunrpc/auth_unix.c: Likewise.
8851         * sunrpc/authdes_prot.c: Likewise.
8852         * sunrpc/authuxprot.c: Likewise.
8853         * sunrpc/clnt_gen.c: Likewise.
8854         * sunrpc/clnt_perr.c: Likewise.
8855         * sunrpc/clnt_raw.c: Likewise.
8856         * sunrpc/clnt_simp.c: Likewise.
8857         * sunrpc/clnt_tcp.c: Likewise.
8858         * sunrpc/clnt_udp.c: Likewise.
8859         * sunrpc/clnt_unix.c: Likewise.
8860         * sunrpc/des_crypt.c: Likewise.
8861         * sunrpc/des_soft.c: Likewise.
8862         * sunrpc/get_myaddr.c: Likewise.
8863         * sunrpc/key_call.c: Likewise.
8864         * sunrpc/key_prot.c: Likewise.
8865         * sunrpc/netname.c: Likewise.
8866         * sunrpc/pm_getmaps.c: Likewise.
8867         * sunrpc/pm_getport.c: Likewise.
8868         * sunrpc/pmap_clnt.c: Likewise.
8869         * sunrpc/pmap_prot.c: Likewise.
8870         * sunrpc/pmap_prot2.c: Likewise.
8871         * sunrpc/pmap_rmt.c: Likewise.
8872         * sunrpc/publickey.c: Likewise.
8873         * sunrpc/rpc_cmsg.c: Likewise.
8874         * sunrpc/rpc_common.c: Likewise.
8875         * sunrpc/rpc_dtable.c: Likewise.
8876         * sunrpc/rpc_prot.c: Likewise.
8877         * sunrpc/rpc_thread.c: Likewise.
8878         * sunrpc/rtime.c: Likewise.
8879         * sunrpc/svc.c: Likewise.
8880         * sunrpc/svc_auth.c: Likewise.
8881         * sunrpc/svc_raw.c: Likewise.
8882         * sunrpc/svc_run.c: Likewise.
8883         * sunrpc/svc_tcp.c: Likewise.
8884         * sunrpc/svc_udp.c: Likewise.
8885         * sunrpc/svc_unix.c: Likewise.
8886         * sunrpc/svcauth_des.c: Likewise.
8887         * sunrpc/xcrypt.c: Likewise.
8888         * sunrpc/xdr.c: Likewise.
8889         * sunrpc/xdr_array.c: Likewise.
8890         * sunrpc/xdr_float.c: Likewise.
8891         * sunrpc/xdr_intXX_t.c: Likewise.
8892         * sunrpc/xdr_mem.c: Likewise.
8893         * sunrpc/xdr_rec.c: Likewise.
8894         * sunrpc/xdr_ref.c: Likewise.
8895         * sunrpc/xdr_sizeof.c: Likewise.
8896         * sunrpc/xdr_stdio.c: Likewise.
8898 2012-05-10  Roland McGrath  <roland@hack.frob.com>
8900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8901         change.  Update copyright years.
8903 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
8905         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8907 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
8908             Joseph Myers  <joseph@codesourcery.com>
8909             Paul Pluzhnikov  <ppluzhnikov@google.com>
8911         [BZ #14012]
8912         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8913         requiring rpcgen.
8914         [cross-compiling] (extra-libs): Likewise.
8915         [cross-compiling] (extra-libs-others): Likewise.
8916         [cross-compiling] (librpcsvc-routines): Likewise.
8917         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8918         [cross-compiling] (omit-deps): Likewise.
8919         (sunrpc-CPPFLAGS): New variable.
8920         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8921         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8922         (cross-rpcgen-objs): New variable.
8923         (extra-objs): Append $(cross-rpcgen-objs).
8924         ($(cross-rpcgen-objs)): New rule.
8925         ($(objpfx)cross-rpcgen): Likewise.
8926         (rpcgen-cmd): Define to use $(built-program-file).  Expand
8927         comment.
8928         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8929         ($(objpfx)x%.stmp): Likewise.
8930         * sunrpc/proto.h [IS_IN_build] (_): Define.
8931         [IS_IN_build] (_libc_intl_domainname): Likewise.
8933 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
8935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8936         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8937         and R_X86_64_TPOFF64.
8939 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
8941         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8942         sysdeps/unix/sysv/syscalls.list.
8943         (stime): Likewise.
8944         (utime): Likewise.
8945         * sysdeps/unix/sysv/syscalls.list: Remove file.
8947 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
8949         [BZ #3440]
8950         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8951         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8952         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8953         (__LC_IDENTIFICATION): Make these macros useful in #if
8954         expressions, as required by C99.
8956 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
8958         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8959         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
8960         after this.
8962 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8964         * stdlib/longlong.h: Updated from GCC.
8966 2012-05-09  Andreas Jaeger  <aj@suse.de>
8968         * nscd/nscd.c (run_modes): Make named enum, reorder so that
8969         default is first entry.
8970         (run_mode): Set type.
8971         (main): Remove informal message about syslog.
8972         (options): Fix typo.
8974         [BZ #14053]
8975         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
8976         to asm.
8977         (lrint): Likewise.
8978         (llrintf): Likewise.
8979         (llrint): Likewise.
8980         (rint): Likewise.
8981         (rintf): Likewise.
8982         (nearbyint): Likewise.
8983         (nearbyintf): Likewise.
8985 2012-05-09  Andreas Jaeger  <aj@suse.de>
8986             Pedro Alves  <palves@redhat.com>
8988         * nscd/nscd.c (run_mode): Use enum.
8989         (main): Cleanup coding style issue.
8991 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
8992             Andreas Jaeger  <aj@suse.de>
8994         * nscd/nscd.c (go_background): Replaced with...
8995         (run_mode): ... this.
8996         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
8997         (options): Add -F --foreground.
8998         (main): Implement it.
8999         (parse_opt): Parse it.
9001 2012-05-09  Andreas Jaeger  <aj@suse.de>
9003         [BZ #14083]
9004         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9005         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9006         -Wconversion warning.
9007         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9008         Likewise.
9010 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
9012         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
9013         == 0.
9014         (LC_ALL): Use macro-int-constant.
9015         (LC_COLLATE): Likewise.
9016         (LC_CTYPE): Likewise.
9017         (LC_MESSAGES): Likewise.
9018         (LC_MONETARY): Likewise.
9019         (LC_NUMERIC): Likewise.
9020         (LC_TIME): Likewise.
9021         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9022         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9024         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9025         Specify type.
9026         [C99-based standards] (float_t): Expect type.
9027         [C99-based standards] (double_t): Expect type.
9028         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
9029         type.
9030         [C99-based standards] (HUGE_VALL): Likewise.
9031         [C99-based standards] (INFINITY): Likewise.
9032         [C99-based standards] (NAN): Likewise.
9033         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9034         [C99-based standards] (FP_NAN): Likewise.
9035         [C99-based standards] (FP_NORMAL): Likewise.
9036         [C99-based standards] (FP_SUBNORMAL): Likewise.
9037         [C99-based standards] (FP_ZERO): Likewise.
9038         [C99-based standards] (FP_FAST_FMA): Use
9039         optional-macro-int-constant.  Specify type.  Require == 1.
9040         [C99-based standards] (FP_FAST_FMAF): Likewise.
9041         [C99-based standards] (FP_FAST_FMAL): Likewise.
9042         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9043         [C99-based standards] (FP_ILOGBNAN): Likewise.
9044         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9045         Specify type.
9046         [C99-based standards] (MATH_ERREXCEPT): Likewise.
9047         [C99-based standards] (math_errhandling): Specify type.
9048         [ISO99 || ISO11] (signgam): Do not allow.
9049         [non-C99-based standards] (copysignf): Do not allow.
9050         [non-C99-based standards] (exp2f): Likewise.
9051         [non-C99-based standards] (log2f): Likewise.
9052         [non-C99-based standards] (modff): Allow.
9053         [non-C99-based standards] (erff): Do not allow.
9054         [non-C99-based standards] (erfcf): Likewise.
9055         [non-C99-based standards] (gammaf): Likewise.
9056         [non-C99-based standards] (hypotf): Likewise.
9057         [non-C99-based standards] (j0f): Likewise.
9058         [non-C99-based standards] (j1f): Likewise.
9059         [non-C99-based standards] (jnf): Likewise.
9060         [non-C99-based standards] (lgammaf): Likewise.
9061         [non-C99-based standards] (tgammaf): Likewise.
9062         [non-C99-based standards] (y0f): Likewise.
9063         [non-C99-based standards] (y1f): Likewise.
9064         [non-C99-based standards] (ynf): Likewise.
9065         [non-C99-based standards] (isnanf): Likewise.
9066         [non-C99-based standards] (acoshf): Likewise.
9067         [non-C99-based standards] (asinhf): Likewise.
9068         [non-C99-based standards] (atanhf): Likewise.
9069         [non-C99-based standards] (cbrtf): Likewise.
9070         [non-C99-based standards] (expm1f): Likewise.
9071         [non-C99-based standards] (ilogbf): Likewise.
9072         [non-C99-based standards] (log1pf): Likewise.
9073         [non-C99-based standards] (logbf): Likewise.
9074         [non-C99-based standards] (nextafterf): Likewise.
9075         [non-C99-based standards] (remainderf): Likewise.
9076         [non-C99-based standards] (rintf): Likewise.
9077         [non-C99-based standards] (scalbf): Likewise.
9078         [non-C99-based standards] (copysignl): Likewise.
9079         [non-C99-based standards] (exp2l): Likewise.
9080         [non-C99-based standards] (log2l): Likewise.
9081         [non-C99-based standards] (modfl): Allow.
9082         [non-C99-based standards] (erfl): Do not allow.
9083         [non-C99-based standards] (erfcl): Likewise.
9084         [non-C99-based standards] (gammal): Likewise.
9085         [non-C99-based standards] (hypotl): Likewise.
9086         [non-C99-based standards] (j0l): Likewise.
9087         [non-C99-based standards] (j1l): Likewise.
9088         [non-C99-based standards] (jnl): Likewise.
9089         [non-C99-based standards] (lgammal): Likewise.
9090         [non-C99-based standards] (tgammal): Likewise.
9091         [non-C99-based standards] (y0l): Likewise.
9092         [non-C99-based standards] (y1l): Likewise.
9093         [non-C99-based standards] (ynl): Likewise.
9094         [non-C99-based standards] (isnanl): Likewise.
9095         [non-C99-based standards] (acoshl): Likewise.
9096         [non-C99-based standards] (asinhl): Likewise.
9097         [non-C99-based standards] (atanhl): Likewise.
9098         [non-C99-based standards] (cbrtl): Likewise.
9099         [non-C99-based standards] (expm1l): Likewise.
9100         [non-C99-based standards] (ilogbl): Likewise.
9101         [non-C99-based standards] (log1pl): Likewise.
9102         [non-C99-based standards] (logbl): Likewise.
9103         [non-C99-based standards] (nextafterl): Likewise.
9104         [non-C99-based standards] (remainderl): Likewise.
9105         [non-C99-based standards] (rintl): Likewise.
9106         [non-C99-based standards] (scalbl): Likewise.
9107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9108         [non-C99-based standards] (FP_*): Do not allow.
9109         [C99-based standards] (FP_*): Change to
9110         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9111         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9112         allow.
9113         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9114         (SIG_ERR): Likewise.
9115         [X/Open-based standards] (SIG_HOLD): Likewise.
9116         (SIG_IGN): Likewise.
9117         (SIGABRT): Use macro-int-constant.  Specify type.  Require
9118         positive value.
9119         (SIGFPE): Likewise.
9120         (SIGILL): Likewise.
9121         (SIGINT): Likewise.
9122         (SIGSEGV): Likewise.
9123         (SIGTER): Likewise.
9124         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9125         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9126         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9127         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9128         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9129         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9130         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9131         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9132         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9133         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9134         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9135         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9136         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9137         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9138         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9139         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9140         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9141         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9142         [X/Open-based standards] (SIGTRAP): Likewise.
9143         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9144         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9145         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9146         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9147         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9148         allow.
9150 2012-05-08  Ian Wienand  <ianw@vmware.com>
9152         [BZ #14080]
9153         * time/tzset.c (__tzset_parse_tz): Update default rules for
9154         daylight time changes in the Energy Policy Act of 2005.
9156 2012-05-09  Andreas Jaeger  <aj@suse.de>
9158         [BZ #13983]
9159         * elf/ldconfig.c (parse_conf): Change string to make clear that
9160         ldconfig only issued a warning if ld.so.conf does not exist.
9162 2012-05-08  David S. Miller  <davem@davemloft.net>
9164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9165         movxtod instead of popping the value on the stack.
9167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9169 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
9171         * config.h.in: Add HAVE_ARM_PCS_VFP.
9173 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
9175         [BZ #13979]
9176         * include/features.h: Warn if user requests __FORTIFY_SOURCE
9177         checking but the checks are disabled for any reason.
9179 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9181         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9182         and ELF64_R_TYPE with ELFW(R_TYPE).
9184 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
9186         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9187         (ulimit): Likewise.
9189         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9190         (settimeofday): Likewise.
9192 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
9194         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
9195         a struct th_u2 inside the union, and move tu_block/tu_code into
9196         a new th_u3 union of tu_block/tu_code inside of that.  Move
9197         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
9198         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
9199         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9200         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9201         (th_stuff): Change to th_u1.tu_stuff.
9202         (th_data): Define.
9203         (th_msg): Change to th_u1.th_u2.tu_data.
9205 2012-05-07  David S. Miller  <davem@davemloft.net>
9207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9209         [BZ #14074]
9210         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9211         (SETUP_PIC_REG): Use it.
9212         (SETUP_PIC_REG_LEAF): Use it.
9214 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
9216         [BZ #13885]
9217         [BZ #13923]
9218         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9219         USE_AS_EXPM1L.
9220         (EXPL_FINITE): Likewise.
9221         (FLDLOG): Likewise.
9222         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9223         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9224         e_expl.S.
9225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9226         USE_AS_EXPM1L.
9227         (EXPL_FINITE): Likewise.
9228         (FLDLOG): Likewise.
9229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9230         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9231         e_expl.S.
9232         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
9233         test of -max_value argument for long double.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9237 2012-05-06  David S. Miller  <davem@davemloft.net>
9239         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9240         quad soft-float symbols whose references which are compiler
9241         generated.
9242         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9244 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
9246         [BZ #13884]
9247         [BZ #13914]
9248         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9249         USE_AS_EXP10L.
9250         (EXPL_FINITE): Likewise.
9251         (FLDLOG): Likewise.
9252         (c0): Likewise.
9253         (c1): Likewise.
9254         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
9255         Adjust comments for base varying.
9256         (__expl_finite): Change alias to EXPL_FINITE.
9257         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9258         e_expl.S.
9259         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9260         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9261         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9262         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9264         USE_AS_EXP10L.
9265         (EXPL_FINITE): Likewise.
9266         (FLDLOG): Likewise.
9267         (c0): Likewise.
9268         (c1): Likewise.
9269         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
9270         Adjust comments for base varying.
9271         (__expl_finite): Change alias to EXPL_FINITE.
9272         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
9273         tests for bugs.
9274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9276         [BZ #14064]
9277         * math/libm-test.inc (check_float_internal): Correct ulp
9278         calculation for subnormal expected results.
9280 2012-05-06  Andreas Jaeger  <aj@suse.de>
9282         * Makeconfig (+math-flags): New, set to -frounding-math.
9283         (+cflags): Add +math-flags so that all of glibc gets compiled with
9284         it.
9286         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9288 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
9290         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9291         Disable one test.
9293         [BZ #13787]
9294         [BZ #13922]
9295         [BZ #14036]
9296         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9297         (__ieee754_expl): Allow for and saturate large arguments.
9298         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9299         (u_threshold): Likewise.
9300         (__exp): Call __ieee754_exp before checking for overflow and
9301         underflow.
9302         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9303         (u_threshold): Likewise.
9304         (__expf): Call __ieee754_expf before checking for overflow and
9305         underflow.
9306         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9307         (u_threshold): Likewise.
9308         (__expl): Call __ieee754_expl before checking for overflow and
9309         underflow.
9310         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9311         (__ieee754_expl): Allow for and saturate large arguments.
9312         * math/libm-test.inc (exp_test): Add another test.  Do not allow
9313         missing overflow exception on overflow.
9314         (expm1_test): Do not allow missing overflow exception on overflow.
9316         * sysdeps/i386/fpu/e_expl.c: Move to ...
9317         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
9318         rather than using inline asm.
9319         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9320         * sysdeps/x86_64/fpu/e_expl.S: Copy from
9321         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9323         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9324         (nice): Likewise.
9325         (poll): Likewise.
9326         (signal): Likewise.
9327         (time): Likewise.
9328         (times): Likewise.
9330 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9332         * sysdeps/unix/syscalls.list (adjtime): Add entry from
9333         sysdeps/unix/common/syscalls.list.
9334         (fchmod): Likewise.
9335         (fchown): Likewise.
9336         (ftruncate): Likewise.
9337         (getrusage): Likewise.
9338         (gettimeofday): Likewise.
9339         (setpgid): Likewise.
9340         (setregid): Likewise.
9341         (setreuid): Likewise.
9342         (sigaction): Likewise.
9343         (truncate): Likewise.
9344         (vhangup): Likewise.
9345         * sysdeps/unix/common/syscalls.list: Remove file.
9346         * sysdeps/unix/bsd/Implies: Don't include unix/common.
9347         * sysdeps/unix/sysv/linux/Implies: Likewise.
9349 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
9351         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9353         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9354         Moved to ...
9355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9356         Here.
9357         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9358         to ...
9359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9360         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9361         to ...
9362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9363         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9364         to ...
9365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9366         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9367         to ...
9368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9369         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9370         to ...
9371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9372         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9373         to ...
9374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9375         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9376         to ...
9377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9378         Here.
9379         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9380         to ...
9381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9382         Here.
9383         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9384         to ...
9385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9386         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9387         Moved to ...
9388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9389         Here.
9390         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9391         to ...
9392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9394 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9396         * sysdeps/unix/common/bits/dirent.h: Remove file.
9397         * sysdeps/unix/common/bits/fcntl.h: Likewise.
9399         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9400         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9401         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9402         * sysdeps/unix/bsd/isatty.c: Likewise.
9403         * sysdeps/unix/bsd/tcdrain.c: Likewise.
9404         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9405         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9407 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9409         [BZ #13563]
9410         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9411         long double comparison inaccuracies.
9412         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9415 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
9417         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9418         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9420 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
9422         [BZ #14049]
9423         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9424         nonzero digits before rounding a hex value.
9425         * stdlib/tst-strtod.c (tests): Add another test.
9427 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9429         * sysdeps/s390/fpu/libm-test-ulps: Update.
9431 2012-05-03  Andreas Jaeger  <aj@suse.de>
9433         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9434         does not get optimized out.
9435         (malloc_opt_barrier): New.
9437 2012-05-03  Andreas Jaeger  <aj@suse.de>
9438             Roland McGrath  <roland@hack.frob.com>
9440         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9441         intermediate file deletion.
9442         (generated): Add .symlist files.
9444 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #13775]
9447         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9448         Redirect under this condition.
9449         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9450         [__USE_GNU] (__dprintf_chk): Not under this condition.
9451         [__USE_GNU] (__vdprintf_chk): Likewise.
9452         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9453         under this condition.
9454         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9455         [__USE_XOPEN2K8] (dprintf): Define under this condition.
9456         [__USE_XOPEN2K8] (vdprintf): Likewise.
9457         [__USE_GNU] (__dprintf_chk): Not under this condition.
9458         [__USE_GNU] (__vdprintf_chk): Likewise.
9459         [__USE_GNU] (dprintf): Likewise.
9460         [__USE_GNU] (vdprintf): Likewise.
9462 2012-05-03  Roland McGrath  <roland@hack.frob.com>
9464         * elf/Makefile (common-generated): Set this instead of generated for
9465         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
9466         $(all-built-dso)-derived lists.
9468 2012-05-03  Andreas Jaeger  <aj@suse.de>
9470         * sysdeps/i386/fpu/libm-test-ulps: Update.
9472         * FAQ: Removed.
9473         * FAQ.in: Likewise.
9474         * scripts/gen-FAQ.pl: Likewise.
9475         * manual/install.texi (Installation): Point to online location of
9476         FAQ.
9477         * Makefile (files-for-dist): Remove FAQ.
9478         (FAQ): Remove.
9480 2012-05-02  Allan McRae  <allan@archlinux.org>
9482         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9483         (LDFLAGS-reldepmod5.so): Likewise.
9484         (LDFLAGS-reldep6mod1.so): Likewise.
9485         (LDFLAGS-reldep6mod4.so): Likewise.
9486         (LDFLAGS-reldep8mod3.so): Likewise.
9487         (LDFLAGS-unload4mod1.so): Likewise.
9488         (LDFLAGS-unload4mod2.so): Likewise.
9489         (LDFLAGS-tst-initorder): Likewise.
9490         (LDFLAGS-tst-initordera2.so): Likewise.
9491         (LDFLAGS-tst-initordera3.so): Likewise.
9492         (LDFLAGS-tst-initordera4.so): Likewise.
9493         (LDFLAGS-tst-initorderb2.so): Likewise.
9494         (LDFLAGS-noload): Likewise.
9495         (LDFLAGS-next): Likewise.
9496         (LDFLAGS-order2mod1.so): Likewise.
9497         (LDFLAGS-order2mod2.so): Likewise.
9498         (LDFLAGS-tst-initorder2): Likewise.
9499         (LDFLAGS-tst-initorder2a.so): Likewise.
9500         (LDFLAGS-tst-initorder2b.so): Likewise.
9501         (LDFLAGS-tst-initorder2c.so): Likewise.
9502         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9504 2012-05-02  David S. Miller  <davem@davemloft.net>
9506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9508 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9510         [BZ #14055]
9511         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9513 2012-05-02  Andreas Jaeger  <aj@suse.de>
9515         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9516         since we manipulate rounding mode.
9517         (CPPFLAGS-test-idouble.c): Likewise.
9518         (CPPFLAGS-test-ifloat.c): Likewise.
9519         (CFLAGS-test-ldouble.c): Likewise.
9520         (CFLAGS-test-double.c): Likewise.
9521         (CFLAGS-test-float.c): Likewise.
9522         (CFLAGS-test-misc.c): Likewise.
9523         (CFLAGS-test-test-fenv.c): Likewise.
9525 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9527         [BZ #2550]
9528         [BZ #2570]
9529         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9530         comparisons to determine direction to adjust input.
9532 2012-05-01  Roland McGrath  <roland@hack.frob.com>
9534         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9535         output to the target.
9537         * scripts/localplt.awk: New file.
9538         * elf/Makefile ($(objpfx)check-localplt): Target removed.
9539         (check-localplt-CFLAGS): Variable removed.
9540         ($(all-built-dso:=.jmprel)): New static pattern rule.
9541         (generated): Add those targets.
9542         (localplt-built-dso): New variable.
9543         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9545         * elf/check-localplt.c: File removed.
9547         * scripts/check-execstack.awk: New file.
9548         * elf/Makefile ($(objpfx)check-execstack): Target removed.
9549         (check-execstack-CFLAGS): Variable removed.
9550         ($(objpfx)check-execstack.h): Target removed.
9551         ($(objpfx)execstack-default): New target.
9552         (generated): Add that instead of check-execstack.h.
9553         ($(all-built-dso:=.phdr)): New static pattern rule.
9554         (generated): Add those targets.
9555         * elf/check-execstack.c: File removed.
9557         * scripts/check-textrel.awk: New file.
9558         * elf/Makefile ($(objpfx)check-textrel): Target removed.
9559         (check-textrel-CFLAGS): Variable removed.
9560         (all-built-dso): Use := to define.o
9561         ($(all-built-dso:=.dyn)): New static pattern rule.
9562         (generated): Add those targets.
9563         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9564         * config.make.in (READELF): New substituted variable.
9565         * elf/check-textrel.c: File removed.
9567 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
9569         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9570         allow.
9571         * conform/data/ctype.h-data [C99-based standards] (isblank):
9572         Expect function.
9573         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9574         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9576         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9577         Specify type.  Require positive value.
9578         (EILSEQ): Likewise.
9579         (ERANGE): Likewise.
9580         [ISO || POSIX] (EILSEQ): Do not expect.
9581         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9582         Specify type.  Require positive value.
9583         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9584         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9585         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9586         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9587         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9588         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9589         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9590         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9591         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9592         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9593         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9594         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9595         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9596         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9597         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9598         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9599         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9600         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9601         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9602         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9603         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9604         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9605         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9606         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9607         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9608         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9609         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9610         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9611         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9612         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9613         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9614         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9615         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9616         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9617         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9618         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9619         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9620         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9621         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9622         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9623         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9624         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9625         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9626         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9627         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9628         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9629         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9630         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9631         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9632         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9633         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9634         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9635         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9636         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9637         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9638         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9639         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9640         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9641         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9642         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9643         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9644         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9645         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9646         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9647         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9648         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9649         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9650         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9651         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9652         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9653         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9654         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9655         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9656         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9657         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9658         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9659         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9660         Require >= 2.
9661         (FLT_ROUNDS): Expect as macro, not constant.
9662         (FLT_MANT_DIG): Use macro-int-constant.
9663         (DBL_MANT_DIG): Likewise.
9664         (LDBL_MANT_DIG): Likewise.
9665         (FLT_DIG): Likewise.
9666         (DBL_DIG): Likewise.
9667         (LDBL_DIG): Likewise.
9668         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
9669         (DBL_MIN_EXP): Likewise.
9670         (LDBL_MIN_EXP): Likewise.
9671         (FLT_MAX_EXP): Use macro-int-constant.
9672         (DBL_MAX_EXP): Likewise.
9673         (LDBL_MAX_EXP): Likewise.
9674         (FLT_MAX_10_EXP): Likewise.
9675         (DBL_MAX_10_EXP): Likewise.
9676         (LDBL_MAX_10_EXP): Likewise.
9677         (FLT_MAX): Use macro-constant.
9678         (DBL_MAX): Likewise.
9679         (LDBL_MAX): Likewise.
9680         (FLT_EPSILON): Use macro-constant.  Give upper bound.
9681         (DBL_EPSILON): Likewise.
9682         (LDBL_EPSILON): Likewise.
9683         (FLT_MIN): Likewise.
9684         (DBL_MIN): Likewise.
9685         (LDBL_MIN): Likewise.
9686         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9687         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9688         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9689         [ISO11] (FLT_HAS_SUBNORM): Likewise.
9690         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9691         [ISO11] (DBL_DECIMAL_DIG): Likewise.
9692         [ISO11] (FLT_DECIMAL_DIG): Likewise.
9693         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9694         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9695         [ISO11] (FLT_TRUE_MIN): Likewise.
9696         [ISO11] (LDBL_TRUE_MIN): Likewise.
9697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9698         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9699         (SCHAR_MIN): Use macro-int-constant.  Specify type.
9700         (SCHAR_MAX): Likewise.
9701         (UCHAR_MAX): Likewise.
9702         (CHAR_MIN): Likewise.
9703         (CHAR_MAX): Likewise.
9704         (MB_LEN_MAX): Use macro-int-constant.
9705         (SHRT_MIN): Use macro-int-constant.  Specify type.
9706         (SHRT_MAX): Likewise.
9707         (USHRT_MAX): Likewise.
9708         (INT_MAX): Likewise.
9709         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
9710         bound negative.
9711         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9712         bound with "U".
9713         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9714         bound with "L".
9715         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
9716         bound negative.  Suffix upper bound with "L".
9717         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
9718         bound with "UL".
9719         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9720         Specify type.
9721         [C99-based standards] (LLONG_MAX): Likewise.
9722         [C99-based standards] (ULLONG_MAX): Likewise.
9723         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
9724         == 0.
9725         [ISO11] (max_align_t): Require type.
9726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9728         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9729         from $CFLAGS, without defining away __attribute__ calls.
9730         (checknamespace): Use $CFLAGS_namespace.
9732         * conform/conformtest.pl (@keywords): Only include C99 keywords
9733         for standards based on C99 or C11.
9735         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9736         Disable tests.
9737         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9738         UNIX98]: Likewise.
9740         * conform/conformtest.pl: Handle "macro-int-constant" and test for
9741         usability of symbols in #if.
9743         * conform/conformtest.pl: If macro or constant types start
9744         "promoted:", expect the symbol to be of the following type
9745         promoted by the integer promotions.
9747         * conform/conformtest.pl: Parse all "constant" and "macro" lines
9748         in one place.  Also handle "macro-constant".
9750         * conform/conformtest.pl: Only accept expected macro values with
9751         "==".  Parse all "macro" lines in one place.
9752         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9754         * conform/conformtest.pl: Handle braced types on "constant" lines
9755         instead of handling "typed-constant".
9756         * conform/data/signal.h-data: Use "constant" instead of
9757         "typed-constant".
9759         * conform/conformtest.pl: Handle "optional-" at start of lines in
9760         one place rather than duplicating several cases.  Handle each
9761         format of "macro" line with initial "optional-".
9763         * conform/conformtest.pl: Only accept expected constant or
9764         optional-constant values with "==".  Parse all "constant" lines in
9765         one place.  Parse all "optional-constant" lines in one place.
9766         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9767         * conform/data/fmtmsg.h-data: Likewise.
9768         * conform/data/netinet/in.h-data: Likewise.
9769         * conform/data/tar.h-data: Likewise.
9770         * conform/data/limits.h-data: Use "==" form on "constant" and
9771         "optional-constant" lines.
9773         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9774         Use -std=c99 for XOPEN2K.
9775         (@knownproblems): Remove.
9776         (newtoken): Don't check %isknown.
9778         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9779         Do not expect macro.
9780         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9781         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9782         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9783         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9784         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9785         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9786         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9787         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9788         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9789         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9790         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9791         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9792         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9793         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9794         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9795         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9796         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9797         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9798         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9799         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9800         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9801         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9804         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9805         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9806         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9807         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9808         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9809         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9810         [XPG3] (acosh): Likewise.
9811         [XPG3] (asinh): Likewise.
9812         [XPG3] (atanh): Likewise.
9813         [XPG3] (cbrt): Likewise.
9814         [XPG3] (expm1): Likewise.
9815         [XPG3] (ilogb): Likewise.
9816         [XPG3] (log1p): Likewise.
9817         [XPG3] (logb): Likewise.
9818         [XPG3] (nextafter): Likewise.
9819         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9820         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9821         [XPG3] (remainder): Likewise.
9822         [XPG3] (rint): Likewise.
9823         [XPG3 || XPG4 || UNIX98] (round): Likewise.
9824         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9825         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9826         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9827         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9828         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9829         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9830         [UNIX98 || XOPEN2K] (scalb): Expect.
9831         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9832         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9833         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9834         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9835         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9836         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9837         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9838         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9839         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9840         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9841         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9842         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9843         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9844         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9845         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9846         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9847         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9848         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9849         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9850         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9851         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9852         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9853         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9854         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9855         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9856         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9857         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9858         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9859         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9860         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9861         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9862         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9863         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9864         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9865         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9866         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9867         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9868         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9869         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9870         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9871         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9872         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9873         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9874         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9875         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9876         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9877         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9878         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9879         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9880         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9881         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9882         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9883         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9884         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9885         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9886         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9887         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9888         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9889         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9890         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9891         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9892         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9893         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9894         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9895         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9896         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9897         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9898         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9899         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9900         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9901         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9902         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9903         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9904         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9905         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9906         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9907         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9908         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9909         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9910         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9911         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9912         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9913         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9914         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9915         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9916         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9917         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9918         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9919         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9920         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9921         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9922         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9923         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9924         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9925         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9926         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9927         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9928         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9929         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9930         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9931         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9932         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9933         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9934         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9935         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9936         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9937         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9938         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9939         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9940         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9941         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9942         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9943         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9944         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9945         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9946         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9947         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9948         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9949         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9950         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9951         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9952         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9953         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9954         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9955         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9956         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9957         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9958         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9959         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9960         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9961         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9962         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9963         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9964         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9965         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9966         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9967         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9969         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9970         _XOPEN_SOURCE_EXTENDED for XPG4.
9972         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9974         * Makeconfig (localtime): Remove variable.
9975         (inst_localtime-file): Likewise.
9977 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9980         Update.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9982         Update.
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9984         Update.
9985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9986         Update.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9988         Update.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9990         Update.
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9992         Update.
9993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9994         Update.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9996         Update.
9998 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10000         [BZ #2550]
10001         [BZ #2570]
10002         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10003         comparisons to determine direction to adjust input.
10004         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10005         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10007         Likewise.
10008         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10009         Likewise.
10010         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10011         Likewise.
10012         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10013         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10014         Likewise.
10015         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10016         Likewise.
10017         * math/libm-test.inc (nexttoward_test): Add more tests.
10019 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10021         [BZ #14040]
10022         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10023         in version GLIBC_2.1, not GLIBC_2.0.
10024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10025         Likewise.
10027 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
10029         [BZ #13942]
10030         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10031         (1 - x) * (1 + x).
10032         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10033         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10034         * math/libm-test.inc (acos_test): Add more tests.
10035         (asin_test): Likewise.
10036         * sysdeps/i386/fpu/libm-test-ulps: Update.
10037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10039         [BZ #14034]
10040         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10041         of square root.
10042         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10043         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10044         * math/libm-test.inc (acos_test_tonearest): New function.
10045         (acos_test_towardzero): Likewise.
10046         (acos_test_downward): Likewise.
10047         (acos_test_upward): Likewise.
10048         (asin_test_tonearest): Likewise.
10049         (asin_test_towardzero): Likewise.
10050         (asin_test_downward): Likewise.
10051         (asin_test_upward): Likewise.
10052         (main): Call the new functions.
10053         * sysdeps/i386/fpu/libm-test-ulps: Update.
10054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10056         [BZ #13884]
10057         [BZ #13924]
10058         * math/e_exp10.c: Include <float.h>.
10059         (__ieee754_exp10): Handle underflow here rather than multiplying
10060         large negative argument by M_LN10.
10061         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10062         of __ieee754_expf.
10063         * math/e_exp10l.c: Include <float.h>.
10064         (__ieee754_exp10l): Handle underflow here rather than multiplying
10065         large negative argument by M_LN10l.
10066         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
10067         spurious overflow exception on underflow.
10069 2012-04-29  Marek Polacek  <polacek@redhat.com>
10071         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10072         (__fortify_function): New macro.
10073         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10074         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10075         __extern_always_inline.
10076         * libio/bits/stdio2.h: Likewise.
10077         * libio/bits/stdio.h: Likewise.
10078         * string/string.h: Likewise.
10079         * string/bits/string3.h: Likewise.
10080         * include/stdio.h: Likewise.
10081         * stdlib/bits/stdlib.h: Likewise.
10082         * stdlib/stdlib.h: Likewise.
10083         * rt/bits/mqueue2.h: Likewise.
10084         * rt/mqueue.h: Likewise.
10085         * posix/bits/unistd.h: Likewise.
10086         * posix/unistd.h: Likewise.
10087         * io/bits/poll2.h: Likewise.
10088         * io/bits/fcntl2.h: Likewise.
10089         * io/fcntl.h: Likewise.
10090         * io/sys/poll.h: Likewise.
10091         * misc/bits/syslog.h: Likewise.
10092         * misc/bits/syslog-ldbl.h: Likewise.
10093         * misc/sys/syslog.h: Likewise.
10094         * socket/bits/socket2.h: Likewise.
10095         * socket/sys/socket.h: Likewise.
10096         * debug/tst-chk1.c: Likewise.
10097         * wcsmbs/bits/wchar2.h: Likewise.
10098         * wcsmbs/bits/wchar-ldbl.h: Likewise.
10099         * wcsmbs/wchar.h: Likewise.
10101 2012-04-29  Andreas Jaeger  <aj@suse.de>
10103         * Makerules (tests): Remove enable-check-abi protection.
10104         (check-abi-warn): Remove.
10105         (check-abi-%): Remove check-abi-warn usage.
10107         * configure.in: Remove check-abi configure option.
10108         * configure: Regenerated.
10109         * config.make.in (enable-check-abi): Remove.
10111 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
10113         [BZ #14033]
10114         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10115         double functions to double *_finite functions.
10117         [BZ #13941]
10118         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10119         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10120         LDBL_MIN_EXP.
10121         * stdio-common/Makefile (tests): Add tst-sprintf3.
10122         * stdio-common/tst-sprintf3.c: New file.
10124         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10125         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10127 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10129         * conform/conformtest.pl: Remove duplicate typed-constant
10130         handling.
10132 2012-04-28  David S. Miller  <davem@davemloft.net>
10134         * Makerules (%.abilist): Add vpath on sysdep_dirs.
10135         (check-abi-%): Remove AWK script prerequisite and explicit
10136         abilist directory.
10137         (check-abi): Rewrite to just diff the symlist with the abilist.
10138         (config-tls, config-abi-config): Delete, no longer used.
10139         (update-abi-%): Remove AWK script and explicit abilist directory.
10140         (update-abi): Rewrite to simply compare and conditionally copy the
10141         symlist and the sysdep abilist file.  Remove update-abi-config
10142         checks.
10143         * abilist/ld.abilist: Remove.
10144         * abilist/libBrokenLocale.abilist: Remove.
10145         * abilist/libanl.abilist: Remove.
10146         * abilist/libcrypt.abilist: Remove.
10147         * abilist/libdl.abilist: Remove.
10148         * abilist/librt.abilist: Remove.
10149         * abilist/libthread_db.abilist: Remove.
10150         * abilist/libutil.abilist: Remove.
10151         * scripts/extract-abilist.awk: Remove.
10152         * scripts/merge-abilist.awk: Remove.
10153         * sysdeps/generic/libcidn.abilist: New file.
10154         * sysdeps/generic/libnss_compat.abilist: New file.
10155         * sysdeps/generic/libnss_db.abilist: New file.
10156         * sysdeps/generic/libnss_dns.abilist: New file.
10157         * sysdeps/generic/libnss_files.abilist: New file.
10158         * sysdeps/generic/libnss_hesiod.abilist: New file.
10159         * sysdeps/generic/libnss_nis.abilist: New file.
10160         * sysdeps/generic/libnss_nisplus.abilist: New file.
10161         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10162         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10163         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10164         file.
10165         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10166         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10167         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10168         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10169         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10170         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10171         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10172         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10173         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10174         file.
10175         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10176         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10177         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10178         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10179         file.
10180         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10181         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10182         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10183         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10184         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10185         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10186         file.
10187         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10188         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10189         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10190         file.
10191         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10193         New file.
10194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10195         New file.
10196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10197         New file.
10198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10199         New file.
10200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10201         New file.
10202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10203         New file.
10204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10205         New file.
10206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10207         New file.
10208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10209         New file.
10210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10211         New file.
10212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10213         New file.
10214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10215         New file.
10216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10217         New file.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10219         file.
10220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10221         New file.
10222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10223         New file.
10224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10225         file.
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10227         New file.
10228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10229         New file.
10230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10231         file.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10233         New file.
10234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10235         New file.
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10237         New file.
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10239         New file.
10240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10241         New file.
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10243         New file.
10244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10246         file.
10247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10248         New file.
10249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10250         file.
10251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10252         file.
10253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10254         file.
10255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10256         file.
10257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10258         file.
10259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10260         New file.
10261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10262         file.
10263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10264         file.
10265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10266         New file.
10267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10268         file.
10269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10271         file.
10272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10273         New file.
10274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10275         file.
10276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10277         file.
10278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10279         file.
10280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10281         file.
10282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10283         file.
10284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10285         New file.
10286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10287         file.
10288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10289         file.
10290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10291         New file.
10292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10293         file.
10294         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10295         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10296         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10297         file.
10298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10299         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10300         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10301         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10302         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10303         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10304         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10305         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10306         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10307         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10310         file.
10311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10312         New file.
10313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10314         file.
10315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10316         file.
10317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10318         file.
10319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10320         file.
10321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10322         file.
10323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10324         New file.
10325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10326         New file.
10327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10328         file.
10329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10330         New file.
10331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10332         file.
10333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10335         file.
10336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10337         New file.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10339         file.
10340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10341         file.
10342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10343         file.
10344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10345         file.
10346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10347         file.
10348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10349         New file.
10350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10351         New file.
10352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10353         file.
10354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10355         New file.
10356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10357         file.
10359 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
10361         * conform/conformtest.pl: Fix typo in handling typed-constant from
10362         allow-header.
10364 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10366         * README: Cut down references to pre-2.6 Linux kernels and
10367         Linuxthreads.  Update lists of configurations in libc and ports
10368         and sort alphabetically.  Say "or newer" with Linux kernel version
10369         requirements.
10371         * config.h.in [IS_IN_build]: Allow compiling without optimization.
10373 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10375         [BZ #887]
10376         * math/libm-test.inc (logb_test_downward): New test to expose
10377         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10378         rounding mode.
10380 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
10382         [BZ #14027]
10383         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10384         to be done.
10385         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10386         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10388 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
10390         * sysdeps/unix/i386/brk.S: Remove file.
10391         * sysdeps/unix/i386/dl-brk.S: Likewise.
10392         * sysdeps/unix/i386/pipe.S: Likewise.
10393         * sysdeps/unix/i386/sigreturn.S: Likewise.
10394         * sysdeps/unix/i386/syscall.S: Likewise.
10395         * sysdeps/unix/i386/vfork.S: Likewise.
10396         * sysdeps/unix/i386/wait.S: Likewise.
10398         * sysdeps/unix/common/tcsendbrk.c: Move to ...
10399         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10401         * configure.in (arm*-none*): Do not allow without
10402         --enable-hacker-mode.
10403         (netbsd*): Remove case setting base_os.
10404         (386bsd*): Likewise.
10405         (freebsd*): Likewise.
10406         (bsdi*): Likewise.
10407         (osf*): Likewise.
10408         (sunos*): Likewise.
10409         (ultrix*): Likewise.
10410         (newsos*): Likewise.
10411         (dynix*): Likewise.
10412         (*bsd*): Likewise.
10413         (sysv*): Likewise.
10414         (isc*): Likewise.
10415         (esix*): Likewise.
10416         (sco*): Likewise.
10417         (minix*): Likewise.
10418         (irix4*): Likewise.
10419         (irix6*): Likewise.
10420         (solaris[2-9]*): Likewise.
10421         (none): Likewise.
10422         * configure: Regenerated.
10424 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10426         [BZ #11521]
10427         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10428         overflow or cancellation in calculating denominator.
10429         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10431         down expression to avoid unexpected rounding in newer GCCs.
10432         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10434 2012-04-26  David S. Miller  <davem@davemloft.net>
10436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10437         long-double compat symbols.
10438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10452 2012-04-25  David S. Miller  <davem@davemloft.net>
10454         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10455         HWCAP_* values only after the memory barriers have been defined.
10456         (atomic_full_barrier): Define.
10457         (atomic_read_barrier): Define.
10458         (atomic_write_barrier): Define.
10460 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10462         * shlib-versions: Add libgcc_s version information.
10463         * sysdeps/generic/libgcc_s.h: Remove.
10464         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10465         libgcc_s.h.
10466         * sysdeps/gnu/unwind-resume.c: Likewise.
10467         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10469 2012-04-25  David S. Miller  <davem@davemloft.net>
10471         * sysdeps/unix/sparc/brk.S: Delete.
10472         * sysdeps/unix/sparc/dl-brk.S: Delete.
10473         * sysdeps/unix/sparc/pipe.S: Delete.
10474         * sysdeps/unix/sparc/sysdep.S: Delete.
10475         * sysdeps/unix/sparc/sysdep.h: Delete.
10476         * sysdeps/unix/sparc/vfork.S: Delete.
10477         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10478         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10479         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10480         ret_ERRVAL, r0, r1, MOVE): Define.
10481         (JUMPTARGET): Remove.
10482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10483         sysdeps/unix/sparc/sysdep.h
10484         (ENTRY, END): Remove.
10485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10487 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
10489         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10490         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10491         -DIS_IN_build.
10493         * timezone/README: Update upstream location and email address for
10494         tzcode and tzdata.
10495         * timezone/zdump.c: Update from tzcode 2012b.
10496         * timezone/zic.c: Likewise.
10498         * configure.in (libc_cv_as_needed): Remove test.
10499         * configure: Regenerated.
10500         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10501         conditional definition.
10502         [$(have-as-needed) != yes] (no-as-needed): Likewise.
10503         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10504         * config.make.in (have-as-needed): Remove variable.
10506 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10507             Paul Pluzhnikov  <ppluzhnikov@google.com>
10509         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10510         strings correctly.
10512 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10514         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10515         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10516         * sysdeps/sh/strlen.S: Likewise.
10518 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10520         * sysdeps/unix/fork.S: Remove file.
10521         * sysdeps/unix/i386/fork.S: Likewise.
10522         * sysdeps/unix/sparc/fork.S: Likewise.
10524         * sysdeps/unix/system.c: Remove file.
10525         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10527         * sysdeps/unix/getegid.S: Remove file.
10528         * sysdeps/unix/geteuid.S: Likewise.
10530 2012-04-24  Roland McGrath  <roland@hack.frob.com>
10532         * scripts/check-localplt.awk: New file.
10533         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10534         of diff.
10535         * scripts/data/localplt-generic.data: Add a comment.
10537         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10538         NODE when __dir_mkfile failed.
10539         * sysdeps/mach/hurd/symlinkat.c: Likewise.
10540         Reported by Ludovic Courtès <ludo@gnu.org>.
10542 2012-04-24  Andreas Jaeger  <aj@suse.de>
10544         * Makerules (common-clean): Also remove gen-as-const-headers
10545         files.
10547 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10549         * Makerules (native-compile): Do not change working directory for
10550         build.  Use $(OUTPUT_OPTION) in command.
10551         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10553 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10555         [BZ #13886]
10556         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10557         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10558         * math/libm-test.inc (floor_test): Add more tests.
10559         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10561 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
10563         * sysdeps/unix/getdents.c: Remove file.
10564         * sysdeps/unix/sysv/getdents.c: Likewise.
10565         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10567         * sysdeps/unix/syscalls.list (madvise): Add syscall from
10568         sysdeps/unix/mman/syscalls.list.
10569         (mmap): Likewise.
10570         (mprotect): Likewise.
10571         (msync): Likewise.
10572         (munmap): Likewise.
10573         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10574         * sysdeps/unix/mman/syscalls.list: Remove.
10575         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10577         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10578         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10579         * configure: Regenerated.
10580         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10581         $(libgcc_s_suffix).
10582         * config.make.in (libgcc_s_suffix): Remove variable.
10584 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
10586         * sysdeps/unix/sysv/gethostname.c: Move to ...
10587         * sysdeps/posix/gethostname.c: ... here.
10589         * sysdeps/unix/execve.S: Remove file.
10591         * sysdeps/unix/_exit.S: Remove file.
10593 2012-04-23  Andreas Jaeger  <aj@suse.de>
10595         [BZ #13739]
10596         * manual/Makefile: Remove make dist support, there's no
10597         need for a stand-alone documentation tar ball.
10598         (TEXI2DVI): Define always, it's not in Makeconfig.
10599         (dist): Removed.
10600         (tar-it): Removed.
10601         (edition): Removed.
10602         (glibc-doc-$(edition).tar): Removed
10603         (%.Z): Removed.
10604         (%.gz): Removed.
10605         (%.uu): Removed.
10606         (ETAGS): Remove, it's in Makeconfig.
10607         (move-if-change): Remove, it's in Makeconfig.
10609 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
10611         [BZ #13970]
10612         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10613         (strtod, strtof, strtold, strtol, strtoul, strtoq)
10614         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10615         (strtod_l, strtof_l, strtold_l): Remove __wur.
10616         It is not necessarily an error to ignore strtol's return value.
10617         One can reliably look at the stored endptr to decide whether
10618         the number had valid syntax.
10620 2012-04-21  Andreas Jaeger  <aj@suse.de>
10622         [BZ #13739]
10623         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10625 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
10627         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10628         * sysdeps/unix/sysv/Versions: Remove file.
10630 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
10632         [BZ #13927]
10633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10635 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
10637         [BZ #7064]
10638         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10639         version from __vm86.
10641 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
10643         * sysdeps/unix/common/lxstat.c: Remove file.
10644         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10646         * sysdeps/unix/sysv/Makefile: Remove file.
10648         * sysdeps/unix/sysv/direct.h: Remove file.
10650         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10651         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10652         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10653         * sysdeps/unix/sysv/bits/signum.h: Likewise.
10654         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10655         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10656         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10658         * sysdeps/unix/sysv/setrlimit.c: Remove file.
10660         * sysdeps/unix/xmknod.c: Remove file.
10661         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10663         * sysdeps/unix/sysv/settimeofday.c: Remove file.
10665         * sysdeps/unix/sysv/i386/time.S: Remove file.
10667         * sysdeps/unix/fxstat.c: Remove file.
10668         * sysdeps/unix/xstat.c: Likewise.
10669         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10671         * sysdeps/unix/sysv/sigaction.c: Remove file.
10673         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10674         (sysdep_headers): Remove variable.
10675         [termio.h not in sysdep_headers] (generated): Likewise.
10676         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10677         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10678         * sysdeps/unix/sysv/tcdrain.c: Likewise.
10679         * sysdeps/unix/sysv/tcflow.c: Likewise.
10680         * sysdeps/unix/sysv/tcflush.c: Likewise.
10681         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10682         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10683         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10684         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10685         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10687         * sysdeps/unix/siglist.c: Remove file.
10689         * sysdeps/unix/getppid.S: Remove file.
10691         * sysdeps/unix/mkdir.c: Remove file.
10692         * sysdeps/unix/rmdir.c: Likewise.
10694 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
10696         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10697         ERR_MAX value.
10698         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10699         errlist-compat value.
10701 2012-04-18  David S. Miller  <davem@davemloft.net>
10703         * sysdeps/generic/memcopy.h (reg_char): Delete.
10704         * debug/strcat_chk.c: Use char, not reg_char.
10705         * debug/strcpy_chk.c: Likewise.
10706         * debug/strncat_chk.c: Likewise.
10707         * debug/strncpy_chk.c: Likewise.
10708         * string/memchr.c: Likewise.
10709         * string/memrchr.c: Likewise.
10710         * string/rawmemchr.c: Likewise.
10711         * string/strcat.c: Likewise.
10712         * string/strchr.c: Likewise.
10713         * string/strchrnul.c: Likewise.
10714         * string/strcmp.c: Likewise.
10715         * string/strcpy.c: Likewise.
10716         * string/strncat.c: Likewise.
10717         * string/strncmp.c: Likewise.
10718         * string/strncpy.c: Likewise.
10720 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10722         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10723         __builtin_memcopy is called when src and dest ranges are known to not
10724         overlap.
10726 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10728         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10729         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10730         fwd_align_merge macro call.
10731         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10732         bwd_align_merge macro call.
10733         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10735 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
10737         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10738         bwd_align_merge macros.
10739         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10740         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10741         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10743 2012-04-18  David S. Miller  <davem@davemloft.net>
10745         * sysdeps/sparc/sparc64/memcopy.h: Delete.
10747 2012-04-18  Andreas Jaeger  <aj@suse.de>
10749         [BZ# 6794]
10750         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10751         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10752         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10754         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10755         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10756         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10758         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10759         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10760         Adjust for changed ldbl-128 files.
10762         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10763         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10764         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10766 2012-04-17  David S. Miller  <davem@davemloft.net>
10768         * sysdeps/sparc/sparc32/memcopy.h: Delete.
10770 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
10772         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10773         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10774         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10775         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10776         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10777         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10779 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781         [BZ #6794]
10782         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10783         * math/libm-test.inc: Add ilogb errno and exception tests.
10784         * math/w_ilogb.c: New file: ilogb wrapper.
10785         * math/w_ilogbf.c: New file: ilogbf wrapper.
10786         * math/w_ilogbl.c: New file: ilogbl wrapper.
10787         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10788         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10789         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10790         exception being thrown with 0.0 as argument.
10791         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10792         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10793         exception being thrown with 0.0 as argument.
10794         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10795         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10796         exception being thrown with 0.0 as argument.
10797         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10798         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10799         exception being thrown with 0.0 as argument.
10800         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10801         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
10802         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
10803         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10804         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10805         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10806         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10807         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10808         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10810 2012-04-17  Petr Baudis  <pasky@ucw.cz>
10812         * include/sys/uio.h: Change __vector to __iovec to avoid clash
10813         with altivec.
10815 2012-04-16  Marek Polacek  <polacek@redhat.com>
10817         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10819 2012-04-16  Marek Polacek  <polacek@redhat.com>
10821         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10822         operands of fdivp instruction.
10824 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10826         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10827         * elf/tst-auditmod3b.c: Likewise.
10828         * elf/tst-auditmod4b.c: Likewise.
10829         * elf/tst-auditmod5b.c: Likewise.
10830         * elf/tst-auditmod6b.c: Likewise.
10831         * elf/tst-auditmod6c.c: Likewise.
10832         * elf/tst-auditmod7b.c: Likewise.
10833         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10834         * sysdeps/x86_64/preconfigure.in: Likewise.
10835         * sysdeps/x86_64/preconfigure: Regenerated.
10837 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
10839         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10840         __ILP32__.
10842 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
10844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10845         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10847 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
10849         [BZ #13973]
10850         * locale/iso-639.def: Fix gl language name. Spotted by
10851         Yaron Shahrabani.
10853 2012-04-12  Roland McGrath  <roland@hack.frob.com>
10855         [BZ #2074]
10856         * libio/libio.h (__io_write_fn): Update comment.
10858 2012-04-12  Petr Baudis  <pasky@ucw.cz>
10860         [BZ #2074]
10861         * stdio.texi (Hook Functions): The user provided writer function
10862         is not allowed to return -1.
10864 2012-04-11  David S. Miller  <davem@davemloft.net>
10866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10868 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
10870         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10871         Add a leading slash to rtkaio.
10873 2012-04-11  Jim Meyering  <meyering@redhat.com>
10875         [BZ #11959]
10876         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10877         It is not necessarily an error to ignore fwrite's return
10878         value.  One can reliably use ferror to test for errors after
10879         the fact.
10881 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10883         * bits/types.h (__snseconds_t): New type.
10884         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10886         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10887         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10888         (__SNSECONDS_T_TYPE): Likewise.
10889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10890         (__SNSECONDS_T_TYPE): Likewise.
10891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10892         (__SNSECONDS_T_TYPE): Likewise.
10894 2012-04-10  Andreas Jaeger  <aj@suse.de>
10896         [BZ #2636]
10897         * manual/time.texi (Processor Time): Return type of times is
10898         elapsed real time since an arbitrary point in the past.
10899         (CPU Time): Move CLK_TCK from here...
10900         (Processor Time): ...to here.  Correct description.
10901         * manual/conf.texi (Constants for Sysconf): Correct description of
10902         _SC_CLK_TCK.
10904 2012-04-10  David S. Miller  <davem@davemloft.net>
10906         [BZ #13967]
10907         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10908         where the is a gap between DT_REL(A) and DT_JMPREL.
10910 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
10912         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10913         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10914         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10916 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10918         * elf/dl-support.c (_dl_inhibit_cache): New variable.
10919         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10920         (dl_main): Handle --inhibit-cache.
10921         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10922         _dl_inhibit_cache.
10923         * elf/dl-load.c (_dl_map_object): Use it.
10924         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10926 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
10928         [BZ #13872]
10929         * sysdeps/i386/fpu/e_powl.S (p78): New object.
10930         (__ieee754_powl): Saturate large exponents rather than testing for
10931         overflow of y*log2(x).
10932         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10933         * math/libm-test.inc (pow_test): Do not permit spurious overflow
10934         exceptions.
10936         [BZ #11521]
10937         * math/s_ctan.c: Include <float.h>.
10938         (__ctan): Avoid internal overflow or cancellation in calculating
10939         denominator.
10940         * math/s_ctanf.c: Likewise.
10941         * math/s_ctanl.c: Likewise.
10942         * math/s_ctanh.c: Likewise.
10943         * math/s_ctanhf.c: Likewise.
10944         * math/s_ctanhl.c: Likewise.
10945         * math/libm-test.inc (ctan_test): Add more tests.
10946         (ctanh_test): Likewise.
10947         * sysdeps/i386/fpu/libm-test-ulps: Update.
10948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 2012-04-09  Andreas Jaeger  <aj@suse.de>
10952         [BZ #6894]
10953         * manual/filesys.texi (Directory Entries): Mention that d_namlen
10954         is an optional BSD extension.
10956         [BZ #10254]
10957         * manual/stdio.texi (Opening Streams): Document additional fopen
10958         parameters.
10960 2012-04-09  Roland McGrath  <roland@hack.frob.com>
10962         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10963         %eax without telling the compiler.
10965 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
10967         [BZ # 13963]
10968         * manual/install.texi: Use sourceware.org.
10970 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
10972         [BZ #13873]
10973         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10974         (__ieee754_pow): Generate overflow and underflow using huge*huge
10975         and tiny*tiny rather than just returning constant infinity or zero
10976         for large exponents.
10977         * math/libm-test.inc (pow_test): Require overflow exceptions for
10978         applicable cases of large exponents.
10980         [BZ #706]
10981         * sysdeps/i386/fpu/e_pow.S (p10): New object.
10982         (__ieee754_pow): Use iterative multiplication algorithm only for
10983         integer exponents with absolute value below 1024.  Check for odd
10984         integer exponents when using algorithm for real exponents.
10985         * math/libm-test.inc (pow_test): Add more tests.
10986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10988 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #13705]
10991         * math/libm-test.inc (exp_test): Do not allow overflow exception
10992         on underflow test.
10994 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
10996         [BZ #13705]
10997         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10998         instead of __kernel_standard_f.
11000 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
11002         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11003         * sysdeps/x86_64/memset_chk.S: Likewise.
11005 2012-04-08  Andreas Jaeger  <aj@suse.de>
11007         [BZ #10153]
11008         * manual/startup.texi (Environment Access): Describe return value
11009         for putenv and setenv.
11011         [BZ #6895]
11012         * manual/filesys.texi (Directory Entries): Add description for
11013         DT_LNK.
11015         [BZ #6890]
11016         * manual/filesys.texi (Directory Entries): Clarify that it's file
11017         system not operating system in the description of DT_UNKNOWN.
11019         [BZ #6578]
11020         * manual/syslog.texi (closelog): Fix reference, it's openlog.
11022 2012-04-08  Stephen Compall  <s11@member.fsf.org>
11024         [BZ #6649]
11025         * manual/llio.texi (Opening and Closing Files): Add cross
11026         reference to explain mode argument.
11028 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
11030         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11031         * sysdeps/x86_64/memset_chk.S: Likewise.
11033 2012-04-07  David S. Miller  <davem@davemloft.net>
11035         * elf/elf.h (R_SPARC_WDISP10): Define.
11036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11037         R_SPARC_SIZE32.
11038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11039         R_SPARC_SIZE64 and R_SPARC_H34.
11041 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
11043         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11044         conditions and remove no longer applicable assertion.
11046 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11048         * bits/byteswap.h: Include <features.h>.
11049         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11050         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11052 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
11054         * bits/byteswap.h (__bswap_16): Removed.
11055         Include <bits/byteswap-16.h> to get __bswap_16.
11056         * sysdeps/i386/bits/byteswap.h: Likewise.
11057         * sysdeps/s390/bits/byteswap.h: Likewise.
11058         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11059         * bits/byteswap-16.h: New file.
11060         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11061         * sysdeps/s390/bits/byteswap-16.h: Likewise.
11062         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11063         * string/Makefile (headers): Add bits/byteswap-16.h.
11065 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11067         [BZ #13895]
11068         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11069         extra indirection.
11070         * nss/Makefile (tests-static, tests): Add tst-nss-static.
11071         * nss/tst-nss-static.c: New.
11073 2012-04-06  Robert Millan  <rmh@gnu.org>
11075         [BZ #6486]
11076         * manual/llio.texi (File Position Primitive): lseek
11077         refers to WHENCE when it really means OFFSET.
11079 2012-04-06  Andreas Jaeger  <aj@suse.de>
11081         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11082         strncmp declarations.
11084         * abilist/libc.abilist: Add __poll and __ppoll.
11086 2012-04-05  David S. Miller  <davem@davemloft.net>
11088         * scripts/check-local-headers.sh: Accept a host triplet in the
11089         path matched by the exclude regexp.
11091         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11092         definition.
11093         * sysdeps/powerpc/powerpc32/dl-machine.h
11094         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11095         * sysdeps/s390/s390-32/dl-machine.h
11096         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11097         * sysdeps/sparc/sparc32/dl-machine.h
11098         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11099         * sysdeps/sparc/sparc64/dl-machine.h
11100         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11102         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11103         lazy binding.
11104         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11105         undefined symbol errors.
11107         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11108         DT_NEEDED entries.
11110 2012-04-05  Michael Matz  <matz@suse.de>
11112         [BZ #13592]
11113         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11115 2012-04-05  Andreas Jaeger  <aj@suse.de>
11117         [BZ #13908]
11118         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11119         comment.
11121 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11123         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11124         which ROUND is no valid rounding mode.
11126 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11128         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11129         read again.
11130         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11132 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11134         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11135         an exception using FPU order intentionally.
11137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11139         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11140         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11141         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11142         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11144 2012-04-05  Simon Josefsson  <simon@josefsson.org>
11146         [BZ #12340]
11147         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11148         EINVAL when BUFLEN is too smal.
11150 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11152         [BZ #13553]
11153         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11154         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11156 2012-04-03  Andreas Jaeger  <aj@suse.de>
11158         [BZ #13938]
11159         * manual/setjmp.texi (System V contexts): Fix sentence.
11161         [BZ #13926]
11162         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11163         New macro for this case.
11164         [!__GNUC__] (__bswap_64): New inline function for this case.
11165         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11166         * bits/byteswap.h: Likewise.
11167         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11168         ull, guard with __GLIBC_HAVE_LONG_LONG.
11170         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11171         __GLIBC_HAVE_LONG_LONG.
11173         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11174         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11176 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11178         [BZ #13691]
11179         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11180         inptr and inend, rather than using last_ch.
11182 2012-04-02  David S. Miller  <davem@davemloft.net>
11184         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11185         * stdio-common/printf-parse.h (read_int): Change return type to
11186         'int', return -1 on INT_MAX overflow.
11187         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11188         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
11189         overflows INT_MAX.  Check for overflow of in-format-string precision
11190         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
11191         SIZE_MAX not INT_MAX for integer overflow test.
11192         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11193         skip the construct in the format string but do not record anything.
11194         * stdio-common/bug22.c: Adjust to test both width/prevision
11195         INT_MAX overflow as well as total length INT_MAX overflow.  Check
11196         explicitly for proper errno values.
11198 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11200         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11201         CHAR_MAX.
11202         * string/test-strcmp.c [! WIDE]: Likewise.
11203         * time/tst-mktime2.c: Likewise for INT_MAX.
11204         * string/test-string.h: #include <sys/param.h> for MIN.
11206         * csu/init-first.c (__libc_init_first): Call __ctype_init.
11207         * sysdeps/i386/init-first.c (init): Likewise.
11208         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11209         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11210         * sysdeps/sh/init-first.c (init): Likewise.
11212 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
11214         * po/ru.po: Update from translation team.
11215         * po/vi.po: Likewise.
11217 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11219         * resolv/nss_dns/dns-host.c: Merge copyright years.
11221 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11223         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11224         Optimize memcpy with prefetch if
11225         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
11226         src, dst pointers have unequal 16 byte alignments.
11228 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11230         [BZ #13928]
11231         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11232         from a CNAME entry and return the minimum ttl for the query.
11233         (gaih_getanswer_slice): Likewise.
11235 2012-03-30  Jeff Law  <law@redhat.com>
11237         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11238         due to long keys.
11239         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11240         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11242         * resolv/nss_dns/dns-host.c: Update copyright year.
11244 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
11246         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11247         requests to save a system call.  Fix check that all bytes are sent.
11249         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11250         comments for sendmmsg.
11252 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11254         [BZ #13691]
11255         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11256         with only 1 character between 0x0041 and 0x01b0.
11257         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11258         * wcsmbs/tst-mbsnrtowcs.c: New file.
11260 2012-03-29  David S. Miller  <davem@davemloft.net>
11262         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11263         small copies by hand.
11265 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11267         [BZ #13761]
11268         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11269         _nss_compat_initgroups_dyn): Fall back to malloc/free
11270         for large group memberships.
11272 2012-03-28  David S. Miller  <davem@davemloft.net>
11274         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11275         that branches into memcpy.
11276         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11279         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11280         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11281         bits.
11282         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11283         implementation too.
11284         * sysdeps/sparc/mempcpy.S: New file.
11286         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11287         the IFUNC routine in the libc case.
11288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11290         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11292         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11293         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11294         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11295         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11296         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11297         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11299         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11300         loop to 256 bytes instead of 64 bytes and fix test signedness.
11302         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11303         * sysdeps/sparc/sparc32/Makefile: rather than here...
11304         * sysdeps/sparc/sparc64/Makefile: and here.
11306 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
11308         * malloc/mallocbug.c: Avoid warnings about unused variables.
11310 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11312         [BZ #13760]
11313         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11314         in the right place. Discard and retry query if response is
11315         larger than input buffer size.
11317 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
11319         [BZ #369]
11320         [BZ #2678]
11321         [BZ #3866]
11322         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11323         x for large integer exponent.
11324         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11325         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
11326         sign of result as needed afterwards.
11327         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11328         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11329         result for underflowing pow the same as for overflow.
11330         (__kernel_standard_l): Handle powl overflow and underflow here
11331         rather than calling __kernel_standard.
11332         * math/libm-test.inc (pow_test): Add more tests.
11334         [BZ #3868]
11335         [BZ #13879]
11336         [BZ #13910]
11337         [BZ #13911]
11338         [BZ #13912]
11339         [BZ #13913]
11340         [BZ #13915]
11341         [BZ #13916]
11342         [BZ #13917]
11343         [BZ #13918]
11344         [BZ #13919]
11345         [BZ #13920]
11346         [BZ #13921]
11347         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11348         * sysdeps/ieee754/k_standard.c: Include <float.h>.
11349         (__kernel_standard_l): New function.
11350         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11351         __kernel_standard.
11352         * math/w_acosl.c (__acosl): Likewise.
11353         * math/w_asinl.c (__asinl): Likewise.
11354         * math/w_atan2l.c (__atan2l): Likewise.
11355         * math/w_atanhl.c (__atanhl): Likewise.
11356         * math/w_coshl.c (__coshl): Likewise.
11357         * math/w_exp10l.c (__exp10l): Likewise.
11358         * math/w_exp2l.c (__exp2l): Likewise.
11359         * math/w_fmodl.c (__fmodl): Likewise.
11360         * math/w_hypotl.c (__hypotl): Likewise.
11361         * math/w_j0l.c (__j0l, __y0l): Likewise.
11362         * math/w_j1l.c (__j1l, __y1l): Likewise.
11363         * math/w_jnl.c (__jnl, __ynl): Likewise.
11364         * math/w_lgammal.c (__lgammal): Likewise.
11365         * math/w_log10l.c (__log10l): Likewise.
11366         * math/w_log2l.c (__log2l): Likewise.
11367         * math/w_logl.c (__logl): Likewise.
11368         * math/w_powl.c (__powl): Likewise.
11369         * math/w_remainderl.c (__remainderl): Likewise.
11370         * math/w_scalbl.c (sysv_scalbl): Likewise.
11371         * math/w_sinhl.c (__sinhl): Likewise.
11372         * math/w_sqrtl.c (__sqrtl): Likewise.
11373         * math/w_tgammal.c (__tgammal): Likewise.
11374         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11375         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11376         * math/libm-test.inc (acos_test): Add more tests.
11377         (acosh_test): Likewise.
11378         (asin_test): Likewise.
11379         (atanh_test): Likewise.
11380         (exp_test): Likewise.
11381         (exp10_test): Likewise.
11382         (exp2_test): Likewise.
11383         (expm1_test): Likewise.
11384         (lgamma_test): Likewise.
11385         (log_test): Likewise.
11386         (log10_test): Likewise.
11387         (log1p_test): Likewise.
11388         (log2_test): Likewise.
11389         (pow_test): Do not allow some spurious overflow exceptions.
11390         (sqrt_test): Add more tests.
11391         (tgamma_test): Likewise.
11392         (y0_test): Likewise.
11393         (y1_test): Likewise.
11394         (yn_test): Likewise.
11396 2012-03-27  Anton Blanchard  <anton@samba.org>
11398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11399         MAP_HUGETLB.
11400         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11401         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11402         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11404 2012-03-27  David S. Miller  <davem@davemloft.net>
11406         * conform/Makefile: Run run-conformtest.sh using $(BASH).
11408         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11409         have-as-vis3 check.
11411 2012-03-27  Andreas Jaeger  <aj@suse.de>
11413         * sysdeps/x86_64/elf/configure.in: Moved to ...
11414         * sysdeps/x86_64/configure.in: ... here.
11415         * sysdeps/x86_64/elf/start.S: Moved to ...
11416         * sysdeps/x86_64/start.S: ... here.
11417         * sysdeps/x86_64/elf/configure: Delete.
11419         * sysdeps/x86_64/configure.in: Merge contents from
11420         sysdeps/i386/configure.in (without i686 check).
11422         * sysdeps/i386/elf/Versions: Merge into ...
11423         * sysdeps/i386/Versions: ... this.
11424         * sysdeps/i386/elf/Versions: Delete file.
11425         * sysdeps/i386/elf/start.S: Moved to ...
11426         * sysdeps/i386/start.S: ...here.
11427         * sysdeps/i386/elf/configure.in: Merge into...
11428         * sysdeps/i386/configure.in: ...here.
11429         * sysdeps/i386/elf/configure.in: Delete file.
11430         * sysdeps/i386/elf/configure: Delete file.
11432         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11433         * debug/backtracesyms.c: ... here.
11434         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11435         * debug/backtracesymsfd.c: ... here.
11436         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11437         * sysdeps/generic/ifunc-sel.h: ... here.
11439         * sysdeps/unix/i386/start.c: Delete file.
11440         * sysdeps/unix/sparc/start.c: Delete file.
11441         * sysdeps/unix/start.c: Delete file.
11443         * sysdeps/sh/elf/configure.in: Moved to ...
11444         * sysdeps/sh/configure.in: ... here.
11445         * sysdeps/sh/elf/start.S: Moved to ...
11446         * sysdeps/sh/start.S: ... here.
11447         * sysdeps/sh/elf/configure: Delete file.
11449         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11450         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11451         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11452         * sysdeps/powerpc/powerpc64/entry.h: ... here.
11453         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11454         * sysdeps/powerpc/powerpc64/start.S: here.
11455         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11456         * sysdeps/powerpc/powerpc64/Makefile: ... this.
11457         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11458         * sysdeps/powerpc/powerpc64/configure.in: ... this.
11459         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11461         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11462         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11463         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11464         * sysdeps/powerpc/powerpc32/start.S: ... here.
11465         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11466         * sysdeps/powerpc/powerpc32/configure.in: ... this.
11467         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11469         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11470         * sysdeps/powerpc/ifunc-sel.h: ... here.
11471         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11472         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11474         * sysdeps/sparc/elf/configure.in: Moved to ...
11475         * sysdeps/sparc/configure.in: ... here.
11476         * sysdeps/sparc/elf/configure: Delete file.
11477         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11478         * sysdeps/sparc/sparc32/start.S: ... here.
11479         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11480         * sysdeps/sparc/sparc64/start.S: ... here.
11481         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11482         * sysdeps/sparc/sparc32/Makefile: ... this.
11483         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11484         * sysdeps/sparc/sparc64/Makefile: ... this.
11486         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11487         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11488         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11489         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11490         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11491         * sysdeps/s390/s390-32/setjmp.S: ... here.
11492         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11493         * sysdeps/s390/s390-32/configure.in: ... here.
11494         * sysdeps/s390/s390-32/elf/configure: Delete file.
11495         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11496         * sysdeps/s390/s390-32/start.S: ... here.
11498         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11499         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11500         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11501         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11502         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11503         * sysdeps/s390/s390-64/setjmp.S: ... here.
11504         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11505         * sysdeps/s390/s390-64/configure.in: ... here
11506         * sysdeps/s390/s390-64/elf/configure: Delete file.
11507         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11508         * sysdeps/s390/s390-64/start.S: ... here.
11509         * sysdeps/s390/s390-64/elf/configure: Delete.
11511         * configure.in: Remove support for elf directories in sysdeps.
11513         * configure: Regenerated.
11514         * sysdeps/i386/configure: Regenerated.
11515         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11516         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11517         * sysdeps/s390/s390-32/configure: Regenerated.
11518         * sysdeps/s390/s390-64/configure: Regenerated.
11519         * sysdeps/sh/configure: Regenerated.
11520         * sysdeps/sparc/configure: Regenerated.
11521         * sysdeps/x86_64/configure: Regenerated.
11523 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
11525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11527         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11528         denormal result into account.
11530 2012-03-25  Roland McGrath  <roland@hack.frob.com>
11532         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11533         Reported by Allan McRae <allan@archlinux.org>.
11535 2012-03-23  Jeff Law  <law@redhat.com>
11537         * nss/getnssent.c (__nss_getent): Fix typo.
11539 2012-03-23  David S. Miller  <davem@davemloft.net>
11541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11543 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
11545         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11546         to pad to uint64_t for each field.
11547         (dl_tls_index): Replace unsigned long with uint64_t.
11549 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
11550         Paul Pluzhnikov  <ppluzhnikov@google.com>
11552         [BZ #6528]
11553         * grp/Makefile (otherlibs): Don't set it.
11554         * inet/Makefile (otherlibs): Likewise.
11555         * login/Makefile (otherlibs): Likewise.
11556         * nscd/Makefile (otherlibs): Likewise.
11557         * posix/Makefile (otherlibs): Likewise.
11558         * pwd/Makefile (otherlibs): Likewise.
11559         * rt/Makefile (otherlibs): Likewise.
11560         * sunrpc/Makefile (otherlibs): Likewise.
11561         * nss/Makefile (otherlibs): Likewise.
11562         Add libnss_files to routines and static-only-routines.
11563         ($(objpfx)getent): Remove rule.
11564         * resolv/Makefile: Add libnss_dns and libresolv to routines and
11565         static-only-routines.
11567 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11569         [BZ #13892]
11570         * math/s_cexp.c: Include <float.h>.
11571         (__cexp): Handle exp result overflowing not necessarily
11572         overflowing both real and imaginary parts of result.
11573         * math/s_cexpf.c: Likewise.
11574         * math/s_cexpl.c: Likewise.
11575         * math/libm-test.inc (cexp_test): Add more tests.
11576         * sysdeps/i386/fpu/libm-test-ulps: Update.
11577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11579 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11581         * include/link.h (ELFW): New macro.
11582         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11583         Replace ELF64_R_TYPE with ELFW(R_TYPE).
11585 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11587         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11588         with uint64_t.
11590 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11592         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11593         declaration.
11594         (struct La_x32_retval): Likewise.
11596 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11598         * sysdeps/x86_64/preconfigure.in: New file.
11599         * sysdeps/x86_64/preconfigure: New generated file.
11601 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
11603         [BZ #13824]
11604         * math/e_exp2l.c: Include <float.h>.
11605         (__ieee754_exp2l): Handle overflow and underflow cases
11606         separately.  Only pass fractional part of argument to
11607         __ieee754_expl.
11608         * math/libm-test.inc (exp2_test): Add more tests.
11610         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11611         negating x to take absolute value.
11612         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11613         Likewise.
11614         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11615         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11616         Likewise.
11617         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11618         computing low part if x was negated.
11619         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11621 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11623         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11624         la_x32_gnu_pltexit.
11625         (pltexit): Cast int_retval to ptrdiff_t.
11626         * elf/tst-auditmod3b.c: Likewise.
11627         * elf/tst-auditmod4b.c: Likewise.
11628         * elf/tst-auditmod5b.c: Likewise.
11629         * elf/tst-auditmod6b.c: Likewise.
11630         * elf/tst-auditmod6c.c: Likewise.
11631         * elf/tst-auditmod7b.c: Likewise.
11633         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11634         and x32_gnu_pltexit.
11636         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11637         __ELF_NATIVE_CLASS.
11638         (La_x32_regs): New macro.
11639         (La_x32_retval): Likewise.
11640         (la_x32_gnu_pltenter): New function prototype.
11641         (la_x32_gnu_pltexit): Likewise.
11643 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11645         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11646         exponent.
11648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11650         * configure.in (libc_cv_cc_nofma): Check for option to disable
11651         generation of FMA instructions.
11652         * configure: Regenerate.
11653         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11654         * sysdeps/ieee754/dbl-64/Makefile: New file.
11655         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11656         Remove brandred-fma4.
11657         (CFLAGS-brandred-fma4.c): Remove.
11658         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11659         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11660         define.
11661         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11662         define.
11664 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11666         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11667         LLONG_MAX != LONG_MAX.
11668         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11669         (_fitoa_word): Likewise.
11670         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11671         LLONG_MAX != LONG_MAX.
11672         * stdio-common/_itowa.h: Include <_itoa.h>.
11673         (_itowa_word): Use _ITOA_WORD_TYPE on value.
11674         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
11675         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
11676         only if not defined.
11677         (_ITOA_WORD_TYPE): Likewise.
11678         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11679         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11681 2012-03-21  David S. Miller  <davem@davemloft.net>
11683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11685 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11687         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11688         of x86_64 when setting libc_cv_slibdir, libdir and
11689         libc_cv_localedir.
11690         * sysdeps/unix/sysv/linux/configure: Regenerated.
11692 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11694         * manual/lang.texi (Old Varargs): Remove section.
11695         (How Variadic): Update menu.
11696         (va_start): Do not mention varargs.h.
11698 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11699             Joseph Myers  <joseph@codesourcery.com>
11701         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11702         link test.
11703         * configure: Regenerated.
11705 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11707         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11708         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11709         conformtest.pl
11711 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11713         * NOTES: Remove.
11714         * Makefile (files-for-dist): Remove NOTES.
11715         (NOTES): Remove rule.
11716         * README: Don't refer to NOTES.
11717         * manual/creature.texi: Don't include macros.texi.
11718         * manual/intro.texi (creature.texi): Remove comment referring to
11719         NOTES.
11721         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11722         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11723         * configure: Regenerated.
11724         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11725         LIBC_TRY_CC_OPTION.
11726         (libc_cv_as_i686): Likewise.
11727         (libc_cv_cc_avx): Likewise.
11728         (libc_cv_cc_sse2avx): Likewise.
11729         (libc_cv_cc_fma4): Likewise.
11730         (libc_cv_cc_novzeroupper): Likewise.
11731         * sysdeps/i386/configure: Regenerated.
11733         [BZ #13883]
11734         * sysdeps/i386/fpu/s_cexp.S: Remove.
11735         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11736         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11737         * math/libm-test.inc (cexp_test): Add more tests.
11738         * sysdeps/i386/fpu/libm-test-ulps: Update.
11739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11741 2012-03-21  Allan McRae  <allan@archlinux.org>
11743         * timezone/Makefile: Do not install iso3166.tab and zone.tab
11745 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
11747         [BZ #13871]
11748         * math/w_exp2.c: Do not include <float.h>.
11749         (o_threshold, u_threshold): Remove.
11750         (__exp2): Calculate result before checking finiteness and calling
11751         __kernel_standard.
11752         * math/w_exp2f.c: Likewise.
11753         * math/w_exp2l.c: Likewise.
11754         * math/libm-test.inc (exp2_test): Require overflow exception for
11755         1e6 input.
11757         [BZ #3866]
11758         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11759         range of signed 64-bit integers before using fistpll.  Remove
11760         checks for whether integers fit in mantissa bits.
11761         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11762         the range of signed 32-bit integers before using fistpl.  Remove
11763         checks for whether integers fit in mantissa bits.
11764         * sysdeps/i386/fpu/e_powl.S (p64): New object.
11765         (__ieee754_powl): Test for y outside the range of signed 64-bit
11766         integers before using fistpll.  Reduce 64-bit values to 63-bit
11767         ones as needed.
11768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11769         divide-by-zero is raised for zero to large negative powers.
11770         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11771         (__ieee754_powl): Test for y outside the range of signed 64-bit
11772         integers before using fistpll.  Reduce 64-bit values to 63-bit
11773         ones as needed.
11774         * math/libm-test.inc (pow_test): Add more tests.
11776 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11778         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11779         <stdio-common/_itoa.h>.
11780         * debug/segfault.c: Likewise.
11781         * elf/dl-cache.c: Likewise.
11782         * elf/dl-minimal.c: Likewise.
11783         * elf/dl-misc.c: Likewise.
11784         * elf/dl-sysdep.c: Likewise.
11785         * elf/dl-version.c: Likewise.
11786         * elf/rtld.c: Likewise.
11787         * hurd/hurdsock.c: Likewise.
11788         * hurd/lookup-retry.c: Likewise.
11789         * malloc/malloc.c: Likewise.
11790         * malloc/mtrace.c: Likewise.
11791         * nscd/nscd_getgr_r.c: Likewise.
11792         * nscd/nscd_getpw_r.c: Likewise.
11793         * nscd/nscd_getserv_r.c: Likewise.
11794         * posix/getopt_init.c: Likewise.
11795         * posix/wordexp.c: Likewise.
11796         * stdio-common/_itoa.c: Likewise.
11797         * stdio-common/printf_fphex.c: Likewise.
11798         * stdio-common/vfprintf.c: Likewise.
11799         * string/_strerror.c: Likewise.
11800         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11801         * sysdeps/i386/i686/hp-timing.h: Likewise.
11802         * sysdeps/mach/_strerror.c: Likewise.
11803         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11804         * sysdeps/mach/hurd/sethostid.c: Likewise.
11805         * sysdeps/mach/hurd/xmknodat.c: Likewise.
11806         * sysdeps/mach/xpg-strerror.c: Likewise.
11807         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11808         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11809         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11810         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11812         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11814         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11815         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11816         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11817         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11818         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11819         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11821         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11822         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11823         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11824         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11825         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11826         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11827         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11829         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11831         * stdio-common/_itoa.h: Moved to ...
11832         * sysdeps/generic/_itoa.h: Here.
11834         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11836         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11837         instead of "_itoa.h" and "_itowa.h".
11838         * stdio-common/vfprintf.: Likewise.
11840 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11842         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11843         <bits/wordsize.h>.
11844         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11845         (__signbit): Likwise.
11846         (llrintf): Likwise.
11847         (llrint): Likwise.
11849 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11851         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11852         __WORDSIZE != 64.
11854 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
11856         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11857         OVERFLOW_EXCEPTION_OK.
11858         * math/libm-test.inc ("Philosophy"): Update comment about
11859         exception testing.
11860         (OVERFLOW_EXCEPTION): Define.
11861         (OVERFLOW_EXCEPTION_OK): Likewise.
11862         (INVALID_EXCEPTION_OK): Renumber.
11863         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11864         (IGNORE_ZERO_INF_SIGN): Likewise.
11865         (test_exceptions): Handle FE_OVERFLOW.
11866         (exp10_test): Expect overflow exceptions.
11867         (exp2_test): Likewise.
11868         (expm1_test): Likewise.
11869         (nextafter_test): Likewise.
11870         (pow_test): Likewise.
11871         (scalbn_test): Likewise.
11872         (scalbln_test): Likewise.
11874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11876         * sysdeps/x86_64/bits/atomic.h
11877         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11878         64bit integer.
11879         (atomic_exchange_acq): Likewise.
11880         (__arch_exchange_and_add_body): Likewise.
11881         (__arch_add_body): Likewise.
11882         (atomic_add_negative): Likewise.
11883         (atomic_add_zero): Likewise.
11885 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11887         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
11888         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11892         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11893         Check __x86_64__ instead of __WORDSIZE.
11895 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11897         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11899 2012-03-19  David S. Miller  <davem@davemloft.net>
11901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11903         * sysdeps/sparc/fpu/fenv_private.h: New file.
11904         * sysdeps/sparc/fpu/math_private.h: Use it.
11905         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11906         Remove.
11907         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11908         (libc_feholdexcept_setroundl): Remove.
11909         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11910         Remove.
11911         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11912         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11916         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11917         int64_t instead of long int.
11918         (INSERT_WORDS64): Likwise.
11920 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
11922         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11923         _Unwind_GetCFA return to _Unwind_Ptr first.
11925 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
11927         [BZ #13629]
11928         * math/s_clog.c: Include <float.h>.
11929         (__clog): Scale large or subnormal inputs.
11930         * math/s_clogf.c: Likewise.
11931         * math/s_clogl.c: Likewise.
11932         * math/s_clog10.c: Include <float.h>.
11933         (M_LOG10_2): Define.
11934         (__clog10): Scale large or subnormal inputs.
11935         * math/s_clog10f.c: Likewise.
11936         * math/s_clog10l.c: Likewise.
11937         * math/libm-test.inc (clog_test): Add more tests.
11938         (clog10_test): Likewise.
11939         * sysdeps/i386/fpu/libm-test-ulps: Update.
11940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11942         [BZ #11451]
11943         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11944         x and y.
11945         * math/libm-test.inc (atan2_test): Add another test.
11947         * Makerules (common-objdir-compile): Remove.
11948         * sysdeps/unix/Makefile (config-generated): Do not add
11949         $(unix-generated) to variable.
11950         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11951         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11952         Remove rule.
11953         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11954         Likewise.
11955         [generic bits/local_lim.h] (before-compile): Do not append to
11956         variable.
11957         [generic bits/local_lim.h] (common-generated): Likewise.
11958         [generic sys/param.h] (before-compile): Do not append to variable.
11959         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11960         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11961         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11963         include.
11964         [generic sys/param.h] (sys/param.h-includes): Remove variable.
11965         [generic sys/param.h] (sys/param.h-includes): Remove rule.
11966         [generic sys/param.h] ($(addprefix
11967         $(common-objpfx),$(sys/param.h-includes))): Likewise.
11968         [generic sys/param.h] (common-generated): Do not append to
11969         variable.
11970         [generic sys/param.h] (sysdep_headers): Likewise.
11971         [generic bits/errno.h] (before-compile): Do not append to
11972         variable.
11973         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11974         rule.
11975         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11976         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11977         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11978         [generic bits/errno.h] (common-generated): Do not append to
11979         variable.
11980         [generic bits/ioctls.h] (before-compile): Do not append to
11981         variable.
11982         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11983         rule.
11984         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11985         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11986         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11987         rule.
11988         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11989         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11990         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11991         [generic bits/ioctls.h] (common-generated): Do not append to
11992         variable.
11993         [generic sys/syscall.h] (syscall.h): Remove variable.
11994         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11995         rule.
11996         [generic sys/syscall.h] (before-compile): Do not append to
11997         variable.
11998         [generic sys/syscall.h] (common-generated): Likewise.
11999         * sysdeps/unix/errnos-tmpl.c: Remove file.
12000         * sysdeps/unix/errnos.awk: Likewise.
12001         * sysdeps/unix/ioctls-tmpl.c: Likewise.
12002         * sysdeps/unix/ioctls.awk: Likewise.
12003         * sysdeps/unix/mk-local_lim.c: Likewise.
12004         * sysdeps/unix/snarf-ioctls: Likewise.
12006 2012-03-19  Richard Henderson  <rth@twiddle.net>
12008         * sysdeps/i386/fpu/fenv_private.h: New file.
12009         * sysdeps/i386/fpu/math_private.h: Use it.
12010         (math_opt_barrier, math_force_eval): Remove.
12011         (libc_feholdexcept_setround_53bit): Remove.
12012         (libc_feupdateenv_53bit): Remove.
12013         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12014         (math_opt_barrier, math_force_eval): Remove.
12015         (libc_feholdexcept): Remove.
12016         (libc_feholdexcept_setround): Remove.
12017         (libc_fetestexcept, libc_fesetenv): Remove.
12018         (libc_feupdateenv_test): Remove.
12019         (libc_feupdateenv, libc_feholdsetround): Remove.
12020         (libc_feresetround): Remove.
12022         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12023         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12025         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12026         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12027         (libc_feupdateenv_testl): New.
12028         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12029         (libc_feupdateenv_testf): New.
12030         (libc_feupdateenv): Use libc_feupdateenv_test.
12031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12034         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12035         (libc_feholdsetroundf, libc_feholdsetroundl): New.
12036         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12037         (libc_feresetround_noex): New.
12038         (libc_feresetround_noexf): New.
12039         (libc_feresetround_noexl): New.
12040         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12041         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12042         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12043         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12044         SET_RESTORE_ROUND.
12045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12047         (__cos): Likewise.
12048         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12049         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12050         SET_RESTORE_ROUND_NOEX.
12051         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12052         SET_RESTORE_ROUND_NOEXF.
12053         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12054         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12055         (libc_feholdsetroundf): New.
12056         (libc_feresetround, libc_feresetroundf): New.
12058         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12059         (libc_feholdexcept_setround_53bit): Convert from macro to function.
12060         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
12062         * sysdeps/generic/math_private.h: Include <fenv.h>.
12063         (default_libc_feholdexcept): New.
12064         (default_libc_feholdexcept_setround): New.
12065         (default_libc_fesetenv, default_libc_feupdateenv): New.
12066         (libc_feholdexcept): Only define if undefined.
12067         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12068         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12069         (libc_feholdexcept_setroundl): Likewise.
12070         (libc_feholdexcept_setround_53bit): Likewise.
12071         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12072         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12073         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12074         (libc_feupdateenv_53bit): Likewise.
12075         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12076         (libc_feholdexcept): Convert from macro to inline function.
12077         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12078         (libc_fesetenv, libc_feupdateenv): Likewise.
12080         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12081         not previously defined.
12082         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12083         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12084         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12085         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12086         * sysdeps/ieee754/flt-32/math_private.h: New file.
12087         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12088         math_private.h below SET_FLOAT_WORD.
12089         (__isnan, __isinf_ns, __finite): Remove.
12090         (__isnanf, __isinf_nsf, __finitef): Remove.
12092 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
12094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12096 2012-03-17  David S. Miller  <davem@davemloft.net>
12098         [BZ #6471]
12099         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12100         for 2.16.
12102 2012-03-16  David S. Miller  <davem@davemloft.net>
12104         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12105         warnings.
12107         [BZ #6471]
12108         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12109         properly.
12110         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12111         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12112         sysdep_routines when subdir is sysvipc.
12113         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12114         __getshmlba helper.
12116         * sysdeps/sparc/fpu/libm-test/ulps: Update.
12118 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12120         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12121         [__LP64__].
12123 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12125         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12126         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12127         (__lround): Renamed to ...
12128         (__llround): This.  Replace long int with long long int.
12129         Define lround functions as aliases of llround functions.
12130         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12134         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12135         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
12136         adresses to uintptr_t.  Replace "long int" and "unsigned long
12137         int" with "greg_t" on va_arg.
12139 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12141         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12142         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12144         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12145         Move e_machine check before EI_CLASS check.  Handle x32
12146         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12147         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12148         SKIP_EM_IA_64 and include
12149         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12151         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12152         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12153         (add_system_dir): New macro.
12155         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12156         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12158 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #2551]
12161         [BZ #2552]
12162         [BZ #2553]
12163         [BZ #2554]
12164         [BZ #2562]
12165         [BZ #2563]
12166         [BZ #2565]
12167         [BZ #2566]
12168         [BZ #2576]
12169         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12170         (y0): Likewise.
12171         * math/w_j0f.c (j0f): Likewise.
12172         (y0f): Likewise.
12173         * math/w_j0l.c (__j0l): Likewise.
12174         (__y0l): Likewise.
12175         * math/w_j1.c (j1): Likewise.
12176         (y1): Likewise.
12177         * math/w_j1f.c (j1f): Likewise.
12178         (y1f): Likewise.
12179         * math/w_j1l.c (__j1l): Likewise.
12180         (__y1l): Likewise.
12181         * math/w_jn.c (jn): Likewise.
12182         (yn): Likewise.
12183         * math/w_jnf.c (jnf): Likewise.
12184         (ynf): Likewise.
12185         * math/w_jnl.c (__jnl): Likewise.
12186         (__ynl): Likewise.
12187         * math/libm-test.inc (j0_test): Add more tests.
12188         (j1_test): Likewise.
12189         (jn_test): Likewise.  Add trailing semicolon to existing test.
12190         (y0_test): Likewise.
12191         (y1_test): Likewise.
12192         * sysdeps/i386/fpu/libm-test-ulps: Update.
12193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12195         [BZ #13851]
12196         [BZ #13854]
12197         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12198         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12199         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12200         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12201         (__tanl): Set errno for infinite argument.
12202         * sysdeps/i386/fpu/mptan.c: Remove.
12203         * sysdeps/i386/fpu/s_tan.S: Likewise.
12204         * sysdeps/i386/fpu/s_tanl.S: Likewise.
12205         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12206         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12207         * math/libm-test.inc (tan_test): Add more tests and enable more
12208         tests for double and long double.
12209         * sysdeps/i386/fpu/libm-test-ulps: Update.
12210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12212 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
12214         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12215         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12217 2012-03-16  Roland McGrath  <roland@hack.frob.com>
12219         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12220         * configure.in: Use it for both main tree and add-ons.
12221         * configure: Regenerated.
12223 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12225         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12227 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
12229         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12230         in comment.
12232         [BZ #13851]
12233         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12234         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12235         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12236         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12237         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12238         infinite argument.
12239         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12241         != 0 for prec == 2.
12242         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12243         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12244         * sysdeps/i386/fpu/s_cosl.S: Likewise.
12245         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12246         * sysdeps/i386/fpu/s_sinl.S: Likewise.
12247         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12248         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12249         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12250         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12251         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12252         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12253         * math/libm-test.inc (cos_test): Add more tests and enable more
12254         tests for long double.
12255         (sin_test): Likewise.
12256         (sincos_test): Likewise.
12257         * sysdeps/i386/fpu/libm-test-ulps: Update.
12258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 2012-03-16  David S. Miller  <davem@davemloft.net>
12262         * sysdeps/sparc/fpu/math_private.h: New file.
12264 2012-03-15  David S. Miller  <davem@davemloft.net>
12266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12267         file.
12268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12270         file.
12271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12277         sysdep routines.
12278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12280         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12281         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12283         * sysdeps/sparc/sparc-ifunc.h: New file.
12284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12285         sparc-ifunc.h
12286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12288         Likewise.
12289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12290         Likewise.
12291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12295         Likewise.
12296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12301         Likewise.
12302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12303         Likewise.
12304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12324         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12326         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12329 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12331         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12332         scaling.
12333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12335 2012-03-15  Andreas Jaeger  <aj@suse.de>
12337         [BZ #13852]
12338         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12339         ieee754/flt-32 implementation for sin, cos and sincos.
12340         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12341         * sysdeps/i386/fpu/s_cosf.S: Likewise.
12342         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12343         * sysdeps/i386/fpu/s_sinf.S: Likewise.
12344         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12345         ieee754/flt-32 implementation for tan.
12347         * math/libm-test.inc (cos_test): Enable some large input tests for
12348         float as well
12349         (sin_test): Likewise.
12350         (sincos_test): Likewise.
12351         (tan_test): Add tests for large input.
12353         * sysdeps/i386/fpu/libm-test-ulps: Update.
12355 2012-03-15  Andreas Jaeger  <aj@suse.de>
12357         [BZ #13658]
12358         * math/libm-test.inc (cos_test): Add more test cases.
12359         (sin_test): Likewise.
12360         (sincos_test): Likewise.
12362 2012-03-15  Andreas Jaeger  <aj@suse.de>
12364         [BZ #13837]
12365         * math/libm-test.inc (cos_test): Add a test case for large input
12366         value.
12367         (sin_test): Likewise.
12368         (sincos_test): Likewise.
12370 2012-03-15  Andreas Jaeger  <aj@suse.de>,
12371         Joseph Myers  <joseph@codesourcery.com>
12373         [BZ #13658]
12374         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12375         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12376         * sysdeps/i386/fpu/branred.c: Likewise.
12377         * sysdeps/i386/fpu/dosincos.c: Likewise.
12378         * sysdeps/i386/fpu/mpa.c: Likewise.
12379         * sysdeps/i386/fpu/s_cos.S: Likewise.
12380         * sysdeps/i386/fpu/s_sin.S: Likewise.
12381         * sysdeps/i386/fpu/s_sincos.S: Likewise.
12382         * sysdeps/i386/fpu/sincos32.c: Likewise.
12384         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12385         Define.
12386         (libc_feupdateenv_53bit): Define.
12387         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12388         Define.
12389         (libc_feupdateenv_53bit): Define.
12391         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12392         53 bit (without extend i386 double precision).
12394         * math/libm-test.inc (sincos_test): Add tests for large input.
12395         (sin): Likewise.
12396         (cos): Likewise.
12398         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12400 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
12402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12404 2012-03-15  David S. Miller  <davem@davemloft.net>
12406         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12407         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12408         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12409         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12422         file.
12423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12425         file.
12426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12428         file.
12429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12431         file.
12432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12433         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12434         fmin/fmax sysdep routines.
12435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12437 2012-03-14  David S. Miller  <davem@davemloft.net>
12439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12459         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12463         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12468         routines.
12469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12470         file.
12471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12473         file.
12474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12476         file.
12477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12479         file.
12480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12482         file.
12483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12485         file.
12486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12487         file.
12488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12489         file.
12490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12491         file.
12492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12493         New file.
12494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12495         file.
12496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12497         file.
12498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12500         file.
12501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12503         file.
12504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12506         file.
12507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12509         VIS3 routines.
12511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12512         New file.
12514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12516         * sysdeps/sparc/configure.in: New file.
12517         * sysdeps/sparc/configure: Generate.
12518         * configure.in (libc_cv_sparc_as_vis3): Substitute.
12519         * configure: Regenerate.
12520         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12521         * config.make.in (have-as-vis3): New.
12522         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12523         available use -Av9d instead of -Av9a.
12524         * sysdeps/sparc/sparc64/Makefile: Likewise.
12525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12527         New file.
12528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12529         file.
12530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12531         New file.
12532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12533         file.
12534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12535         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12540         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12541         fzeros/fnegs to load 0x80000000 into a float register instead of
12542         using the stack.
12543         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12545 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12548         bits/syscall.h.
12549         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12550         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12551         ($(inst_includedir)/bits/syscall.h): Remove rule.
12552         ($(objpfx)bits/syscall.d): Include instead of
12553         $(objpfx)syscall-list.d.
12554         (generated): Change syscall-list.h and syscall-list.d to
12555         bits/syscall.h and bits/syscall.d.
12557 2012-03-14  Roland McGrath  <roland@hack.frob.com>
12559         [BZ #13846]
12560         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12562 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
12564         [BZ #13841]
12565         * math/s_csqrt.c: Include <float.h>.
12566         (__csqrt): Scale large or subnormal inputs.
12567         * math/s_csqrtf.c: Likewise.
12568         * math/s_csqrtl.c: Likewise.
12569         * math/libm-test.inc (csqrt_test): Add more tests.
12570         * sysdeps/i386/fpu/libm-test-ulps: Update.
12571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12573         [BZ #13840]
12574         * math/libm-test.inc (hypot_test): Add more tests.
12576 2012-03-13  David S. Miller  <davem@davemloft.net>
12578         [BZ #13840]
12579         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12580         double-precision for the calculation instead of scaling.
12582 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
12584         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12585         manipulate bits before adding and subtracting TWO52[sx].
12586         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12587         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12588         Likewise.
12589         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12591 2012-03-13  David S. Miller  <davem@davemloft.net>
12593         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12594         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12596         rtld-global-offsets.h
12597         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12599         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12600         large parameters.
12602         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12604         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12605         'err' in the ifdef scope in which it is actually used.
12607         * nss/nss_db/db-init.c: Include string.h
12609 2012-03-12  David S. Miller  <davem@davemloft.net>
12611         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12612         masking out of the most significant byte of random value used.
12613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12614         Fix coding style in previous change.
12616         * sysdeps/unix/sysv/linux/kernel-features.h
12617         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12618         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12619         expression.
12620         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12621         later.
12623 2012-03-11  David S. Miller  <davem@davemloft.net>
12625         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12626         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12627         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12628         for 'resultvar' otherwise things get truncated on 64-bit.
12630         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12631         Fix masking out of the most significant byte of random value used.
12633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12635 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
12637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12639 2012-03-09  David S. Miller  <davem@davemloft.net>
12641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12642         variables with appropriate CPP guards.
12643         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12644         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
12645         on resulting framesize and the management of the outregs buffer for pltexit.
12646         Preserve floating point return values across _dl_call_pltexit call.
12647         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12648         framesize and the management of the outregs buffer for pltexit.
12649         Preserve floating point return values across _dl_call_pltexit
12650         call.
12651         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12652         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12653         (print_exit): Fix format string for return register value.
12655 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
12657         * sunrpc/Makefile (others): Add rpcgen.
12658         ($(objpfx)rpcgen): Remove special build rule and dependency on
12659         libc.
12660         * sunrpc/rpcgen.c: New file.
12662 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
12664         [BZ #13673]
12665         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12666         * stdio-common/bug-vfprintf-nargs.c: Likewise.
12667         * sysdeps/i386/crti.S: Likewise.
12668         * sysdeps/i386/crtn.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12671         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12672         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12673         * sysdeps/sh/crti.S: Likewise.
12674         * sysdeps/sh/crtn.S: Likewise.
12675         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12677         [BZ #13673]
12678         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12679         with URL.
12680         * locale/programs/locfile-kw.gperf: Likewise.
12681         * locale/programs/charmap-kw.h: Regenerated.
12682         * locale/programs/locfile-kw.h: Likewise.
12684         [BZ #13673]
12685         * intl/plural.y: Replace FSF snail mail address with URL.
12686         * intl/plural.c: Regenerated.
12688 2012-03-09  Richard Henderson  <rth@twiddle.net>
12690         * include/math_private.h: Remove file.
12691         * math/math_private.h: Move file ...
12692         * sysdeps/generic/math_private.h: ... here.
12694         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12695         * sysdeps/powerpc/fpu/math_private.h: Likewise.
12696         * sysdeps/x86_64/fpu/math_private.h: Likewise.
12698         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
12699         and <math_private.h>.
12700         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12701         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12702         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12703         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12704         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12705         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12706         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12707         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12708         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12709         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12710         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12711         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12712         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12713         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12714         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12715         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12716         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12718         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12719         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12722         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12724         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12725         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12726         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12730         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12731         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12732         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12733         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12734         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12735         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12736         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12737         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12738         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12739         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12740         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12741         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12742         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12743         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12744         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12745         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12746         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12747         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12748         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12749         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12750         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12751         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12752         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12753         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12754         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12755         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12756         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12757         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12758         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12759         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12761         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12762         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12763         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12764         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12765         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12766         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12767         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12768         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12769         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12770         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12771         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12772         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12773         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12774         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12779         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12780         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12781         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12782         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12783         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12784         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12787         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12788         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12789         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12790         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12791         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12793         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12794         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12795         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12796         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12797         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12799         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12800         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12801         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12802         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12803         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12804         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12805         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12806         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12807         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12808         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12809         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12810         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12811         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12812         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12813         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12814         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12815         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12816         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12817         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12818         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12819         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12820         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12821         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12822         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12823         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12824         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12825         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12826         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12827         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12828         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12829         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12830         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12831         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12832         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12833         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12834         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12835         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12836         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12837         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12838         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12839         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12840         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12841         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12842         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12843         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12844         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12845         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12846         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12847         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12848         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12849         * sysdeps/ieee754/k_standard.c: Likewise.
12850         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12851         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12852         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12853         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12854         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12855         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12856         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12857         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12860         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12861         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12862         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12863         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12864         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12865         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12866         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12867         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12869         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12870         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12871         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12872         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12874         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12875         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12876         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12877         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12878         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12881         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12882         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12883         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12884         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12885         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12886         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12887         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12888         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12889         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12890         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12891         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12892         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12893         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12894         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12895         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12896         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12897         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12898         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12899         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12900         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12901         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12902         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12903         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12905         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12906         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12907         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12908         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12909         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12910         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12911         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12912         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12914         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12915         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12916         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12917         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12922         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12923         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12924         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12926         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12929         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12930         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12933         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12935         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12936         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12937         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12938         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12939         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12940         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12941         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12942         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12943         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12945         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12946         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12947         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12948         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12949         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12951         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12953         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12954         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12955         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12957         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12958         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12959         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12960         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12963         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12964         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12966         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12967         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12968         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12969         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12970         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12971         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12972         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12975         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12976         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12977         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12979         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12981         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12982         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12983         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12984         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12985         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12986         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12987         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12988         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12989         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12990         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12991         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12992         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12993         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12994         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12995         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12996         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12997         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12998         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12999         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13000         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13001         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13002         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13003         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13004         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13005         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13006         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13007         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13008         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13009         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13010         * sysdeps/ieee754/s_lib_version.c: Likewise.
13011         * sysdeps/ieee754/s_matherr.c: Likewise.
13012         * sysdeps/ieee754/s_signgam.c: Likewise.
13013         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13014         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13015         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13016         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13017         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13018         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13019         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13020         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13021         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13022         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13023         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13024         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13025         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13026         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13027         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13028         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13030         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13031         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13032         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13035 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13037         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13038         * sunrpc/rpc_main.c: Likewise.
13039         * sunrpc/rpc_svcout.c: Likewise.
13041 2012-03-09  David S. Miller  <davem@davemloft.net>
13043         * include/math_private.h: New file.
13045 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
13047         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13048         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13049         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13050         from <bits/socket_type.h>.
13051         (enum __socket_type): Don't define here.
13052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13054         bits/socket_type.h.
13056         [BZ #13566]
13057         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13058         checking __USE_GNU.
13060         * Makerules ($(inst_includedir)/%.h): New rule.
13061         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13062         (install-others): Remove variable setting.
13063         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13065 2012-03-08  Richard Henderson  <rth@twiddle.net>
13067         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13068         from macro to inline function; merge with the
13069         !__LIBC_INTERNAL_MATH_INLINES version.
13070         (__ieee754_sqrtf): Likewise.
13072         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13073         to inline function.
13074         (__rintf, __floor, __floorf): Likewise.
13076         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13077         macro to inline function.
13078         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13080         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13081         not <math/math_private.h>.
13083 2012-03-08  David S. Miller  <davem@davemloft.net>
13085         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13086         copyright year.
13087         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13089 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
13091         * resolv/gai_misc.c (handle_requests): Fix struct timespec
13092         normalization.
13093         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13094         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13096 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
13098         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
13099         be defined individually, they must be defined as a block.  Define
13100         S for printing a string instead of hidint the different by using a
13101         macro for adding the 'l'.
13102         * stdio-common/tst-fphex-wide.c: Adjust.
13104 2012-03-07  Marek Polacek  <polacek@redhat.com>
13106         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13108 2012-03-08  Marek Polacek  <polacek@redhat.com>
13110         [BZ #13806]
13111         * stdio-common/Makefile (tests): Add tst-fphex-wide.
13112         * stdio-common/tst-fphex.c: Define a few macros to make the
13113         test reusable.  Use them.
13114         * stdio-common/tst-fphex-wide.c: New file.
13116 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
13118         [BZ #6911]
13119         * manual/macros.texi (gnusystems): New macro.
13120         (nongnusystems): Likewise.
13121         (gnulinuxhurdsystems): Likewise.
13122         (gnuhurdsystems): Likewise..
13123         (gnulinuxsystems): Likewise.
13124         * manual/charset.texi: Use new macros or @theglibc{} to refer to
13125         variants of the GNU system, not "GNU system".
13126         * manual/conf.texi: Likewise.
13127         * manual/errno.texi: Likewise.  Update example of errno macro
13128         expansion.
13129         * manual/filesys.texi: Likewise.
13130         (getumask): Document as specific to GNU/Hurd.
13131         * manual/install.texi: Likewise.  Reword some references to
13132         GNU/Linux.
13133         * manual/intro.texi: Likewise.
13134         * manual/io.texi: Likewise.
13135         (File Name Portability): Detail which constraints are inapplicable
13136         to all GNU systems and which are only inapplicable to GNU/Hurd.
13137         * manual/job.texi: Likewise.
13138         * manual/llio.texi: Likewise.
13139         (O_NOCTTY): Document as present on GNU/Linux.
13140         * manual/maint.texi: Likewise.
13141         * manual/memory.texi: Likewise.
13142         * manual/pattern.texi: Likewise.
13143         * manual/pipe.texi: Likewise.
13144         * manual/process.texi: Likewise.
13145         * manual/resource.texi: Likewise.
13146         (RUSAGE_CHILDREN): Remove statement about specifying a particular
13147         child on GNU/Hurd.
13148         * manual/setjmp.texi: Likewise.
13149         * manual/signal.texi: Likewise.
13150         * manual/startup.texi: Likewise.
13151         * manual/stdio.texi: Likewise.
13152         * manual/terminal.texi: Likewise.
13153         (ONLCR): Document as POSIX.
13154         (OXTABS): Document availability on GNU/Linux as XTABS.
13155         (ONOEOT): Document availability separately from other bits.
13156         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13157         * manual/time.texi: Likewise.
13158         * manual/users.texi: Likewise.
13159         * INSTALL: Regenerated.
13160         * sysdeps/gnu/errlist.c: Regenerated.
13162         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13163         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13164         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
13165         puts.
13166         * configure: Regenerated.
13168 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
13170         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13171         default includes instead of AC_HEADER_CHECK.
13172         * sysdeps/i386/configure: Regenerated.
13174         [BZ #10716]
13175         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13176         * math/s_cacoshf.c (__cacoshf): Likewise.
13177         * math/s_cacoshl.c (__cacoshl): Likewise.
13178         * math/s_casinh.c (__casinh): Set signs of result from argument.
13179         * math/s_casinhf.c (__casinhf): Likewise.
13180         * math/s_casinhl.c (__casinhl): Likewise.
13181         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13182         (casinh_test): Add more tests.
13183         * sysdeps/i386/fpu/libm-test-ulps: Update.
13184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13186 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
13188         * po/zh_TW.po: Update from translation team.
13190         * login/Makefile (distribute): Remove variable.
13191         * catgets/Makefile: Likewise.
13192         * mach/Makefile: Likewise.
13193         * malloc/Makefile: Likewise.
13194         * misc/Makefile: Likewise.
13195         * iconv/Makefile: Likewise.
13196         * nscd/Makefile: Likewise.
13197         * hurd/Makefile: Likewise.
13198         * manual/Makefile: Likewise.
13199         * locale/Makefile: Likewise.
13200         * intl/Makefile: Likewise.
13201         * conform/Makefile: Likewise.
13202         * nss/Makefile: Likewise.
13203         * time/Makefile: Likewise.
13204         * soft-fp/Makefile: Likewise.
13205         * dirent/Makefile: Likewise.
13206         * gmon/Makefile: Likewise.
13207         * po/Makefile: Likewise.
13208         * rt/Makefile: Likewise.
13209         * socket/Makefile: Likewise.
13210         * math/Makefile: Likewise.
13211         * signal/Makefile: Likewise.
13212         * debug/Makefile: Likewise.
13213         * elf/Makefile: Likewise.
13214         * timezone/Makefile: Likewise.
13215         * stdlib/Makefile: Likewise.
13216         * iconvdata/Makefile: Likewise.
13217         * sunrpc/Makefile: Likewise.
13218         * io/Makefile: Likewise.
13219         * argp/Makefile: Likewise.
13220         * inet/Makefile: Likewise.
13221         * hesiod/Makefile: Likewise.
13222         * grp/Makefile: Likewise.
13223         * csu/Makefile: Likewise.
13224         * wctype/Makefile: Likewise.
13225         * crypt/Makefile: Likewise.
13226         * libio/Makefile: Likewise.
13227         * string/Makefile: Likewise.
13228         * nis/Makefile: Likewise.
13229         * resolv/Makefile: Likewise.
13230         * stdio-common/Makefile: Likewise.
13231         * wcsmbs/Makefile: Likewise.
13232         * dlfcn/Makefile: Likewise.
13233         * posix/Makefile: Likewise.
13235         [BZ #6959]
13236         * timezone/Makefile: Don't install timezone files, just the programs
13237         and scripts.
13239 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
13241         * nss/databases.def: Add missing gshadow entry.
13243         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
13245 2012-03-06  Marek Polacek  <polacek@redhat.com>
13247         [BZ #13726]
13248         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13249         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13250         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13251         * stdio-common/tst-long-dbl-fphex.c: New file.
13253 2012-03-06  David S. Miller  <davem@davemloft.net>
13255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13256         (set_obp_int): New function.
13257         (get_obp_int): New function.
13258         (__get_clockfreq_via_dev_openprom): Likewise.
13259         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13260         Avoid unused variable warnings on 'val' and use builtin_expect.
13261         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13262         __builtin_expect.
13263         (INLINE_CLONE_SYSCALL): Likewise.
13265 2012-03-05  David S. Miller  <davem@davemloft.net>
13267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
13271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13274         only for |x| >= 40.
13275         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13277 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13280         Replace gettimeofday with __vdso_gettimeofday.
13282         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13283         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13284         __vdso_clock_gettime and __vdso_getcpu.
13286         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13287         time with __vdso_time.
13289 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13291         * manual/lang.texi (size_t): Note types to which size_t may be
13292         equivalent with the GNU C Library, but do not describe when
13293         differences between them are significant.
13295 2012-03-05  Andreas Jaeger  <aj@suse.de>
13297         * sysdeps/i386/fpu/libm-test-ulps: Update.
13299 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
13301         [BZ #3976]
13302         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13303         (__ieee754_pow): Save and restore rounding mode and use
13304         round-to-nearest for main computations.
13305         * math/libm-test.inc (pow_test_tonearest): New function.
13306         (pow_test_towardzero): Likewise.
13307         (pow_test_downward): Likewise.
13308         (pow_test_upward): Likewise.
13309         (main): Call the new functions.
13310         * sysdeps/i386/fpu/libm-test-ulps: Update.
13311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13313         [BZ #3976]
13314         * math/libm-test.inc (cosh_test_tonearest): New function.
13315         (cosh_test_towardzero): Likewise.
13316         (cosh_test_downward): Likewise.
13317         (cosh_test_upward): Likewise.
13318         (sinh_test_tonearest): Likewise.
13319         (sinh_test_towardzero): Likewise.
13320         (sinh_test_downward): Likewise.
13321         (sinh_test_upward): Likewise.
13322         (main): Call the new functions.
13323         * sysdeps/i386/fpu/libm-test-ulps: Update.
13324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13326 2012-03-05  Tom de Vries  <tom@codesourcery.com>
13328         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13329         default stack guard is set in last bytes.
13330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13332 2012-03-05  Kees Cook  <keescook@chromium.org>
13334         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13336         [BZ #13656]
13337         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13338         possibly allocate from heap instead of stack.
13339         * stdio-common/bug-vfprintf-nargs.c: New file.
13340         * stdio-common/Makefile (tests): Add nargs overflow test.
13342 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
13344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13346 2012-03-03  Marek Polacek  <polacek@redhat.com>
13348         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13349         * math/math_private.h: Likewise.
13350         * stdlib/tst-strtod.c: Likewise.
13351         * sysdeps/i386/i486/bits/atomic.h: Likewise.
13352         * sysdeps/x86_64/bits/atomic.h: Likewise.
13354 2012-03-02  David S. Miller  <davem@davemloft.net>
13356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13360         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13361         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13362         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13363         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13365 2012-03-02  Roland McGrath  <roland@hack.frob.com>
13367         [BZ #13792]
13368         * manual/examples/README: New file, says the example source files
13369         can be used under GPL>=2.
13370         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13371         line containing just "*/".
13372         * manual/examples/add.c: Add copyright header (GPL>=2).
13373         * manual/examples/argp-ex1.c: Likewise.
13374         * manual/examples/argp-ex2.c: Likewise.
13375         * manual/examples/argp-ex3.c: Likewise.
13376         * manual/examples/argp-ex4.c: Likewise.
13377         * manual/examples/atexit.c: Likewise.
13378         * manual/examples/db.c: Likewise.
13379         * manual/examples/dir.c: Likewise.
13380         * manual/examples/dir2.c: Likewise.
13381         * manual/examples/execinfo.c: Likewise.
13382         * manual/examples/filecli.c: Likewise.
13383         * manual/examples/filesrv.c: Likewise.
13384         * manual/examples/fmtmsgexpl.c: Likewise.
13385         * manual/examples/genpass.c: Likewise.
13386         * manual/examples/inetcli.c: Likewise.
13387         * manual/examples/inetsrv.c: Likewise.
13388         * manual/examples/isockad.c: Likewise.
13389         * manual/examples/longopt.c: Likewise.
13390         * manual/examples/memopen.c: Likewise.
13391         * manual/examples/memstrm.c: Likewise.
13392         * manual/examples/mkfsock.c: Likewise.
13393         * manual/examples/mkisock.c: Likewise.
13394         * manual/examples/mygetpass.c: Likewise.
13395         * manual/examples/pipe.c: Likewise.
13396         * manual/examples/popen.c: Likewise.
13397         * manual/examples/rprintf.c: Likewise.
13398         * manual/examples/search.c: Likewise.
13399         * manual/examples/select.c: Likewise.
13400         * manual/examples/setjmp.c: Likewise.
13401         * manual/examples/sigh1.c: Likewise.
13402         * manual/examples/sigusr.c: Likewise.
13403         * manual/examples/stpcpy.c: Likewise.
13404         * manual/examples/strdupa.c: Likewise.
13405         * manual/examples/strftim.c: Likewise.
13406         * manual/examples/strncat.c: Likewise.
13407         * manual/examples/subopt.c: Likewise.
13408         * manual/examples/swapcontext.c: Likewise.
13409         * manual/examples/termios.c: Likewise.
13410         * manual/examples/testopt.c: Likewise.
13411         * manual/examples/testpass.c: Likewise.
13412         * manual/examples/timeval_subtract.c: Likewise.
13414         [BZ #13792]
13415         * manual/time.texi (Elapsed Time): Move timeval_subtract example
13416         function to ...
13417         * manual/timeval_subtract.c.texi: ... here, new file.
13419 2012-03-02  David S. Miller  <davem@davemloft.net>
13421         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13423 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
13425         [BZ #3976]
13426         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13427         (__sin): Save and restore rounding mode and use round-to-nearest
13428         for all computations.
13429         (__cos): Save and restore rounding mode and use round-to-nearest
13430         for all computations.
13431         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13432         <fenv.h>.
13433         (tan): Save and restore rounding mode and use round-to-nearest for
13434         all computations.
13435         * math/libm-test.inc (cos_test_tonearest): New function.
13436         (cos_test_towardzero): Likewise.
13437         (cos_test_downward): Likewise.
13438         (cos_test_upward): Likewise.
13439         (sin_test_tonearest): Likewise.
13440         (sin_test_towardzero): Likewise.
13441         (sin_test_downward): Likewise.
13442         (sin_test_upward): Likewise.
13443         (tan_test_tonearest): Likewise.
13444         (tan_test_towardzero): Likewise.
13445         (tan_test_downward): Likewise.
13446         (tan_test_upward): Likewise.
13447         (main): Call the new functions.
13448         * sysdeps/i386/fpu/libm-test-ulps: Update.
13449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13451         [BZ #10135]
13452         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13453         small n, then large n, before computing and testing k+n.
13454         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13456         Likewise.
13457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13458         Likewise.
13459         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13460         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13464         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13466         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13467         * math/libm-test.inc (scalbn_test): Add more tests.
13468         (scalbln_test): Likewise.
13470         * manual/filesys.texi (mode_t): Describe constraints on size and
13471         signedness, not exact equivalence to a particular type.
13472         (ino_t): Likewise.
13473         (ino64_t): Likewise.
13474         (dev_t): Likewise.
13475         (nlink_t): Likewise.
13476         (blkcnt_t): Likewise.
13477         (blkcnt64_t): Likewise.
13478         * manual/llio.texi (off_t): Likewise.
13480         [BZ #3976]
13481         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13482         (__ieee754_exp): Save and restore rounding mode and use
13483         round-to-nearest for all computations.
13484         * math/libm-test.inc (exp_test_tonearest): New function.
13485         (exp_test_towardzero): Likewise.
13486         (exp_test_downward): Likewise.
13487         (exp_test_upward): Likewise.
13488         (main): Call the new functions.
13489         * sysdeps/i386/fpu/libm-test-ulps: Update.
13490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13492 2012-03-01  Chris Demetriou  <cgd@google.com>
13494         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13495         have predictable order.
13497 2012-03-01  David S. Miller  <davem@davemloft.net>
13499         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13501         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13502         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13503         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13504         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13506         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13507         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13508         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13510         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13511         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13512         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13513         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13514         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13518         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13519         * sysdeps/sparc/fpu/libm-test-ulps: to here.
13520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13522         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13523         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13524         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13525         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13526         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13527         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13528         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13529         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13530         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13531         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13532         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13533         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13535         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13536         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13537         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13538         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13539         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13540         * sysdeps/sparc/elf/configure: Regenerated.
13542 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
13544         * configure.in (AS, LD): Require binutils 2.20 or later.
13545         * configure: Regenerated.
13546         * manual/install.texi (Tools for Compilation): Give binutils 2.20
13547         as required minimum version.
13548         * INSTALL: Regenerated.
13550         [BZ #2541]
13551         [BZ #4108]
13552         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13553         before squaring exponent.
13554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13555         bottom long double and 27 bits of top long double before squaring
13556         exponent.
13557         * math/libm-test.inc (erfc_test): Add more tests.
13558         * sysdeps/i386/fpu/libm-test-ulps: Update.
13559         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13562 2012-03-01  Kai Tietz  <ktietz@redhat.com>
13564         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13565         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13566         containing bit-fields.
13567         * soft-fp/extended.h (_FP_UNION_E): Likewise.
13568         * soft-fp/single.h (_FP_UNION_S): Likewise.
13569         * soft-fp/double.h (_FP_UNION_D): Likewise.
13571 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13573         [BZ #13786]
13574         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13575         not include ../strcmp.S.
13576         [USE_AS_STRNCASECMP_L]: Likewise.
13577         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13578         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13579         * sysdeps/i386/i686/multiarch/strncase_l-c.c
13580         (__strncasecmp_l_ia32): Define as alias to
13581         __strncasecmp_l_nonascii.
13583         [BZ #5794]
13584         * math/libm-test.inc (expm1_test): Add test for bug 5794.
13585         * sysdeps/i386/fpu/libm-test-ulps: Update.
13586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13591 2012-02-29  Jeff Law  <law@redhat.com>
13593         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13594         out of bounds read.
13596 2012-02-29  Marek Polacek  <polacek@redhat.com>
13598         [BZ #13706]
13599         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13600         * elf/Makefile: Add rules to run tst-unused-dep.out.
13602 2012-02-28  David S. Miller  <davem@davemloft.net>
13604         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13605         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13606         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13608         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13609         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13611 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
13613         * math/libm-test.inc (llround_test): Move one test from
13614         lround_test.  Use TEST_f_L in moved test.
13615         (lround_test): Move misplaced test to llround_test.  Add testcase
13616         from bug 2561.
13618 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
13620         * sysdeps/x86_64/fpu/e_expf.S: New file.
13621         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13623 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
13625         [BZ #13637]
13626         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13627         of remain_len that may cause incomplete multi-byte character and
13628         false match.
13629         * posix/bug-regex33.c: New file.
13630         * posix/Makefile (tests): Add bug-regex33.
13632 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
13634         * manual/macros.texi: New file.
13635         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13636         * manual/libc.texinfo: Include macros.texi.
13637         * manual/creatute.texi: Likewise.
13638         * manual/install.texi: Likewise.
13639         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13640         @glibcadj{} in references to the GNU C Library.
13641         * manual/charset.texi: Likewise.
13642         * manual/conf.texi: Likewise.
13643         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
13644         when not using those macros.
13645         * manual/creature.texi: Likewise.
13646         * manual/crypt.texi: Likewise.
13647         * manual/errno.texi: Likewise.
13648         * manual/filesys.texi: Likewise.
13649         * manual/header.texi: Likewise.
13650         * manual/install.texi: Likewise.
13651         * manual/intro.texi: Likewise.
13652         * manual/io.texi: Likewise.
13653         * manual/job.texi: Likewise.
13654         * manual/lang.texi: Likewise.
13655         * manual/libc.texiinfo: Likewise.
13656         * manual/llio.texi: Likewise.
13657         * manual/locale.texi: Likewise.
13658         * manual/maint.texi: Likewise.
13659         * manual/math.texi: Likewise.
13660         * manual/memory.texi: Likewise.
13661         * manual/message.texi: Likewise.
13662         * manual/nss.texi: Likewise.
13663         * manual/pattern.texi: Likewise.
13664         * manual/process.texi: Likewise.
13665         * manual/resource.texi: Likewise.
13666         * manual/search.texi: Likewise.
13667         * manual/setjmp.texi: Likewise.
13668         * manual/signal.texi: Likewise.
13669         * manual/socket.texi: Likewise.
13670         * manual/startup.texi: Likewise.
13671         * manual/stdio.texi: Likewise.
13672         * manual/string.texi: Likewise.
13673         * manual/sysinfo.texi: Likewise.
13674         * manual/syslog.texi: Likewise.
13675         * manual/terminal.texi: Likewise.
13676         * manual/time.texi: Likewise.
13677         * manual/users.texi: Likewise.
13678         * INSTALL: Regenerated.
13679         * NOTES: Regenerated.
13680         * sysdeps/gnu/errlist.c: Regenerated.
13682 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
13684         * include/dirent.h: Include <dirstream.h> before
13685         <dirent/dirent.h>.
13687 2012-02-28  David S. Miller  <davem@davemloft.net>
13689         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13690         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13691         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13692         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13694 2012-02-27  David S. Miller  <davem@davemloft.net>
13696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13698         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13699         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13702         frame pointer instead of stack pointer relative arg slot.
13703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13704         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13705         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13707 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
13709         [BZ #3992]
13710         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13712 2012-02-27  David S. Miller  <davem@davemloft.net>
13714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13718         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13719         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13720         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13721         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13723 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13725         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13726         later.  Allow versions 5-9.
13727         * configure: Regenerated.
13728         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13729         required minimum version and 4.6 as recommended version.  Do not
13730         mention bugs in GCC 2.7 and 2.8.
13731         * INSTALL: Regenerated.
13733 2012-02-27  David S. Miller  <davem@davemloft.net>
13735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13739         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13740         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13741         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13742         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13744         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13745         manipulate bits before adding and subtracting TWO112[sx].
13746         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13748 2012-02-27  Roland McGrath  <roland@hack.frob.com>
13750         [BZ #13775]
13751         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13752         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13753         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13754         being in POSIX, because they are in 1003.1-2008.
13756         * rt/tst-aio.c: Include <fcntl.h>.
13757         * rt/tst-aio7.c: Likewise.
13758         * rt/tst-aio64.c: Likewise.
13760         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13762 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
13764         * manual/install.texi (--with-headers): Describe headers as
13765         interface headers, not private headers.
13766         (Specific advice for GNU/Linux systems): Describe use of headers
13767         from "make headers_install", not private headers from older
13768         kernels.
13769         * INSTALL: Regenerated.
13770         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13771         Change to 2.6.19.
13772         * sysdeps/unix/sysv/linux/configure: Regenerated.
13774         * manual/llio.texi (fclean): Remove documentation.
13776         * manual/Makefile (libc-texi-generated): New variable.  Include
13777         version.texi.
13778         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13779         $(libc-texi-generated), not duplicated list of files.
13780         (version.texi, stamp-version): New rules.
13781         (realclean): Remove $(libc-texi-generated), not individual files
13782         from that list.  Do not remove dir-add.texinfo.
13783         * manual/libc.texinfo: Comment out uses of edition numbers and
13784         references to printed manual.  Remove last-updated dates.
13785         (EDITION): Comment out.
13786         (ISBN): Likewise.
13787         (VERSION, UPDATED): Remove.
13788         (version.texi): Include.
13790 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
13792         * sysdeps/posix/spawni.c: Include <signal.h>.
13793         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13794         * sysdeps/pthread/aio_fsync.c: Likewise.
13796 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
13798         * conform/Makefile (tests): Run only when not cross-compiling and
13799         when fast-check is not defined.
13801         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13802         * conform/data/limits.h-data: Fixes for POSIX2008.
13803         * conform/run-conformtest.sh: Run all tests.
13804         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13805         headers.
13806         * include/bits/dlfcn.h: Likewise.
13807         * include/langinfo.h: Likewise.
13808         * include/monetary.h: Likewise.
13809         * include/sys/poll.h: Likewise.
13811         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13812         for __USE_GNU.
13813         * posix/spawn.h: Define __need_sigset_t.
13814         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13815         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13816         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
13817         to get sigevent_t only.
13818         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13819         only for __USE_GNU.
13820         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13821         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13822         process_vm_writev only for __USE_GNU.
13823         * termios/termios.h: Declare tcgetsid also for POSIX2008.
13825         * conform/Makefile: For now ignore errors from run-conformtest.
13826         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
13827         POSIX to avoid namespace pollution.  Don't prepend headers.
13828         * conform/data/aio.h-data: Fixes for POSIX testing.
13829         * conform/data/fcntl.h-data: Likewise.
13830         * conform/data/glob.h-data: Likewise.
13831         * conform/data/grp.h-data: Likewise.
13832         * conform/data/pthread.h-data: Likewise.
13833         * conform/data/pwd.h-data: Likewise.
13834         * conform/data/signal.h-data: Likewise.
13835         * conform/data/spawn.h-data: Likewise.
13836         * conform/data/stdio.h-data: Likewise.
13837         * conform/data/stdlib.h-data: Likewise.
13838         * conform/data/stropts.h-data: Likewise.
13839         * conform/data/sys/mman.h-data: Likewise.
13840         * conform/data/sys/stat.h-data: Likewise.
13841         * conform/data/sys/types.h-data: Likewise.
13842         * conform/data/sys/wait.h-data: Likewise.
13843         * conform/data/time.h-data: Likewise.
13844         * conform/data/unistd.h-data: Likewise.
13845         * conform/data/utime.h-data: Likewise.
13847         * io/sys/stat.h: fchmod was always in POSIX.
13848         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13849         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13850         * rt/aio.h: Define __need_timespec before including <time.h>.
13851         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13852         struct.  Add forward declaration of pthread_attr_t and use it in
13853         sigevent.
13854         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13855         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13856         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13857         always remove CLK_TCK definition.
13859 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
13861         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13863 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
13865         * conform/run-conformtest.sh: New file.
13866         * conform/Makefile: Run run-conformtest for tests.
13867         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
13868         support.
13870         * conform/data/uchar.h-data: New file.
13871         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13872         * conform/data/arpa/inet.h-data: Likewise.
13873         * conform/data/assert.h-data: Likewise.
13874         * conform/data/complex.h-data: Likewise.
13875         * conform/data/cpio.h-data: Likewise.
13876         * conform/data/ctype.h-data: Likewise.
13877         * conform/data/dirent.h-data: Likewise.
13878         * conform/data/dlfcn.h-data: Likewise.
13879         * conform/data/errno.h-data: Likewise.
13880         * conform/data/fcntl.h-data: Likewise.
13881         * conform/data/float.h-data: Likewise.
13882         * conform/data/fmtmsg.h-data: Likewise.
13883         * conform/data/fnmatch.h-data: Likewise.
13884         * conform/data/ftw.h-data: Likewise.
13885         * conform/data/glob.h-data: Likewise.
13886         * conform/data/grp.h-data: Likewise.
13887         * conform/data/iconv.h-data: Likewise.
13888         * conform/data/inttypes.h-data: Likewise.
13889         * conform/data/langinfo.h-data: Likewise.
13890         * conform/data/libgen.h-data: Likewise.
13891         * conform/data/limits.h-data: Likewise.
13892         * conform/data/locale.h-data: Likewise.
13893         * conform/data/math.h-data: Likewise.
13894         * conform/data/monetary.h-data: Likewise.
13895         * conform/data/mqueue.h-data: Likewise.
13896         * conform/data/ndbm.h-data: Likewise.
13897         * conform/data/net/if.h-data: Likewise.
13898         * conform/data/netdb.h-data: Likewise.
13899         * conform/data/netinet/in.h-data: Likewise.
13900         * conform/data/nl_types.h-data: Likewise.
13901         * conform/data/poll.h-data: Likewise.
13902         * conform/data/pthread.h-data: Likewise.
13903         * conform/data/pwd.h-data: Likewise.
13904         * conform/data/regex.h-data: Likewise.
13905         * conform/data/sched.h-data: Likewise.
13906         * conform/data/search.h-data: Likewise.
13907         * conform/data/semaphore.h-data: Likewise.
13908         * conform/data/setjmp.h-data: Likewise.
13909         * conform/data/signal.h-data: Likewise.
13910         * conform/data/spawn.h-data: Likewise.
13911         * conform/data/stdarg.h-data: Likewise.
13912         * conform/data/stdio.h-data: Likewise.
13913         * conform/data/stdlib.h-data: Likewise.
13914         * conform/data/string.h-data: Likewise.
13915         * conform/data/strings.h-data: Likewise.
13916         * conform/data/stropts.h-data: Likewise.
13917         * conform/data/sys/ipc.h-data: Likewise.
13918         * conform/data/sys/mman.h-data: Likewise.
13919         * conform/data/sys/msg.h-data: Likewise.
13920         * conform/data/sys/resource.h-data: Likewise.
13921         * conform/data/sys/select.h-data: Likewise.
13922         * conform/data/sys/sem.h-data: Likewise.
13923         * conform/data/sys/shm.h-data: Likewise.
13924         * conform/data/sys/socket.h-data: Likewise.
13925         * conform/data/sys/stat.h-data: Likewise.
13926         * conform/data/sys/statvfs.h-data: Likewise.
13927         * conform/data/sys/time.h-data: Likewise.
13928         * conform/data/sys/timeb.h-data: Likewise.
13929         * conform/data/sys/times.h-data: Likewise.
13930         * conform/data/sys/types.h-data: Likewise.
13931         * conform/data/sys/uio.h-data: Likewise.
13932         * conform/data/sys/un.h-data: Likewise.
13933         * conform/data/sys/utsname.h-data: Likewise.
13934         * conform/data/sys/wait.h-data: Likewise.
13935         * conform/data/syslog.h-data: Likewise.
13936         * conform/data/tar.h-data: Likewise.
13937         * conform/data/termios.h-data: Likewise.
13938         * conform/data/utime.h-data: Likewise.
13939         * conform/data/utmpx.h-data: Likewise.
13940         * conform/data/varargs.h-data: Likewise.
13941         * conform/data/wchar.h-data: Likewise.
13942         * conform/data/wctype.h-data: Likewise.
13943         * conform/data/wordexp.h-data: Likewise.
13945         * include/stropts.h: New file.
13946         * include/uchar.h: New file.
13947         * include/aio.h: Changes to allow conformtest.pl to use the headers.
13948         * include/assert.h: Likewise.
13949         * include/ctype.h: Likewise.
13950         * include/dirent.h: Likewise.
13951         * include/dlfcn.h: Likewise.
13952         * include/fcntl.h: Likewise.
13953         * include/fnmatch.h: Likewise.
13954         * include/glob.h: Likewise.
13955         * include/grp.h: Likewise.
13956         * include/libio.h: Likewise.
13957         * include/locale.h: Likewise.
13958         * include/math.h: Likewise.
13959         * include/net/if.h: Likewise.
13960         * include/netdb.h: Likewise.
13961         * include/netinet/in.h: Likewise.
13962         * include/pthread.h: Likewise.
13963         * include/pwd.h: Likewise.
13964         * include/regex.h: Likewise.
13965         * include/sched.h: Likewise.
13966         * include/search.h: Likewise.
13967         * include/setjmp.h: Likewise.
13968         * include/signal.h: Likewise.
13969         * include/stdio.h: Likewise.
13970         * include/stdlib.h: Likewise.
13971         * include/string.h: Likewise.
13972         * include/sys/cdefs.h: Likewise.
13973         * include/sys/mman.h: Likewise.
13974         * include/sys/msg.h: Likewise.
13975         * include/sys/resource.h: Likewise.
13976         * include/sys/select.h: Likewise.
13977         * include/sys/socket.h: Likewise.
13978         * include/sys/stat.h: Likewise.
13979         * include/sys/statvfs.h: Likewise.
13980         * include/sys/time.h: Likewise.
13981         * include/sys/times.h: Likewise.
13982         * include/sys/uio.h: Likewise.
13983         * include/sys/utsname.h: Likewise.
13984         * include/sys/wait.h: Likewise.
13985         * include/termios.h: Likewise.
13986         * include/time.h: Likewise.
13987         * include/ulimit.h: Likewise.
13988         * include/unistd.h: Likewise.
13989         * include/utime.h: Likewise.
13990         * include/wchar.h: Likewise.
13991         * include/wctype.h: Likewise.
13992         * include/wordexp.h: Likewise.
13994         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13996         * time/time.h: TIME_UTC must be a macro.
13997         Make timespec_get available for ISO C11 only as well.
13999 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
14001         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14002         Reported by Peng Haitao <penght@cn.fujitsu.com>.
14004 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14006         * configure.in: Use -o not -a in test for unsupported multi-arch.
14008 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14010         * manual/texinfo.tex: Update to version 2012-01-19.16.
14012 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
14014         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14016 2012-02-24  Roland McGrath  <roland@hack.frob.com>
14018         [BZ #13738]
14019         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14020         * manual/fdl-1.3.texi: New file.
14021         * manual/fdl-1.1.texi: File removed.
14023         [BZ #13738]
14024         * manual/libc.texinfo (FDL_VERSION): New @set.
14025         Use it for mention of FDL in cover text.
14026         (Documentation License): Use it in @include file name.
14028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14029             Roland McGrath  <roland@hack.frob.com>
14031         [BZ #5461]
14032         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14033         not LONG_LONG_MAX and LONG_LONG_MIN.
14034         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14035         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
14036         name.
14037         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14039 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14041         [BZ #2547]
14042         [BZ #11365]
14043         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14044         manipulate bits before adding and subtracting TWO23[sx].
14045         * math/libm-test.inc (nearbyint_test): Add more tests.
14047 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14049         [BZ #2548]
14050         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14051         bits before adding and subtracting TWO23[sx].
14052         * math/libm-test.inc (rint_test): Add more tests.
14053         (rint_test_tonearest): Likewise.
14054         (rint_test_towardzero): Likewise.
14055         (rint_test_downward): Likewise.
14056         (rint_test_upward: Likewise.
14058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #10110]
14061         * include/stdc-predef.h: New file.  Extracted from features.h.
14062         * include/features.h: Include stdc-predef.h.
14063         * Makefile (headers): Add stdc-predef.h.
14064         * CONFORMANCE (Compiler limitations): Update.
14066 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
14068         * manual/libc.texinfo (VERSION, UPDATED): Revert.
14070 2012-02-21  David S. Miller  <davem@davemloft.net>
14072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14075 2012-02-20  David S. Miller  <davem@davemloft.net>
14077         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14078         using a normal save/restore sequence, rather than allocating a
14079         dummy stack frame just to store a frame pointer and restore.
14080         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14082 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14084         * manual/install.texi: Fix stray word in line-wrapped comment.
14086 2012-02-20  David S. Miller  <davem@davemloft.net>
14088         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14089         both binutils and gcc support GOTDATA.
14091         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14092         "rd %pc" in the PIC register setup sequences.
14094         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14095         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14096         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14098         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14100         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14103         (SYSCALL_ERROR_HANDLER): Likewise.
14104         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14105         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14107         (SYSCALL_ERROR_HANDLER): Likewise.
14109         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14110         (HAVE_GCC_GOTDATA): New.
14111         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14112         relocation support in both binutils and gcc.
14113         * sysdeps/sparc/elf/configure: Regenerate.
14115         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14116         * sysdeps/sparc/sparc32/elf/configure: Delete.
14117         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14118         * sysdeps/sparc/sparc64/elf/configure: Delete.
14119         * sysdeps/sparc/elf/configure.in: New file.
14120         * sysdeps/sparc/elf/configure: Generate.
14122         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14123         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14124         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14125         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14126         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14128 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14130         * manual/install.texi: Do not mention specific glibc version
14131         numbers.
14132         * manual/libc.texinfo (VERSION, UPDATED): Update.
14133         (@copying): Use @copyright{} and range of years.
14135 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
14137         [BZ #13695]
14138         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14139         [crti.S not in sysdirs] (generated): Do not append.
14140         [crti.S not in sysdirs] (omit-deps): Likewise.
14141         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14142         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14143         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14144         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14145         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14146         Likewise.
14147         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14148         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14149         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14150         * csu/defs.awk: Remove file.
14151         * sysdeps/generic/initfini.c: Likewise.
14152         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14153         variable.
14154         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14155         Likewise.
14157 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14159         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14160         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14161         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14162         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14163         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14164         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14165         <bits/epoll.h>.
14166         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14167         (__EPOLL_PACKED): Define to empty if not defined by
14168         <bits/epoll.h>.
14169         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14171         bits/epoll.h.
14173 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14175         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14176         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14177         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14178         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14179         <bits/timerfd.h>.
14180         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14182         bits/timerfd.h.
14184 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
14186         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14187         in C locale.
14188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14189         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14190         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
14195         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14196         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14198 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
14200         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14201         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14202         defined.
14203         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14204         Likewise.
14205         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14206         entry for 2.16.
14208 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
14210         * math/w_acos.c: Use non-signaling floating-point comparisons.
14211         * math/w_acosf.c: Likewise.
14212         * math/w_acosh.c: Likewise.
14213         * math/w_acoshf.c: Likewise.
14214         * math/w_acoshl.c: Likewise.
14215         * math/w_acosl.c: Likewise.
14216         * math/w_asin.c: Likewise.
14217         * math/w_asinf.c: Likewise.
14218         * math/w_asinl.c: Likewise.
14219         * math/w_atanh.c: Likewise.
14220         * math/w_atanhf.c: Likewise.
14221         * math/w_atanhl.c: Likewise.
14222         * math/w_exp2.c: Likewise.
14223         * math/w_exp2f.c: Likewise.
14224         * math/w_exp2l.c: Likewise.
14225         * math/w_j0.c: Likewise.
14226         * math/w_j0f.c: Likewise.
14227         * math/w_j0l.c: Likewise.
14228         * math/w_j1.c: Likewise.
14229         * math/w_j1f.c: Likewise.
14230         * math/w_j1l.c: Likewise.
14231         * math/w_jn.c: Likewise.
14232         * math/w_jnf.c: Likewise.
14233         * math/w_log.c: Likewise.
14234         * math/w_log10.c: Likewise.
14235         * math/w_log10f.c: Likewise.
14236         * math/w_log10l.c: Likewise.
14237         * math/w_log2.c: Likewise.
14238         * math/w_log2f.c: Likewise.
14239         * math/w_log2l.c: Likewise.
14240         * math/w_logf.c: Likewise.
14241         * math/w_logl.c: Likewise.
14242         * math/w_sqrt.c: Likewise.
14243         * math/w_sqrtf.c: Likewise.
14244         * math/w_sqrtl.c: Likewise.
14245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14246         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14249         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14251 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14253         [BZ #9739]
14254         * manual/string.texi (strnlen): Use correct parameter name in
14255         equivalent expression.
14257 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14259         [BZ #11174]
14260         * manual/users.texi (seteuid): Consistently use neweuid for
14261         argument name.
14263 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
14265         [BZ #13704]
14266         * manual/nss.texi (Services in the NSS configuration): Correct
14267         list of services in example configuration file.
14269 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
14271         [BZ #11322]
14272         * manual/arith.texi: Remove statements about negative zero
14273         behaving identically to zero.
14275 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14277         [BZ #5993]
14278         * manual/install.texi: Do not document upgrading from libc5.
14280 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
14282         [BZ #4596]
14283         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14285 2012-02-18  David S. Miller  <davem@davemloft.net>
14287         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14288         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14289         %o7 across the call.
14290         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14291         instead.
14292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14293         SETUP_PIC_REG_LEAF.
14294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14295         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14296         * sysdeps/sparc/crtn.S: Likewise.
14298 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
14300         * aout/Makefile: Remove.
14302 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
14304         [BZ #13058]
14305         * manual/examples/argp-ex1.c (main): Format definition in GNU
14306         style.
14307         * manual/examples/argp-ex2.c (main): Likewise.
14308         * manual/examples/argp-ex3.c (main): Likewise.
14309         * manual/examples/argp-ex4.c (main): Likewise.
14310         * manual/examples/longopt.c (main): Use new-style prototype
14311         definition.
14312         * manual/examples/strncat.c (main): Specify return type and use
14313         (void) for arguments.
14314         * manual/examples/subopt.c (main): Use char **argv argument.
14316 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14318         [BZ #5077]
14319         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14320         rounding modes.
14322 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
14324         [BZ #6907]
14325         * manual/string.texi (strchr): Change when strchrnul is
14326         recommended.
14328 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
14330         [BZ #174]
14331         * manual/locale.texi (setlocale): Document LOCPATH.
14333 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14335         [BZ #10210]
14336         * manual/process.texi (execle): Move @dots{} before last argument.
14338 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
14340         [BZ #12047]
14341         * manual/charset.texi (Generic Charset Conversion): Fix typo
14342         (LC_TYPE -> LC_CTYPE).
14344 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
14346         [BZ #5805]
14347         * manual/arith.texi (scalbn): Use @var{} on parameter names.
14348         (scalbnf): Likewise.
14349         (scalbnl): Likewise.
14350         (scalbln): Likewise.
14351         (scalblnf): Likewise.
14352         (scalblnl): Likewise.
14353         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14354         (vwarnx): Likewise.
14355         (verr): Likewise.
14356         (verrx): Likewise.
14357         * manual/filesys.texi (telldir): Use braces around return type.
14358         * manual/llio.texi (mmap): Add space after comma.
14359         (mmap64): Likewise.
14360         * manual/math.texi (jn): Use @var{} on parameter names.
14361         (jnf): Likewise.
14362         (jnl): Likewise.
14363         (yn): Likewise.
14364         (ynf): Likewise.
14365         (ynl): Likewise.
14366         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14367         line.
14368         * manual/resource.texi (ulimit): Use @dots{} instead of literal
14369         "...".
14370         (sched_get_priority_min): Remove semicolon on @deftypefun line.
14371         (sched_get_priority_max): Likewise.
14372         * manual/signal.texi (sigvec): Add space after comma.
14373         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14374         names.
14375         (if_indextoname): Likewise.
14376         (if_freenameindex): Likewise.
14377         (sendto): Use ',' instead of '.' in prototype.
14378         * manual/startup.texi (syscall): Use @dots{} instead of literal
14379         "...".
14380         * manual/stdio.texi (__fpending): Separate initial words of
14381         paragraph from @deftypefun line.
14382         * manual/syslog.texi (syslog): Use @dots{} instead of literal
14383         "...".
14384         (vsyslog): Use @var{} on parameter names.
14385         * manual/terminal.texi (stty): Use @var{} on parameter names.
14386         * manual/users.texi (getutmp): Use @var{} on parameter names.
14387         (getutmpx): Likewise.
14389 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14391         [BZ #6884]
14392         * manual/stdio.texi (fopen): Fix typos in description of
14393         ",ccs=STRING".
14395 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
14397         [BZ #4026]
14398         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14399         get clock_id definition.
14401 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
14403         [BZ #4822]
14404         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14405         (madvise): Cast every argument to void on its own.
14407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14409         [BZ #9902]
14410         * manual/startup.texi (Exit Status): Fix typo.
14412 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
14414         [BZ #10140]
14415         * manual/examples/argp-ex1.c: Include <stdlib.h>.
14416         * manual/examples/argp-ex2.c: Likewise.
14417         * manual/examples/argp-ex3.c: Likewise.
14419 2012-02-16  Richard Henderson  <rth@redhat.com>
14421         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14422         * sysdeps/s390/s390-32/initfini.c: Remove.
14423         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14424         * sysdeps/s390/s390-64/initfini.c: Remove.
14426 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14428         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14429         compiler output for sysdeps/generic/initfini.c.
14430         * sysdeps/sh/elf/initfini.c: Remove file.
14432 2012-02-16  David S. Miller  <davem@davemloft.net>
14434         [BZ #11494]
14435         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14437         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14438         * sysdeps/sparc/crti.S: New file.
14439         * sysdeps/sparc/crtn.S: New file.
14440         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14441         * sysdeps/sparc/sparc64/Makefile: Likewise.
14443 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
14445         [BZ #3335]
14446         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14448 2012-02-15  Roland McGrath  <roland@hack.frob.com>
14450         [BZ #4822]
14451         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14453         * mach/devstream.c (cookie_io_functions_t): Macro removed.
14454         (write, read, close): Likewise.
14455         Patch by Aurelien Jarno <aurelien@aurel32.net>.
14457 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
14459         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14460         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14461         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14462         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14463         <bits/signalfd.h>.
14464         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14466         bits/signalfd.h.
14468 2012-02-14  Marek Polacek  <polacek@redhat.com>
14470         * sysdeps/x86_64/crti.S: New file.
14471         * sysdeps/x86_64/crtn.S: New file.
14472         * sysdeps/x86_64/elf/initfini.c: Remove file.
14474 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14476         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14477         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14478         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14479         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14480         <bits/inotify.h>.
14481         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14483         bits/inotify.h.
14485 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
14487         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14488         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14489         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14490         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14491         <bits/eventfd.h>.
14492         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14494         bits/eventfd.h.
14496 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
14498         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14499         __feraiseexcept instead of feraiseexcept.
14501         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14502         nanosleep invocations.
14503         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14504         strings, and add error checking for a nanosleep invocations.
14506 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
14508         Replace FSF snail mail address with URLs, as per GNU coding standards.
14509         Most of the snail mail addresses were wrong anyway, and omitting
14510         them makes the source code easier to maintain.  Almost all of the
14511         changes are to license notices and to locale LC_IDENTIFICATION
14512         addresses, except for this one:
14513         * manual/libc.texinfo: In "Published by", give the FSF's URL,
14514         not its snail mail address.
14516 2012-02-09  Richard Henderson  <rth@twiddle.net>
14518         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14519         of kernel-features.h.
14521         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14523 2012-02-08  Marek Polacek  <polacek@redhat.com>
14525         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14526         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14527         * sysdeps/gnu/_G_config.h: Likewise.
14528         * sysdeps/generic/_G_config.h: Likewise.
14530 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14532         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14533         tests.
14534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14536         * sysdeps/powerpc/powerpc32/crti.S: New file.
14537         * sysdeps/powerpc/powerpc32/crtn.S: New file.
14538         * sysdeps/powerpc/powerpc64/crti.S: New file.
14539         * sysdeps/powerpc/powerpc64/crtn.S: New file.
14541         * Makeconfig (have-initfini): Don't set.
14542         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14543         * configure.in (nopic_initfini): Don't substitute.
14544         * config.h.in (HAVE_INITFINI): Don't #undef.
14545         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14546         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14548 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
14550         Support crti.S and crtn.S provided directly by architectures.
14551         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14552         [crti.S in sysdirs] (omit-deps): Likewise.
14553         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14554         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14555         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14556         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14557         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14558         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14559         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14560         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14561         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14562         compiler output for sysdeps/generic/initfini.c.
14563         * sysdeps/i386/elf/Makefile: Remove file.
14564         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14566 2012-02-07  Marek Polacek  <polacek@redhat.com>
14568         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14569         * sysdeps/gnu/_G_config.h: Likewise.
14570         * sysdeps/mach/hurd/_G_config.h: Likewise.
14572 2012-02-07  Marek Polacek  <polacek@redhat.com>
14574         * math/Makefile (tests): Add tst-CMPLX2.
14575         * math/tst-CMPLX2.c: New file.
14577 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
14579         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14581         * math/libm-test.inc (jn_test): Add missing L suffix.
14583 2012-02-06  Marek Polacek  <polacek@redhat.com>
14585         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14586         * sysdeps/i386/fpu/e_powf.S: Likewise.
14587         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14588         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14589         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14590         * sysdeps/i386/fpu/e_pow.S: Likewise.
14591         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14592         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14593         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14594         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14595         * sysdeps/i386/fpu/e_log2.S: Likewise.
14596         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14597         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14598         * sysdeps/i386/fpu/e_powl.S: Likewise.
14599         * sysdeps/i386/fpu/s_log1p.S: Likewise.
14600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14601         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14602         * sysdeps/i386/fpu/e_logl.S: Likewise.
14603         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14604         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14605         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14606         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14608         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14609         * sysdeps/i386/fpu/e_log.S: Likewise.
14610         * sysdeps/i386/fpu/s_cexp.S: Likewise.
14611         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14612         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14613         * sysdeps/i386/fpu/e_logf.S: Likewise.
14614         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14615         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14616         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14617         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14618         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14619         * sysdeps/i386/fpu/e_log10.S: Likewise.
14620         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14621         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14622         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14623         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14624         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14625         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14626         * sysdeps/i386/asm-syntax.h: Likewise.
14627         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14628         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14629         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14630         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14631         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14632         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14633         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14634         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14635         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14636         * sysdeps/powerpc/sysdep.h: Likewise.
14637         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14638         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14640 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14642         [BZ #411]
14643         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14645 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
14647         * sysdeps/i386/sysdep.h: Include <features.h>.
14648         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14649         version.
14651 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
14653         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14654         Define.
14655         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14656         LOAD_PIC_REG_STR.
14658 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14660         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14661         (SETUP_PIC_REG): Use GET_PC_THUNK.
14662         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14663         macro.
14665 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14667         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14668         for non-PIC compilation.
14669         (SETUP_PIC_REG): Add .p2align directive.
14670         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14671         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14672         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14673         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14674         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14675         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14676         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14677         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14678         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14679         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14680         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14681         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14682         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14684         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14685         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14686         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14687         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14688         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14689         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14690         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14691         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14692         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14693         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14694         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14696         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14697         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14698         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14699         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14700         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14701         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14702         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14703         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14704         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14705         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14706         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14707         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14708         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14709         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14710         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14712 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
14714         * math/tst-CMPLX.c: Include <stdio.h>.
14716 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
14718         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14719         float.
14720         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14721         * sysdeps/sparc/bits/mathdef.h: Likewise.
14723 2012-01-31  Marek Polacek  <polacek@redhat.com>
14725         * libio/libio.h: Don't define _PARAMS.
14726         * locale/programs/config.h: Don't define PARAMS.
14727         * stdlib/strtol_l.c: Likewise.
14728         (__strtol_l): Remove PARAMS from the prototype.
14730 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
14732         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
14733         names.  Just use the correct names.  Remove unnecessary wrapper
14734         functions.
14735         * malloc/arena.c: Likewise.
14736         * malloc/hooks.c: Likewise.
14738         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14739         ARENA_TEST says not to.  Simplify test for creation of a new arena.
14740         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14742 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
14744         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14745         into tail calls.
14746         (update_get_addr): New function.
14747         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14748         GET_ADDR_MODULE parameter.
14750 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14752         * crypt/cert.c: Remove __STDC__ conditionals.
14753         * crypt/crypt-entry.c: Likewise.
14754         * crypt/crypt_util.c: Likewise.
14755         * libio/filedoalloc.c: Likewise.
14756         * libio/fileops.c: Likewise.
14757         * libio/genops.c: Likewise.
14758         * libio/iofclose.c: Likewise.
14759         * libio/iofdopen.c: Likewise.
14760         * libio/iofopen.c: Likewise.
14761         * libio/iofopen64.c: Likewise.
14762         * libio/iogetdelim.c: Likewise.
14763         * libio/iopopen.c: Likewise.
14764         * libio/obprintf.c: Likewise.
14765         * libio/oldfileops.c: Likewise.
14766         * libio/oldiofclose.c: Likewise.
14767         * libio/oldiofdopen.c: Likewise.
14768         * libio/oldiofopen.c: Likewise.
14769         * libio/oldiopopen.c: Likewise.
14770         * libio/wfiledoalloc.c: Likewise.
14771         * libio/wgenops.c: Likewise.
14772         * locale/programs/xmalloc.c: Likewise.
14773         * misc/syslog.c: Likewise.
14774         * stdio-common/xbug.c: Likewise.
14775         * string/memchr.c: Likewise.
14776         * string/memcmp.c: Likewise.
14777         * string/memrchr.c: Likewise.
14778         * string/rawmemchr.c: Likewise.
14779         * sysdeps/posix/getcwd.c: Likewise.
14780         * time/strftime_l.c: Likewise.
14782 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
14784         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
14785         * config.make.in (config-cflags-sse2avx): Define.
14786         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14787         Fix typo.
14789 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
14791         * scripts/config.guess: Update from upstream config git repository.
14792         * scripts/config.sub: Likewise.
14794 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
14796         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14797         (EM_NUM): Update.
14798         (R_TILEPRO_*, R_TILEGX_*): New macros.
14800         * scripts/firstversions.awk: Fix bug in version range handling.
14802         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14804         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14806         * include/sys/epoll.h: New file.
14807         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14808         libc_hidden_def.
14810 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
14812         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14813         Avoid unnecessary __WORDSIZE == 64 test.
14814         (fmaxf): Use VEX format if possible.
14815         (fmax): Likewise.
14816         (fminf): Likewise.
14817         (fmin): Likewise.
14819         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14820         * math/math_private.h: Remove libc_fegetround* and
14821         libc_fesetround*.
14822         * sysdeps/i386/configure.in: Check for -msse2avx.
14823         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14824         also if SSE2AVX is defined.
14825         Remove libc_fegetround* and libc_fesetround*.
14826         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14827         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
14828         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14829         of HAS_YMM_USABLE.
14830         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14832         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14834         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14836         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14838 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14840         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14841         size is not set.
14842         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14844 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
14846         [BZ #13618]
14847         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14848         relocation.
14849         * Makeconfig (libm): Define.
14850         * elf/Makefile: Add rules to build and run tst-relsort1.
14851         * elf/tst-relsort1.c: New file.
14852         * elf/tst-relsort1mod1.c: New file.
14853         * elf/tst-relsort1mod2.c: New file.
14855 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
14857         * math/s_ldexp.c: Remove __STDC__ conditionals.
14858         * math/s_ldexpf.c: Likewise.
14859         * math/s_ldexpl.c: Likewise.
14860         * math/s_nextafter.c: Likewise.
14861         * math/s_nexttowardf.c: Likewise.
14862         * math/s_significand.c: Likewise.
14863         * math/s_significandf.c: Likewise.
14864         * math/s_significandl.c: Likewise.
14865         * math/w_jnl.c: Likewise.
14866         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14867         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14868         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14869         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14870         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14871         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14872         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14873         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14874         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14875         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14876         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14877         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14878         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14879         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14881         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14882         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14883         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14885         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14886         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14887         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14888         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14889         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14890         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14891         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14892         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14893         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14894         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14895         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14896         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14897         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14898         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14900         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14901         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14902         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14903         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14904         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14905         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14906         * sysdeps/ieee754/k_standard.c: Likewise.
14907         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14908         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14909         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14912         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14913         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14915         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14916         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14942         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14947         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14957         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14960         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14963         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14964         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14965         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14966         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14967         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14968         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14971         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14972         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14973         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14974         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14975         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14976         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14977         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14978         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14979         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14980         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14981         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14982         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14983         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14984         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14985         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14986         * sysdeps/ieee754/s_matherr.c: Likewise.
14987         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14988         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14992 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
14994         * crypt/md5.h: Remove __STDC__ conditionals.
14995         * libio/libioP.h: Likewise.
14996         * locale/programs/config.h: Likewise.
14997         * sysdeps/generic/sysdep.h: Likewise.
14998         * sysdeps/i386/asm-syntax.h: Likewise.
14999         * sysdeps/s390/asm-syntax.h: Likewise.
15000         * sysdeps/unix/sysdep.h: Likewise.
15001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15004 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
15006         * libio/libio.h: Remove __STDC__ conditionals.
15007         * malloc/obstack.h: Likewise.
15008         * math/complex.h: Likewise.
15009         * math/math.h: Likewise.
15010         * sysdeps/generic/_G_config.h: Likewise.
15011         * sysdeps/gnu/_G_config.h: Likewise.
15012         * sysdeps/mach/hurd/_G_config.h: Likewise.
15013         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15014         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15015         * sysdeps/sparc/bits/mathdef.h: Likewise.
15017 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
15019         [BZ #13583]
15020         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15021         Clean up HAS_* macros.
15022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15023         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15024         possible.
15025         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15026         HAS_AVX.
15027         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15028         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15029         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15030         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15031         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15033 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
15035         * elf/tst-unique3.cc (gets): Remove declaration.
15036         * elf/tst-unique3lib.cc (gets): Likewise.
15037         * elf/tst-unique3lib2.cc (gets): Likewise.
15038         * elf/tst-unique4.cc (gets): Likewise.
15040 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
15042         * include/stdio.h: Add C++ protection.  Add gets declarations and
15043         definitions.
15044         * debug/tst-chk1.c: Don't declare gets here.
15045         * stdio-common/tst-gets.c: Likewise.
15047 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15049         * posix/glob: Remove directory.
15051 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
15053         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15055 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
15057         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15058         of the non-standard EPFNOSUPPORT.
15060 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15062         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15063         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15064         ANYWHERE set to 1 only on KERN_NO_SPACE error.
15066 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
15068         * wcsmbs/uchar.h: Test __STDC_VERSION__.
15070 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
15072         * nscd/aicache.c (addhstaiX): Do not cache negative results of
15073         transient errors.
15074         * nscd/grpcache.c (cache_addgr): Likewise.
15075         * nscd/hstcache.c (cache_addhst): Likewise.
15076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15077         * nscd/pwdcache.c (cache_addpw): Likewise.
15078         * nscd/servicescache.c (cache_addserv): Likewise.
15080 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
15082         * malloc/malloc.c: Various cleanups.
15083         * malloc/hooks.c: Likewise.
15085         * stdlib/Makefile (tests): Add bug-fmtmsg1.
15086         * stdlib/bug-fmtmsg1.c: New file.
15088         * stdlib/fmtmsg.c (init): Add missing unlock.
15089         Patch by Peng Haitao <penght@cn.fujitsu.com>.
15091 2012-01-12  Marek Polacek  <polacek@redhat.com>
15093         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15094         and _GNU_SOURCE.
15096 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
15098         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15099         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15100         macro to ensure uniqueness of label name.
15101         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15102         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15104 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
15106         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15108         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15109         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15113 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
15115         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15117         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15118         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15119         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15121         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15123         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15124         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15125         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15126         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15128         * math/bits/math-finite.h: Add ldexp support.
15130 2012-01-10  Marek Polacek  <polacek@redhat.com>
15132         * locale/programs/localedef.h (show_archive_content): Add noreturn
15133         attribute.
15135 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
15137         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15139 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15141         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15143         * io/Makefile (headers): Add bits/poll2.h.
15145 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
15147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15148         typo #include statement.
15150 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15152         * include/sys/cdefs.h: Define __attribute_alloc_size.
15153         * catgets/gencat.c: Add alloc_size attribute and apply consistently
15154         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15155         * elf/pldd.c: Likewise.
15156         * iconv/iconv_charmap.c: Likewise.
15157         * iconv/iconvconfig.c: Likewise.
15158         * iconv/strtab.c: Likewise.
15159         * locale/programs/locale.c: Likewise.
15160         * locale/programs/localedef.h: Likewise.
15161         * locale/programs/simple-hash.c: Likewise.
15162         * nscd/nscd.h: Likewise.
15163         * nss/makedb.c: Likewise.
15164         * sysdeps/generic/ldconfig.h: Likewise.
15165         * locale/programs/localedef.c: Remove xmalloc prototype.
15166         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15168 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15170         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15171         appropriate.
15173 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
15175         * math/Makefile (tests): Add tst-CMPLX.
15176         * math/tst-CMPLX.c: New file.
15178         * math/complex.h (CMPLXL): Fix typo.
15180         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15181         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15182         GLIBC_2.16.
15183         * debug/tst-chk1.c: Add poll and ppoll tests.
15184         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15185         * include/sys/poll.h: Add hidden proto for ppoll.
15186         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15187         * sysdeps/mach/hurd/ppoll.c: Likewise.
15188         * io/ppoll.c: Likewise.
15189         * debug/poll_chk.c: New file.
15190         * debug/ppoll_chk.c: New file.
15191         * include/bits/poll2.h: New file.
15192         * io/bits/poll2.h: New file.
15194         [BZ #1350]
15195         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15197         * configure.in: static is always set to yes.  Remove.
15198         * config.make.in: Don't set build-static.
15199         * Makeconfig: Remove use of build-static.
15200         * dlfcn/Makefile: Likewise.
15201         * elf/Makefile: Likewise.
15202         * math/Makefile: Likewise.
15203         * misc/Makefile: Likewise.
15204         * nptl/Makefile: Likewise.
15205         * sysdeps/mach/hurd/Makefile: Likewise.
15207         * configure.in: PWD_P is not used anymore.
15208         * config.make.in: Remove PWD_P entry.
15210         * configure.in: Remove last remnants of RANLIB.
15211         No need to check for signed size_t anymore.
15212         Don't set libc_commonpagesize and libc_relro_required here for Alpha
15213         and IA-64.
15214         Remove __builtin_expect test because we require at least gcc 3.4.
15215         * aclocal.m4: Likewise.
15217         * wcsmbs/mbrtoc16.c: Implement using towc function.
15218         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15219         * wcsmbs/wcsmbsload.c: Likewise.
15220         * iconv/gconv_simple.c: Likewise.
15221         * iconv/gconv_int.h: Likewise.
15222         * iconv/gconv_builtin.h: Likewise.
15223         * iconv/iconv_prog.c: Remove CHAR16 handling.
15225         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15227         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15229         * configure.in: Remove --with-elf and --enable-bounded options.
15230         Dont set base_machine for ia64.  More non-ELF conditions removed.
15231         Remove testing and setting of leading underscore information.
15232         * config.make.in (build-bounded): Set to no.
15233         * config.h.in: Remove NO_UNDERSCORES entry.
15234         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
15235         them.
15236         * csu/start.c: Remove !NO_UNDERSCORE code.
15237         * locale/localeinfo.h: Likewise.
15238         * sysdeps/generic/machine-gmon.h: Likewise.
15239         * sysdeps/generic/sysdep.h: Likewise.
15240         * sysdeps/i386/sysdep.h: Likewise.
15241         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15242         * sysdeps/mach/sysdep.h: Likewise.
15243         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15244         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15245         * sysdeps/sh/sysdep.h: Likewise.
15246         * sysdeps/sparc/sparc32/alloca.S: Likewise.
15247         * sysdeps/unix/i386/sysdep.S: Likewise.
15248         * sysdeps/unix/sparc/start.c: Likewise.
15249         * sysdeps/unix/sparc/sysdep.S: Likewise.
15250         * sysdeps/unix/sparc/sysdep.h: Likewise.
15251         * sysdeps/unix/start.c: Likewise.
15252         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15253         * sysdeps/x86_64/sysdep.h: Likewise.
15255 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
15257         [BZ #13553]
15258         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15259         for non-gcc.
15260         * argp/argp-fmtstream.h: Use const instead __const.
15261         * argp/argp.h: Likewise.
15262         * assert/assert.h: Likewise.
15263         * bits/fenv.h: Likewise.
15264         * bits/sched.h: Likewise.
15265         * bits/sigset.h: Likewise.
15266         * bits/sigthread.h: Likewise.
15267         * catgets/nl_types.h: Likewise.
15268         * conform/data/pthread.h-data: Likewise.
15269         * crypt/crypt-private.h: Likewise.
15270         * crypt/crypt.h: Likewise.
15271         * crypt/crypt_util.c: Likewise.
15272         * ctype/ctype.h: Likewise.
15273         * debug/execinfo.h: Likewise.
15274         * debug/mbsnrtowcs_chk.c: Likewise.
15275         * debug/mbsrtowcs_chk.c: Likewise.
15276         * debug/wcsnrtombs_chk.c: Likewise.
15277         * debug/wcsrtombs_chk.c: Likewise.
15278         * debug/wcstombs_chk.c: Likewise.
15279         * dirent/dirent.h: Likewise.
15280         * dlfcn/dlfcn.h: Likewise.
15281         * elf/neededtest4.c: Likewise.
15282         * grp/grp.h: Likewise.
15283         * gshadow/gshadow.h: Likewise.
15284         * iconv/gconv.h: Likewise.
15285         * iconv/gconv_int.h: Likewise.
15286         * iconv/gconv_simple.c: Likewise.
15287         * iconv/iconv.h: Likewise.
15288         * iconv/loop.c: Likewise.
15289         * iconv/skeleton.c: Likewise.
15290         * include/aio.h: Likewise.
15291         * include/aliases.h: Likewise.
15292         * include/argz.h: Likewise.
15293         * include/arpa/inet.h: Likewise.
15294         * include/assert.h: Likewise.
15295         * include/dirent.h: Likewise.
15296         * include/dlfcn.h: Likewise.
15297         * include/execinfo.h: Likewise.
15298         * include/fcntl.h: Likewise.
15299         * include/fenv.h: Likewise.
15300         * include/glob.h: Likewise.
15301         * include/grp.h: Likewise.
15302         * include/libintl.h: Likewise.
15303         * include/mntent.h: Likewise.
15304         * include/netdb.h: Likewise.
15305         * include/pwd.h: Likewise.
15306         * include/rpc/netdb.h: Likewise.
15307         * include/sched.h: Likewise.
15308         * include/search.h: Likewise.
15309         * include/shadow.h: Likewise.
15310         * include/signal.h: Likewise.
15311         * include/stdio.h: Likewise.
15312         * include/stdlib.h: Likewise.
15313         * include/string.h: Likewise.
15314         * include/sys/socket.h: Likewise.
15315         * include/sys/stat.h: Likewise.
15316         * include/sys/statfs.h: Likewise.
15317         * include/sys/statvfs.h: Likewise.
15318         * include/sys/syslog.h: Likewise.
15319         * include/sys/time.h: Likewise.
15320         * include/sys/uio.h: Likewise.
15321         * include/time.h: Likewise.
15322         * include/unistd.h: Likewise.
15323         * include/utmp.h: Likewise.
15324         * include/wchar.h: Likewise.
15325         * include/wctype.h: Likewise.
15326         * inet/aliases.h: Likewise.
15327         * inet/arpa/inet.h: Likewise.
15328         * inet/netinet/ether.h: Likewise.
15329         * inet/netinet/in.h: Likewise.
15330         * intl/libintl.h: Likewise.
15331         * io/bits/fcntl2.h: Likewise.
15332         * io/fcntl.h: Likewise.
15333         * io/ftw.h: Likewise.
15334         * io/sys/poll.h: Likewise.
15335         * io/sys/stat.h: Likewise.
15336         * io/sys/statfs.h: Likewise.
15337         * io/sys/statvfs.h: Likewise.
15338         * io/utime.h: Likewise.
15339         * libio/bits/stdio.h: Likewise.
15340         * libio/bits/stdio2.h: Likewise.
15341         * libio/libio.h: Likewise.
15342         * libio/libioP.h: Likewise.
15343         * libio/stdio.h: Likewise.
15344         * locale/lc-ctype.c: Likewise.
15345         * locale/locale.h: Likewise.
15346         * login/utmp.h: Likewise.
15347         * malloc/arena.c: Likewise.
15348         * malloc/malloc.c: Likewise.
15349         * malloc/malloc.h: Likewise.
15350         * malloc/mcheck.c: Likewise.
15351         * malloc/mtrace.c: Likewise.
15352         * math/bits/mathcalls.h: Likewise.
15353         * math/fenv.h: Likewise.
15354         * math/math_private.h: Likewise.
15355         * misc/bits/error.h: Likewise.
15356         * misc/bits/syslog.h: Likewise.
15357         * misc/err.h: Likewise.
15358         * misc/error.h: Likewise.
15359         * misc/fstab.h: Likewise.
15360         * misc/mntent.h: Likewise.
15361         * misc/regexp.h: Likewise.
15362         * misc/search.h: Likewise.
15363         * misc/sgtty.h: Likewise.
15364         * misc/sys/mman.h: Likewise.
15365         * misc/sys/syslog.h: Likewise.
15366         * misc/sys/uio.h: Likewise.
15367         * misc/sys/xattr.h: Likewise.
15368         * misc/ttyent.h: Likewise.
15369         * nis/rpcsvc/ypclnt.h: Likewise.
15370         * nss/nss.h: Likewise.
15371         * posix/bits/unistd.h: Likewise.
15372         * posix/fnmatch.h: Likewise.
15373         * posix/glob.h: Likewise.
15374         * posix/sched.h: Likewise.
15375         * posix/spawn.h: Likewise.
15376         * posix/sys/wait.h: Likewise.
15377         * posix/unistd.h: Likewise.
15378         * posix/wordexp.h: Likewise.
15379         * pwd/pwd.h: Likewise.
15380         * resolv/netdb.h: Likewise.
15381         * resource/sys/resource.h: Likewise.
15382         * rt/aio.h: Likewise.
15383         * rt/bits/mqueue2.h: Likewise.
15384         * rt/mqueue.h: Likewise.
15385         * shadow/shadow.h: Likewise.
15386         * signal/signal.h: Likewise.
15387         * socket/send.c: Likewise.
15388         * socket/sendto.c: Likewise.
15389         * socket/sys/socket.h: Likewise.
15390         * stdio-common/printf.h: Likewise.
15391         * stdlib/bits/stdlib.h: Likewise.
15392         * stdlib/fmtmsg.h: Likewise.
15393         * stdlib/monetary.h: Likewise.
15394         * stdlib/stdlib.h: Likewise.
15395         * stdlib/ucontext.h: Likewise.
15396         * streams/stropts.h: Likewise.
15397         * string/argz.h: Likewise.
15398         * string/bits/string2.h: Likewise.
15399         * string/string.h: Likewise.
15400         * string/strings.h: Likewise.
15401         * sunrpc/rpc/auth.h: Likewise.
15402         * sunrpc/rpc/auth_des.h: Likewise.
15403         * sunrpc/rpc/clnt.h: Likewise.
15404         * sunrpc/rpc/netdb.h: Likewise.
15405         * sunrpc/rpc/pmap_clnt.h: Likewise.
15406         * sunrpc/rpc/xdr.h: Likewise.
15407         * sysdeps/generic/inttypes.h: Likewise.
15408         * sysdeps/generic/net/if.h: Likewise.
15409         * sysdeps/generic/sys/swap.h: Likewise.
15410         * sysdeps/gnu/net/if.h: Likewise.
15411         * sysdeps/gnu/utmpx.h: Likewise.
15412         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15413         * sysdeps/i386/i486/bits/string.h: Likewise.
15414         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15415         * sysdeps/s390/bits/string.h: Likewise.
15416         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15417         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15418         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15419         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15420         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15421         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15422         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15423         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15424         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15425         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15426         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15427         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15428         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15429         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15430         * sysdeps/unix/sysv/linux/readv.c: Likewise.
15431         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15432         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15434         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15436         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15437         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15438         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15439         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15440         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15441         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15442         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15443         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15444         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15445         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15446         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15447         * sysvipc/sys/ipc.h: Likewise.
15448         * sysvipc/sys/msg.h: Likewise.
15449         * sysvipc/sys/sem.h: Likewise.
15450         * sysvipc/sys/shm.h: Likewise.
15451         * termios/termios.h: Likewise.
15452         * time/sys/time.h: Likewise.
15453         * time/time.h: Likewise.
15454         * wcsmbs/bits/wchar2.h: Likewise.
15455         * wcsmbs/uchar.h: Likewise.
15456         * wcsmbs/wchar.h: Likewise.
15457         * wctype/wctype.h: Likewise.
15459         [BZ #13551]
15460         * Makeconfig: Remove all but ELF support including AIX support.
15461         * Makerules: Likewise.
15462         * config.h.in: Likewise.
15463         * config.make.in: Likewise.
15464         * configure: Likewise.
15465         * configure.in: Likewise.
15466         * csu/Makefile: Likewise.
15467         * csu/version.c: Likewise.
15468         * debug/Makefile: Likewise.
15469         * dlfcn/Makefile: Likewise.
15470         * elf/Makefile: Likewise.
15471         * extra-lib.mk: Likewise.
15472         * iconv/Makefile: Likewise.
15473         * include/libc-symbols.h: Likewise.
15474         * include/shlib-compat.h: Likewise.
15475         * resolv/Makefile: Likewise.
15476         * resolv/res_libc.c: Likewise.
15477         * rt/Makefile: Likewise.
15478         * sysdeps/i386/asm-syntax.h: Likewise.
15479         * sysdeps/i386/sysdep.h: Likewise.
15480         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15481         * sysdeps/mach/sysdep.h: Likewise.
15482         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15483         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15484         * sysdeps/s390/asm-syntax.h: Likewise.
15485         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15487         * sysdeps/sh/sysdep.h: Likewise.
15488         * sysdeps/unix/sparc/sysdep.h: Likewise.
15489         * sysdeps/wordsize-32/divdi3.c: Likewise.
15490         * sysdeps/x86_64/sysdep.h: Likewise.
15492         * argp/Versions: Remove _argp_unlock_xxx.
15494         [BZ #13559]
15495         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
15496         * abilist/libBrokenLocale.abilist: Likewise.
15497         * abilist/libanl.abilist: Likewise.
15498         * abilist/libc.abilist: Likewise.
15499         * abilist/libcrypt.abilist: Likewise.
15500         * abilist/libdl.abilist: Likewise.
15501         * abilist/libm.abilist: Likewise.
15502         * abilist/libnsl.abilist: Likewise.
15503         * abilist/libpthread.abilist: Likewise.
15504         * abilist/libresolv.abilist: Likewise.
15505         * abilist/librt.abilist: Likewise.
15506         * abilist/libthread_db.abilist: Likewise.
15507         * abilist/libutil.abilist: Likewise.
15508         * abilist/libnss_db.abilist: New file.
15510         * scripts/abilist.awk: Add support for indirect functions.
15512         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15514         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15516         * shlib-versions: Remove entries for ports architectures.
15518         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
15519         files in ports.
15520         * elf/stackguard-macros.h: Remove support for IA-64.
15521         * elf/tst-auditmod1.c: Likewise.
15522         * sysdeps/generic/ldsodefs.h: Likewise.
15524         * sysdeps/unix/sysv/linux/configure.in: Ports should define
15525         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15526         configure files.
15528         [BZ #13552]
15529         * configure.in: Remove --enable-omitfp support.
15530         * FAQ.in: Adjust.
15531         * config.make.in: Likewise.
15532         * Makeconfig: Likewise.
15533         * manual/install.texi: Likewise.
15535         In case anyone cares, the IA-64 architecture could move to ports.
15536         * sysdeps/ia64/*: Removed.
15537         * sysdeps/unix/sysv/linux/ia64/*: Removed.
15538         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15540         [BZ #13555]
15541         * configure.in: Remove entries for unsupported architectures.
15543         [BZ #13533]
15544         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15545         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
15546         routines.
15547         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15548         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15549         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
15550         fall back to using wcrtomb.
15551         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15552         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
15553         renaming.
15554         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15555         * wcsmbs/tst-c16c32-1.c: New file.
15557         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15558         local variable.
15560         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15562         * elf/tst-unique3.cc: Add explicit declaration of gets.
15563         * elf/tst-unique3lib.cc: Likewise.
15564         * elf/tst-unique3lib2.cc: Likewise.
15565         * elf/tst-unique4.cc: Likewise.
15567         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15569 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
15571         [BZ #13566]
15572         * assert/assert.h (static_assert): Don't define for C++.
15573         * libio/stdio.h (gets): Do declare for C++ <= C++11.
15574         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15576 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
15578         * iconv/loop.c (single loop): Fix assertion in storing of
15579         remaining bytes.
15581         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15583 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
15585         * posix/getconf.c: Update copyright year.
15586         * nss/getent.c: Likewise.
15587         * nss/makedb.c: Likewise.
15588         * iconv/iconvconfig.c: Likewise.
15589         * iconv/iconv_prog.c: Likewise.
15590         * elf/ldconfig.c: Likewise.
15591         * elf/pldd.c: Likewise.
15592         * elf/sotruss.ksh: Likewise.
15593         * catgets/gencat.c: Likewise.
15594         * csu/version.c: Likewise.
15595         * elf/ldd.bash.in: Likewise.
15596         * elf/sprof.c (print_version): Likewise.
15597         * locale/programs/locale.c: Likewise.
15598         * locale/programs/localedef.c: Likewise.
15599         * login/programs/pt_chown.c: Likewise.
15600         * nscd/nscd.c (print_version): Likewise.
15601         * debug/xtrace.sh: Likewise.
15602         * malloc/memusage.sh: Likewise.
15603         * malloc/mtrace.pl: Likewise.
15604         * debug/catchsegv.sh: Likewise.
15606 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
15608         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15609         pure attribute.
15611 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
15613         [BZ #13533]
15614         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15615         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15616         transformations.
15617         * iconv/gconv_int.h: Likewise.
15618         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15619         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15620         from libc for GLIBC_2.16.
15621         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15622         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15623         * wcsmbs/uchar.h: Really define mbstate_t.
15624         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15625         * wcsmbs/c16rtomb.c: New file.
15626         * wcsmbs/mbrtoc16.c: New file.
15627         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15628         for C/POSIX locale.
15629         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15630         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15632         * wcsmbs/wchar.h: Add missing __restrict.
15634 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15636         [BZ #13532]
15637         * time/Makefile (routines): Add timespec_get.
15638         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15639         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
15640         timespec for ISO C11.
15641         * time/timespec_get.c: New file.
15642         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15643         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15645         [BZ #13531]
15646         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15647         * stdlib/stdlib.h: Declare aligned_alloc.
15648         * Versions.def: Add GLIBC_2.16 for libc.
15649         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15651         [BZ 13527]
15652         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15653         ISO C11.
15655         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
15656         code.
15658         [BZ #13528]
15659         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15661         [BZ #13529]
15662         * assert/assert.h (static_assert): Define.
15664         * version.h: Update for 2.16 development version.
15666         [BZ #13526]
15667         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15668         _ISOC11_SOURCE.
15670         * version.h (RELEASE): Bump for 2.15 release.
15671         * include/features.h (__GLIBC_MINOR__): Bump to 15.
15673         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15674         Patch by Marek Polacek <mpolacek@redhat.com>.
15676         * bits/byteswap.h: Protect long long constants with __extension__.
15677         * sysdeps/i386/bits/byteswap.h: Likewise.
15678         * sysdeps/ia64/bits/byteswap.h: Likewise.
15679         * sysdeps/s390/bits/byteswap.h: Likewise.
15680         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15682 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15684         [BZ #13540]
15685         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15686         destination buffer.
15687         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15689 2011-12-23  Marek Polacek  <polacek@redhat.com>
15691         * elf/dl-addr.c (determine_info): Add inline keyword.
15692         * elf/tst-auditmod4b.c (check_avx): Likewise.
15693         * elf/tst-auditmod6b.c (check_avx): Likewise.
15694         * elf/tst-auditmod6c.c (check_avx): Likewise.
15695         * elf/tst-auditmod7b.c (check_avx): Likewise.
15697 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
15699         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15700         !__SSE_MATH__.
15702 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15704         [BZ #13540]
15705         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15706         processing for last bytes.
15708 2011-08-06  Bruno Haible  <bruno@clisp.org>
15710         [BZ #13061]
15711         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15712         U+0385, not to U+1FEE.
15714         [BZ #13062]
15715         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15716         entry for U+00A5 U+0301.
15718 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15720         [BZ #13166]
15721         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15722         buffer for the output is too small.
15724         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15725         optimization.
15727         [BZ #13185]
15728         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15729         SSE flags if possible.
15731 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15733         [BZ #13540]
15734         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15735         processing for last bytes.
15737 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
15739         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15740         (syscall-list-default-options, syscall-list-default-condition)
15741         (syscall-list-includes): Define.
15742         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15743         list of ABIs and options and #if conditions for each ABI.  Do not
15744         handle common syscalls between ABIs specially.
15745         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15746         Remove.
15747         (syscall-list-variants, syscall-list-32bit-options)
15748         (syscall-list-32bit-condition, syscall-list-64bit-options)
15749         (syscall-list-64bit-condition): Define.
15750         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15751         (syscall-list-variants, syscall-list-32bit-options)
15752         (syscall-list-32bit-condition, syscall-list-64bit-options)
15753         (syscall-list-64bit-condition): Define.
15754         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15755         Remove.
15756         (syscall-list-variants, syscall-list-32bit-options)
15757         (syscall-list-32bit-condition, syscall-list-64bit-options)
15758         (syscall-list-64bit-condition): Define.
15759         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15760         Remove.
15761         (syscall-list-variants, syscall-list-32bit-options)
15762         (syscall-list-32bit-condition, syscall-list-64bit-options)
15763         (syscall-list-64bit-condition): Define.
15765 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
15767         * locale/iso-639.def: Add brx entry.
15769         [BZ #13328]
15770         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15771         Proposed by Mariusz_Cukr <marcukr@op.pl>.
15773         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15774         __feraiseexcept_renamed.
15776 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15778         [BZ #13538]
15779         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15780         EPOLLET with unsigned values.
15781         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15782         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15784         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15785         to large cancellation.
15786         * math/s_cacoshf.c: Likewise.
15787         * math/s_cacoshl.c: Likewise.
15789 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
15791         [BZ #13305]
15792         [BZ #12786]
15793         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15794         * math/s_cacoshf.c: Likewise.
15795         * math/s_cacoshl.c: Likewise.
15797 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
15799         [BZ #13439]
15800         * iconv/gconv.h: Define __GCONV_SWAP.
15801         * iconvdata/unicode.c: The swap bit must be stored in __flags.
15802         * iconvdata/utf-16.c: Likewise.
15803         * iconvdata/utf-32.c: Likewise.
15805 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15807         [BZ #13524]
15808         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15809         numerator after shifting it by one limb.
15811 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
15813         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15814         under [__USE_EXTERN_INLINES].
15816 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15818         [BZ #13446]
15819         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15821 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15823         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15824         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15825         optimized code.
15826         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15827         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15828         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15829         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15830         for strncasecmp/strncasecmp_l compilation.
15831         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15832         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15834 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
15836         [BZ #13484]
15837         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15838         of __asm__.
15840 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
15842         [BZ #13506]
15843         * time/tzfile.c (__tzfile_read): Check values from file header.
15845 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15847         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15848         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15849         * powerpc/powerpc32/dl-start.S: Likewise.
15850         * powerpc/powerpc32/elf/start.S: Likewise.
15851         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15852         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15853         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15854         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15855         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15856         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15857         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15858         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15859         * powerpc/powerpc32/fpu/s_round.S: Likewise.
15860         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15861         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15862         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15863         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15864         * powerpc/powerpc32/memset.S: Likewise.
15865         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15866         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15867         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15868         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15869         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15870         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15871         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15872         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15873         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15874         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15875         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15876         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15877         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15879 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15881         * math/libm-test.inc: Added more nearbyint tests.
15882         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15887 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
15889         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15890         FD_CLOEXEC.
15892 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15894         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15895         Add wcscpy-ssse3 wcscpy-c.
15896         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15897         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15898         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15899         * sysdeps/x86_64/wcschr.S: New file.
15900         * sysdeps/x86_64/wcsrchr.S: New file.
15901         * string/test-strcmp.c: Remove checking of wcscmp function for
15902         wrong alignments.
15903         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15904         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15905         wcsrchr-sse2 wcsrchr-c.
15906         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15907         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15908         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15909         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15910         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15911         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15912         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15913         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15914         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15915         * wcsmbc/wcschr.c (WCSCHR): New macro.
15917 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15919         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15920         * wcsmbs/test-wcsrchr.c: New file.
15921         * string/test-strrchr.c: Add wcsrchr support.
15922         (WIDE): New macro.
15923         * wcsmbs/test-wcscpy.c: New file.
15924         * string/test-strcpy.c: Add wcscpy support.
15925         (WIDE): New macro.
15927 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
15929         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15930         the inner loop.
15932 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
15934         [BZ #13472]
15935         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15937 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
15939         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
15940         Minor optimizations.
15942         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15943         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15944         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15946 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
15948         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15949         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15950         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15951         for gcc to avoid warnings.
15952         * inet/Makefile (tests): Add tst-checks.
15953         * inet/tst-checks.c: New file.
15955         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15956         warning.
15958         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15959         __wmemcmp_sse2.
15961         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15962         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15964         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15966 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
15968         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15969         problem.
15971         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15973 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
15975         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15976         conditional on GCC version.
15977         (__arch_compare_and_exchange_val_8_acq)
15978         (__arch_compare_and_exchange_val_16_acq)
15979         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15980         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15981         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15983 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
15985         * sysdeps/sh/backtrace.c: New file.
15987 2011-12-02  Andreas Schwab  <schwab@redhat.com>
15989         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
15990         parenthesis.
15992 2011-12-01  Andreas Schwab  <schwab@redhat.com>
15994         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15995         falling back to utime.
15997 2011-11-30  Andreas Schwab  <schwab@redhat.com>
15999         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16000         expectations for float.
16002 2011-11-29  Andreas Schwab  <schwab@redhat.com>
16004         * locale/weight.h (findidx): Add parameter len.
16005         * locale/weightwc.h (findidx): Likewise.
16006         * posix/fnmatch_loop.c (FCT): Adjust caller.
16007         * posix/regcomp.c (build_equiv_class): Likewise.
16008         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16009         * posix/regexec.c (check_node_accept_bytes): Likewise.
16010         * string/strcoll_l.c (STRCOLL): Likewise.
16011         * string/strxfrm_l.c (STRXFRM): Likewise.
16013 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
16015         * Makefile.in: Remove CVSOPT handling.
16016         * configure.in: Remove use of AC_REVISION.
16017         * iconvdata/Makefile (distribute): No need to filter out CVS.
16018         * scripts/list-sources.sh: Remove CVS, subversion and monotone
16019         handling.
16021 2011-11-16  Andreas Schwab  <schwab@redhat.com>
16023         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16024         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16025         [USE_AS_STRNCASECMP_L]: Likewise.
16026         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16027         NO_TLS_DIRECT_SEG_REFS.
16028         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16029         Fix argument offsets for non-PIC.
16030         [USE_AS_STRNCASECMP_L]: Likewise.
16031         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16032         NO_TLS_DIRECT_SEG_REFS.
16034 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16036         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16037         O_CLOEXEC.
16038         * locale/loadlocale.c (_nl_load_locale): Likewise.
16040 2011-11-15  Andreas Schwab  <schwab@redhat.com>
16042         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16043         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16044         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16045         (SYSCALL_GETTIME): Set errno on error.
16047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16048         count references to noai6ai_cached.
16050 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
16052         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16054         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16055         FD_CLOEXEC for /proc/self/maps.
16057         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16058         FD_CLOEXEC for /proc/meminfo.
16060         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16061         gai.conf.
16063         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
16064         FD_CLOEXEC for given file.
16066         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16068         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16069         FD_CLOEXEC for /etc/hosts.
16070         (_gethtent): Likewise.
16072         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16074         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16075         cancellation and set FD_CLOEXEC for /etc/netgroup.
16077         * nss/nss_files/files-key.c (search): Don't allow cancellation when
16078         reading /etc/publickey.
16080         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16081         allow cancellation when reading /etc/group.
16083         * nss/nss_files/files-alias.c (internal_setent): Don't allow
16084         cancellation.
16085         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
16087         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16088         when using data file.
16090         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16092         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16093         (write_nis_obj): Use "c" and "e" in fopen.
16095         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16097         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16099         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16101         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16103         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16104         locale.alias.
16106         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16108         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16110         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16112         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16113         file parsing and set FD_CLOEXEC.
16115 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16117         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16119 2011-11-14  Andreas Schwab  <schwab@redhat.com>
16121         * malloc/arena.c (arena_get2): Don't call reused_arena when
16122         _int_new_arena failed.
16124 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
16126         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16127         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16128         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16129         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16130         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16131         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16132         to compile strcasecmp and strncasecmp.
16133         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16134         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16136         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16138 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
16140         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16141         locale-defines.sym to gen-as-const-headers.
16142         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16143         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16145         to compile strcasecmp and strncasecmp.
16146         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16147         strcasecmp_l and strncasecmp_l.
16148         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16149         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16150         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16151         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16152         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16153         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16154         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16155         * sysdeps/i386/i686/multiarch/strncase.S: New file.
16156         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16157         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16158         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16160 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
16162         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16163         result of SYSDEP_GETTIME_CPU to retval.
16164         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16165         parameter list to macro.  Remove trailing semicolon.  Adjust users.
16167         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16168         variable.
16170         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16171         mantissa words.
16172         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16174         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16175         from unused variable.
16177         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16178         DWARF definitions.
16179         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16180         for assembling.
16182         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16183         over namespaces.
16185         * sunrpc/rpc_prot.c (rejected): Fix case value.
16187         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16188         unsigned long long int to avoid warnings in shift.
16190         * posix/regex_internal.c (re_string_reconstruct): Actually use result
16191         of use of trans.
16192         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16193         variable tmp.
16195         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16196         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16197         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16199         * nis/nis_table.c (nis_list): Use variable of correct type for
16200         result of __follow_path call.
16202 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16204         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16205         of math functions ceil, trunc, floor, round, and sqrt, when
16206         avaliable on the platform.
16207         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16208         name clash.
16209         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16210         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16211         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16213 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
16215         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16216         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16218 2011-11-11  Roland McGrath  <roland@hack.frob.com>
16220         * include/unistd.h: Fix __readlink return type.
16221         Reported by Chris Metcalf <cmetcalf@tilera.com>.
16223 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
16225         * stdlib/ucontext.h: Undo last change for makecontext.
16227 2011-11-11  Andreas Schwab  <schwab@redhat.com>
16229         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16231         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16232         * setjmp/setjmp.h: Mark functions as non-leaf.
16233         * setjmp/bits/setjmp2.h: Likewise.
16234         * stdlib/ucontext.h: Likewise.
16236 2011-11-10  Andreas Schwab  <schwab@redhat.com>
16238         * malloc/arena.c (_int_new_arena): Don't increment narenas.
16239         (reused_arena): Don't check arena limit.
16240         (arena_get2): Atomically check arena limit.
16242 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
16244         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16245         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16248         instructions.
16250 2011-11-07  Andreas Schwab  <schwab@redhat.com>
16252         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16253         handler when locking.
16255         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16256         Fix size of allocated buffer.
16258 2011-11-04  Andreas Schwab  <schwab@redhat.com>
16260         [BZ #10103]
16261         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16262         declarations for long double functions.
16263         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16265         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16267 2011-11-03  Andreas Schwab  <schwab@redhat.com>
16269         * nscd/nscd.c (main): Don't start AVC thread until credentials are
16270         installed.
16272         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16273         is disabled.
16275 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16277         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16279 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16281         * include/alloca.h (stackinfo_alloca_round): Define.
16282         (extend_alloca): Use it.
16283         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16284         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16285         here.
16287         * scripts/check-local-headers.sh: Ignore libaudit.h.
16289         * nscd/Makefile (extra-objs): Make recursively expanded.
16291 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
16293         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16296         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16297         * posix/tst-rfc3484-2.c: Likewise.
16298         * posix/tst-rfc3484-3.c: Likewise.
16300         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16301         process_vm_writev.
16302         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16303         process_vm_writev.
16304         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16305         process_vm_writev from libc using GLIBC_2.15 version.
16307         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16309 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
16311         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16312         stack usage.
16314 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
16316         [BZ #13367]
16317         * nss/getent.c (initgroups_keys): Show error message in case no group
16318         names are given.
16320         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16321         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16322         __bump_nl_timestamp.
16323         * nscd/connections (nscd_init): When host database is served open
16324         netlink socket and request notification about configuration changes.
16325         (main_loop_poll): Track netlink file descriptor and bump timestamp
16326         in case data becomes available.
16327         (main_loop_epoll): Likewise.
16328         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16329         (database_pers_head): Add extra_data fileds.
16330         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16331         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16332         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16333         Adjust caller.
16334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16335         in6ai data, call __free_in6ai.
16336         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16337         Add -DHAVE_NETLINK.
16338         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
16339         interface information.  Reuse previous data if netlink timestamp
16340         is not changed.
16341         (__bump_nl_timestamp): New function.
16342         (__free_in6ai): New function.
16344 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
16346         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16347         close_not_cancel_no_status here.
16348         (__check_pf): Reorganize code a bit to not call close twice if OOM.
16350 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16352         [BZ #13276]
16353         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16354         return value.
16356         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16357         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16358         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16360 2011-07-03  Andreas Jaeger  <aj@suse.de>
16362         [BZ #10709]
16363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16364         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16365         * math/libm-test.inc (sin_test): Add test case.
16367 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
16369         [BZ #13337]
16370         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16371         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16373         * elf/chroot_canon.c (chroot_canon): Cleanups.
16375         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16377         [BZ #13335]
16378         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16379         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16381         * string/test-strchr.c: Make usable for strchrnul testing.
16382         * string/test-strchrnul.c: New file.
16383         * string/Makefile (strop-tests): Add strchrnul.
16385         * po/it.po: Update from translation team.
16386         * po/es.po: Likewise.
16388 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
16390         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16391         the three constants needed as parameters.  Drop the others.
16392         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16393         __m128i_strloadu_tolower.
16394         Create and initialize variable zero and use it in all the places
16395         where _mm_setzero_si128 was used.
16397         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16398         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16399         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16400         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16401         anymore.
16402         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16403         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16404         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16405         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16406         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16407         __mpranred, __mptan.
16408         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16409         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16410         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16411         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16412         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16413         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16414         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16415         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16416         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16418 2011-10-28  Andreas Schwab  <schwab@redhat.com>
16420         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16421         redefine if SHARED.
16422         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16425         wide char related routines to wcsmbs subdir.
16427 2011-10-27  Andreas Schwab  <schwab@redhat.com>
16429         [BZ #13344]
16430         * misc/sys/cdefs.h (__THROWNL): Define.
16431         * posix/unistd.h: Use __THREADNL instead of __THREAD
16432         for memory synchronization functions.
16434 2011-10-26  Roland McGrath  <roland@hack.frob.com>
16436         [BZ #13349]
16437         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16438         doesn't exist.
16439         * manual/stdio.texi (Obstack Streams): Node removed.
16441 2011-10-26  Andreas Schwab  <schwab@redhat.com>
16443         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16444         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16445         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16447         * math/math_private.h (math_force_eval): Allow non-addressable
16448         arguments.
16449         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16451 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16453         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16454         file is not needed.
16456         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16458         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16459         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16460         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16461         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16462         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16463         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16464         Add AVX variants.
16465         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16466         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16467         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16468         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16469         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16470         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16471         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16472         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16473         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16474         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16475         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16476         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16478         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16479         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16480         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16481         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16482         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16483         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16485         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16486         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
16488         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16489         place.  Use VEX encoding when compiling for AVX.
16491 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16493         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16494         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16496         * string/test-strchr.c (do_test): Don't generate NUL bytes.
16498 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16500         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16501         useless if() expression.
16502         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16503         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16504         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16505         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16506         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16507         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16508         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16509         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16510         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16511         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16512         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16513         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16514         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16515         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16516         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16517         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16519         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16520         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16522         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16524 2011-10-25  Andreas Schwab  <schwab@redhat.com>
16526         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16527         condition.
16528         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16530 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
16532         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16533         .text section.  Avoid duplicate constants.
16534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16536         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16538         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16542         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16543         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16544         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16545         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16546         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16547         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16548         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16549         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16550         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16551         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16554         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16555         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16556         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16557         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16558         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16559         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16560         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16561         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16562         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16563         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16564         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16565         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16566         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16567         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16568         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16569         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16570         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16571         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16572         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16573         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16574         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16575         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16576         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16577         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16578         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16580 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
16582         * sysdeps/x86_64/dla.h: Move to ...
16583         * sysdeps/x86_64/fpu/dla.h: ...here.
16584         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16585         situations.  Use __builtin_fma only for gcc 4.6 and up.
16587         * config.make.in: Add have-mfma4 entry.
16588         * configure.in: Substitute libc_cv_cc_fma4.
16589         * math/Makefile (dbl-only-routines): Add sincostab.
16590         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16591         Use __sincostab not sincos.
16592         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16593         name is a macro.
16594         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
16598         using __copysign.
16599         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
16600         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
16601         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16602         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16603         and __inv.
16604         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16605         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16606         __copysign.
16607         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
16608         define aliases when function name is a macro.
16609         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16610         sysdeps/ieee754/dbl-64/sincos.tbl.
16611         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16612         fma4-enabled routines.
16613         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16614         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16615         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16616         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16617         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16618         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16620         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16621         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16622         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16623         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16624         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16625         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16626         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16627         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16628         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16629         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16630         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16631         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16632         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16633         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16634         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16635         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16636         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16637         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16638         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16640         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16641         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16642         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16644         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16645         rename.
16646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16647         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16650         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16651         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16652         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16653         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16655 2011-10-24  Andreas Schwab  <schwab@redhat.com>
16657         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16659 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16661         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16663         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16664         prediction.
16665         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16667         * string/strnlen.c: Don't define STRNLEN, reverse logic.
16668         Remove unused variable magic_bits.
16669         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16671         * string/strnlen.c: Define and use STRNLEN macro.
16672         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16673         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16675         * wcsmbs/wcslen.c: Define and use WCSLEN.
16676         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16677         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16678         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16679         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16680         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16681         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16682         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16684 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16687         strnlen-sse2-no-bsf.
16688         Rename strlen-no-bsf to strlen-sse2-no-bsf.
16689         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16690         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16691         Add strnlen support.
16692         (USE_AS_STRNLEN): New macro.
16693         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16694         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16695         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16696         * sysdeps/x86_64/wcslen.S: New file.
16698 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
16700         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16701         XMM-moves are used for copying on small sizes.
16703 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16705         * wcsmbs/Makefile (strop-tests): Add wcschr.
16706         * wcsmbs/test-wcschr.c: New file.
16707         * string/test-strchr.c: Update.
16708         Add wcschr support.
16709         (WIDE): New macro.
16711 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16713         * wcsmbs/Makefile (strop-tests): Add wcslen.
16714         * wcsmbs/test-wcslen.c: New file.
16715         * string/test-strlen.c: Update.
16716         Add wcslen support.
16717         (WIDE): New macro.
16719 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16721         * po/it.po: Update from translation team.
16723 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16725         * sysdeps/x86_64/wcscmp.S: Update.
16726         Fix wrong comparison semantics.
16727         wcscmp shall use signed comparison not unsigned.
16728         Don't use substraction to avoid overflow bug.
16729         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16730         * wcsmbc/wcscmp.c: Likewise.
16731         * string/test-strcmp.c: Likewise.
16732         Add new tests to check cases with negative values.
16734 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
16736         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16737         * sysdeps/x86_64/dla.h: ...here.  New file.
16738         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16739         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16742         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16743         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16746         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16748 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
16750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16751         __ynl_finite aliases.
16753 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16757         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16758         define DLA_FMA.
16759         [DLA_FMA] (EMULV): Use DLA_FMA.
16760         [DLA_FMA] (MUL12): Use EMULV.
16761         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16762         that are not needed.
16763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16771 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
16773         * math/s_nan.c: Undef __nan.
16774         * math/s_nanf.c: Undef __nanf.
16775         * math/s_nanl.c: Undef __nanl.
16776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16777         "math_private.h".
16779 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
16781         * math/s_catan.c: Add branch predictions.
16782         * math/s_catanf.c: Likewise.
16783         * math/s_catanh.c: Likewise.
16784         * math/s_catanhf.c: Likewise.
16785         * math/s_catanhl.c: Likewise.
16786         * math/s_catanl.c: Likewise.
16787         * math/s_cexp.c: Likewise.
16788         * math/s_cexpf.c: Likewise.
16789         * math/s_cexpl.c: Likewise.
16790         * math/s_clog.c: Likewise.
16791         * math/s_clog10.c: Likewise.
16792         * math/s_clog10f.c: Likewise.
16793         * math/s_clog10l.c: Likewise.
16794         * math/s_clogf.c: Likewise.
16795         * math/s_clogl.c: Likewise.
16796         * math/s_csqrt.c: Likewise.
16797         * math/s_csqrtf.c: Likewise.
16798         * math/s_csqrtl.c: Likewise.
16799         * math/s_ctanf.c: Likewise.
16800         * math/s_ctanh.c: Likewise.
16801         * math/s_ctanhf.c: Likewise.
16802         * math/s_ctanhl.c: Likewise.
16803         * math/s_ctanl.c: Likewise.
16805         * math/math_private.h: Define __nan, __nanf, __nanl.
16806         * math/s_cacosh.c: Include <math_private.h>.
16807         * math/s_cacoshl.c: Likewise.
16808         * math/s_casinh.c: Likewise.
16809         * math/s_casinhf.c: Likewise.
16810         * math/s_casinhl.c: Likewise.
16811         * math/s_ccos.c: Rely entire on ccosh.
16812         * math/s_ccosf.c: Rely entire on ccoshf.
16813         * math/s_ccosl.c: Rely entirely on ccoshl.
16814         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
16815         Remove tests for FE_INVALID.
16816         * math/s_ccoshf.c: Likewise.
16817         * math/s_ccoshl.c: Likewise.
16818         * math/s_csin.c: Likewise.
16819         * math/s_csinf.c: Likewise.
16820         * math/s_csinh.c Likewise.
16821         * math/s_csinhf.c: Likewise.
16822         * math/s_csinhl.c: Likewise.
16823         * math/s_csinl.c: Likewise.
16824         * math/s_ctan.c: Likewise.
16825         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16826         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16829 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
16831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16832         compilation problems.
16834         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16835         __builtin_expect.
16837 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
16839         * sysdeps/i386/configure.in: Test for -mfma4 option.
16840         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16841         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16842         COMMON_CPUID_INDEX_80000001.
16843         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16844         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16845         use it if FMA3 is not supported.
16846         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16848         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16849         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16851 2011-10-20  Andreas Schwab  <schwab@redhat.com>
16853         [BZ #12892]
16854         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16855         it would create a cycle with a link time dependency.
16857 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
16859         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16860         instruction.
16861         * string/Makefile (strop-tests): Add rawmemchr.
16862         * string/test-rawmemchr.c: New file.
16864         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16865         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
16866         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
16867         when compiling str{,n}casecmp and when AVX is available.  Hook up
16868         new optimized code in initializers.
16870 2011-10-19  Andreas Schwab  <schwab@redhat.com>
16872         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16873         __feraiseexcept instead of feraiseexcept.
16875 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
16877         * math/math_private.h: Define defaults for libc_fetestexcept and
16878         libc_feupdateenv.
16879         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16880         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16881         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16882         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16883         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16884         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16885         libc_fetestexcept and libc_feupdateenv.
16887         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16888         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16889         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16890         * sysdeps/x86_64/fpu/math_private.h: Define special version of
16891         libc_feholdexcept_setround.
16893         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16894         Add s_nearbyint-c and s_nearbyintf-c.
16895         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16896         nearbyintf inlines.
16897         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16898         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16899         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16900         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16902         * math/math_private.h: Define defaults for libc_fegetround,
16903         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16904         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16905         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16906         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16907         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16908         standard functions.
16909         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16910         Remove comments and hacks for old compiler versions.
16911         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16912         libc_fegetround, libc_fesetround, libc_feholdexcept, and
16913         libc_feholdexceptl.
16915 2011-10-18  Andreas Schwab  <schwab@redhat.com>
16917         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
16918         (__feraiseexcept_renamed): Add __NTH.
16919         (feraiseexcept): Add __NTH.  Rename local variables to fix
16920         namespace violations.
16922 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
16924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16926         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16928         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16929         recently added interfaces.
16930         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16932         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16933         about macro parameter expansion.
16935         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16936         __NO_MATH_INLINES is defined.  Cleanups.
16938         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16939         and __floorf is target has SSE4.1.
16940         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16941         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16942         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16943         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16945         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16946         name.
16947         (floorf): Likewise.
16949         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16951 2011-10-17  Andreas Schwab  <schwab@redhat.com>
16953         * misc/sys/cdefs.h: Fix last change.
16955         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16956         database lookup.
16958 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
16960         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16962         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16964         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16965         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16966         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16967         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16968         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16969         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16970         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16971         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16972         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16973         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16974         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16975         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16976         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16977         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16978         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16979         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16980         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16981         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16982         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16983         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16985         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16986         ceil, ceilf, floor, floorf.
16988         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16989         Perform IRELATIVE relocations last.
16991         * elf/do-rel.h: Add another parameter nrelative, replacing the
16992         local variable with the same name.  Change name of the function
16993         to end in Rel or Rela (uppercase).
16994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16995         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
16996         elf_dynamic_do_##reloc function.
16998 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17000         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17001         is sufficient, at least on modern CPUs.
17003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17005         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17006         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17008         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17009         __expl_finite.
17010         * math/bits/math-finite.h: Add entries for exp.
17011         * math/e_expl.c: Add __*_finite alias.
17012         * sysdeps/i386/fpu/e_exp.S: Likewise.
17013         * sysdeps/i386/fpu/e_expf.S: Likewise.
17014         * sysdeps/i386/fpu/e_expl.c: Likewise.
17015         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17016         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17017         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17018         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17019         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17020         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17021         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17023         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17024         is sufficient, at least on modern CPUs.
17026         * ctype/ctype-info.c (__ctype_init): Define.
17027         * include/ctype.h (__ctype_init): Declare.
17028         (__ctype_b_loc): The variable is always initialized.
17029         (__ctype_toupper_loc): Likewise.
17030         (__ctype_tolower_loc): Likewise.
17031         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17032         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17034 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
17036         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17038         * configure.in: Also look in $cxxmachine/include for C++ system
17039         headers.
17041 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17043         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17044         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17045         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17046         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
17047         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17048         (USE_AS_WMEMCMP): New macro.
17049         Fixing indents.
17050         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17051         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17052         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17053         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17055         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17056         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17057         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17058         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17059         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17060         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17061         (USE_AS_WMEMCMP): New macro.
17062         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17063         * sysdeps/string/test-memcmp.c: Update.
17064         Fix simple_wmemcmp.
17065         Add new tests.
17066         * wcsmbs/wmemcmp.c: Update.
17067         (WMEMCMP): New macro.
17068         Fix overflow bug.
17070 2011-10-12  Andreas Jaeger  <aj@suse.de>
17072         [BZ #13268]
17073         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17075 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
17077         * libio/iofwide.c (do_length): Avoid warning.
17079         * ctype/ctype.h (__isctype_f): Add missing __THROW.
17081 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
17083         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17085         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17086         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17087         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17088         * sysdeps/i386/i686/fpu/e_log.S: New file.
17089         * sysdeps/i386/i686/fpu/e_logf.S: New file.
17090         * sysdeps/i386/i686/fpu/e_logl.S: New file.
17092         * ctype/ctype.h: Add support for inlined isXXX functions when
17093         compiling C++ code.
17095 2011-10-14  Andreas Schwab  <schwab@redhat.com>
17097         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17099         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17101 2011-10-13  Roland McGrath  <roland@hack.frob.com>
17103         [BZ #13291]
17104         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17106 2011-10-13  Andreas Schwab  <schwab@redhat.com>
17108         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17109         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17110         feraiseexcept.
17112         * sysdeps/x86_64/memrchr.S: Check for zero size.
17114         * string/stratcliff.c: Add memrchr tests.
17116 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17119         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17120         rawmemchr-sse2 rawmemchr-sse2-bsf.
17121         * sysdeps/i386/i686/multiarch/memchr.S: New file.
17122         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17123         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17124         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17125         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17126         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17127         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17128         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17129         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17130         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17131         * string/memrchr.c (MEMRCHR): New macro.
17133 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
17135         Add integration with gcc's -ffinite-math-only and optimize wrapper
17136         functions in libm.
17137         * Versions.def: Define GLIBC_2.15 version for libm.
17138         * math/Makefile (headers): Add bits/math-finite.h.
17139         * math/bits/math-finite.h: New file.
17140         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17141         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17142         * math/e_acoshl.c: Add __*_finite alias.
17143         * math/e_acosl.c: Likewise.
17144         * math/e_asinl.c: Likewise.
17145         * math/e_atan2l.c: Likewise.
17146         * math/e_atanhl.c: Likewise.
17147         * math/e_coshl.c: Likewise.
17148         * math/e_exp10.c: Likewise.
17149         * math/e_exp10f.c: Likewise.
17150         * math/e_exp10l.c: Likewise.
17151         * math/e_exp2l.c: Likewise.
17152         * math/e_fmodl.c: Likewise.
17153         * math/e_gammal_r.c: Likewise.
17154         * math/e_hypotl.c: Likewise.
17155         * math/e_j0l.c: Likewise.
17156         * math/e_j1l.c: Likewise.
17157         * math/e_jnl.c: Likewise.
17158         * math/e_lgammal_r.c: Likewise.
17159         * math/e_log10l.c: Likewise.
17160         * math/e_log2l.c: Likewise.
17161         * math/e_logl.c: Likewise.
17162         * math/e_powl.c: Likewise.
17163         * math/e_sinhl.c: Likewise.
17164         * math/e_sqrtl.c: Likewise.
17165         * math/e_scalb.c: Completely rewritten and optimized.
17166         * math/e_scalbf.c: Likewise.
17167         * math/e_scalbl.c: Likewise.
17168         * math/w_acos.c: Likewise.
17169         * math/w_acosf.c: Likewise.
17170         * math/w_acosl.c: Likewise.
17171         * math/w_acosh.c: Likewise.
17172         * math/w_acoshf.c: Likewise.
17173         * math/w_acoshl.c: Likewise.
17174         * math/w_asin.c: Likewise.
17175         * math/w_asinf.c: Likewise.
17176         * math/w_asinl.c: Likewise.
17177         * math/w_atan2.c: Likewise.
17178         * math/w_atan2f.c: Likewise.
17179         * math/w_atan2l.c: Likewise.
17180         * math/w_atanh.c: Likewise.
17181         * math/w_atanhf.c: Likewise.
17182         * math/w_atanhl.c: Likewise.
17183         * math/w_exp10.c: Likewise.
17184         * math/w_exp10f.c: Likewise.
17185         * math/w_exp10l.c: Likewise.
17186         * math/w_fmod.c: Likewise.
17187         * math/w_fmodf.c: Likewise.
17188         * math/w_fmodl.c: Likewise.
17189         * math/w_j0.c: Likewise.
17190         * math/w_j0f.c: Likewise.
17191         * math/w_j0l.c: Likewise.
17192         * math/w_j1.c: Likewise.
17193         * math/w_j1f.c: Likewise.
17194         * math/w_j1l.c: Likewise.
17195         * math/w_jn.c: Likewise.
17196         * math/w_jnf.c: Likewise.
17197         * math/w_log.c: Likewise.
17198         * math/w_logf.c: Likewise.
17199         * math/w_logl.c: Likewise.
17200         * math/w_log10.c: Likewise.
17201         * math/w_log10f.c: Likewise.
17202         * math/w_log10l.c: Likewise.
17203         * math/w_log2.c: Likewise.
17204         * math/w_log2f.c: Likewise.
17205         * math/w_log2l.c: Likewise.
17206         * math/w_pow.c: Likewise.
17207         * math/w_powf.c: Likewise.
17208         * math/w_powl.c: Likewise.
17209         * math/w_remainder.c: Likewise.
17210         * math/w_remainderf.c: Likewise.
17211         * math/w_remainderl.c: Likewise.
17212         * math/w_scalb.c: Likewise.
17213         * math/w_scalbf.c: Likewise.
17214         * math/w_scalbl.c: Likewise.
17215         * math/w_sqrt.c: Likewise.
17216         * math/w_sqrtf.c: Likewise.
17217         * math/w_sqrtl.c: Likewise.
17218         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17219         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
17220         used.
17221         * math/math_private.h: Declare __kernel_standard_f.
17222         * math/w_cosh.c: Remove cruft and optimize a bit.
17223         * math/w_coshf.c: Likewise.
17224         * math/w_coshl.c: Likewise.
17225         * math/w_exp2.c: Likewise.
17226         * math/w_exp2f.c: Likewise.
17227         * math/w_exp2l.c: Likewise.
17228         * math/w_hypot.c: Likewise.
17229         * math/w_hypotf.c: Likewise.
17230         * math/w_hypotl.c: Likewise.
17231         * math/w_lgamma.c: Likewise.
17232         * math/w_lgamma_r.c: Likewise.
17233         * math/w_lgammaf.c: Likewise.
17234         * math/w_lgammaf_r.c: Likewise.
17235         * math/w_lgammal.c: Likewise.
17236         * math/w_lgammal_r.c: Likewise.
17237         * math/w_sinh.c: Likewise.
17238         * math/w_sinhf.c: Likewise.
17239         * math/w_sinhl.c: Likewise.
17240         * math/w_tgamma.c: Likewise.
17241         * math/w_tgammaf.c: Likewise.
17242         * math/w_tgammal.c: Likewise.
17243         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17244         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17245         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17246         Minor optimizations.  Pretty printing.  Remove cruft.
17247         * sysdeps/i386/fpu/e_acosf.S: Likewise.
17248         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17249         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17250         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17251         * sysdeps/i386/fpu/e_acosl.c: Likewise.
17252         * sysdeps/i386/fpu/e_asin.S: Likewise.
17253         * sysdeps/i386/fpu/e_asinf.S: Likewise.
17254         * sysdeps/i386/fpu/e_atan2.S: Likewise.
17255         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17256         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17257         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17258         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17259         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17260         * sysdeps/i386/fpu/e_exp10.S: Likewise.
17261         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17262         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17263         * sysdeps/i386/fpu/e_exp2.S: Likewise.
17264         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17265         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17266         * sysdeps/i386/fpu/e_fmod.S: Likewise.
17267         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17268         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17269         * sysdeps/i386/fpu/e_hypot.S: Likewise.
17270         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17271         * sysdeps/i386/fpu/e_log.S: Likewise.
17272         * sysdeps/i386/fpu/e_log10.S: Likewise.
17273         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17274         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17275         * sysdeps/i386/fpu/e_log2.S: Likewise.
17276         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17277         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17278         * sysdeps/i386/fpu/e_logf.S: Likewise.
17279         * sysdeps/i386/fpu/e_logl.S: Likewise.
17280         * sysdeps/i386/fpu/e_pow.S: Likewise.
17281         * sysdeps/i386/fpu/e_powf.S: Likewise.
17282         * sysdeps/i386/fpu/e_powl.S: Likewise.
17283         * sysdeps/i386/fpu/e_remainder.S: Likewise.
17284         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17285         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17286         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17287         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17288         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17289         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17290         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17291         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17292         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17293         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17295         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17296         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17297         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17298         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17299         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17300         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17301         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17302         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17305         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17306         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17308         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17309         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17312         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17313         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17314         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17315         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17316         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17317         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17318         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17319         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17320         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17321         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17322         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17323         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17324         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17325         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17326         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17327         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17328         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17329         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17330         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17331         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17332         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17333         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17334         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17335         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17337         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17338         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17339         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17340         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17341         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17342         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17343         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17347         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17348         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17349         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17350         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17351         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17352         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17353         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17354         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17355         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17356         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17357         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17359         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17360         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17361         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17362         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17363         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17364         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17366         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17368         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17369         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17370         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17371         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17372         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17373         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17375         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17376         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17377         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17378         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17379         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17380         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17381         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17382         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17383         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17384         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17385         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17386         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17387         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17388         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17389         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17390         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17391         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17392         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17393         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17394         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17395         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17396         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17397         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17398         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17399         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17400         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17401         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17402         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
17403         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17404         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17405         (__isnanf): Likewise.
17406         (__isinf_ns): Likewise.
17407         (__isinf_nsf): Likewise.
17408         (__finite): Likewise.
17409         (__finitef): Likewise.
17410         (__ieee754_sqrt): Define as macro.
17411         (__ieee754_sqrtf): Define as macro.
17412         (__ieee754_sqrtl): Define as macro.
17413         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17414         inlined copy.
17415         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17416         __FINITE_MATH_ONLY__ consistent.
17417         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17419 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
17421         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17422         of rawmemchr.
17424         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17426 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
17428         * po/ja.po: Update from translation team.
17430 2011-10-08  Roland McGrath  <roland@hack.frob.com>
17432         * locale/programs/locarchive.c (prepare_address_space): New function.
17433         (create_archive, enlarge_archive, open_archive): Use it.
17435         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17436         inside [SHARED], where it is used.
17438         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17440         * nss/getent.c (netgroup_keys): Remove unused variable.
17441         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17443 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
17445         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17446         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17448         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17449         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17450         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17451         * math/Makefile (libm-calls): Add s_isinf_ns.
17452         * math/divtc3.c: Use __isinf_nsl instead of isinf.
17453         * math/multc3.c: Likewise.
17454         * math/s_casin.c: Likewise.
17455         * math/s_casinf.c: Likewise.
17456         * math/s_casinl.c: Likewise.
17457         * math/s_ccos.c: Likewise.
17458         * math/s_ccosf.c: Likewise.
17459         * math/s_ccosl.c: Likewise.
17460         * math/s_ctan.c: Likewise.
17461         * math/s_ctanf.c: Likewise.
17462         * math/s_ctanh.c: Likewise.
17463         * math/s_ctanhf.c: Likewise.
17464         * math/s_ctanhl.c: Likewise.
17465         * math/s_ctanl.c: Likewise.
17466         * math/w_fmod.c: Likewise.
17467         * math/w_fmodf.c: Likewise.
17468         * math/w_fmodl.c: Likewise.
17469         * math/w_remainder.c: Likewise.
17470         * math/w_remainderf.c: Likewise.
17471         * math/w_remainderl.c: Likewise.
17472         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17473         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17474         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17476         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17477         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17478         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17479         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17481         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17482         of the number.
17483         * stdio-common/printf_fphex.c: Likewise.
17484         * stdio-common/printf_size.c: Likewise.
17486         * math/e_exp10.c: Include math_private.h using <...> not "...".
17487         * math/e_exp10f.c: Likewise.
17488         * math/e_exp10l.c: Likewise.
17489         * math/e_exp2l.c: Likewise.
17490         * math/e_j0l.c: Likewise.
17491         * math/e_j1l.c: Likewise.
17492         * math/e_jnl.c: Likewise.
17493         * math/e_lgammal_r.c: Likewise.
17494         * math/e_rem_pio2l.c: Likewise.
17495         * math/e_scalb.c: Likewise.
17496         * math/e_scalbf.c: Likewise.
17497         * math/e_scalbl.c: Likewise.
17498         * math/k_cosl.c: Likewise.
17499         * math/k_sinl.c: Likewise.
17500         * math/k_tanl.c: Likewise.
17501         * math/s_cacoshf.c: Likewise.
17502         * math/s_catan.c: Likewise.
17503         * math/s_catanf.c: Likewise.
17504         * math/s_catanh.c: Likewise.
17505         * math/s_catanhf.c: Likewise.
17506         * math/s_catanhl.c: Likewise.
17507         * math/s_catanl.c: Likewise.
17508         * math/s_ccosh.c: Likewise.
17509         * math/s_ccoshf.c: Likewise.
17510         * math/s_ccoshl.c: Likewise.
17511         * math/s_cexp.c: Likewise.
17512         * math/s_cexpf.c: Likewise.
17513         * math/s_cexpl.c: Likewise.
17514         * math/s_clog.c: Likewise.
17515         * math/s_clog10.c: Likewise.
17516         * math/s_clog10f.c: Likewise.
17517         * math/s_clog10l.c: Likewise.
17518         * math/s_clogf.c: Likewise.
17519         * math/s_clogl.c: Likewise.
17520         * math/s_csin.c: Likewise.
17521         * math/s_csinf.c: Likewise.
17522         * math/s_csinh.c: Likewise.
17523         * math/s_csinhf.c: Likewise.
17524         * math/s_csinhl.c: Likewise.
17525         * math/s_csinl.c: Likewise.
17526         * math/s_csqrt.c: Likewise.
17527         * math/s_csqrtf.c: Likewise.
17528         * math/s_csqrtl.c: Likewise.
17529         * math/s_ctan.c: Likewise.
17530         * math/s_ctanf.c: Likewise.
17531         * math/s_ctanh.c: Likewise.
17532         * math/s_ctanhf.c: Likewise.
17533         * math/s_ctanhl.c: Likewise.
17534         * math/s_ctanl.c: Likewise.
17535         * math/s_ldexp.c: Likewise.
17536         * math/s_ldexpf.c: Likewise.
17537         * math/s_ldexpl.c: Likewise.
17538         * math/s_significand.c: Likewise.
17539         * math/s_significandf.c: Likewise.
17540         * math/s_significandl.c: Likewise.
17541         * math/w_acos.c: Likewise.
17542         * math/w_acosf.c: Likewise.
17543         * math/w_acosh.c: Likewise.
17544         * math/w_acoshf.c: Likewise.
17545         * math/w_acoshl.c: Likewise.
17546         * math/w_acosl.c: Likewise.
17547         * math/w_asin.c: Likewise.
17548         * math/w_asinf.c: Likewise.
17549         * math/w_asinl.c: Likewise.
17550         * math/w_atan2.c: Likewise.
17551         * math/w_atan2f.c: Likewise.
17552         * math/w_atan2l.c: Likewise.
17553         * math/w_atanh.c: Likewise.
17554         * math/w_atanhf.c: Likewise.
17555         * math/w_atanhl.c: Likewise.
17556         * math/w_cosh.c: Likewise.
17557         * math/w_coshf.c: Likewise.
17558         * math/w_coshl.c: Likewise.
17559         * math/w_dremf.c: Likewise.
17560         * math/w_exp10.c: Likewise.
17561         * math/w_exp10f.c: Likewise.
17562         * math/w_exp10l.c: Likewise.
17563         * math/w_exp2.c: Likewise.
17564         * math/w_exp2f.c: Likewise.
17565         * math/w_fmod.c: Likewise.
17566         * math/w_fmodf.c: Likewise.
17567         * math/w_fmodl.c: Likewise.
17568         * math/w_hypot.c: Likewise.
17569         * math/w_hypotf.c: Likewise.
17570         * math/w_hypotl.c: Likewise.
17571         * math/w_j0.c: Likewise.
17572         * math/w_j0f.c: Likewise.
17573         * math/w_j0l.c: Likewise.
17574         * math/w_j1.c: Likewise.
17575         * math/w_j1f.c: Likewise.
17576         * math/w_j1l.c: Likewise.
17577         * math/w_jn.c: Likewise.
17578         * math/w_jnf.c: Likewise.
17579         * math/w_jnl.c: Likewise.
17580         * math/w_lgamma.c: Likewise.
17581         * math/w_lgamma_r.c: Likewise.
17582         * math/w_lgammaf.c: Likewise.
17583         * math/w_lgammaf_r.c: Likewise.
17584         * math/w_lgammal.c: Likewise.
17585         * math/w_lgammal_r.c: Likewise.
17586         * math/w_log.c: Likewise.
17587         * math/w_log10.c: Likewise.
17588         * math/w_log10f.c: Likewise.
17589         * math/w_log10l.c: Likewise.
17590         * math/w_log2.c: Likewise.
17591         * math/w_log2f.c: Likewise.
17592         * math/w_log2l.c: Likewise.
17593         * math/w_logf.c: Likewise.
17594         * math/w_logl.c: Likewise.
17595         * math/w_pow.c: Likewise.
17596         * math/w_powf.c: Likewise.
17597         * math/w_powl.c: Likewise.
17598         * math/w_remainder.c: Likewise.
17599         * math/w_remainderf.c: Likewise.
17600         * math/w_remainderl.c: Likewise.
17601         * math/w_scalb.c: Likewise.
17602         * math/w_scalbf.c: Likewise.
17603         * math/w_scalbl.c: Likewise.
17604         * math/w_sinh.c: Likewise.
17605         * math/w_sinhf.c: Likewise.
17606         * math/w_sinhl.c: Likewise.
17607         * math/w_sqrt.c: Likewise.
17608         * math/w_sqrtf.c: Likewise.
17609         * math/w_sqrtl.c: Likewise.
17610         * math/w_tgamma.c: Likewise.
17611         * math/w_tgammaf.c: Likewise.
17612         * math/w_tgammal.c: Likewise.
17614         * po/ja.po: Update from translation team.
17616 2011-09-29  Andreas Jaeger  <aj@suse.de>
17618         [BZ #13179]
17619         * sunrpc/netname.c (netname2host): Fix logic.
17621         [BZ #6779]
17622         [BZ #6783]
17623         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17624         correctly.
17625         * math/w_remainder.c (__remainder): Likewise.
17626         * math/w_remainderf.c (__remainderf): Likewise.
17627         * math/libm-test.inc (remainder_test): Add test cases.
17629 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17631         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
17632         sdiv_qrnnd.
17634 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17636         * string/test-memcmp.c: Avoid unncessary #defines.
17637         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17639 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17641         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17642         Use new sse2 version for core i3 - i7 as it's faster
17643         than sse42 version.
17644         (bit_Prefer_PMINUB_for_stringop): New.
17645         * sysdeps/x86_64/rawmemchr.S: Update.
17646         Replace with faster SSE2 version.
17647         * sysdeps/x86_64/memrchr.S: New file.
17648         * sysdeps/x86_64/memchr.S: Update.
17649         Replace with faster SSE2 version.
17651 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
17653         * elf/dl-load.c (lose): Add cast to avoid warning.
17655 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
17657         * po/ca.po: Update from translation team.
17659         * inet/getnetgrent_r.c: Hook up nscd.
17660         * nscd/Makefile (routines): Add nscd_netgroup.
17661         (nscd-modules): Add netgroupcache.
17662         (CFLAGS-netgroupcache.c): Define.
17663         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17664         (cache_search): Add const to second parameter.
17665         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17666         INNETGR.
17667         (dbs): Add netgrdb entry.
17668         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17669         (verify_persistent_db): Handle netgrdb.
17670         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17671         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17672         GETFDNETGR.
17673         (netgroup_response_header): Define.
17674         (innetgroup_response_header): Define.
17675         (datahead): Add netgroup_response_header and innetgroup_response_header
17676         elements.
17677         * nscd/nscd.conf: Add entries for netgroup cache.
17678         * nscd/nscd.h (dbtype): Add netgrdb.
17679         (_PATH_NSCD_NETGROUP_DB): Define.
17680         (netgroup_iov_disabled): Declare.
17681         (xmalloc, xcalloc, xrealloc): Move declarations here.
17682         (cache_search): Adjust prototype.
17683         Add netgroup-related prototypes.
17684         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17685         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17686         (__nscd_innetgr): Declare.
17687         * nscd/selinux.c (perms): Use access_vector_t as element type and
17688         add netgroup-related initializers.
17689         * nscd/netgroupcache.c: New file.
17690         * nscd/nscd_netgroup.c: New file.
17691         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17692         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17693         For four parameters use innetgr.
17694         * nss/nss_files/files-init.c: Add definition and callback for netgr.
17695         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17696         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17697         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17699         * nscd/connections.c (register_traced_file): Don't register file
17700         for disabled databases.
17702 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
17704         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17706         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17707         from tree and freeing node.
17709 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
17711         * nss/nsswitch.c (__nss_database_lookup): Handle
17712         nss_parse_service_list out of memory case.
17714 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
17716         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17717         out of memory case.
17719 2011-10-04  Andreas Schwab  <schwab@redhat.com>
17721         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17722         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17723         pass it down.
17724         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17725         elf_machine_rela, elf_machine_lazy_rel.
17726         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17727         (ELF_DYNAMIC_DO_REL): Likewise.
17728         (ELF_DYNAMIC_DO_RELA): Likewise.
17729         (ELF_DYNAMIC_RELOCATE): Likewise.
17730         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17731         to ELF_DYNAMIC_DO_REL.
17732         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17733         (dl_main): In trace mode always set __RTLD_NOIFUNC.
17734         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17735         elf_machine_rela.
17736         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17737         skip_ifunc, don't call ifunc function if non-zero.
17738         (elf_machine_rela): Likewise.
17739         (elf_machine_lazy_rel): Likewise.
17740         (elf_machine_lazy_rela): Likewise.
17741         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17742         (elf_machine_lazy_rel): Likewise.
17743         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17744         Likewise.
17745         (elf_machine_lazy_rel): Likewise.
17746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17747         Likewise.
17748         (elf_machine_lazy_rel): Likewise.
17749         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17750         (elf_machine_lazy_rel): Likewise.
17751         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17752         (elf_machine_lazy_rel): Likewise.
17753         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17754         (elf_machine_lazy_rel): Likewise.
17755         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17756         (elf_machine_lazy_rel): Likewise.
17757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17758         (elf_machine_lazy_rel): Likewise.
17759         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17760         (elf_machine_lazy_rel): Likewise.
17762 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
17764         * nss/nss_files/files-init.c (_nss_files_init): Use static
17765         initialization for all the *_traced_file variables.
17767 2011-09-28  Andreas Schwab  <schwab@redhat.com>
17769         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17771 2011-09-27  Roland McGrath  <roland@hack.frob.com>
17773         [BZ #13226]
17774         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17776 2011-09-27  Andreas Schwab  <schwab@redhat.com>
17778         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17779         Reread the line before reparsing it.
17781 2011-09-26  Andreas Schwab  <schwab@redhat.com>
17783         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17785 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
17786             Maxim Kuvyrkov  <maxim@codesourcery.com>
17787             Joseph Myers  <joseph@codesourcery.com>
17789         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17790         if needed for __stack_chk_guard.
17792 2011-09-19  Roland McGrath  <roland@hack.frob.com>
17794         * sysdeps/posix/spawni.c (script_execute): Always define it.
17795         It will be optimized away if unused.
17796         (maybe_script_execute): New function.
17797         (__spawni): Call it.
17799         * Makerules: Don't include tls.make.
17800         (config-tls): Always set to thread.
17801         * tls.make.c: File removed.
17803 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
17805         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17806         * config.make.in (CPPFLAGS-config): New substituted variable.
17808 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17810         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17812         [BZ #13192]
17813         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17814         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17816 2011-09-15  Roland McGrath  <roland@hack.frob.com>
17818         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17819         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17820         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17821         (CALL_FAIL): Likewise.
17822         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17823         (CALL_FAIL): Macro removed.
17824         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17826 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
17828         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17829         for __FINITE_MATH_ONLY__ == 1.
17831 2011-09-15  Andreas Schwab  <schwab@redhat.com>
17833         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17834         __ieee754_sqrt instead of sqrt.
17835         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17836         __ieee754_sqrtf instead of sqrtf.
17837         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17838         __floorf instead of floorf.
17839         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17840         __floorf, __truncf instead of floorf, truncf.
17842 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
17844         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17846         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17847         __extern_always_inline.
17848         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17849         32-bit.
17851 2011-09-14  Andreas Schwab  <schwab@redhat.com>
17853         * elf/rtld.c (dl_main): Also relocate in dependency order when
17854         doing symbol dependency testing.
17856 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
17858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17859         Always define `refsym'.
17861 2011-09-13  Andreas Schwab  <schwab@redhat.com>
17863         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17864         (__FD_ELT): Renamed from __FDELT.
17865         * misc/bits/select2.h (__FD_ELT): Likewise.
17866         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17867         __FD_MASK instead of __FDELT, __FDMASK.
17868         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17869         Likewise.
17870         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17871         Likewise.
17873         * elf/Makefile (gen-ldd): Fix pattern.
17875         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17876         (init_tls): Likewise.
17878 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
17880         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17882 2011-09-12  Andreas Schwab  <schwab@redhat.com>
17884         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17885         `struct cmsghdr *' instead of `void *'.
17886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17887         Likewise.
17889 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
17891         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17892         if non-absolute.
17893         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17894         ldd_rewrite_script.
17896 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
17898         * configure.in: Remove --with-tls option.
17899         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17900         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17901         out in case it is missing.
17902         * sysdeps/ia64/elf/configure.in: Likewise.
17903         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17904         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17905         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17906         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17907         * sysdeps/sh/elf/configure.in: Likewise.
17908         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17909         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17910         * sysdeps/x86_64/elf/configure.in: Likewise.
17911         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17912         * sysdeps/mach/hurd/tls.h: Likewise.
17914         [BZ #13067]
17915         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17917         [BZ #13090]
17918         * configure.in: Fix use of AC_INIT.
17920         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17922 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
17924         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17925         __set_errno.
17926         * malloc/hooks.c: Likewise.
17928         [BZ #11929]
17929         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
17930         variables statically.
17931         (narenas): Initialize.
17932         (list_lock): Initialize.
17933         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
17934         initializtion of main_arena and list_lock.  Small cleanups.
17935         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17936         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
17937         Add initializers to main_arena and mp_.
17938         (malloc_state): Remove pagesize member.  Change all users to use
17939         GLRO(dl_pagesize).
17941         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17942         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
17943         is always initialized.
17945         * malloc/malloc.c: Removed unused configurations and dead code.
17946         * malloc/arena.c: Likewise.
17947         * malloc/hooks.c: Likewise.
17948         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
17950         * include/tls.h: Removed.  USE___THREAD must always be defined.
17951         * bits/libc-tsd.h: Don't handle !USE___THREAD.
17952         * elf/dl-libc.c: Likewise.
17953         * elf/dl-tsd.c: Likewise.
17954         * include/errno.h: Likewise.
17955         * include/netdb.h: Likewise.
17956         * include/resolv.h: Likewise.
17957         * inet/herrno-loc.c: Likewise.
17958         * inet/herrno.c: Likewise.
17959         * malloc/arena.c: Likewise.
17960         * malloc/hooks.c: Likewise.
17961         * malloc/malloc.c: Likewise.
17962         * resolv/res-state.c: Likewise.
17963         * resolv/res_libc.c: Likewise.
17964         * sysdeps/i386/dl-machine.h: Likewise.
17965         * sysdeps/ia64/dl-machine.h: Likewise.
17966         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17967         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17968         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17969         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17970         * sysdeps/sh/dl-machine.h: Likewise.
17971         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17972         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17973         * sysdeps/unix/i386/sysdep.S: Likewise.
17974         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17975         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17980         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17982         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17984         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17985         * sysdeps/x86_64/dl-machine.h: Likewise.
17986         * tls.make.c: Likewise.
17988         * configure.in: Remove --with-__thread option.  Make tests for
17989         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17990         tls_model attribute fail if no support is available.  Remove
17991         USE_IN_LIBIO.
17992         * Makeconfig: Adjust for dropped configure option.  All features are
17993         now mandatory.
17994         * Makerules: Likewise.
17995         * Versions.def: Likewise.
17996         * argp/argp-fmtstream.c: Likewise.
17997         * argp/argp-fmtstream.h: Likewise.
17998         * argp/argp-help.c: Likewise.
17999         * assert/assert.c: Likewise.
18000         * config.h.in: Likewise.
18001         * config.make.in: Likewise.
18002         * configure: Likewise.
18003         * configure.in: Likewise.
18004         * csu/Versions: Likewise.
18005         * csu/init.c: Likewise.
18006         * elf/tst-audit2.c: Likewise.
18007         * elf/tst-tls10.c: Likewise.
18008         * elf/tst-tls10.h: Likewise.
18009         * elf/tst-tls11.c: Likewise.
18010         * elf/tst-tls12.c: Likewise.
18011         * elf/tst-tls14.c: Likewise.
18012         * elf/tst-tlsmod11.c: Likewise.
18013         * elf/tst-tlsmod12.c: Likewise.
18014         * elf/tst-tlsmod13.c: Likewise.
18015         * elf/tst-tlsmod13a.c: Likewise.
18016         * elf/tst-tlsmod14a.c: Likewise.
18017         * elf/tst-tlsmod15b.c: Likewise.
18018         * elf/tst-tlsmod16a.c: Likewise.
18019         * elf/tst-tlsmod16b.c: Likewise.
18020         * elf/tst-tlsmod7.c: Likewise.
18021         * elf/tst-tlsmod8.c: Likewise.
18022         * elf/tst-tlsmod9.c: Likewise.
18023         * gmon/gmon.c: Likewise.
18024         * grp/fgetgrent_r.c: Likewise.
18025         * grp/putgrent.c: Likewise.
18026         * hurd/fopenport.c: Likewise.
18027         * include/libc-symbols.h: Likewise.
18028         * include/tls.h: Likewise.
18029         * intl/gettextP.h: Likewise.
18030         * intl/loadinfo.h: Likewise.
18031         * locale/global-locale.c: Likewise.
18032         * locale/localeinfo.h: Likewise.
18033         * mach/devstream.c: Likewise.
18034         * malloc/arena.c: Likewise.
18035         * malloc/set-freeres.c: Likewise.
18036         * misc/err.c: Likewise.
18037         * misc/getttyent.c: Likewise.
18038         * misc/mntent_r.c: Likewise.
18039         * posix/getopt.c: Likewise.
18040         * posix/wordexp.c: Likewise.
18041         * pwd/fgetpwent_r.c: Likewise.
18042         * resolv/Versions: Likewise.
18043         * resolv/res_hconf.c: Likewise.
18044         * shadow/fgetspent_r.c: Likewise.
18045         * shadow/putspent.c: Likewise.
18046         * stdio-common/printf_fphex.c: Likewise.
18047         * stdio-common/tmpfile.c: Likewise.
18048         * stdlib/abort.c: Likewise.
18049         * stdlib/fmtmsg.c: Likewise.
18050         * sunrpc/auth_unix.c: Likewise.
18051         * sunrpc/clnt_perr.c: Likewise.
18052         * sunrpc/clnt_tcp.c: Likewise.
18053         * sunrpc/clnt_udp.c: Likewise.
18054         * sunrpc/clnt_unix.c: Likewise.
18055         * sunrpc/openchild.c: Likewise.
18056         * sunrpc/svc_simple.c: Likewise.
18057         * sunrpc/svc_tcp.c: Likewise.
18058         * sunrpc/svc_udp.c: Likewise.
18059         * sunrpc/svc_unix.c: Likewise.
18060         * sunrpc/xdr.c: Likewise.
18061         * sunrpc/xdr_array.c: Likewise.
18062         * sunrpc/xdr_rec.c: Likewise.
18063         * sunrpc/xdr_ref.c: Likewise.
18064         * sunrpc/xdr_stdio.c: Likewise.
18066 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18068         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18070 2011-07-03  Andreas Jaeger  <aj@suse.de>
18072         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18073         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18074         regenerate with gen-libm-tests.pl.
18076 2010-05-12  Petr Baudis  <pasky@suse.cz>
18078         [BZ #11589]
18079         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18080         around j0() zero points by switching to j1().
18081         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18084         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18086 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18088         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18089         instead of 0.
18090         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18091         instead of 0.                              .
18092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18093         Patch in part by Pavel Roskin <proski@gnu.org>.
18095         [BZ #13138]
18096         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18097         realloc.
18098         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
18099         Free memory block if necessary.
18101         [BZ #12847]
18102         * libio/genops.c (INTDEF): For string streams the _lock pointer can
18103         be NULL.  Don't lock in this case.
18105 2011-09-09  Roland McGrath  <roland@hack.frob.com>
18107         * elf/elf.h (ELFOSABI_GNU): New macro.
18108         (ELFOSABI_LINUX): Define to that.
18110 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
18112         * string/strncat.c (strncat): Undef the symbol in case it has been
18113         defined in bits/string.h.
18115 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
18117         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18119         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18120         link map.
18122 2011-08-17  Andreas Jaeger  <aj@suse.de>
18124         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18126 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18127             Ian Lance Taylor  <iant@google.com>
18129         * math/libm-test.inc (lround_test): New testcase.
18130         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18132 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
18134         * Makefile: Remove support for automatic cvs check-ins.
18135         * Makerules: Likewise.
18136         * config.make.in: Likewise.
18137         * configure.in: Likewise.
18138         * intl/Makefile: Likewise.
18139         * locale/Makefile: Likewise.
18140         * po/Makefile: Likewise.
18141         * posix/Makefile: Likewise.
18142         * sysdeps/gnu/Makefile: Likewise.
18143         * sysdeps/mach/hurd/Makefile: Likewise.
18144         * sysdeps/sparc/sparc32/Makefile: Likewise.
18146         [BZ #13118]
18147         * posix/Makefile (bug-regex32-ENV): Define.
18148         Patch by John Stanley <jpsinthemix@verizon.net>.
18150         * misc/Makefile (headers): Add bits/select2.h.
18151         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18152         * misc/bits/select2.h: New file.
18153         * include/bits/select2.h: New file.
18154         * debug/Makefile (routines): Add fdelt_chk.
18155         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18156         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18157         FD_ISSET.
18158         * debug/fdelt_chk.c: New file.
18160         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
18161         * wcsmbs/test-wmemcmp.c: Likewise.
18162         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18163         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18165 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18167         * string/Makefile (strop-tests): Add memcmp.
18168         * string/test-wmemcmp.c: New file.
18169         * string/test-memcmp.c: Add wmemcmp support.
18171 2011-09-08  Roland McGrath  <roland@hack.frob.com>
18173         [BZ #13153]
18174         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18175         2011-07-19 change.
18177         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18178         garbage value in a __mach_port_mod_refs call in the cases of the
18179         task-self and thread-self ports.
18181 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18183         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18185 2011-09-08  Andreas Schwab  <schwab@redhat.com>
18187         * elf/dl-load.c (lose): Check for non-null L.
18189 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
18191         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18193         * elf/dl-libc.c (dlerror_run): Pass back error code from
18194         dl_catch_error.
18196         [BZ #13123]
18197         * elf/dl-load.c (lose): Free l_origin if it is valid.
18199         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18200         names.
18201         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18202         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18203         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18204         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18205         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18206         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18208 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18210         * sysdeps/powerpc/fpu/e_hypot.c: New file.
18211         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18212         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18213         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18214         * sysdeps/powerpc/fpu/k_cosf.c: New file.
18215         * sysdeps/powerpc/fpu/k_sinf.c: New file.
18216         * sysdeps/powerpc/fpu/s_cosf.c: New file.
18217         * sysdeps/powerpc/fpu/s_sinf.c: New file.
18218         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18219         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18221 2011-08-15  Alan Modra  <amodra@gmail.com>
18223         [BZ #13092]
18224         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18225         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18226         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
18227         ppc_mcount to static-only-routines.
18228         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18229         __mcount_internal.
18230         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18231         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
18233 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
18235         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18236         for finite and infinity parameters.
18238 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
18240         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18241         and add nop instructions for throughput optimization.
18242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18244 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
18246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18247         aligned copy for power7 with vector-scalar instructions.
18248         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18250 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
18252         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18253         AVX check.
18255 2011-09-07  Andreas Schwab  <schwab@redhat.com>
18257         [BZ #13144]
18258         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18259         last change.
18261 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
18263         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18264         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18265         syscall wrapper around clock_gettime in __vdso_clock_gettime.
18266         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18267         clock_gettime.
18269 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
18271         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18272         Forgot to demangle the pointer.
18274         * sysdeps/i386/sysdep.h: Define atom_text_section.
18275         * sysdeps/x86_64/sysdep.h: Likewise.
18276         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18277         section with atom_text_section.
18278         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18279         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18280         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18281         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18282         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18284         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18285         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18286         already be defined.  Change to take two parameters and don't assign
18287         result to variable.  Adjust all users.
18288         Define INTERNAL_GETTIME if not already defined.
18289         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18290         call.
18291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18292         HAVE_CLOCK_GETTIME_VSYSCALL.
18293         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18295         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18296         gettimeofday vsyscall, just use time.
18298 2011-09-06  Andreas Schwab  <schwab@redhat.com>
18300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18301         <errno.h>.
18303 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
18305         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18306         syscall on x86-64.
18307         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18308         syscall.
18309         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18310         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18311         syscall if possible.
18313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18315         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18316         e_ident.  Don't pass to find_mapsXX.
18317         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18319 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18322         strchr-sse2-no-bsf strrchr-sse2-no-bsf
18323         * sysdeps/x86_64/multiarch/strchr.S: Update.
18324         Check bit_slow_BSF bit.
18325         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18326         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18327         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18329 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18331         [BZ #13134]
18332         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18333         before glibc 2.15.
18334         (tryshell): Define.
18335         (__spawni): Change last parameter to be flag.  Test
18336         SPAWN_XFLAGS_USE_PATH flag to use path or not.
18337         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18338         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18339         * posix/spawni.c: Likewise.
18340         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18341         * posix/spawnp.c: Likewise.  Change normal version to use
18342         SPAWN_XFLAGS_USE_PATH.
18343         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18344         SPAWN_XFLAGS_TRY_SHELL.
18346         [BZ #13150]
18347         * posix/glob.h: Remove gcc 1.x support.
18349         [BZ #13068]
18350         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18352 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18355         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18356         strrchr-sse2-bsf
18357         * sysdeps/i386/i686/multiarch/strchr.S: New file.
18358         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18359         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18360         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18361         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18362         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18364 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18366         * sysdeps/x86_64/wcscmp.S: New file.
18368         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18369         wcscmp-c wcscmp-sse2
18370         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18371         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18372         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18373         * wcsmbs/wcscmp.c: Allow renaming.
18375 2011-09-05  David S. Miller  <davem@davemloft.net>
18377         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18378         stack slot, rather than the struct return pointer slot.
18379         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18380         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18382         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18384 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
18386         * po/ja.po: Update from translation team.
18388         [BZ #13144]
18389         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18390         kernel in 64-bit binaries.
18392 2011-09-01  David S. Miller  <davem@davemloft.net>
18394         * elf/elf.h (HWCAP_SPARC_*): Move to..
18395         * sysdeps/sparc/sysdep.h: this new file and add new values.
18396         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18397         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18398         _DL_HWCAP_COUNT to 24.
18399         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18400         entries.
18401         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18402         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18403         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18405         instead of magic constants.
18406         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18408 2011-08-31  David S. Miller  <davem@davemloft.net>
18410         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18412         Reimplement to do errno handling inline.
18413         (SYSCALL_ERROR_HANDLER): New macro.
18414         (__SYSCALL_STRING): Do not do errno handling in asm.
18415         (__CLONE_SYSCALL_STRING): Delete.
18416         (__INTERNAL_SYSCALL_STRING): Delete.
18417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18418         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18419         (PSEUDO): Reimplement to do errno handling inline.
18420         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18421         (SYSCALL_ERROR_HANDLER): New macro.
18422         (__SYSCALL_STRING): Do not do errno handling in asm.
18423         (__CLONE_SYSCALL_STRING): Delete.
18424         (__INTERNAL_SYSCALL_STRING): Delete.
18425         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18426         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18427         i386.
18428         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18429         (inline_syscall*): Add 'err' argument.
18430         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18431         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18432         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18433         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18435         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18436         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18438 2011-08-30  Andreas Schwab  <schwab@redhat.com>
18440         * elf/rtld.c (dl_main): Relocate objects in dependency order.
18442 2011-08-29  Jiri Olsa <jolsa@redhat.com>
18444         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18445         directive.
18447 2011-08-24  David S. Miller  <davem@davemloft.net>
18449         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18451 2011-08-24  Andreas Schwab  <schwab@redhat.com>
18453         * elf/Makefile: Add rules to build and run unload8 test.
18454         * elf/unload8.c: New file.
18455         * elf/unload8mod1.c: New file.
18456         * elf/unload8mod1x.c: New file.
18457         * elf/unload8mod2.c: New file.
18458         * elf/unload8mod3.c: New file.
18460         * elf/dl-close.c (_dl_close_worker): Reset private search list if
18461         it wasn't used.
18463 2011-08-23  David S. Miller  <davem@davemloft.net>
18465         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18466         subtract stack bias.
18467         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18468         %sp not %fp in calculations.
18469         (_JMPBUF_UNWINDS_ADJ): Likewise.
18471         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18472         (aio_suspend): Call it to force an exception region around the
18473         AIO_MISC_WAIT() invocation.
18475 2011-08-23  Andreas Schwab  <schwab@redhat.com>
18477         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18478         backslash.
18480 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
18482         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18483         protection macro.
18484         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18485         and <dl-machine.h>.
18486         (Elf64_FuncDesc): Remove.
18488 2011-08-22  David S. Miller  <davem@davemloft.net>
18490         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18491         sigaltstack check, add missing cfi directives.
18492         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18493         missing cfi directives, and sigaltstack handling.
18495 2011-08-16  Andreas Schwab  <schwab@redhat.com>
18497         [BZ #11724]
18498         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18499         object is seen twice.
18500         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18502         * elf/Makefile (distribute): Add tst-initorder2.c.
18503         (tests): Add tst-initorder2.
18504         (modules-names): Add tst-initorder2a tst-initorder2b
18505         tst-initorder2c tst-initorder2d.  Add rules to build them.
18506         ($(objpfx)tst-initorder2.out): New rule.
18507         * elf/tst-initorder2.c: New file.
18508         * elf/tst-initorder2.exp: New file.
18510 2011-08-22  Andreas Schwab  <schwab@redhat.com>
18512         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18514         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18515         dependencies back to end of function.
18517         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18518         $(elfobjdir)/ld.so.
18520 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
18522         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18523         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18525         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18526         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18527         of __vdso_gettimeofday.
18528         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18529         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
18530         attribute_hidden.
18531         (_libc_vdso_platform_setup): Remove initialization of
18532         __vdso_gettimeofday and __vdso_time.
18534 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18536         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18537         and fgetc_unlocked.
18538         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18539         getc_unlocked.
18541         * elf/dl-open.c (add_to_global): Report additions to the global scope
18542         for LD_DEBUG=scopes.
18543         (dl_open_worker): Also print scope of newly loaded dependencies.
18544         (_dl_show_scope): Indicate if there is no scope.
18546         [BZ #13114]
18547         * stdio-common/Makefile (tests): Add bug24.
18548         * stdio-common/bug24.c: New file.
18550 2011-08-19  Andreas Jaeger  <aj@suse.de>
18552         [BZ #13114]
18553         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18554         non-existant file when using close-on-exec mode.
18556 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
18558         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18559         the very first instruction.
18561         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18562         the CFI state in the end.
18563         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18564         inclusion of dl-trampoline.h.
18565         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18567 2011-08-19  Andreas Schwab  <schwab@redhat.com>
18569         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18570         expectations for long double.
18572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18573         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18575 2011-08-14  David S. Miller  <davem@davemloft.net>
18577         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18578         artificual limit depends upon the system page size.
18580 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18582         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18583         * resolv/Makefile: Define CFLAGS-libresolv.
18585 2011-08-17  Andreas Schwab  <schwab@redhat.com>
18587         * nss/makedb.c (compute_tables): Make variables used in nested
18588         function static.
18590 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
18592         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18593         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18594         if buffer was too small.
18596         * elf/pldd.c (main): Attach to all threads in the process.
18597         Rewrite /proc handling to use *at functions.
18599 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
18601         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18602         specifies first scope to show.
18603         (dl_open_worker): Update callers.  Move printing scope of new
18604         object to before the relocation.
18605         * elf/rtld.c (dl_main): Update _dl_show_scope call.
18606         * sysdeps/generic/ldsodefs.h: Update declaration.
18608         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18609         string for the scope number.
18611 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
18613         * nscd/servicescache.c (cache_addserv): Make sure written is always
18614         initialized.
18616 2011-08-14  Roland McGrath  <roland@hack.frob.com>
18618         * sysdeps/i386/i486/bits/atomic.h
18619         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18620         statement expression, so as to suppress "set but not used" warning.
18621         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18623         * string/strncat.c (STRNCAT): Use prototype definition.
18625         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18626         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18627         -Iprograms here.
18628         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18629         (localedef-modules): Add localedef.
18630         (locale-modules): Add locale.
18632         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18633         * elf/rtld.c (dl_main): Invert order of assignment in last change,
18634         to avoid a warning.
18636 2011-08-14  David S. Miller  <davem@davemloft.net>
18638         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18639         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18641 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
18643         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
18644         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18645         * elf/rtld.c (dl_main): Set l_name of vDSO.
18646         Call _dl_show_scope when DL_DEBUG_SCOPES.
18647         (process_dl_debug): Recognize scopes flag and also set it for all.
18648         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18649         Declare _dl_show_scope.
18651         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18652         (do_dlopen): Pass caller_dlopen to dl_open.
18653         (__libc_dlopen_mode): Initialize caller_dlopen.
18655         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18656         of libc.  Make tolower call locale-independent.  Optimize a bit by
18657         using isdigit instead of isalnum.
18658         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18660 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
18662         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18663         was a dependency or dynamically loaded.
18665 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
18667         * intl/l10nflist.c: Allow architecture-specific pop function.
18668         * sysdeps/x86_64/l10nflist.c: New file.
18670         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18671         classification.
18673 2011-08-10  Andreas Schwab  <schwab@redhat.com>
18675         * include/dirent.h: Add libc_hidden_proto for scandirat and
18676         scandirat64.  Don't declare __scandirat64.
18677         * dirent/scandirat.c: Add libc_hidden_def.
18678         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18679         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18681 2011-08-10  David S. Miller  <davem@davemloft.net>
18683         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18684         enum.
18685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18689 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
18691         * Versions.def [libc]: Add GLIBC_2.15.
18692         * dirent/Makefile (routines): Add scandirat and scandirat64.
18693         * dirent/Versions [libc]: Export scandirat and scandirat64 for
18694         GLIBC_2.15.
18695         * dirent/dirent.h: Declare scandirat and scandirat64.
18696         * dirent/scandirat.c: New file.
18697         * dirent/scandirat64.c: New file.
18698         * sysdeps/wordsize-64/scandirat.c: New file.
18699         * sysdeps/wordsize-64/scandirat64.c: New file.
18700         * dirent/opendir.c: Define opendirat.
18701         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
18702         using scandirat.
18703         * dirent/scandir64.c: Adjust for scandir.c change.
18704         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
18705         __scandirat64, and __scandir_cancel_handler.
18706         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
18707         additional parameter and use openat instead of open (outside of ld.so).
18708         Add new __opendir as wrapper around __opendirat.
18709         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18710         here without requiring old scandirat implementation.
18712 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
18714         * dirent/scandir.c (cancel_handler): Renamed to
18715         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
18716         defined.  Adjust users.
18717         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18718         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18720 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
18722         * string/test-string.h (IMPL): Use __STRING to expand name and then
18723         stringify it.
18725         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
18726         of cleanups.
18728 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18730         * string/Makefile: Update.
18731         (strop-tests): Append strncat.
18732         * string/test-wcscmp.c: New file.
18733         New comprehensive test for wcscmp.
18734         * string/test-strcmp.c: Update.
18735         (WIDE): New define.
18737 2011-07-22  Andreas Schwab  <schwab@redhat.com>
18739         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18740         line.
18742 2011-07-26  Andreas Schwab  <schwab@redhat.com>
18744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18745         encoding to ACE if AI_IDN.
18747 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
18749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18750         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18752 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18755         Fix overflow bug in strncat.
18756         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18758         * string/test-strncat.c: Update.
18759         Add new tests for checking overflow bugs.
18761 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18764         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18765         * sysdeps/i386/i686/multiarch/strcat.S: New file.
18766         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18767         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18768         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18769         * sysdeps/i386/i686/multiarch/strncat.S: New file.
18770         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18771         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18774         (USE_AS_STRCAT): Define.
18775         Add strcat and strncat support.
18776         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18778 2011-07-25  Andreas Schwab  <schwab@redhat.com>
18780         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18781         __n bigger than INT_MAX+1.
18782         (__strncmp_g): Likewise.
18784 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
18786         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18787         * libio/stido.h: Likewise.
18789         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18790         (AF_NFC): Define.
18791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18792         (AF_NFC): Define.
18794         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18796         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18797         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18798         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18800         [BZ #13021]
18801         * scripts/test-installation.pl: Don't expect libnss_test1 to be
18802         installed.
18804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18805         typo.
18806         (_dl_x86_64_save_sse): Likewise.
18808 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
18810         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18811         OSXSAVE.
18812         (_dl_x86_64_save_sse): Likewise.
18814         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18816         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18818 2011-07-21  Andreas Schwab  <schwab@redhat.com>
18820         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18821         change.
18822         (_dl_x86_64_save_sse): Use correct AVX check.
18824 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18827         bug in strncpy/strncat.
18828         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18830 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
18832         * string/tester.c (test_strcat): Add tests for different alignments
18833         of source and destination.
18834         (test_strncat): Likewise.
18836 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18838         [BZ #12852]
18839         * posix/glob.c (glob): Check passed in values before using them in
18840         expressions to avoid some overflows.
18841         (glob_in_dir): Likewise.
18843         [BZ #13007]
18844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18845         check for AVX enablement so that we don't crash with old kernels and
18846         new hardware.
18847         * elf/tst-audit4.c: Add same checks here.
18848         * elf/tst-audit6.c: Likewise.
18850         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
18852 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
18854         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18856 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
18858         * po/cs.po: Update from translation team.
18859         * po/bg.po: Likewise.
18861 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
18863         * misc/sys/cdefs.h: Add support for const attribute.
18864         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18865         to gnu_dev_{major,minor,makedev} functions.
18867 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
18869         * intl/dcigettext.c (get_output_charset): Add missing bracket.
18871 2011-07-20  Andreas Schwab  <schwab@redhat.com>
18873         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18874         strlen results.
18876 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18879         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18880         register in order to avoid conflicts with the soft frame pointer
18881         being held in r11 when necessary.
18882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18883         (INTERNAL_VSYSCALL_NCS): Likewise.
18885 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
18887         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18888         * elf/dl-fini.c (_dl_fini): Adjust caller.
18889         * elf/dl-close.c (_dl_close_worker): Likewise.
18890         * sysdeps/generic/ldsodefs.h: Adjust declaration.
18892 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
18894         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18895         "aux_cache->nlibs < 0".
18897         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18898         in the reload-count case.
18900 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18903         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18904         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18905         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18906         * sysdeps/x86_64/multiarch/strcat.S: New file.
18907         * sysdeps/x86_64/multiarch/strncat.S: New file.
18908         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18909         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18910         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18911         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18912         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18913         (USE_AS_STRCAT): Define.
18914         Add strcat and strncat support.
18915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18916         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18917         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18918         * string/strncat.c: Update.
18919         (USE_AS_STRNCAT): Define.
18920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18921         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18922         and i7.
18923         * sysdeps/x86_64/multiarch/init-arch.h
18924         (bit_Prefer_PMINUB_for_stringop): New.
18925         (index_Prefer_PMINUB_for_stringop): Likewise.
18926         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18927         bit_Prefer_PMINUB_for_stringop.
18929 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
18931         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18932         buffer64.
18933         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18934         of casting of buffer.
18935         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18936         buffer32 and buffer64.
18937         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18938         writes instead of casting of buffer.
18939         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18940         buffer32.
18941         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18942         casting of buffer.
18944 2011-07-19  Andreas Schwab  <schwab@redhat.com>
18946         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18948 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
18950         * nscd/nscd.c (termination_handler): Don't do anything for a database
18951         if it has not yet been initialized.
18953 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
18955         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18957 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
18959         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18961 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
18963         * po/nl.po: Update from translation team.
18964         * po/sv.po: Likewise.
18966 2011-07-16  Roland McGrath  <roland@hack.frob.com>
18968         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18969         now disallowed by GCC.
18971         * configure.in (use-default-link): Default to yes if a test -shared
18972         link meets our qualifications.
18973         * configure: Regenerated.
18975         * config.make.in (output-format): New variable.
18976         * configure.in: Check for ld --print-output-format support.
18977         * configure: Regenerated.
18978         * Makerules ($(common-objpfx)format.lds)
18979         [$(output-format) != unknown]: Just use $(output-format),
18980         instead of the linker-script munging.
18982 2011-07-14  Roland McGrath  <roland@hack.frob.com>
18984         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18985         of $(common-objpfx)shlib.lds.
18986         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18988         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18989         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18991         * configure.in (-z relro check): Adjust test code to add a large
18992         writable data section after it.
18993         * configure: Regenerated.
18995 2011-07-11  Roland McGrath  <roland@hack.frob.com>
18997         * configure.in (-z relro check): Fix test code to make the variable
18998         truly const.
18999         * configure: Regenerated.
19001 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
19003         * nscd/nscd.h (struct traced_file): Define.
19004         (struct database_dyn): Remove inotify_descr, reset_res, and filename
19005         elements.  Add traced_files.
19006         (inotify_fd): Declare.
19007         (register_traced_file): Declare.
19008         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19009         (inotify_fd): Export.
19010         (resolv_conf_descr): Remove.
19011         (nscd_init): Move inotify descriptor creation to main.
19012         Don't register files for notification here.
19013         (register_traced_file): New function.
19014         (invalidate_cache): Don't use reset_res to determine whether to call
19015         res_init, go through the list of registered files.
19016         (main_loop_poll): The inotify descriptors are now stored in the
19017         structures for the traced files.
19018         (main_loop_epoll): Likewise
19019         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
19020         to __nss_disable_nscd.
19021         * nscd/cache.c (prune_cache): There is no single inotify descriptor
19022         for a database anymore.  Check the records for all the registered
19023         files instead.
19024         * nss/Makefile (libnss_files-routines): Add files-init.
19025         (libnss_db-routines): Add db-init.
19026         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19027         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19028         * nss/nss_db/db-init.c: New file.
19029         * nss/nss_files/files-init.c: New file.
19030         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
19031         __nss_lookup_function.
19032         (__nss_lookup_function): Call nss_load_library.
19033         (nss_load_all_libraries): New function.
19034         (__nss_disable_nscd): Take parameter with callback function for files
19035         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
19036         used for the cached services.
19037         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19038         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19039         options for features to all the files in nscd.
19041         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19043 2011-07-10  Roland McGrath  <roland@hack.frob.com>
19045         * csu/elf-init.c (__libc_csu_init): Comment typo.
19047 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
19049         * po/pl.po: Update from translation team.
19050         * po/ja.po: Likewise.
19051         * po/ru.po: Likewise.
19052         * po/ko.po: Likewise.
19053         * po/fr.po: Likewise.
19055 2011-07-09  Roland McGrath  <roland@hack.frob.com>
19057         * configure.in (.ctors/.dtors header and trailer check):
19058         Use an empirical test on a built program.
19059         * configure: Regenerated.
19061         * configure.in (-z relro check): Use an empirical test on a built DSO.
19062         Detect, but do not require, on ia64.
19063         * configure: Regenerated.
19065         * configure.in (READELF): Find it with AC_CHECK_TOOL.
19066         Update tests that use readelf to use $READELF instead.
19067         * configure: Regenerated.
19069 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
19071         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19072         if the result is not used.
19074 2011-07-05  Andreas Jaeger  <aj@suse.de>
19076         [BZ#9696]
19077         * stdlib/tst-strtod.c: Add testcase.
19079 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
19081         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19082         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19083         The latter has a higher limit.  Take additional parameter to pass to
19084         the new function.
19085         (__pathconf): Pass file to __statfs_link_max.
19086         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19087         __statfs_link_max.
19088         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19089         __statfs_link_max.
19091         [BZ #12868]
19092         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19093         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19094         Handle Lustre.
19095         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19096         (__statfs_filesize_max): Likewise.
19097         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19099 2011-07-05  Andreas Jaeger  <aj@suse.de>
19101         * resolv/res_comp.c (dn_skipname): Remove unused variable.
19103 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
19105         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19106         `status' variable.
19107         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19108         Likewise.
19110 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
19112         * Makefile (strop-tests): Add strncat.
19113         * string/test-strncat.c: New file.
19115 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
19117         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19119 2011-06-21  Andreas Jaeger  <aj@suse.de>
19121         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19122         Copy rule from iconvdata/Makefile.
19124 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19126         [BZ #12922]
19127         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19128         but no long options are defined, just return 'W'.
19130 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
19132         [BZ #9696]
19133         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19135 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
19137         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19138         netgroups to read.
19139         (innetgr): Likewise.
19141 2011-07-05  Roland McGrath  <roland@hack.frob.com>
19143         * config.make.in (install_root): Default to $(DESTDIR).
19145 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
19147         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19149 2011-07-02  Roland McGrath  <roland@hack.frob.com>
19151         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19153         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19154         containing directory rather than embedding absolute directory names.
19156         * scripts/check-local-headers.sh: Rewritten using awk.
19157         Match by word, not by line.  Print error messages for matches.
19158         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19160         * Makerules [shlib-lds-flags empty]:
19161         ($(common-objpfx)libc_pic.opts): New target.
19162         ($(common-objpfx)libc_pic.os.clean): New target.
19163         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19165         * config.make.in (OBJCOPY): New variable.
19166         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19167         * configure: Regenerated.
19169         * config.make.in (use-default-link): New variable.
19170         * configure.in (use_default_link): Grok --with-default-link to set it.
19171         * configure: Regenerated.
19172         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19173         (shlib-lds, shlib-lds-flags): Define to empty.
19175         * Makerules (shlib-lds): New variable.
19176         (shlib-lds-flags): New variable.
19177         (build-shlib, build-moduile, build-module-asneeded): Use it.
19178         ($(common-objpfx)libc.so): Use $(shlib-lds).
19179         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19180         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19182         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19183         DT_FLAGS/DT_FLAGS_1 with zero flags.
19185         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19186         linker script munging.
19188 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
19190         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19191         as 128-bit value.
19192         * crypt/sha512.c (sha512_process_block): Perform total addition using
19193         128-bit if possible.
19194         (__sha512_finish_ctx): Likewise.
19195         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19196         as 64-bit value.
19197         * crypt/sha256.c (SWAP64): Define.
19198         (sha256_process_block): Perform total addition using 64-bit if
19199         possible.
19200         (__sha256_finish_ctx): Likewise.
19202 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
19204         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
19205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19206         * nscd/hstcache.c (cache_addhst): Likewise.
19207         * nscd/grpcache.c (cache_addgr): Likewise.
19208         * nscd/aicache.c (addhstaiX): Likewise
19209         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19211 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
19213         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19215         * nscd/hstcache.c (cache_addhst): Likewise.
19216         * nscd/grpcache.c (cache_addgr): Likewise.
19217         * nscd/aicache.c (addhstaiX): Likewise
19219 2011-07-01  Andreas Schwab  <schwab@redhat.com>
19221         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19222         domain only when needed.
19224 2011-06-30  Andreas Schwab  <schwab@redhat.com>
19226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19227         is always restored.
19229 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
19231         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19232         are re-adding the entry.
19233         * nscd/servicescache.c (cache_addserv): Likewise.
19235 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19237         * sysdeps/generic/dl-irel.h: fix protection against multiple
19238         inclusions.
19239         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19241 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
19243         [BZ #12935]
19244         * malloc/memusage.sh: Fix quoting in message.
19245         * debug/xtrace.sh: Likewise.
19247         * configure.in: Remove support for --experimental-malloc option, make
19248         it the default.
19249         * config.make.in: Likewise.
19250         * malloc/Makefile: Likewise.
19252 2011-06-27  Andreas Schwab  <schwab@redhat.com>
19254         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19255         two-byte characters.
19257 2011-06-27  Roland McGrath  <roland@hack.frob.com>
19259         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19260         AC_CACHE_CHECK invocation.
19261         * configure: Regenerated.
19263         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19265 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
19267         [BZ #12350]
19268         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
19269         bit from old_res_options.
19271         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19273         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19274         value type for setfct.
19276 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
19278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19279         __gettimeofday instead of gettimeofday.
19281 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
19283         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19285 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19287         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19290         info.
19292 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19295         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19296         strcpy-sse2-unaligned strncpy-sse2-unaligned
19297         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19298         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19299         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19300         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19301         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19303         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19304         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19305         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19306         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19307         (STRCPY): Support SSE2 and SSSE3 versions.
19309 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
19311         [BZ #12874]
19312         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19313         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19314         kernels which artificially limit size of requests.
19316 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
19318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19319         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19320         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19321         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19322         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19323         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19324         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19325         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19326         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19327         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19328         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19329         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19330         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19331         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19332         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19334         Enable unaligned load optimization for Intel Core i3, i5 and i7
19335         processors.
19336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19337         Define.
19338         (index_Fast_Unaligned_Load): Define.
19339         (HAS_FAST_UNALIGNED_LOAD): Define.
19341 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
19343         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19345 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19347         [BZ #12907]
19348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19349         until it is clear that the information is realy needed.
19350         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19352 2011-06-22  Andreas Schwab  <schwab@redhat.com>
19354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19356 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
19358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19359         /sys/devices/system/cpu/online if it is usable.
19361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19362         reading the information from the /proc filesystem to once a second.
19364 2011-06-21  Andreas Jaeger  <aj@suse.de>
19366         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19367         NULL after inclusion of kernel headers.
19369 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
19371         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19372         calls to internal_setent.
19374         [BZ #12885]
19375         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19376         addresses using gethostbyname4_r ignore IPv4 addresses.
19378         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19379         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
19381         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19383 2011-06-20  David S. Miller  <davem@davemloft.net>
19385         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19386         inclusions.
19387         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19389         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19390         (elf_irel): Use it.
19391         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19392         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19393         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19394         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19395         * sysdeps/x86_64/dl-irel.h: Likewise.
19397         * elf/dl-runtime.c: Use elf_ifunc_invoke.
19398         * elf/dl-sym.c: Likewise.
19400 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19402         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
19403         need to dereference resplen2.
19405 2011-06-14  Andreas Schwab  <schwab@redhat.com>
19407         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19409 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
19411         * Makeconfig: Define vardbdir and inst_vardbdir.
19412         * nss/Makefile: Add rules to install db-Makefile.
19414         * nss/nss_db/db-XXX.c: Cleanup.
19416         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19417         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19418         GLIBC_PRIVATE.
19419         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19420         * nss/makedb.c: Implement -g option to specify that value strings
19421         are generated and should not be added to table iterated over for
19422         get*ent calls.
19423         * nss/nss_db/db-initgroups.c: New file.
19425         * nss/getent.c: Add support for initgroups lookups through getgrouplist
19426         interface.
19428         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19429         (internal_getgrouplist): Adjust to name change.
19430         Update use_initgroups_entry if this is not the first call.
19431         * nss/databases.def: Add initgroups entry.
19433         * nss/makedb.c (compute_tables): Check result of multiple hash table
19434         sizes to minimize maximum chain length.
19436 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
19438         * Versions.def: Add entry for libnss_db.
19439         * shlib-versions: Likewise.
19440         * nss/Makefile: Add rules to build libnss_db.
19441         * nss/Versions: Add libnss_db information.  Organize libnss_files
19442         entries better.
19443         * nss/db-Makefile: Add gshadow support.  Change rules for the new
19444         makedb progra.  Some minor improvements to generate smaller files.
19445         * nss/nss_db/nss_db.h: Move NSS database header data structures to
19446         here from...
19447         * nss/makedb.c: ...here.
19448         Improve database format to be smaller and require less memory at
19449         runtime.
19450         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
19451         db anymore.
19452         * nss/nss_db/db-netgrp.c: Likewise.
19453         * nss/nss_db/db-open.c: Likewise.
19454         * nss/nss_files/flies-XXX.x: Adjust comments.
19455         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19456         * nss/nss_files/files-grp.c: Likewise.
19457         * nss/nss_files/files-hosts.c: Likewise.
19458         * nss/nss_files/files-network.c: Likewise.
19459         * nss/nss_files/files-proto.c: Likewise.
19460         * nss/nss_files/files-pwd.c: Likewise.
19461         * nss/nss_files/files-rpc.c: Likewise.
19462         * nss/nss_files/files-service.c: Likewise.
19463         * nss/nss_files/files-sgrp.c: Likewise.
19464         * nss/nss_files/files-spwd.c: Likewise.
19465         * nss/nss_db/db-alias.c: Removed.
19466         * nss/nss_db/dummy-db.h: Removed.
19468 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
19470         * nss/makedb.c: Rewritten to not use database library.
19471         * nss/Makefile: Update to build new makedb program.
19473 2011-06-14  Andreas Jaeger  <aj@suse.de>
19475         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19476         memset declaration.
19478 2011-06-10  Andreas Schwab  <schwab@redhat.com>
19480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19481         tmpbuf.
19483 2011-06-10  Roland McGrath  <roland@hack.frob.com>
19485         * Makerules (shlib.lds): Fail if the linker script comes out empty.
19486         * elf/Makefile ($(objpfx)ld.so): Likewise.
19488         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19489         Don't list ld.so twice in dependencies.
19491         * posix/bug-regex31.c: Include <stdlib.h>.
19493         * nscd/hstcache.c (cache_addhst): Remove unused variable.
19495         * nis/nss_compat/compat-spwd.c
19496         (getspent_next_nss_netgr): Remove unused variable.
19497         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19499         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19500         nonmembers" output to use the right array.
19502         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19504         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19506         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19507         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19508         * catgets/gencat.c (read_input_file): Likewise.
19509         * locale/programs/locarchive.c (enlarge_archive): Likewise.
19511         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19512         variable definition inside #if's controlling its use.
19514         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19516         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19518         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19520         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19521         unreachable code.
19523         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19525         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19526         * configure: Regenerated.
19528         * Makerules: Revert last change.
19529         * elf/Makefile: Likewise.
19531 2011-06-09  Roland McGrath  <roland@hack.frob.com>
19533         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19534         * elf/Makefile ($(objpfx)librtld.os): Likewise.
19535         (reloc-link): Likewise.
19537 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
19539         * elf/Makefile: Add rules to build pldd.
19540         * elf/pldd.c: New file.
19541         * elf/pldd-xx.c: New file.
19543 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
19545         * version.h: Update for 2.15 development version.
19547 2011-06-07  David S. Miller  <davem@davemloft.net>
19549         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19550         ifuncs.
19551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19552         elf_machine_lazy_rel): Likewise.
19553         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19554         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19555         elf_machine_lazy_rel): Likewise.
19556         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19557         dl_hwcap via passed in argument.
19558         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19559         Likewise.
19561 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19563         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
19565 2011-06-06  Roland McGrath  <roland@hack.frob.com>
19567         [BZ #12849]
19568         * manual/fdl-1.1.texi: New file, verbatim from:
19569         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19570         * manual/lgpl-2.1.texi: New file, verbatim from:
19571         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19572         * manual/Makefile (licenses): New variable, list those new file names.
19573         (texis): Use it.
19574         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19576         * manual/fdl.texi: File removed.
19577         * manual/lesser.texi: File removed.
19578         * manual/libc.texinfo (Copying, Documentation License):
19579         Use new @include file names, put @appendix directive before @include.
19581 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
19583         [BZ #12841]
19584         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19585         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19586         (mq_open): Add __NTH.
19588 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
19590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19591         Assume Intel Core i3/i5/i7 processor if AVX is available.
19593 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19596         typo.
19598 2011-05-31  Andreas Schwab  <schwab@redhat.com>
19600         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19601         memory.  Use alloca_account.  Fix memory leak when retrying.
19603 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
19605         * version.h (RELEASE): Bump for 2.14 release.
19606         * include/features.h (__GLIBC_MINOR__): Bump to 14.
19608         * config.make.in (RANLIB): Remove entry.
19610 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
19612         * po/Makefile (po-sed-cmd): Add ksh to extensions.
19613         (libc.pot): Work around missing support for .ksh extension in xgettext.
19615         [BZ #12684]
19616         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19617         if both request failed.
19618         (send_dg): In case of server errors clear resplen or *resplen2.
19620         [BZ #12454]
19621         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19622         when there are multiple maps.
19623         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19624         (_dl_fini): Remove test here.
19626         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19628 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
19630         [BZ #12350]
19631         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19632         bit from old_res_options.
19633         (gaih_inet): Likewise.
19635         [BZ #11099]
19636         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
19637         as signed.
19639         * resolv/res_init.c (res_setoptions): Make the code more compact.
19641         [BZ #11558]
19642         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19643         set RES_USEVC.
19645         [BZ #11634]
19646         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19648         * malloc/malloc.h: Mark malloc hook variables as deprecated.
19650         [BZ #11781]
19651         * malloc/malloc.h: Declare malloc hook variables as volatile.
19653         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19654         in last patch.
19656         [BZ #11799]
19657         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
19658         raise in the comment.
19659         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19660         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19661         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
19663 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
19665         [BZ #12811]
19666         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19667         grow the buffers more if it already has to be sufficient.
19668         (build_wcs_upper_buffer): Likewise.
19669         * posix/regexec.c (check_matching): Likewise.
19670         (clean_state_log_if_needed): Likewise.
19671         (extend_buffers): Don't enlarge buffers beyond size of the input
19672         buffer.
19673         Patches mostly by Emil Wojak <emil@wojak.eu>.
19674         * posix/bug-regex32.c: New file.
19675         * posix/Makefile (tests): Add bug-regex32.
19677         * locale/findlocale.c (_nl_find_locale): Return right away if
19678         _nl_explode_name failed.
19679         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19681         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19683         * debug/xtrace.sh: Unify messages.
19684         * malloc/memusage.sh: Likewise.
19686         [BZ #12813]
19687         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19688         time symbol from vDSO.  Substitute with vsyscall if not available.
19689         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19690         __vdso_time.
19692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19693         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19694         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19695         Add sendmmsg and internal_sendmmsg.
19696         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19697         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19698         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19700         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19701         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19702         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19704 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
19706         [BZ #12813]
19707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19708         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
19709         available.
19710         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19711         __vdso_getcpu.
19713         [BZ #12814]
19714         * iconvdata/Makefile (tests): Add bug-iconv9.
19715         * iconvdata/bug-iconv9.c: New file.
19717 2011-05-27  Andreas Schwab  <schwab@redhat.com>
19719         [BZ #12814]
19720         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19722 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
19724         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19725         (struct user_regs_struct): Change intcs field back to cs.
19727 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
19729         * po/ja.po: Update from translation team.
19731 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
19733         [BZ #12795]
19734         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19735         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19737 2011-05-20  Andreas Schwab  <schwab@redhat.com>
19739         * stdlib/longlong.h: Update from GCC.
19741 2011-05-23  Andreas Schwab  <schwab@redhat.com>
19743         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19744         parameter name.
19745         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19746         Add parameter name.
19747         (__sysconf): Pass it down.
19749 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
19751         [BZ #12671]
19752         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19753         some situations.
19754         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19755         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19756         add in in __libc_use_alloca calls.  Adjust callers.
19757         (glob): Use malloc in some situations.
19759         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19760         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19761         pltexit.
19763 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
19765         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19766         and CLOCK_BOOTTIME_ALARM.
19768         [BZ #12782]
19769         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19770         is returned.
19772         * string/_strerror.c (__strerror_r): Print negative errors as signed
19773         numbers.
19775         [BZ #12777]
19776         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19777         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19778         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19780         * configure.in: Fix typo in redirection and correct removal of test
19781         files in two cases.
19783         [BZ #12788]
19784         * locale/setlocale.c (new_composite_name): Fix test to check for
19785         identical name of all categories.
19787         [BZ #12792]
19788         * libio/filedoalloc.c (local_isatty): New function.
19789         (_IO_file_doallocate): Use local_isatty.
19790         * stdio-common/perror.c (perror): In case a new stream is used
19791         forward the stream error.
19792         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19793         error flag.
19795 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
19797         [BZ #11869]
19798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19799         alloca.
19800         * include/alloca.h (extend_alloca_account): Define.
19802         [BZ #11857]
19803         * posix/regex.h: Fix comments with documentation of user-accessible
19804         fields after compilation and describe correct free'ing of pattern
19805         after re_compile_pattern.
19806         Patch by Reuben Thomas <rrt@sc3d.org>.
19808 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
19810         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19811         and -mno-altivec to prevent the compiler from using Altivec and/or
19812         VSX instructions when the corresponding registers are not available.
19814 2011-05-19  Andreas Schwab  <schwab@redhat.com>
19816         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19818 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
19820         * libio/freopen.c (freopen): Use __dup2, not dup2.
19821         * libio/freopen64.c (freopen64): Likewise.
19823 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19825         [BZ #12775]
19826         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19827         * math/Makefile (tests): Add test-powl.
19828         (CFLAGS-test-powl.c): Define.
19829         * math/test-powl.c: New file.
19831 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19833         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19835 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
19837         [BZ #11837]
19838         * iconvdata/gb18030.c: Update to GB18020-2005.
19840 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
19842         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19843         RE_SYNTAX_POSIX_AWK): Update to match recent development.
19844         Patch by Aharon Robbins <arnold@skeeve.com>.
19846         [BZ #11892]
19847         * stdlib/putenv.c (putenv): Don't always create copy of the variable
19848         on the stack.
19850         [BZ #11895]
19851         * misc/pselect.c (__pselect): Handle timeout value errors hidden
19852         through underflows.
19854         [BZ #12766]
19855         * misc/error.c (error_at_line): Ensure file_name and old_file_name
19856         point to strings before performing equality test for error_one_per_line
19857         mode.
19859         [BZ #11697]
19860         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19862         [BZ #11820]
19863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19864         (struct user_fpregs_struct): Avoid __uint*_t types.
19866         [BZ #6420]
19867         * malloc/mtrace.c (tr_where): Add additional parameter to point to
19868         symbol info.  Use it instead of calling _dl_addr locally.
19869         (lock_and_info): New function.
19870         (tr_freehook): Call lock_and_info and pass symbol info as additional
19871         parameter to tr_where.
19872         (tr_mallochook): Likewise.
19873         (tr_reallochook): Likewise.
19874         (tr_memalignhook): Likewise.
19876         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
19877         used and couldn't be at all thread-safe.
19879 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
19881         * libio/freopen.c (freopen): Don't close old file descriptor
19882         before the new one is opened.  Instead dup the new file descriptor
19883         to the old one after the new stream is created.
19884         * libio/freopen64.c (freopen64): Likewise.
19885         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19886         * libio/fileops.c (_IO_new_file_close_it): Handle new
19887         _IO_FLAGS2_NOCLOSE flag.
19888         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19889         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19890         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19891         _IO_FLAGS2_NOCLOSE flag.
19892         * include/unistd.h: Add hidden_proto for dup3.
19893         Define __have_dup3.
19894         * io/dup3.c: Define hidden symbol.
19895         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19897         [BZ #7101]
19898         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19899         when an incomplete long option is used.
19900         * posix/tst-getopt_long1.c: New file.
19901         * posix/Makefile (tests): Add tst-getopt_long1.
19903         [BZ #10138]
19904         * scripts/config.guess: Update from autoconf-2.68.
19905         * scripts/config.sub: Likewise.
19907         [BZ #10157]
19908         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19909         tests into ...
19910         (has_cpuclock): ...this.  New function.
19911         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19912         macro here based on has_cpuclock code.
19914         [BZ #10149]
19915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19916         First byte (not low byte) is now always NUL.
19917         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19920         Use non-cancelable interfaces.
19922         [BZ #9809]
19923         * locale/iso-639.def: Add entry for Sorani.
19925         [BZ #11901]
19926         * include/stdlib.h: Move include protection to the right place.
19927         Define abort_msg_s.  Declare __abort_msg with it.
19928         * stdlib/abort.c (__abort_msg): Adjust type.
19929         * assert/assert.c (__assert_fail_base): New function.  Majority
19930         of code from __assert_fail.  Allocate memory for __abort_msg with
19931         mmap.
19932         (__assert_fail): Now call __assert_fail_base.
19933         * assert/assert-perr.c: Remove bulk of implementation.  Use
19934         __assert_fail_base.
19935         * include/assert.hL Declare __assert_fail_base.
19936         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19937         mmap.
19938         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19940 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
19942         [BZ #11952]
19943         [BZ #12453]
19944         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19945         until all modules are registered in the DTV.
19946         * elf/Makefile: Add rules to build and run tst-tls19.
19947         * elf/tst-tls19.c: New file.
19948         * elf/tst-tls19mod1.c: New file.
19949         * elf/tst-tls19mod2.c: New file.
19950         * elf/tst-tls19mod3.c: New file.
19951         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19953         [BZ #12083]
19954         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19955         correctly.
19957         [BZ #12601]
19958         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19959         two-byte sequence errors.
19960         * iconvdata/Makefile (tests): Add bug-iconv8.
19961         * iconvdata/bug-iconv8.c: New file.
19963         [BZ #12626]
19964         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19965         buf2 definition.
19967         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19969         [BZ #12432]
19970         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19971         (dummy_getcfa): New function.
19972         (init): Get _Unwind_GetCFA address, use dummy if not found.
19973         (backtrace_helper): In recursion check, also check whether CFA changes.
19974         (__backtrace): Completely initialize arg.
19976         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
19977         storing incomplete byte sequence in state object.  Avoid testing for
19978         guaranteed too small input if we know there is enough data available.
19980 2011-05-11  Andreas Schwab  <schwab@redhat.com>
19982         * Makeconfig (+link-pie): Indent.
19983         * Rules (binaries-pie): Define if $(have-fpie) and
19984         $(build-shared).
19985         (binaries-shared): Also filter out $(binaries-pie).
19986         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19987         * nscd/Makefile (others-pie): Add nscd.
19988         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19989         ($(objpfx)nscd): Remove command override.
19990         * login/Makefile (others-pie): Add pt_chown.
19991         ($(objpfx)pt_chown): Remove command override.
19992         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19993         remove command overrides.
19995 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
19997         * libio/tst_putwc.c: Fix error messages.
19999         [BZ #12724]
20000         * libio/fileops.c (_IO_new_file_close_it): Always flush when
20001         currently writing and seek to current position when not.
20002         * libio/Makefile (tests): Add bug-fclose1.
20003         * libio/bug-fclose1.c: New file.
20005 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
20007         [BZ #12511]
20008         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20009         don't set DF_1_NODELETE here.
20010         (do_lookup_x): When entering new entry test for copy relocation
20011         and if necessary set DF_1_NODELETE flag.
20012         * elf/tst-unique4.cc: New file.
20013         * elf/tst-unique4.h: New file.
20014         * elf/tst-unique4lib.cc: New file.
20015         * elf/Makefile: Add rules to build and run tst-unique4.
20016         Patch by Piotr Bury <pbury@goahead.com>.
20018 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
20020         [BZ #12052]
20021         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20023         [BZ #12625]
20024         * misc/mntent_r.c (addmntent): Flush the stream after the output
20026         [BZ #12393]
20027         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20028         (is_trusted_path_normalize): Skip initial colon.  Append slash
20029         to empty buffer.  Duplicate is_trusted_path code but allow
20030         constructed patch to be prefix.
20031         (is_dst): Allow $ORIGIN followed by /.
20032         (_dl_dst_substitute): Correct clearing of check_for_trusted.
20033         Correct testing of result of is_trusted_path_normalize
20034         (decompose_rpath): Fix warning.
20036 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
20038         [BZ #11257]
20039         * grp/initgroups.c (internal_getgrouplist): When we found the service
20040         list through the initgroups entry in nsswitch.conf do not always
20041         continue on a successful lookup.  Don't always use the
20042         __nss_group_database value if it is set.
20043         * nss/nsswitch.conf (initgroups): Change action for successful db
20044         lookup to continue for compatibility.
20046 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
20048         [BZ #11532]
20049         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20050         and CP774 modules.
20051         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20052         and CP774 modules.
20053         * iconvdata/tst-tables.sh: Likewise.
20054         * iconvdata/cp770.c: New file.
20055         * iconvdata/cp771.c: New file.
20056         * iconvdata/cp772.c: New file.
20057         * iconvdata/cp773.c: New file.
20058         * iconvdata/cp774.c: New file.
20059         * iconvdata/testdata/CP770: New file.
20060         * iconvdata/testdata/CP770..UTF8: New file.
20061         * iconvdata/testdata/CP771: New file.
20062         * iconvdata/testdata/CP771..UTF8: New file.
20063         * iconvdata/testdata/CP772: New file.
20064         * iconvdata/testdata/CP772..UTF8: New file.
20065         * iconvdata/testdata/CP773: New file.
20066         * iconvdata/testdata/CP773..UTF8: New file.
20067         * iconvdata/testdata/CP774: New file.
20068         * iconvdata/testdata/CP774..UTF8: New file.
20070         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20071         END CHARMAP line.
20072         * iconvdata/gen-8bit-gap.sh: Likewise.
20073         * iconvdata/gen-8bit.sh: Likewise.
20075         * locale/iso-639.def: Add ary entry.
20077         [BZ #11258]
20078         * locale/C-translit.h.in: Add U20A1 transliteration.
20080         [BZ #12178]
20081         * locale/iso-639.def: Add wae entry.
20082         Patch by Kevin Bortis <bortis@translate-wae.ch>.
20084         [BZ #12545]
20085         * locale/programs/localedef.c (construct_output_path): Use ssize_t
20086         for n.
20088         [BZ #12711]
20089         * locale/C-translit.h.in: Add entry for U20B9.
20090         Patch by pravin.d.s@gmail.com.
20092 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
20094         [BZ #12713]
20095         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20096         ENAMETOOLONG use generic getcwd.
20097         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
20098         in rtld.  Use *stat64.
20099         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20100         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20101         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20102         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20103         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20104         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20105         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20106         __fstatat64 macros.
20107         * include/dirent.h: Add libc_hidden_proto for rewinddir.
20108         * dirent/rewinddir.c: Add libc_hidden_def.
20109         * sysdeps/mach/hurd/rewinddir.c: Likewise.
20110         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
20112         * include/dirent.h (__alloc_dir): Add flags parameter.
20113         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20114         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20115         __alloc_dir.
20116         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
20117         from fdopendir if O_CLOEXEC is already set.
20119 2011-03-15  Alan Modra  <amodra@gmail.com>
20121         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20122         l_tls_firstbyte_offset non-zero.  Save padding offset in
20123         l_tls_firstbyte_offset for later use.
20124         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20125         freeing static tls block.
20127 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
20129         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20130         where #ifdef was intended.  The intent is to prevent ARG_MAX from
20131         being defined by the kernel headers.
20133 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
20135         [BZ #12734]
20136         * resolv/resolv.h: Define RES_NOTLDQUERY.
20137         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20138         no-tld-query and set RES_NOTLDQUERY.
20139         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20140         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20141         modern BIND to search name as TLD unless forbidden.
20143 2011-05-07  Petr Baudis  <pasky@suse.cz>
20144             Ulrich Drepper  <drepper@gmail.com>
20146         [BZ #12393]
20147         * elf/dl-load.c (fillin_rpath): Move trusted path check...
20148         (is_trusted_path): ...to here.
20149         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20150         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20151         using is_trusted_path_normalize() in setuid scripts.
20153 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20155         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20156         __BEGIN/__END_DECLS.
20158 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
20160         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20161         NSS_STATUS_NOTFOUND if no record was found.
20163 2011-05-05  Andreas Schwab  <schwab@redhat.com>
20165         * sunrpc/Makefile (headers): Add rpc/netdb.h.
20166         (headers-not-in-tirpc): Remove rpc/netdb.h
20167         * resolv/netdb.h: Revert last change.
20169 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20171         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20172         circular dependency between libgcc.a and libc.a.
20174 2011-05-05  Andreas Schwab  <schwab@redhat.com>
20176         * resolv/netdb.h: Don't include <rpc/netdb.h>.
20177         * nis/Makefile: Don't install rpcsvc/*.
20178         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20179         instead of <rpc/types.h>.
20180         (MAXHOSTNAMELEN): Define.
20182 2011-05-03  Andreas Schwab  <schwab@redhat.com>
20184         * elf/ldconfig.c (add_dir): Don't crash on empty path.
20186 2011-04-28  Maciej Babinski  <mbabinski@google.com>
20188         [BZ #12714]
20189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20190         gethostbyname4_r when IPv6 results are possible.
20192 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
20194         [BZ #12723]
20195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20196         _PC_PIPE_BUF handling.
20198 2011-04-30  Bruno Haible  <bruno@clisp.org>
20200         [BZ #12717]
20201         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20202         * resolv/netdb.h (getnameinfo): Change type of flags parameter
20203         to 'int'.
20204         * inet/getnameinfo.c (getnameinfo): Likewise.
20206 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
20208         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20209         to groups setting in database lookup.
20210         * nss/nsswitch.conf: Add initgroups entry.
20212 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
20214         [BZ #12685]
20215         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20216         mode string.
20217         Patch by Eric Blake <eblake@redhat.com>.
20219 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
20221         * sunrpc/Makefile (need-export-routines): Add svc_run.
20222         (routines): Remove svc_run.
20223         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20224         * sunrpc/clnt_perr.c (clnt_perrno): Export.
20225         * sunrpc/svc_run.c (svc_run): Likewise.
20226         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20228 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
20230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20231         problem in reallocation in last patch.
20233 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
20235         * sunrpc/Makefile: Move inclusion of Rules.
20237 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
20239         * nss/nss_files/files-initgroups.c: New file.
20240         * nss/Makefile (libnss_files-routines): Add files-initgroups.
20241         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20242         _nss_files_initgroups_dyn.
20244 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
20246         * elf/elf.h (R_ARM_IRELATIVE): Define.
20248 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
20250         * po/ru.po: Update from translation team.
20252 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
20254         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20255         dependencies.
20257 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
20259         [BZ #12653]
20260         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20261         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20262         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20266 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
20268         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20269         differing bytes.
20270         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20274 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
20276         [BZ #12420]
20277         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20278         storing it.
20279         * stdlib/bug-getcontext.c: New file.
20280         * stdlib/Makefile: Add rules to build and run bug-getcontext.
20282 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20284         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20285         instructions into .machine "z9-109".
20286         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20287         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20289 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20291         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20292         between environment variables and auxiliary vector.
20294 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
20296         * Makefile: Add rules to build linkobj/libc.so.
20297         * include/libc-symbols.h: Define libc_hidden_nolink.
20298         * include/rpc/auth.h: Mark functions which are to be hidden.
20299         * include/rpc/auth_des.h: Likewise.
20300         * include/rpc/auth_unix.h: Likewise.
20301         * include/rpc/clnt.h: Likewise.
20302         * include/rpc/des_crypt.h: Likewise.
20303         * include/rpc/key_prot.h: Likewise.
20304         * include/rpc/pmap_clnt.h: Likewise.
20305         * include/rpc/pmap_prot.h: Likewise.
20306         * include/rpc/pmap_rmt.h: Likewise.
20307         * include/rpc/rpc_msg.h: Likewise.
20308         * include/rpc/svc.h: Likewise.
20309         * include/rpc/svc_auth.h: Likewise.
20310         * include/rpc/xdr.h: Likewise.
20311         * nis/Makefile: Link all DSOs against linkobj/libc.so.
20312         * nss/Makefile: Likewise.
20313         * sunrpc/Makefile: Don't install headers.  Build library with normal
20314         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
20315         * sunrpc/auth_des.c: Hide exported symbols by default, export some
20316         for the compat linking library.  Remove use of INTDEF/INTUSE.
20317         * sunrpc/auth_none.c: Likewise.
20318         * sunrpc/auth_unix.c: Likewise.
20319         * sunrpc/authdes_prot.c: Likewise.
20320         * sunrpc/authuxprot.c: Likewise.
20321         * sunrpc/clnt_gen.c: Likewise.
20322         * sunrpc/clnt_perr.c: Likewise.
20323         * sunrpc/clnt_raw.c: Likewise.
20324         * sunrpc/clnt_simp.c: Likewise.
20325         * sunrpc/clnt_tcp.c: Likewise.
20326         * sunrpc/clnt_udp.c: Likewise.
20327         * sunrpc/clnt_unix.c: Likewise.
20328         * sunrpc/des_crypt.c: Likewise.
20329         * sunrpc/des_soft.c: Likewise.
20330         * sunrpc/get_myaddr.c: Likewise.
20331         * sunrpc/key_call.c: Likewise.
20332         * sunrpc/key_prot.c: Likewise.
20333         * sunrpc/netname.c: Likewise.
20334         * sunrpc/pm_getmaps.c: Likewise.
20335         * sunrpc/pm_getport.c: Likewise.
20336         * sunrpc/pmap_clnt.c: Likewise.
20337         * sunrpc/pmap_prot.c: Likewise.
20338         * sunrpc/pmap_prot2.c: Likewise.
20339         * sunrpc/pmap_rmt.c: Likewise.
20340         * sunrpc/publickey.c: Likewise.
20341         * sunrpc/rpc_cmsg.c: Likewise.
20342         * sunrpc/rpc_common.c: Likewise.
20343         * sunrpc/rpc_dtable.c: Likewise.
20344         * sunrpc/rpc_prot.c: Likewise.
20345         * sunrpc/rpc_thread.c: Likewise.
20346         * sunrpc/rtime.c: Likewise.
20347         * sunrpc/svc.c: Likewise.
20348         * sunrpc/svc_auth.c: Likewise.
20349         * sunrpc/svc_authux.c: Likewise.
20350         * sunrpc/svc_raw.c: Likewise.
20351         * sunrpc/svc_run.c: Likewise.
20352         * sunrpc/svc_simple.c: Likewise.
20353         * sunrpc/svc_tcp.c: Likewise.
20354         * sunrpc/svc_udp.c: Likewise.
20355         * sunrpc/svc_unix.c: Likewise.
20356         * sunrpc/svcauth_des.c: Likewise.
20357         * sunrpc/xcrypt.c: Likewise.
20358         * sunrpc/xdr.c: Likewise.
20359         * sunrpc/xdr_array.c: Likewise.
20360         * sunrpc/xdr_float.c: Likewise.
20361         * sunrpc/xdr_intXX_t.c: Likewise.
20362         * sunrpc/xdr_mem.c: Likewise.
20363         * sunrpc/xdr_rec.c: Likewise.
20364         * sunrpc/xdr_ref.c: Likewise.
20365         * sunrpc/xdr_sizeof.c: Likewise.
20366         * sunrpc/xdr_stdio.c: Likewise.
20368 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
20370         [BZ #12650]
20371         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20372         * sysdeps/ia64/dl-tls.h: Likewise.
20373         * sysdeps/powerpc/dl-tls.h: Likewise.
20374         * sysdeps/s390/dl-tls.h: Likewise.
20375         * sysdeps/sh/dl-tls.h: Likewise.
20376         * sysdeps/sparc/dl-tls.h: Likewise.
20377         * sysdeps/x86_64/dl-tls.h: Likewise.
20378         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20380 2011-03-14  Andreas Schwab  <schwab@redhat.com>
20382         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20383         rpath element also skip the following colon.
20384         (expand_dynamic_string_token): Add is_path parameter and pass
20385         down to DL_DST_REQUIRED and _dl_dst_substitute.
20386         (decompose_rpath): Call expand_dynamic_string_token with
20387         non-zero is_path.  Ignore empty rpaths.
20388         (_dl_map_object_from_fd): Call expand_dynamic_string_token
20389         with zero is_path.
20391 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
20393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20394         Make cancelable.
20396 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
20398         [BZ #12655]
20399         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20400         Patch by Filipe David Manana <fdmanana@apache.org>.
20402 2011-04-07  Andreas Schwab  <schwab@redhat.com>
20404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20405         Maintain aligned stack.
20406         (CHECK_RSP): Remove unused macro.
20408 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
20410         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20411         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20413 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
20415         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20417         * include/features.h: Mention __USE_XOPEN2K8 in comment.
20419 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
20421         [BZ #12518]
20422         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20423         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20424         * sysdeps/x86_64/memmove.c: New file.
20425         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20426         (memcpy): Renamed to ...
20427         (__new_memcpy): This.
20428         (memcpy): Provide GLIBC_2_14 memcpy.
20429         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20430         (memcpy): Provide GLIBC_2_2_5 memcpy.
20432 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20434         [BZ #12631]
20435         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20437 2011-03-30  Andreas Schwab  <schwab@redhat.com>
20439         * misc/syncfs.c: New file.
20440         * misc/Makefile (routines): Add syncfs.
20441         * posix/unistd.h: Declare syncfs.
20442         * sysdeps/unix/syscalls.list: Add syncfs.
20444 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20446         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20447         open_by_handle_at.
20448         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20449         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20453         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20454         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20456 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20458         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20459         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20460         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20462         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20463         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20464         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20466         * io/Makefile: Compile fallocate.c, fallocate64.c, and
20467         sync_file_range.c with -fexceptions.
20468         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20469         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20470         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20471         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20472         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20473         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20475         sync_file_range as cancellation point
20476         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
20477         now a wrapper around __call_sync_file_range with cancellation handling.
20478         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20479         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
20480         function name to __call_sync_file_range.
20481         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20482         Add call_sync_file_range.
20484 2011-04-01  Andreas Schwab  <schwab@redhat.com>
20486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20487         bits/timex.h.
20489 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
20491         * iconv/iconv.h: Fix typo in comment.
20492         * io/fcntl.h: Likewise.
20493         * libio/stdio.h: Likewise.
20494         * posix/spawn.h: Likewise.
20495         * posix/unistd.h: Likewise.
20496         * stdlib/stdlib.h: Likewise.
20497         * time/time.h: Likewise.
20498         * wcsmbs/wchar.h: Likewise.
20500         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20501         open_by_handle): Add.
20502         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20503         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
20504         Augment a few comments.
20505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20507         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20509         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20510         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20511         open_by_handle.
20513         * io/fcntl.h (AT_EMPTY_PATH): Define.
20515 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
20517         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20518         * sysdeps/unix/sysv/linux/bits/time.h: New file.
20519         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20520         to...
20521         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
20522         * Versions.def: Add GLIBC_2.14.
20523         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20524         Export.
20526 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
20528         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20529         round counter.
20530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20532 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
20534         [BZ #12597]
20535         * string/test-strncmp.c (do_page_test): New function.
20536         (check2): Likewise.
20537         (test_main): Call check2.
20538         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20540 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
20542         [BZ #12587]
20543         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20544         Handle cache information in CPU leaf 4.
20545         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20547 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
20549         [BZ #12583]
20550         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20551         character representation.
20552         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20554 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
20556         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20557         END(__isnan) to END(__isnanf) to match function entry point/label
20558         EALIGN(__isnanf,...).
20560 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
20562         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20564 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
20566         [BZ #12510]
20567         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20568         copy from the symbol referenced in the relocation to initialize the
20569         used variable.
20570         Patch by Piotr Bury <pbury@goahead.com>.
20571         * elf/Makefile: Add rules to build and tst-unique3.
20572         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20573         * elf/tst-unique3.cc: New file.
20574         * elf/tst-unique3.h: New file.
20575         * elf/tst-unique3lib.cc: New file.
20576         * elf/tst-unique3lib2.cc: New file.
20578         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20580 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
20582         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20583         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
20584         to _start.
20586 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
20588         * elf/dl-load.c (_dl_map_object): If we are looking for the first
20589         to-be-loaded object along a path to loader is ld.so.
20591 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20592             Ulrich Drepper  <drepper@gmail.com>
20594         * sysdeps/x86_64/memset.S: After aligning destination, code
20595         branches to different locations depending on the value of
20596         misalignment, when multiarch is enabled. Fix this.
20598 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
20600         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20601         Set _x86_64_preferred_memory_instruction for AMD processsors.
20602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20603         Set bit_Prefer_SSE_for_memop for AMD processors.
20605 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
20607         * libio/fmemopen.c (fmemopen): Optimize a bit.
20609 2011-03-03  Andreas Schwab  <schwab@redhat.com>
20611         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20613 2011-03-03  Roland McGrath  <roland@redhat.com>
20615         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20617 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
20619         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
20620         __bzero_ultra1 instead of __memset_ultra1.
20622 2011-02-23  Andreas Schwab  <schwab@redhat.com>
20623             Ulrich Drepper  <drepper@gmail.com>
20625         [BZ #12509]
20626         * include/link.h (struct link_map): Add l_orig_initfini.
20627         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20628         returning unsuccessfully.
20629         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20630         close of a file loaded at startup, restore the original l_initfini
20631         list.
20632         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20633         list, store the pointer.
20634         * elf/Makefile ($(objpfx)noload-mem): New rule.
20635         (noload-ENV): Define.
20636         (tests): Add $(objpfx)noload-mem.
20637         * elf/noload.c: Include <memcheck.h>.
20638         (main): Call mtrace.  Close all opened handles.
20640 2011-02-17  Andreas Schwab  <schwab@redhat.com>
20642         [BZ #12454]
20643         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20644         dependencies are missing.
20646 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20648         Fix __if_freereq crash: Unlike the generic version which uses free,
20649         Hurd needs munmap.
20650         * sysdeps/mach/hurd/ifreq.h: New file.
20652 2011-01-27  Petr Baudis  <pasky@suse.cz>
20653             Ulrich Drepper  <drepper@gmail.com>
20655         [BZ 12445]#
20656         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20657         to extend_alloca().
20658         * stdio-common/bug23.c: New file.
20659         * stdio-common/Makefile (tests): Add bug23.
20661 2010-09-28  Andreas Schwab  <schwab@redhat.com>
20662             Ulrich Drepper  <drepper@gmail.com>
20664         [BZ #12489]
20665         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20666         before performing relro protection.  At old place add assertion
20667         to make sure nothing changed.
20669 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
20670             Glauber de Oliveira Costa  <glommer@gmail.com>
20672         * elf/elf.h: Add new ARM TLS relocs.
20674 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
20676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20677         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20678         cast from r3.
20679         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
20680         'tests' variable.
20681         * sysdeps/wordsize-64/tst-writev.c: New file.
20683 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
20685         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20686         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20687         insns in _dl_start to prevent a TOC reference before relocs are
20688         resolved.
20690 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
20692         [BZ #12469]
20693         * Makeconfig: Remove RANLIB definition.
20694         * Makerules: Don't use RANLIB.
20695         * aclocal.m4: Remove ranlib test.
20696         * configure.in: No need to check for ranlib.
20697         * elf/rtld-Rules: Don't use RANLIB.
20699 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20701         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20702         protection macro.
20703         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20704         inclusion protection macro.
20706         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20707         SIGRTMIN and SIGRTMAX and print information in that case only when
20708         SIGRTMIN is defined.
20710 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
20712         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20713         arginfo fn returning -1.
20715         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20716         and thousands string is zero terminated.
20718 2011-02-03  Andreas Schwab  <schwab@redhat.com>
20720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20721         sysdeps/unix/sysv/linux/bits/socket.h.
20723 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20725         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20726         (__CPU_COUNT): Remove old macros.
20727         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20728         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20729         (__CPU_ALLOC, __CPU_FREE): Add macros.
20730         (__sched_cpualloc, __sched_cpufree): Add declarations.
20732 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
20734         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20735         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20736         * nscd/aicache.c (addhstaiX): Return timeout of added value.
20737         (readdhstai): Return value of addhstaiX call.
20738         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20739         (addgrbyX): Return value returned by cache_addgr.
20740         (readdgrbyname): Return value returned by addgrbyX.
20741         (readdgrbygid): Likewise.
20742         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20743         (addpwbyX): Return value returned by cache_addpw.
20744         (readdpwbyname): Return value returned by addhstbyX.
20745         (readdpwbyuid): Likewise.
20746         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20747         (addservbyX): Return value returned by cache_addserv.
20748         (readdservbyname): Return value returned by addservbyX:
20749         (readdservbyport): Likewise.
20750         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20751         (addhstbyX): Return value returned by cache_addhst.
20752         (readdhstbyname): Return value returned by addhstbyX.
20753         (readdhstbyaddr): Likewise.
20754         (readdhstbynamev6): Likewise.
20755         (readdhstbyaddrv6): Likewise.
20756         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20757         (readdinitgroups): Return value returned by addinitgroupsX.
20758         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20759         (prune_cache): Keep track of timeout value of re-added entries.
20760         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20761         * nscd/nscd.h: Adjust prototypes of readd* functions.
20763 2011-02-04  Roland McGrath  <roland@redhat.com>
20765         * nis/nis_server.c (nis_servstate): Use the right name for 0.
20766         (nis_stats): Likewise.
20767         * nis/nis_modify.c (nis_modify): Likewise.
20768         * nis/nis_remove.c (nis_remove): Likewise.
20769         * nis/nis_add.c (nis_add): Likewise.
20771         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20773         * posix/fnmatch_loop.c: Add some consts.
20775         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20777 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
20779         [BZ #12460]
20780         * config.make.in (config-cflags-novzeroupper): Define.
20781         * configure.in: Substitute libc_cv_cc_novzeroupper.
20782         * elf/Makefile (AVX-CFLAGS): Define.
20783         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20784         (CFLAGS-tst-auditmod4a.c): Likewise.
20785         (CFLAGS-tst-auditmod4b.c): Likewise.
20786         (CFLAGS-tst-auditmod6b.c): Likewise.
20787         (CFLAGS-tst-auditmod6c.c): Likewise.
20788         (CFLAGS-tst-auditmod7b.c): Likewise.
20789         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20791 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
20793         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20794         function to the callback.
20795         Patch partly by Jiri Olsa <jolsa@redhat.com>.
20797 2011-02-02  Andreas Schwab  <schwab@redhat.com>
20799         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20800         of errno.
20802 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
20804         [BZ #11724]
20805         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20806         of constructors.
20807         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20808         of destructors.
20809         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20811         [BZ #11724]
20812         * elf/Makefile: Add rules to build and run new test.
20813         * elf/tst-initorder.c: New file.
20814         * elf/tst-initorder.exp: New file.
20815         * elf/tst-initordera1.c: New file.
20816         * elf/tst-initordera2.c: New file.
20817         * elf/tst-initordera3.c: New file.
20818         * elf/tst-initordera4.c: New file.
20819         * elf/tst-initorderb1.c: New file.
20820         * elf/tst-initorderb2.c: New file.
20821         * elf/tst-order-a1.c: New file.
20822         * elf/tst-order-a2.c: New file.
20823         * elf/tst-order-a3.c: New file.
20824         * elf/tst-order-a4.c: New file.
20825         * elf/tst-order-b1.c: New file.
20826         * elf/tst-order-b2.c: New file.
20827         * elf/tst-order-main.c: New file.
20828         New test case by George Gensure <werkt0@gmail.com>.
20830 2010-10-01  Andreas Schwab  <schwab@redhat.com>
20832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20833         decoding ACE if AI_CANONIDN.
20835 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
20837         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20839 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
20841         * version.h (RELEASE): Bump for 2.13 release.
20842         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20844         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20846         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20847         MADV_NOHUGEPAGE.
20848         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20849         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20850         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20851         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20852         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20853         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20855         * posix/getconf.c: Update copyright year.
20856         * catgets/gencat.c: Likewise.
20857         * csu/version.c: Likewise.
20858         * debug/catchsegv.sh: Likewise.
20859         * debug/xtrace.sh: Likewise.
20860         * elf/ldconfig.c: Likewise.
20861         * elf/ldd.bash.in: Likewise.
20862         * elf/sprof.c (print_version): Likewise.
20863         * iconv/iconv_prog.c: Likewise.
20864         * iconv/iconvconfig.c: Likewise.
20865         * locale/programs/locale.c: Likewise.
20866         * locale/programs/localedef.c: Likewise.
20867         * malloc/memusage.sh: Likewise.
20868         * malloc/mtrace.pl: Likewise.
20869         * nscd/nscd.c (print_version): Likewise.
20870         * nss/getent.c: Likewise.
20872         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20873         PF_CAIF, and PF_ALG.
20874         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20876 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
20878         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20879         (modules-names): Use them.
20880         (ifunc-test-modules, ifunc-pie-tests): Define.
20881         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20882         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20883         (test-extras): Likewise.
20884         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20885         $(compile-command.c).
20886         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20887         (all-built-dso): Define.
20888         (check-textrel.out, check-execstack.out): Depend on it.
20890         * configure.in: Don't override --enable-multi-arch.
20892 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
20894         [BZ #6812]
20895         * nscd/hstcache.c (tryagain): Define.
20896         (cache_addhst): Return tryagain not notfound for temporary errors.
20897         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20898         failed.
20900 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
20902         [BZ #10563]
20903         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20904         to make the syscall.
20905         * sysdeps/unix/sysv/linux/setgroups.c: New file.
20907         [BZ #12378]
20908         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20909         and fall back to matching as normal character if the string ends before
20910         the matching ']' is found.  This is what POSIX requires.
20911         * posix/testfnm.c: Adjust test result.
20912         * posix/globtest.sh: Adjust test result.  Add new test.
20913         * posix/tst-fnmatch.input: Likewise.
20914         * posix/tst-fnmatch2.c: Add new test.
20916 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
20918         * elf/Makefile (check-execstack): Revert last change.  Depend on
20919         check-execstack.h.
20920         (check-execstack.h): New target.
20921         (generated): Add check-execstack.h.
20922         * elf/check-execstack.c: Include "check-execstack.h".
20923         (main): Revert last change.
20924         (handle_file): Return zero if GNU_STACK is absent and
20925         DEFAULT_STACK_PERMS doesn't include PF_X.
20927 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
20929         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20930         in child fails because the descriptor is already closed.
20931         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20932         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20933         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
20935         [BZ #12397]
20936         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20937         syscall.
20939         [BZ #10484]
20940         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20941         temporary buffer used to handle multi lookups locally.
20942         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
20944 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
20946         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20947         loader is ld.so.
20949 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
20951         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20952         alignment for SSE2.
20954 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
20956         [BZ #12394]
20957         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20958         characters.  When rounding increased number of integer digits recompute
20959         number of groups.
20960         * stdio-common/tst-grouping.c: New file.
20961         * stdio-common/Makefile: Add rules to build and run tst-grouping.
20963 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
20965         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20966         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
20968         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20969         void.
20970         * bits/select.h: Likewise.
20972 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
20974         * po/ja.po: Update from translation team.
20976 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
20978         [BZ #11155]
20979         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20980         implementation just like for lxstat, fxstatat, et al.
20982 2010-12-27  Jim Meyering  <meyering@redhat.com>
20984         [BZ #12348]
20985         * posix/regexec.c (build_trtable): Return failure indication upon
20986         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
20988 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
20990         [BZ #12201]
20991         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20992         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20993         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20996         [BZ #12207]
20997         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20999         [BZ #12204]
21000         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21001         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21003 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21005         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21006         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21007         script has SORT_BY_INIT_PRIORITY.
21008         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21009         NO_CTORS_DTORS_SECTIONS is defined.
21010         * elf/soinit.c: Likewise.
21011         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21012         NO_CTORS_DTORS_SECTIONS is defined.
21013         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21014         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21015         * sysdeps/sh/init-first.c: Likewise.
21016         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21018 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
21020         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21021         always use the slow path.
21023 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
21025         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21026         similar rule which adds the sysdep directories to the header search in
21027         order to pick up the correct platform stackinfo.h.
21028         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21029         perform test if it is, otherwise return successfully without testing.
21030         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21031         DEFAULT_STACK_PERMS define in stackinfo.h.
21032         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21033         defined in stackinfo.h.
21034         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21035         DEFAULT_STACK_PERMS defined in stackinfo.h.
21036         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21037         * sysdeps/ia64/stackinfo.h: Likewise.
21038         * sysdeps/s390/stackinfo.h: Likewise.
21039         * sysdeps/sh/stackinfo.h: Likewise.
21040         * sysdeps/sparc/stackinfo.h: Likewise.
21041         * sysdeps/x86_64/stackinfo.h: Likewise.
21042         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21043         PF_X for powerpc64.  Retain PF_X for powerpc32.
21045 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
21047         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21048         accurately.
21049         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21050         GETDENTS_64BIT_ALIGNED.
21052 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
21054         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21056 2010-12-10  Andreas Schwab  <schwab@redhat.com>
21058         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21059         _GNU_SOURCE.
21061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21062         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21063         Remove __restrict.
21064         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21065         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21067 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
21069         [BZ #11655]
21070         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21071         are initialized.
21073 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
21075         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21077 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
21079         * po/it.po: Update from translation team.
21081 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21084         unused codes.
21086 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
21088         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21090 2010-11-24  Andreas Schwab  <schwab@redhat.com>
21092         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21093         specially.
21094         (gaih_getanswer_slice): Likewise.
21096 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
21098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21100 2010-05-31  Petr Baudis  <pasky@suse.cz>
21102         [BZ #11149]
21103         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21104         silently even in the chroot mode.
21106 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
21108         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21109         last patch a bit.  Pretty printing
21111 2010-05-31  Petr Baudis <pasky@suse.cz>
21113         [BZ #10085]
21114         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21115         initialization of skip_initgroups_dyn.
21117 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
21119         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21120         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21122 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
21124         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21126 2010-11-11  Andreas Schwab  <schwab@redhat.com>
21128         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21129         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21130         (tst-fnmatch-ENV): Set MALLOC_TRACE.
21131         ($(objpfx)tst-fnmatch-mem): New rule.
21132         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21133         * posix/tst-fnmatch.c (main): Call mtrace.
21135 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
21137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21138         Support Intel processor model 6 and model 0x2c.
21140 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
21142         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21143           signed comparison.
21145 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
21147         [BZ #12205]
21148         * string/test-strncasecmp.c (check_result): New function.
21149         (do_one_test): Use it.
21150         (check1): New function.
21151         (test_main): Use it.
21152         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21153         Support strcasecmp and strncasecmp.
21155 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
21157         [BZ #12194]
21158         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21159         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21161 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21163         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21164         IFUNC support.
21165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21166         memset-x86-64.
21167         * sysdeps/x86_64/multiarch/bzero.S: New file.
21168         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21169         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21170         * sysdeps/x86_64/multiarch/memset.S: New file.
21171         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21173         Set bit_Prefer_SSE_for_memop for Intel processors.
21174         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21175         Define.
21176         (index_Prefer_SSE_for_memop): Define.
21177         (HAS_PREFER_SSE_FOR_MEMOP): Define.
21179 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
21181         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21182         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21184 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
21186         [BZ #12191]
21187         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21188         (__x86_64_raw_data_cache_size_half): Likewise.
21189         (__x86_64_raw_shared_cache_size): Likewise.
21190         (__x86_64_raw_shared_cache_size_half): Likewise.
21192         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21193         (__x86_64_raw_data_cache_size_half): Likewise.
21194         (__x86_64_raw_shared_cache_size): Likewise.
21195         (__x86_64_raw_shared_cache_size_half): Likewise.
21196         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21197         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21198         and __x86_64_raw_shared_cache_size_half.  Round
21199         __x86_64_data_cache_size_half, __x86_64_data_cache_size
21200         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21201         to multiple of 256 bytes.
21203 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
21205         [BZ #12167]
21206         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21207         of inacessible symlinks.  Verify result of symlink before returning it.
21208         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21209         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21211 2010-10-28  Erich Ritz  <erichritz@gmail.com>
21213         * math/math.h (isinf): Fix typo in comment.
21215 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
21217         * po/da.po: Update from translation team.
21219 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
21221         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21222         is added to the list.
21224 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21225             Ulrich Drepper  <drepper@gmail.com>
21227         * elf/dl-object.c (_dl_new_object): Don't append the new object to
21228         the global list here.  Move code to...
21229         (_dl_add_to_namespace_list): ...here.  New function.
21230         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21231         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21232         * elf/dl-load.c (lose): Don't remove the element from the list.
21233         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21234         (_dl_map_object): Likewise.
21236 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
21238         [BZ #12159]
21239         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21240         into all bytes of SSE register.
21241         Patch by Richard Li <richardpku@gmail.com>.
21243 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
21245         [BZ #12140]
21246         * malloc/malloc.c (_int_free): Fill correct number of bytes when
21247         perturbing.
21249 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
21251         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21252         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21253         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21254         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21256         submachine.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21259 2010-10-22  Andreas Schwab  <schwab@redhat.com>
21261         * include/dlfcn.h (__RTLD_SECURE): Define.
21262         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
21263         mode & __RTLD_SECURE instead.
21264         (open_path): Rename preloaded parameter to secure.
21265         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21266         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21267         * elf/dl-deps.c (openaux): Likewise.
21268         * elf/rtld.c (struct map_args): Remove is_preloaded.
21269         (map_doit): Don't use it.
21270         (dl_main): Likewise.
21271         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21272         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21274 2010-09-09  Andreas Schwab  <schwab@redhat.com>
21276         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21277         (sysd-rules-targets): Remove duplicates.
21278         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21279         rtld-%.$o dependency.
21281 2010-10-18  Andreas Schwab  <schwab@redhat.com>
21283         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21284         _dl_map_object do it.
21286 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
21288         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21289         fast fma builtins, define the macros in the C99 standard.
21290         (FP_FAST_FMAF): Likewise.
21291         (FP_FAST_FMAL): Likewise.
21292         * sysdeps/x86_64/bits/mathdef.h: Likewise.
21294         * bits/mathdef.h: Update copyright year.
21295         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21297 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
21299         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21300         builtins, define the macros in the C99 standard.
21301         (FP_FAST_FMAF): Likewise.
21302         (FP_FAST_FMAL): Likewise.
21303         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21304         multiply/add.
21305         (FP_FAST_FMAF): Likewise.
21307 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
21309         [BZ #3268]
21310         * math/libm-test.inc (fma_test): Some new testcases.
21311         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21313         y and infinite z.  Do multiplication by C already in long double.
21314         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21316         y and infinite z.  Do bitwise or of inexact bit into u.d.
21317         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21318         * sysdeps/i386/fpu/s_fmaf.S: Removed.
21319         * sysdeps/i386/fpu/s_fma.S: Removed.
21320         * sysdeps/i386/fpu/s_fmal.S: Removed.
21322 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
21324         [BZ #3268]
21325         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21327         computation is not scheduled after fetestexcept.  Fix value
21328         of minimum denormal long double.
21330 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
21332         [BZ #3268]
21333         * math/libm-test.inc (fma_test): Add some more tests.
21334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21335         correctly.
21337 2010-10-15  Andreas Schwab  <schwab@redhat.com>
21339         * scripts/data/localplt-s390-linux-gnu.data: New file.
21340         * scripts/data/localplt-s390x-linux-gnu.data: New file.
21342 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
21344         [BZ #3268]
21345         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21346         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21347         instead of dbl-64.
21348         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21349         inlines.
21350         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21352         if one of x and y is very large and the other is subnormal.
21353         * sysdeps/s390/fpu/s_fmaf.c: New file.
21354         * sysdeps/s390/fpu/s_fma.c: New file.
21355         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21356         * sysdeps/powerpc/fpu/s_fma.S: New file.
21357         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21358         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21359         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21361 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
21363         [BZ #3268]
21364         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21365         fma tests.
21366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21367         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21368         * sysdeps/i386/i686/multiarch/s_fma.c: Include
21369         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21370         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21371         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21372         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21374 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
21376         [BZ #12078]
21377         * posix/regcomp.c (parse_branch): One more memory leak plugged.
21378         * posix/bug-regex31.input: Add test case.
21380 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21382         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21383         * posix/bug-regex31.input: New file.
21385         [BZ #12078]
21386         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21387         (parse_sub_exp): Fix last change, use postorder.
21389         * posix/bug-regex31.c: New file.
21390         * posix/Makefile: Add rules to build and run bug-regex31.
21392         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21394         [BZ #12078]
21395         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21397         [BZ #12108]
21398         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21399         to have entries in sys_siglist.
21401         [BZ #12093]
21402         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21403         be NULL.
21405 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
21407         [BZ #3268]
21408         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21409         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21410         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21411         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21412         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21413         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21414         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21415         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21416         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21417         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21418         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21419         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21420         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21421         * math/ftestexcept.c (fetestexcept): Likewise.
21422         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21423         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21424         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21425         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21426         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21427         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21428         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21430 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
21432         [BZ #12107]
21433         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21434         newline.
21436 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
21438         * string/bug-strstr1.c: New file.
21439         * string/Makefile: Add rules to build and run bug-strstr1.
21441 2010-10-05  Eric Blake  <eblake@redhat.com>
21443         [BZ #12092]
21444         * string/str-two-way.h (two_way_long_needle): Always clear memory
21445         when skipping input due to the shift table.
21447 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
21449         [BZ #12005]
21450         * malloc/mcheck.c: Handle large requests.
21452         [BZ #12077]
21453         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21454         for strncmp and strncasecmp.
21455         * string/stratcliff.c: Add tests for strcmp and strncmp.
21456         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21458 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21460         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21461         __set_fpscr.
21463 2010-09-30  Andreas Jaeger  <aj@suse.de>
21465         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21466         (CGROUP_SUPER_MAGIC): Define.
21467         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21468         Handle btrfs and cgroup file systems.
21469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21470         Likewise.
21472 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
21474         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21475         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21477 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21479         [BZ #12067]
21480         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21481         trying to locate the ELF header.
21483 2010-09-27  Andreas Schwab  <schwab@redhat.com>
21485         [BZ #11611]
21486         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21487         Mask out sign-bit copies when constructing f_fsid.
21489 2010-09-24  Petr Baudis <pasky@suse.cz>
21491         * debug/stack_chk_fail_local.c: Add missing licence exception.
21492         * debug/warning-nop.c: Likewise.
21494 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
21496         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21497         implementing getdents64 using getdents syscall, set d_type if
21498         __ASSUME_GETDENTS32_D_TYPE.
21500 2010-09-16  Andreas Schwab  <schwab@redhat.com>
21502         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21503         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21505 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
21507         [BZ #12037]
21508         * posix/unistd.h: Undo change of feature selection for ftruncate from
21509         2010-01-11.
21511 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
21513         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21514         detection.
21516 2010-09-20  Andreas Schwab  <schwab@redhat.com>
21518         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21519         fanotify_mark.
21520         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21522 2010-09-14  Andreas Schwab  <schwab@redhat.com>
21524         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21525         variables after CHECK_SP call.
21526         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21528 2010-09-13  Andreas Schwab  <schwab@redhat.com>
21529             Ulrich Drepper  <drepper@redhat.com>
21531         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21532         re-relocationg ld.so.
21533         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21534         _dl_init_paths call.
21535         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
21536         here anymore.
21538 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
21540         * resolv/res_init.c (__res_vinit): Count the default server we added.
21542 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
21543             Ulrich Drepper  <drepper@redhat.com>
21545         [BZ #11968]
21546         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21547         (____longjmp_chk): Use %ebx for saving value across system call.
21548         Add unwind info.
21550 2010-09-06  Andreas Schwab  <schwab@redhat.com>
21552         * manual/Makefile: Don't mix pattern rules with normal rules.
21554 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
21556         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21557         operation.
21558         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21559         * libio/iofopncook.c (_IO_cookie_init): Likewise.
21560         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21561         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21563         Likewise.
21565 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
21567         [BZ #11979]
21568         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21569         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21571 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
21573         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21574         * sysdeps/x86_64/addmul_1.S: Likewise.
21575         * sysdeps/x86_64/lshift.S: Likewise.
21576         * sysdeps/x86_64/mul_1.S: Likewise.
21577         * sysdeps/x86_64/rshift.S: Likewise.
21578         * sysdeps/x86_64/sub_n.S: Likewise.
21579         * sysdeps/x86_64/submul_1.S: Likewise.
21581 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21583         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21584         Define __sched_param instead of SCHED_* and sched_param when
21585         <bits/sched.h> is included with __need_schedparam defined.
21586         * bits/sched.h [__need_schedparam]
21587         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
21588         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21589         (__defined_schedparam): Define to 1.
21590         (__sched_param): New structure, identical to sched_param.
21591         (__need_schedparam): Undefine.
21593 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
21595         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21596         (epoll_create1): Declare.
21598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21600 2010-08-31  Andreas Schwab  <schwab@redhat.com>
21602         [BZ #7066]
21603         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21604         shifting retval into place.
21606 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
21608         * nis/rpcsvc/nis.h: Update copyright notice.
21609         * nis/rpcsvc/nis.x: Likewise.
21610         * nis/rpcsvc/nis_callback.h: Likewise.
21611         * nis/rpcsvc/nis_callback.x: Likewise.
21612         * nis/rpcsvc/nis_object.x: Likewise.
21613         * nis/rpcsvc/nis_tags.h: Likewise.
21614         * nis/rpcsvc/yp.h: Likewise.
21615         * nis/rpcsvc/yp.x: Likewise.
21616         * nis/rpcsvc/ypupd.h: Likewise.
21617         * nis/yp_xdr.c: Likewise.
21618         * nis/ypupdate_xdr.c: Likewise.
21620         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
21621         mainly the body of pmap_getport.  Add parameters to specify timeouts.
21622         (pmap_getport): Use __libc_rpc_getport.
21623         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21624         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21625         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21627 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
21629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21630         fanotify_mark.
21632 2010-08-27  Roland McGrath  <roland@redhat.com>
21634         * sysdeps/i386/i686/multiarch/Makefile
21635         (CFLAGS-varshift.c): New variable.
21637 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
21639         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21640         * sysdeps/i386/i686/multiarch/varshift.c: New file.
21642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21644         * sysdeps/x86_64/strlen.S: Minimal code improvement.
21646 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21648         * sysdeps/x86_64/strlen.S: Unroll the loop.
21649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21650         strlen-sse2 strlen-sse2-bsf.
21651         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21652         __strlen_no_bsf if bit_Slow_BSF is set.
21653         (__strlen_sse42): Removed.
21654         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21655         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21657 2010-08-25  Roland McGrath  <roland@redhat.com>
21659         * sysdeps/x86_64/multiarch/varshift.S: File removed.
21660         * sysdeps/x86_64/multiarch/varshift.c: New file.
21661         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21662         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21663         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21664         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21666 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21669         strlen-sse2 strlen-sse2-bsf.
21670         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21671         __strlen_sse2_bsf if bit_Slow_BSF is unset.
21672         (__strlen_sse2): Removed.
21673         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21674         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21676         bit_Slow_BSF for Atom.
21677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21678         (index_Slow_BSF): Define.
21679         (HAS_SLOW_BSF): Define.
21681 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
21683         [BZ #10851]
21684         * resolv/res_init.c (__res_vinit): When no server address at all
21685         is given default to loopback.
21687 2010-08-24  Roland McGrath  <roland@redhat.com>
21689         * configure.in: Remove config-name.h generation.
21690         * configure: Regenerated.
21691         * config-name.in: File removed.
21692         * scripts/config-uname.sh: New file.
21693         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21694         ($(objdir)config-name.h): New target.
21696         * sunrpc/rpc_parse.h: Avoid nested comment.
21698 2010-08-24  Richard Henderson  <rth@redhat.com>
21699             Ulrich Drepper  <drepper@redhat.com>
21700             H.J. Lu  <hongjiu.lu@intel.com>
21702         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21704         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21705         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
21706         _mm_alignr_epi8 with _mm_loadu_si128.
21707         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21708         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21709         (__m128i_shift_right): Removed.
21710         * sysdeps/i386/i686/multiarch/varshift.h: New file.
21711         * sysdeps/i386/i686/multiarch/varshift.S: New file.
21712         * sysdeps/x86_64/multiarch/varshift.h: New file.
21713         * sysdeps/x86_64/multiarch/varshift.S: New file.
21715 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
21717         * configure.in: Move assembler checks to before sysdep dir checking.
21719 2010-08-20  Petr Baudis  <pasky@suse.cz>
21721         * LICENSES: Sync the sunrpc license.
21723 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
21725         * sunrpc/auth_des.c: Update copyright notice once again.
21726         * sunrpc/auth_none.c: Likewise.
21727         * sunrpc/auth_unix.c: Likewise.
21728         * sunrpc/authdes_prot.c: Likewise.
21729         * sunrpc/authuxprot.c: Likewise.
21730         * sunrpc/bindrsvprt.c: Likewise.
21731         * sunrpc/clnt_gen.c: Likewise.
21732         * sunrpc/clnt_perr.c: Likewise.
21733         * sunrpc/clnt_raw.c: Likewise.
21734         * sunrpc/clnt_simp.c: Likewise.
21735         * sunrpc/clnt_tcp.c: Likewise.
21736         * sunrpc/clnt_udp.c: Likewise.
21737         * sunrpc/clnt_unix.c: Likewise.
21738         * sunrpc/des_crypt.c: Likewise.
21739         * sunrpc/des_soft.c: Likewise.
21740         * sunrpc/get_myaddr.c: Likewise.
21741         * sunrpc/getrpcport.c: Likewise.
21742         * sunrpc/key_call.c: Likewise.
21743         * sunrpc/key_prot.c: Likewise.
21744         * sunrpc/openchild.c: Likewise.
21745         * sunrpc/pm_getmaps.c: Likewise.
21746         * sunrpc/pm_getport.c: Likewise.
21747         * sunrpc/pmap_clnt.c: Likewise.
21748         * sunrpc/pmap_prot.c: Likewise.
21749         * sunrpc/pmap_prot2.c: Likewise.
21750         * sunrpc/pmap_rmt.c: Likewise.
21751         * sunrpc/rpc/auth.h: Likewise.
21752         * sunrpc/rpc/auth_unix.h: Likewise.
21753         * sunrpc/rpc/clnt.h: Likewise.
21754         * sunrpc/rpc/des_crypt.h: Likewise.
21755         * sunrpc/rpc/key_prot.h: Likewise.
21756         * sunrpc/rpc/netdb.h: Likewise.
21757         * sunrpc/rpc/pmap_clnt.h: Likewise.
21758         * sunrpc/rpc/pmap_prot.h: Likewise.
21759         * sunrpc/rpc/pmap_rmt.h: Likewise.
21760         * sunrpc/rpc/rpc.h: Likewise.
21761         * sunrpc/rpc/rpc_des.h: Likewise.
21762         * sunrpc/rpc/rpc_msg.h: Likewise.
21763         * sunrpc/rpc/svc.h: Likewise.
21764         * sunrpc/rpc/svc_auth.h: Likewise.
21765         * sunrpc/rpc/types.h: Likewise.
21766         * sunrpc/rpc/xdr.h: Likewise.
21767         * sunrpc/rpc_clntout.c: Likewise.
21768         * sunrpc/rpc_cmsg.c: Likewise.
21769         * sunrpc/rpc_common.c: Likewise.
21770         * sunrpc/rpc_cout.c: Likewise.
21771         * sunrpc/rpc_dtable.c: Likewise.
21772         * sunrpc/rpc_hout.c: Likewise.
21773         * sunrpc/rpc_main.c: Likewise.
21774         * sunrpc/rpc_parse.c: Likewise.
21775         * sunrpc/rpc_parse.h: Likewise.
21776         * sunrpc/rpc_prot.c: Likewise.
21777         * sunrpc/rpc_sample.c: Likewise.
21778         * sunrpc/rpc_scan.c: Likewise.
21779         * sunrpc/rpc_scan.h: Likewise.
21780         * sunrpc/rpc_svcout.c: Likewise.
21781         * sunrpc/rpc_tblout.c: Likewise.
21782         * sunrpc/rpc_util.c: Likewise.
21783         * sunrpc/rpc_util.h: Likewise.
21784         * sunrpc/rpcinfo.c: Likewise.
21785         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21786         * sunrpc/rpcsvc/key_prot.x: Likewise.
21787         * sunrpc/rpcsvc/klm_prot.x: Likewise.
21788         * sunrpc/rpcsvc/mount.x: Likewise.
21789         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21790         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21791         * sunrpc/rpcsvc/rex.x: Likewise.
21792         * sunrpc/rpcsvc/rstat.x: Likewise.
21793         * sunrpc/rpcsvc/rusers.x: Likewise.
21794         * sunrpc/rpcsvc/sm_inter.x: Likewise.
21795         * sunrpc/rpcsvc/spray.x: Likewise.
21796         * sunrpc/rpcsvc/yppasswd.x: Likewise.
21797         * sunrpc/rtime.c: Likewise.
21798         * sunrpc/svc.c: Likewise.
21799         * sunrpc/svc_auth.c: Likewise.
21800         * sunrpc/svc_authux.c: Likewise.
21801         * sunrpc/svc_raw.c: Likewise.
21802         * sunrpc/svc_run.c: Likewise.
21803         * sunrpc/svc_simple.c: Likewise.
21804         * sunrpc/svc_tcp.c: Likewise.
21805         * sunrpc/svc_udp.c: Likewise.
21806         * sunrpc/svc_unix.c: Likewise.
21807         * sunrpc/svcauth_des.c: Likewise.
21808         * sunrpc/xcrypt.c: Likewise.
21809         * sunrpc/xdr.c: Likewise.
21810         * sunrpc/xdr_array.c: Likewise.
21811         * sunrpc/xdr_float.c: Likewise.
21812         * sunrpc/xdr_mem.c: Likewise.
21813         * sunrpc/xdr_rec.c: Likewise.
21814         * sunrpc/xdr_ref.c: Likewise.
21815         * sunrpc/xdr_sizeof.c: Likewise.
21816         * sunrpc/xdr_stdio.c: Likewise.
21818         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21819         handling.
21821 2010-08-19  Andreas Schwab  <schwab@redhat.com>
21823         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21825 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
21827         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21828         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21829         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21830         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21831         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21832         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21833         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21834         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21835         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21837         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21838         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21839         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21840         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21842 2010-07-26  Anton Blanchard  <anton@samba.org>
21844         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21845         * malloc/arena.c (heap_trim): Likewise.
21847 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
21849         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21850         here.  Not...
21851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21852         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21854 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21856         * sysdeps/i386/elf/Makefile: New file.
21858 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21860         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21861         from fanotify_init.
21862         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21865 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
21867         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21868         of strncasecmp_l.
21869         * sysdeps/multiarch/strcmp.S: Likewise.
21871 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
21873         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21874         strncase_l-nonascii.
21875         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21876         Add strncase_l-ssse3.
21877         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21878         * sysdeps/x86_64/strcmp.S: Likewise.
21879         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21880         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21881         * sysdeps/x86_64/strncase.S: New file.
21882         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21883         * sysdeps/x86_64/strncase_l.S: New file.
21884         * string/Makefile (strop-tests): Add strncasecmp.
21885         * string/test-strncasecmp.c: New file.
21887         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21888         warning.
21890         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21891         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21893 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
21895         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21897 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
21899         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21900         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21901         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21903 2010-05-01  Alan Modra  <amodra@gmail.com>
21905         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21906         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21907         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21908         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21909         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21910         tidying.  Don't tail-call __sigjmp_save for static lib.
21911         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21912         save location.
21913         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21914         (CALL_MCOUNT): Add eh info, and nop after bl.
21915         (TAIL_CALL_SYSCALL_ERROR): New macro.
21916         (PSEUDO_RET): Use it.
21917         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21918         Correct save location of integer regs and cr.
21919         (_dl_profile_resolve): Correct cr save location.  Delete nops
21920         after bl when SHARED.  Reduce cfi size a little by better
21921         placement of cfi directives.
21922         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21923         make a stack frame.  Instead use parm save area as a temp.
21924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21925         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21927         Don't make a stack frame for parent, use parm save area.
21928         Increase child stack frame to 112 bytes.  Don't save unused reg,
21929         and adjust reg usage.  Set up cfi on error recovery and
21930         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21932         (__makecontext): Add dummy nop after jump to exit.
21933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21934         Use correct parm save area and cr save, reduce stack frame.
21935         Correct cfi for possible PSEUDO_RET frame setup.
21936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21937         Branch to local label emitted by PSEUDO_RET rather than
21938         __syscall_error.
21940 2010-08-12  Andreas Schwab  <schwab@redhat.com>
21942         [BZ #11904]
21943         * locale/programs/locale.c (print_assignment): New function.
21944         (show_locale_vars): Use it.
21946 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
21948         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21949         field.
21950         (struct statfs64): Likewise.
21951         (_STATFS_F_FLAGS): Define.
21952         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21953         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21954         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21955         (ST_VALID): Define locally.
21956         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21957         __statvfs_getflags, use the provided value.
21958         * sysdeps/unix/sysv/linux/kernel-features.h: Define
21959         __ASSUME_STATFS_F_FLAGS.
21961         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21963         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21964         Add sys/fanotify.h.
21965         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21966         fanotify_mask for GLIBC_2.13.
21967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21968         fanotify_init and fanotify_mark.
21969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21970         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21972         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21973         Add prlimit.
21974         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21975         prlimit64 for GLIBC_2.13.
21976         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21977         prlimit64.
21978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21979         syscall.
21980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21982         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21983         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
21985         add prlimit alias.
21986         * sysdeps/unix/sysv/linux/prlimit.c: New file.
21988         [BZ #11903]
21989         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21990         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21992         * nss/Makefile: Add rules to build and run tst-nss-test1.
21993         * shlib-versions: Add entry for libnss_test1.
21994         * nss/nss_test1.c: New file.
21995         * nss/tst-nss-test1.c: New file.
21997         * nss/nsswitch.c (__nss_database_custom): Define new variable.
21998         (__nss_configure_lookup): Set appropriate entry in
21999         __nss_configure_lookup to true.
22000         * nss/nsswitch.h: Define enum with indeces of databases in
22001         databases and __nss_database_custom arrays.  Declare
22002         __nss_database_custom.
22003         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22004         to avoid using nscd when custom rules are installed.
22005         * nss/getXXbyYY_r.c: Likewise.
22006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22008         * nss/nss_files/files-parse.c: Whitespace fixes.
22010 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
22012         [BZ #11883]
22013         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22014         * posix/fnmatch_loop.c: Likewise.
22016 2010-07-17  Andi Kleen  <ak@linux.intel.com>
22018         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22019         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22020         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22021         * Versions.def [GLIBC_2.13]: Add.
22023 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
22025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22026         Also fail if tpwd after pwuid call is NULL.
22028 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22030         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22031         when converting to ms.
22033 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22035         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22036         EOPNOTSUPP errors with ENOTTY.
22037         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22038         EOPNOTSUPP errors with ENOTTY.
22040 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
22042         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22043         Add strcasecmp_l-ssse3.
22044         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22045         strcasecmp.
22046         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22047         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22048         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22050 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
22052         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22054         * string/Makefile (strop-tests): Add strcasecmp.
22055         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22056         strcasecmp_l-nonascii.
22057         (gen-as-const-headers): Add locale-defines.sym.
22058         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22059         * sysdeps/x86_64/strcasecmp.S: New file.
22060         * sysdeps/x86_64/strcasecmp_l.S: New file.
22061         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22062         * sysdeps/x86_64/locale-defines.sym: New file.
22063         * string/test-strcasecmp.c: New file.
22065         * string/test-strcasestr.c: Test both ends of the range of characters.
22066         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22068 2010-07-29  Roland McGrath  <roland@redhat.com>
22070         [BZ #11856]
22071         * manual/locale.texi (Yes-or-No Questions): Fix example code.
22073 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
22075         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22076         for ld.so.
22078 2010-07-27  Andreas Schwab  <schwab@redhat.com>
22080         * manual/memory.texi (Malloc Tunable Parameters): Document
22081         M_PERTURB.
22083 2010-07-26  Roland McGrath  <roland@redhat.com>
22085         [BZ #11840]
22086         * configure.in (-fgnu89-inline check): Set and substitute
22087         gnu89_inline, not libc_cv_gnu89_inline.
22088         * configure: Regenerated.
22089         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22091 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
22093         * string/test-strnlen.c: New file.
22094         * string/Makefile (strop-tests): Add strnlen.
22095         * string/tester.c (test_strnlen): Add a few more test cases.
22096         * string/tst-strlen.c: Better error reporting.
22098         * sysdeps/x86_64/strnlen.S: New file.
22100 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
22102         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22103         lower-latency instructions.
22105 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
22107         * string/test-strcasestr.c: New file.
22108         * string/test-strstr.c: New file.
22109         * string/Makefile (strop-tests): Add strstr and strcasestr.
22110         * string/str-two-way.h: Don't undefine MAX.
22111         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22113 2010-07-21  Andreas Schwab  <schwab@redhat.com>
22115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22116         strcasestr-nonascii.
22117         (CFLAGS-strcasestr-nonascii.c): Define.
22118         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22119         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22120         Remove unused attribute.
22122 2010-07-20  Roland McGrath  <roland@redhat.com>
22124         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22125         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
22126         ld.so.cache was broken.  With it, there is no way to disable dsocaps
22127         like LD_HWCAP_MASK can disable hwcaps.
22129 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22131         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22133 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
22135         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22136         call in strcasestr.
22137         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22138         __strcasestr_sse42_nonascii.
22139         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22140         strcasestr-nonascii.c.
22141         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22143 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
22145         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22146         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22147         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22148         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22150 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
22152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22153         fcntl.
22155 2010-07-06  Andreas Schwab  <schwab@redhat.com>
22157         [BZ #11577]
22158         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22159         dl_signal_cerror.
22161 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
22163         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22164         _PC_PIPE_BUF using F_GETPIPE_SZ.
22166 2010-07-05  Roland McGrath  <roland@redhat.com>
22168         * manual/arith.texi (Rounding Functions): Fix rint description
22169         implicit in round description.
22171 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
22173         * elf/Makefile: Fix linking for a few tests to make recent linker
22174         happy.
22176 2010-06-30  Andreas Schwab  <schwab@redhat.com>
22178         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22179         $(common-objpfx)libc_nonshared.a.
22181 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
22183         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22184         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22185         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22186         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22187         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22188         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22189         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22190         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22205         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22206         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22207         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22208         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22209         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22210         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22211         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22212         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22213         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22214         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22215         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22216         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22232 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22234         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22235         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
22236         * string/memmove.c (memmove): Renamed to ...
22237         (MEMMOVE): ...this.  Default to memmove.
22238         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22239         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22240         (END_CHK): Define.
22241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22242         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22243         mempcpy-ssse3-back memmove-ssse3-back.
22244         * sysdeps/x86_64/multiarch/bcopy.S: New file .
22245         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22246         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22247         * sysdeps/x86_64/multiarch/memcpy.S: New file.
22248         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22249         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22250         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22251         * sysdeps/x86_64/multiarch/memmove.c: New file.
22252         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22253         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22254         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22255         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22256         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22258         Define.
22259         (index_Fast_Copy_Backward): Define.
22260         (HAS_ARCH_FEATURE): Define.
22261         (HAS_FAST_REP_STRING): Define.
22262         (HAS_FAST_COPY_BACKWARD): Define.
22264 2010-06-21  Andreas Schwab  <schwab@redhat.com>
22266         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22267         Restore proper fallback handling.
22269 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
22271         [BZ #11701]
22272         * posix/group_member.c (__group_member): Correct checking loop.
22274         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22275         OOM in getpwuid_r correctly.  Return error number when the caller
22276         should return, otherwise -1.
22277         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22278         call returning > 0 value.
22279         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22281 2010-06-07  Andreas Schwab  <schwab@redhat.com>
22283         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22284         libc_nonshared.a from targets in modules-names.
22286 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
22288         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22289         requires it.
22291 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
22293         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22294         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22295         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22296         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22298 2010-06-02  Andreas Schwab  <schwab@redhat.com>
22300         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22302 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
22304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22305         and F_GETPIPE_SZ.
22306         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22307         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22310         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22311         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22313 2010-06-14  Roland McGrath  <roland@redhat.com>
22315         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22317 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
22319         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22320         __REDIRECT followed by __THROW.
22321         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22322         * posix/getopt.h (getopt): Likewise.
22324 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
22326         * hurd/lookup-at.c (__file_name_lookup_at): Accept
22327         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
22328         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22329         in AT_FLAGS.
22330         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22331         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22333 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
22335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22337 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
22339         [BZ #11640]
22340         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22341         Properly check family and model.
22343 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
22345         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22347 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
22349         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22351 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
22353         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22354         symbol reference.
22356 2010-05-19  Andreas Schwab  <schwab@redhat.com>
22358         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22359         symbol reference.
22361 2010-05-21  Andreas Schwab  <schwab@redhat.com>
22363         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22364         and internal_recvmmsg.
22365         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22366         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22367         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22368         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22370         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22371         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22372         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22374 2010-05-20  Andreas Schwab  <schwab@redhat.com>
22376         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22378 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
22380         POWER7 optimizations.
22381         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22382         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22384 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
22386         * version.h: Update for 2.13 development version.
22388 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
22390         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22391         exceptions.  Return 0.
22393 2010-05-07  Roland McGrath  <roland@redhat.com>
22395         * elf/ldconfig.c (main): Add a const.
22397 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
22399         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22400         (args_options): Add no-idn option.
22401         (ahosts_keys_int): Add idn_flags to ai_flags.
22402         (parse_option): Handle 'i' option to clear idn_flags.
22404         * malloc/malloc.c (_int_free): Possible race in the most recently
22405         added check.  Only act on the data if no current modification
22406         happened.
22408 See ChangeLog.17 for earlier changes.