Separate internal state between getXXent and getXXbyYY NSS calls (bug 18007)
[glibc.git] / ChangeLog
blob5c4e039b378ec812d02f5a680bc9068a9716724d
1 2015-05-11  Andreas Schwab  <schwab@suse.de>
3         [BZ #18007]
4         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5         nss_endgrent.
6         (_nss_compat_endgrent): Call nss_endgrent.
7         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8         nss_endpwent.
9         (_nss_compat_endpwent): Call nss_endpwent.
10         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11         needent, call nss_setspent only if non-zero.
12         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13         (internal_endspent): Don't call nss_endspent.
14         (_nss_compat_endspent): Call nss_endspent.
15         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16         Remove.  All uses removed.
17         (internal_setent): Remove parameter stayopen, add parameter
18         stream.  Use it instead of global variable.
19         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20         (internal_endent, internal_getent): Add parameter stream.  Use it
21         instead of global variable.
22         (CONCAT(_nss_files_end,ENTNAME))
23         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
25         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26         uses removed.
27         (internal_setent, internal_endent): Add parameter stream.  Use it
28         instead of global variable.
29         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30         stream.
31         (get_next_alias): Add parameter stream.
32         (_nss_files_getaliasent_r): Pass global stream.
33         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35         (_nss_files_gethostbyname4_r): Pass local stream to
36         internal_setent, internal_getent and internal_endent.  Remove
37         locking.
39 2015-04-29  Florian Weimer  <fweimer@redhat.com>
41         [BZ #18007]
42         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
43         (CVE-2014-8121)
44         * nss/tst-nss-getpwent.c: New file.
45         * nss/Makefile (tests): Add new test.
47 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
49         [BZ #18287]
50         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
51         based on padding.  (CVE-2015-1781)
53 2014-06-03  Andreas Schwab  <schwab@suse.de>
55         [BZ #15946]
56         * resolv/res_send.c (send_dg): Reload file descriptor after
57         calling reopen.
59 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
62         $(config-cflags-nofma).
64 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66         [BZ #16618]
67         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
68         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
69         size in bytes. Store needed elements in wpmax. Use needed size
70         in bytes for extend_alloca.
72 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
75         by insrwi.
76         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
77         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
78         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
79         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
80         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
81         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
82         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
84 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
85             Florian Weimer  <fweimer@redhat.com>
86             Joseph Myers  <joseph@codesourcery.com>
87             Adam Conrad  <adconrad@0c3.net>
88             Andreas Schwab  <schwab@suse.de>
89             Brooks  <bmoses@google.com>
91         [BZ #17625]
92         * wordexp-test.c (__dso_handle): Add prototype.
93         (__register_atfork): Likewise.
94         (__app_register_atfork): New function.
95         (registered_forks): New global.
96         (register_fork): New function.
97         (test_case): Add 3 new tests for WRDE_CMDSUB.
98         (main): Call __app_register_atfork.
99         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
100         fork count is non-zero fail the test.
101         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
102         is set.
103         (parse_dollars): Remove check for WRDE_NOCMD.
104         (parse_dquote): Likewise.
106 2014-12-16  Florian Weimer  <fweimer@redhat.com>
108         [BZ #17630]
109         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
110         names.
112 2014-12-15  Jeff Law  <law@redhat.com>
114         [BZ #16617]
115         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
116         on the heap.  (CVE-2012-3406)
117         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
118         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
119         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
121 2014-06-21  Allan McRae  <allan@archlinux.org>
123         * NEWS: Mention CVE-2014-4043.
125 2014-06-11  Florian Weimer  <fweimer@redhat.com>
127         [BZ #17048]
128         * posix/spawn_int.h (struct __spawn_action): Make the path string
129         non-const to support deallocation.
130         * posix/spawn_faction_addopen.c
131         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
132         * posix/spawn_faction_destroy.c
133         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
134         path in all spawn_do_open actions.
135         * posix/tst-spawn.c (do_test): Exercise the copy operation in
136         posix_spawn_file_actions_addopen.
138 2014-08-26  Florian Weimer  <fweimer@redhat.com>
140         [BZ #17187]
141         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
142         trans_compare, open_translit, __gconv_translit_find):
143         Remove module loading code.
145 2014-09-03  Florian Weimer  <fweimer@redhat.com>
147         [BZ #17325]
148         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
149         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
150         assert.
151         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
152         * iconvdata/ibm935.c (BODY): Likewise.
153         * iconvdata/ibm937.c (BODY): Likewise.
154         * iconvdata/ibm939.c (BODY): Likewise.
155         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
156         assert.
157         * iconvdata/Makefile (iconv-test.out): Pass module list to test
158         script.
159         * iconvdata/run-iconv-test.sh: New test loop for checking for
160         decoder crashers.
162 2014-02-18  Brooks Moses  <bmoses@google.com>
164         [BZ #15915]
165         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
166         * Makerules: ...here, and adjust associated comments.
168 2014-02-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
170         * sysdeps/powerpc/powerpc64/power5/Implies: Remove inexistent
171         paths.
173 2014-02-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
175         * elf/get-dynamic-info.h (elf_get_dynamic_info): Fix remove of
176         assert.
178 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
180         * Versions.def (libm): Add GLIBC_2.3.
182 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
184         * nptl/shlib-versions: Change powerpc*le start to 2.17.
185         * shlib-versions: Likewise.
187 2014-02-04  Roland McGrath  <roland@hack.frob.com>
188             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
190         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
191         (abilist-pattern): New variable, set to %-le.abilist.
193         * Makerules (abilist-pattern): New variable.
194         (vpath): Use $(abilist-pattern) in place of %.abilist.
195         (check-abi-% pattern rule): Likewise.
196         (check-abi, update-abi): Likewise.
198 2014-01-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
200         [BZ#16431]
201         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
202         Adjust the vDSO correctly for internal calls.
203         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
205 2014-01-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
207         [BZ #16414]
208         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
209         implementation.
210         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
212 2014-01-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
214         [BZ #14143]
215         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
216         (__fe_mask_env): Likewise.
217         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
218         libm_hidden_proto and add function prototype.
219         (__fe_mask_env): Add function prototype.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
221         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
223         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
225         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
227 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
229         [BZ#16430]
230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
231         (__GI___gettimeofday): Alias for a different internal symbol to avoid
232         local calls issues by not having a PLT stub required for IFUNC calls.
233         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
235 2013-11-16  Alan Modra  <amodra@gmail.com>
237         * NEWS: Mention powerpc64le support and bugs fixed.
238         * README: Both big-endian and little-endian powerpc64 supported.
240 2013-11-16  Alan Modra  <amodra@gmail.com>
242         * libc-abis: PowerPC64le has ifunc too.
244 2013-11-16  Alan Modra  <amodra@gmail.com>
246         * sysdeps/unix/sysv/linux/powerpc/configure.in (arch_minimum_kernel):
247         Set for powerpc*le.
248         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerate.
250 2013-11-16  Alan Modra  <amodra@gmail.com>
252         [BZ #5268]
253         * include/gmp.h (__mpn_extract_double, __mpn_extract_long_double):
254         Update prototypes.
255         * stdio-common/printf_fp.c: Likewise.
256         (__printf_fp): Use returned zero_bits.
257         * stdlib/dbl2mpn.c (__mpn_extract_double): Update funtion arguments.
258         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Don't perform
259         shifts for denormals here.  Instead return leading zero bit count
260         and adjust return value of function.
261         * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_long_double): Likewise.
262         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
263         Likewise.
264         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c (__mpn_extract_long_double):
265         Likewise.
266         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
267         Likewise.  Return an extra 11 bits of precision.
269 2013-11-16  Alan Modra  <amodra@gmail.com>
271         * Makerules (abilist): Define and use var in abilist rules.
272         * sysdeps/unix/sysv/linux/powerpc/Makefile (abilist): Define.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist,
274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist,
275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist,
276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist,
277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist,
278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist,
279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist,
280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist,
281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist,
282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist,
283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist,
284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist,
285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
286         New files.
288 2013-11-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
292 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
294         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
295         "64" to "64-v1".  Add "64-v2".
296         (abi-64-options): Rename to ...
297         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
298         (abi-64-condition): Rename to ...
299         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
300         (abi-64-ld-soname): Rename to ...
301         (abi-64-v1-ld-soname): ... this.
302         (abi-64-v2-options): Define.
303         (abi-64-v2-condition): Likewise.
304         (abi-64-v2-ld-soname): Likewise.
305         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
306         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
311 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
312             Alan Modra  <amodra@gmail.com>
314         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
315         New versions for use with the ELFv2 ABI.
316         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
317         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
318         declaration.
319         (struct La_ppc64v2_retval): Likewise.
320         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
321         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
322         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
323         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
324         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
325         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
326         Do not save or restore CR.
327         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
328         (_dl_profile_resolve): Do no save or restore CR.  Support extended
329         return values for ELFv2 ABI.  Fix location of FPR return registers.
330         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
331         updated values for _CALL_ELF == 2.
332         (La_regs, La_retval, int_retval): Likewise.
334 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
336         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
337         (FRAME_MIN_SIZE_PARM): Likewise.
338         (FRAME_BACKCHAIN): Likewise.
339         (FRAME_CR_SAVE): Likewise.
340         (FRAME_LR_SAVE): Likewise.
341         (FRAME_TOC_SAVE): Likewise.
342         (FRAME_PARM_SAVE): Likewise.
343         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
344         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
345         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
346         (call_mcount_parm_offset): New macro.
347         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
348         (PROF): Use symbolic stack frame offsets.
349         (TAIL_CALL_SYSCALL_ERROR): Likewise.
350         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
351         Redefine in terms of FRAME_MIN_SIZE.
352         (_dl_runtime_resolve): Use symbolic stack frame offsets.
353         (_dl_profile_resolve): Likewise.  Update comment.
354         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
355         symbols stack frame offsets.
356         (__sigsetjmp): Likewise.
357         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
358         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
359         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
360         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
363         (FRAME_BACKCHAIN): Remove.
364         (FRAME_CR_SAVE): Likewise.
365         (FRAME_LR_SAVE): Likewise.
366         (FRAME_COMPILER_DW): Likewise.
367         (FRAME_LINKER_DW): Likewise.
368         (FRAME_TOC_SAVE): Likewise.
369         (FRAME_PARM_SAVE): Likewise.
370         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
371         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
372         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
374         (CHECK_SP): Use symbolic stack frame offsets.
375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
376         zone" instead of caller's parameter save area for temp storage.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
378         Likewise.  Also, use symbolic stack frame offsets.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
380         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
381         our own stack frame instead of the caller's.
382         (__socket): Use symbolic stack frame offsets.
384 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
385             Alan Modra  <amodra@gmail.com>
387         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
388         Define.
389         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
390         PPC64_LOCAL_ENTRY_OFFSET): Define.
391         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
392         New function.
393         (elf_machine_fixup_plt): Call it.
394         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
395         reloc arguments.
396         (elf_machine_rela): Update call to elf_machine_plt_conflict.
397         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
398         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
399         r2 before calling target.
401 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
402             Alan Modra  <amodra@gmail.com>
404         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
405         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
406         versions of macros to support ELFv2 ABI.
407         (LOCALENTRY): New macro.
408         (ENTRY, EALIGN): Use it.
409         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
410         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
411         fall through into ENTRY entry point.
412         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
413         Only define if _CALL_ELF != 2.
415         (elf_machine_matches_host): Verify ABI version matches.
416         (RTLD_START): Use LOCALENTRY.
417         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
418         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
419         (PLT_ENTRY_WORDS): New macro.
420         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
421         (elf_machine_runtime_setup): Support ELFv2 ABI.
422         (elf_machine_fixup_plt): Likewise.
423         (elf_machine_plt_conflict): Likewise.
424         (resolve_ifunc): Likewise.
425         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
426         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
427         Likewise.
428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
429         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
431         (makecontext): Support ELFv2 ABI.
432         * elf/elf.h (EF_PPC64_ABI): Define.
434 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
436         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
437         New assembler macro.
438         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
439         [ASSEMBLER] (ENTRY): ... but instead here ...
440         [ASSEMBLER] (EALIGN): ... and here.
441         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
442         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
443         [!ASSEMBLER] (ENTRY_2): Use it.
444         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
445         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
446         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
447         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
448         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
450         Use PPC64_LOAD_FUNCPTR.
452 2013-11-12  Alan Modra  <amodra@gmail.com>
454         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
455         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
456         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
457         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
460         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
461         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
462         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
463         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
464         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
466 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
469         (__makecontext): Fix incorrect CFI when backtracing out of
470         context created via makecontext.
471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
472         (__setcontext): Fix incorrect CFI during switch to new context.
473         (__novec_setcontext): Likewise.
475 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
477         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
478         Add artificial ODP entry for vDSO symbol for PPC64.
479         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
480         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
482 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
485         Fix thread ID register.
487 2013-09-11  Will Newton  <will.newton@linaro.org>
489         [BZ #15857]
490         * malloc/malloc.c (__libc_memalign): Check the value of bytes
491         does not overflow.
493 2013-09-11  Will Newton  <will.newton@linaro.org>
495         [BZ #15856]
496         * malloc/malloc.c (__libc_valloc): Check the value of bytes
497         does not overflow.
499 2013-09-11  Will Newton  <will.newton@linaro.org>
501         [BZ #15857]
502         * malloc/malloc.c (__libc_memalign): Check the value of bytes
503         does not overflow.
505 2013-09-11  Will Newton  <will.newton@linaro.org>
507         [BZ #15856]
508         * malloc/malloc.c (__libc_valloc): Check the value of bytes
509         does not overflow.
511 2013-09-11  Will Newton  <will.newton@linaro.org>
513         [BZ #15855]
514         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
515         does not overflow.
517 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
519         [BZ #15754]
520         * elf/Makefile (tests): Add tst-ptrguard1.
521         (tests-static): Add tst-ptrguard1-static.
522         (tst-ptrguard1-ARGS): Define.
523         (tst-ptrguard1-static-ARGS): Define.
524         * elf/tst-ptrguard1.c: New file.
525         * elf/tst-ptrguard1-static.c: New file.
526         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
527         * sysdeps/i386/stackguard-macros.h: Likewise.
528         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
529         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
530         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
531         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
532         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
533         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
535 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
537         [BZ #14547]
538         * string/tst-strcoll-overflow.c: New test case.
539         * string/Makefile (xtests): Add tst-strcoll-overflow.
540         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
541         cache if string sizes may cause integer overflow.
543         [BZ #14547]
544         * string/strcoll_l.c (coll_seq): New members rule, idx,
545         save_idx and back_us.
546         (get_next_seq_nocache): New function.
547         (do_compare_nocache): New function.
548         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
549         when malloc fails.
551         * string/strcoll_l.c (coll_seq): New structure.
552         (get_next_seq_cached): New function.
553         (get_next_seq): New function.
554         (do_compare): New function.
555         (STRCOLL): Use GNU style definition.  Simplify implementation
556         by using get_next_seq, get_next_seq_cached and do_compare.
558 2013-10-31  Andreas Schwab  <schwab@suse.de>
560         [BZ# 15917]
561         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
562         followed by 'x' as part of digit sequence.
563         * stdio-common/tst-sscanf.c (double_tests2): New tests.
565 2013-10-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
567         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
568         to provide a boost for large inputs with word alignment.
569         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
570         implementation based on optimized PPC64 strcpy.
571         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
572         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
573         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
574         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
576 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
578         [BZ #16072]
579         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
580         heap for large requests.
582 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
584         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
585         for NaNs before doing comparisons on argument.
586         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
587         Likewise.
589 2013-10-04  Alan Modra  <amodra@gmail.com>
591         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
592         Use stdint types in rather than __attribute__((mode())).
593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
595 2013-10-04  Alan Modra  <amodra@gmail.com>
597         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
598         Correct handling of unaligned relocs for little-endian.
599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
601 2013-10-04  Alan Modra  <amodra@gmail.com>
603         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
604         * configure: Regenerate.
605         * nptl/shlib-versions: Powerpc*le starts at 2.18.
606         * shlib-versions: Likewise.
608 2013-10-04  Alan Modra  <amodra@gmail.com>
610         * string/tester.c (test_memrchr): Increment reported test cycle.
612 2013-10-04  Alan Modra  <amodra@gmail.com>
614         * string/test-memcpy.c (do_one_test): When reporting errors, print
615         string address and don't overrun end of string.
617 2013-10-04  Alan Modra  <amodra@gmail.com>
619         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
620         insrdi.  Make better use of reg selection to speed exit slightly.
621         Schedule entry path a little better.  Remove useless "are we done"
622         checks on entry to main loop.  Handle wrapping around zero address.
623         Correct main loop count.  Handle single left-over word from main
624         loop inline rather than by using loop_small.  Remove extra word
625         case in loop_small caused by wrong loop count.  Add little-endian
626         support.
627         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
628         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
629         cache hint.
630         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
631         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
632         support.  Avoid rlwimi.
633         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
635 2013-10-04  Alan Modra  <amodra@gmail.com>
637         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
638         insrdi.  Formatting.
639         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
640         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
641         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
642         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
643         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
644         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
646 2013-10-04  Alan Modra  <amodra@gmail.com>
648         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
649         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
650         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
651         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
652         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
653         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
654         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
655         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
656         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
657         use of regs.  Use power7 mtocrf.  Tidy function tails.
659 2013-10-04  Alan Modra  <amodra@gmail.com>
661         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
662         Formatting.  Consistently use rXXX register defines or rN defines.
663         Use early exit labels that avoid restoring unused non-volatile regs.
664         Make cr field use more consistent with rWORDn compares.  Rename
665         regs used as shift registers for unaligned loop, using rN defines
666         for short lifetime/multiple use regs.
667         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
668         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
669         addi 1,1,64 to pop stack frame.  Simplify return value code.
670         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
672 2013-10-04  Alan Modra  <amodra@gmail.com>
674         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
675         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
676         rather than rlwimi.
677         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
678         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
679         little-endian support.  Correct typos.
680         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
681         rather than rlwimi.
682         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
683         in loop and entry code to keep "and." results.
684         (strchr): Add little-endian support.  Comment.  Move cntlzd
685         earlier in tail.
686         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
688 2013-10-04  Alan Modra  <amodra@gmail.com>
690         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
691         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
692         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
693         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
695 2013-10-04  Alan Modra  <amodra@gmail.com>
697         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
698         (rTMP): Define as r11.
699         (strcmp): Add little-endian support.  Optimise tail.
700         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
701         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
702         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
708 2013-10-04  Alan Modra  <amodra@gmail.com>
710         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
711         little-endian support.  Remove unnecessary "are we done" tests.
712         Handle "s" wrapping around zero and extremely large "size".
713         Correct main loop count.  Handle single left-over word from main
714         loop inline rather than by using small_loop.  Correct comments.
715         Delete "zero" tail, use "end_max" instead.
716         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
718 2013-10-04  Alan Modra  <amodra@gmail.com>
720         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
721         support.  Don't branch over align.
722         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
723         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
724         support.  Rearrange tmp reg use to suit.  Comment.
725         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
727 2013-10-04  Alan Modra  <amodra@gmail.com>
729         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
731 2013-10-04  Alan Modra  <amodra@gmail.com>
733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
734         conditional form of branch and link when obtaining pc.
735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
737 2013-10-04  Alan Modra  <amodra@gmail.com>
739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
740         HIWORD/LOWORD.
741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
744 2013-10-04  Alan Modra  <amodra@gmail.com>
746         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
747         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
748         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
749         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
751         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
752         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
753         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
754         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
755         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
757 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
758             Alistair Popple <alistair@ozlabs.au.ibm.com>
759             Alan Modra <amodra@gmail.com>
761         [BZ #15723]
762         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
763         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
764         _dl_hwcap access for little-endian.
765         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
766         destroy vmx regs when saving unaligned.
767         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
769         destroy vmx regs when saving unaligned.
771 2013-10-04  Alan Modra  <amodra@gmail.com>
773         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
774         Don't use a union to pack hi/low value.
776 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
778         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
779         for little-endian.
780         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
782         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
783         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
784         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
786 2013-10-04  Alan Modra  <amodra@gmail.com>
788         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
789         constants to usual value for .cst8 section, and remove redundant
790         high address load.
791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
792         constant for 0x1p52.  Load little-endian words of double from
793         correct stack offsets.
795 2013-10-04  Alan Modra  <amodra@gmail.com>
797         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
798         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
799         words of double from correct stack offsets.
800         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
801         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
802         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
803         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
804         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
805         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
807         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
808         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
809         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
812         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
813         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
814         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
815         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
816         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
818 2013-10-04  Alan Modra  <amodra@gmail.com>
820         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
821         64-bit int/double union.
822         (_FPU_SETCW): Likewise.
823         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
824         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
826 2013-10-04  Alan Modra  <amodra@gmail.com>
828         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
829         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
831 2013-10-04  Alan Modra  <amodra@gmail.com>
833         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
834         use vector int constants.
835         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
837 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
839         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
840         array with long long.
841         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
842         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
843         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
844         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
845         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
846         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
847         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
848         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
849         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
850         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
851         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
852         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
853         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
855 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
857         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
858         (__signbit): Likewise.  Correct for little-endian.
859         (__signbitl): Call __signbit.
860         (lrint): Correct for little-endian.
861         (lrintf): Call lrint.
863 2013-10-04  Alan Modra  <amodra@gmail.com>
865         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
866         union 32-bit int array member with 64-bit int array.
867         (t515, tm256): Double rather than long double.
868         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
870 2013-10-04  Alan Modra  <amodra@gmail.com>
872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
873         Delete.
874         (IEEE854_LONG_DOUBLE_BIAS): Delete.
875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
876         version of math_ldbl.h.
878 2013-10-04  Alan Modra  <amodra@gmail.com>
880         [BZ #15734], [BZ #15735]
881         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
882         all uses of ieee875 long double macros and unions.  Simplify test
883         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
884         ldbl_extract_mantissa value for ix,iy exponents.  Properly
885         normalize after ldbl_extract_mantissa, and don't add hidden bit
886         already handled.  Don't treat low word of ieee854 mantissa like
887         low word of IBM long double and mask off bit when testing for
888         zero.
889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
890         all uses of ieee875 long double macros and unions.  Simplify tests
891         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
892         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
893         two1022, instead use their values.  Recognise that tests for large
894         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
895         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
896         Rewrite all uses of ieee875 long double macros and unions.  Simplify
897         test for 0.0L and nan.  Correct negation.
898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
899         ieee875 long double macros and unions.  Correct output for large
900         magnitude x.  Correct absolute value calculation.
901         (__erfcl): Likewise.
902         * math/libm-test.inc: Add tests for errors discovered in IBM long
903         double versions of fmodl, remainderl, erfl and erfcl.
905 2013-10-04  Alan Modra  <amodra@gmail.com>
907         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
908         all uses of ieee854 long double macros and unions.  Simplify tests
909         for long doubles that are fully specified by the high double.
910         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
911         Likewise.
912         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
913         Remove dead code too.
914         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
915         (__ieee754_ynl): Likewise.
916         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
919         Remove dead code too.
920         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
921         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
923         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
924         Simplify.
925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
926         Simplify.
927         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
928         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
930         Comment on variable precision.
931         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
932         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
933         Likewise.
934         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
937         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
938         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
940 2013-10-04  Alan Modra  <amodra@gmail.com>
942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
943         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
944         all uses of ieee854 long double macros and unions.
945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
947         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
949         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
951         Likewise.
952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
953         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
954         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
955         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
956         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
957         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
958         Simplify sign and nan test too.
959         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
960         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
961         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
962         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
963         Likewise.
964         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
965         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
966         Likewise.
967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
969         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
970         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
971         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
972         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
974 2013-10-04  Alan Modra  <amodra@gmail.com>
976         * stdio-common/printf_size.c (__printf_size): Don't use
977         union ieee854_long_double in fpnum union.
978         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
979         signbit macro to retrieve sign from long double.
980         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
981         retrieve sign from long double.
982         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
983         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
984         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
985         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
986         * math/test-misc.c (main): Don't use union ieee854_long_double.
988 2013-10-04  Alan Modra  <amodra@gmail.com>
990         [BZ #15680]
991         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
992         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
993         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
994         calculation.  Remove unnecessary test for denormal exponent.
995         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
996         Correct handling of denormals.  Avoid undefined shift behaviour.
997         Correct normalisation of low mantissa when low double is denormal.
998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
999         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1000         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1001         Correct normalisation of low mantissa.  Test for overflow of high
1002         mantissa and normalise.
1003         (ldbl_nearbyint): Use more readable constant for two52.
1004         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1005         (__mpn_construct_long_double): Fix test for overflow of high
1006         mantissa and correct normalisation.  Avoid undefined shift.
1008 2013-10-04  Alan Modra  <amodra@gmail.com>
1010         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1011         (union ibm_extended_long_double): Define as an array of ieee754_double.
1012         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1014         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1015         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1016         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1017         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1019         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1024 2013-09-09  Allan McRae  <allan@archlinux.org>
1026         [BZ #15893]
1027         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1029         [BZ #15892]
1030         * libio/memstream.c (open_memstream): Fix memory leak.
1031         * libio/wmemstream.c (open_wmemstream): Likewise.
1033         [BZ #15895]
1034         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1036 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1038         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1039         memory access for final bytes in some large inputs.
1040         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1042 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * string/test-memrchr.c: New file.
1045         * string/test-memrchr-ifunc.c: New file.
1046         * string/Makefile: Add new memrchr testcase.
1048 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1050         [BZ #15427]
1051         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1052         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1053         * math/libm-test.inc (lgamma_test_data): Add more tests.
1054         * sysdeps/i386/fpu/libm-test-ulps: Update.
1055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1057 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1059         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1061         Add ifunc.
1062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1063         Add strcmp-sse2-unaligned
1064         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1066 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1068         * Versions.def (libc): Add GLIBC_2.19.
1070 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1072         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1073         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1075 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1077         [BZ #14155]
1078         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1079         intermediate calculations in recurrence.
1080         (__ieee754_ynf): Likewise.
1081         * math/libm-test.inc (jn_test_data): Do not allow spurious
1082         underflow exception.  Add more tests.
1083         (yn_test_data): Add more tests.
1084         * sysdeps/i386/fpu/libm-test-ulps: Update.
1085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1089         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1091         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1092         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1093         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1094         Likewise.
1095         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1096         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1097         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1098         Likewise.
1099         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1100         (ibm_extended_long_double): Add ieee_nan member.
1101         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1102         (do_test): New function.
1104         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1105         TEST_TRUNC.
1106         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1107         functions, renamed from truncdfsf_test, trunctfsf_test,
1108         trunctfdf_test.
1109         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1110         functions.
1111         (do_test): Run all these.
1113 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1115         [BZ #15532]
1116         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1117         * math/s_cexpf.c (__cexpf): Likewise.
1118         * math/s_cexpl.c (__cexpl): Likewise.
1119         * math/libm-test.inc (cexp_test_data): Correct expected return
1120         value for NaN + i0.  Add another test.
1122 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1124         [BZ #15797]
1125         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1126         is infinite, not alongside NaN test.
1127         * math/s_fdimf.c (__fdimf): Likewise.
1128         * math/s_fdiml.c (__fdiml): Likewise.
1129         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1130         errno is unchanged.
1132 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1134         [BZ #15867]
1135         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1136         trampoline stack frame information.
1137         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1138         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1139         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1140         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1141         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1142         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1143         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1144         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1145         sa_flags value.
1146         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1147         interrupting a syscall and set with option SA_SIGINFO.
1149 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1151         [BZ #15531]
1152         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1153         argument is infinite.
1154         * math/s_cprojf.c (__cprojf): Likewise.
1155         * math/s_cprojl.c (__cprojl): Likewise.
1156         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1157         * math/libm-test.inc (cproj_test_data): Add more tests.
1159         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1161         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1162         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1163         size.  Use __ffs to determine corresponding shift.
1165 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1167         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1169 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1171         [BZ #14699]
1172         CVE-2013-4237
1173         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1174         member.
1175         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1176         member.
1177         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1178         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1179         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1180         conditional.
1181         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1182         GETDENTS_64BIT_ALIGNED.
1183         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1184         * manual/filesys.texi (Reading/Closing Directory): Document
1185         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1186         strongly.
1187         * manual/conf.texi (Limits for Files): Add portability note to
1188         NAME_MAX, PATH_MAX.
1189         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1191 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1193         [BZ #16882]
1194         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1195         (pthread_spin_lock): Branch out of spin loop to proper location.
1196         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1197         (pthread_spin_lock): Likewise.
1199         * nptl/tst-spin4.c: New test.
1200         * nptl/Makefile (tests): Add tst-spin4.
1202 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1204         [BZ #16958]
1205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1206         membar to avoid block loads/stores to overlap previous stores.
1208 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1210         [BZ #16943]
1211         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1212         and prlimit64.
1214 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1216         [BZ# 16916]
1217         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1218         Define.
1220 2014-05-01  David S. Miller  <davem@davemloft.net>
1222         [BZ #16885]
1223         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1224         multiple zero bytes exist at the end of a string.
1225         Reported by Aurelien Jarno <aurelien@aurel32.net>
1227         * string/test-strcmp.c (check): Add explicit test for situations where
1228         there are multiple zero bytes after the first.
1230 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1232         [BZ #16510]
1233         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1234         of __x86_64__ when disabling x87 inline functions.
1236 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
1238         [BZ #15605]
1239         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1241 2014-01-04  Maxim Kuvyrkov  <maxim@kugelworks.com>
1242             Ondřej Bílka  <neleai@seznam.cz>
1244         [BZ #15073]
1245         * malloc/malloc.c (_int_free): Perform sanity check only if we
1246         have_lock.
1248 2013-11-11  David S. Miller  <davem@davemloft.net>
1250         [BZ #16150]
1251         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1252         symbol in the non-vis3 case in static builds.
1253         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1254         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1255         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1256         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1258 2013-11-06  David S. Miller  <davem@davemloft.net>
1260         [BZ #15985]
1261         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1262         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1264 2013-09-06  David S. Miller  <davem@davemloft.net>
1266         * po/zh_TW.po: Update Chinese (traditional) translation from
1267         translation project.
1269 2013-08-22  David S. Miller  <davem@davemloft.net>
1271         * po/ca.po: Update Catalan translation from translation project.
1272         * po/uk.po: Add Ukrainian translations from translation project.
1274 2013-08-03  David S. Miller  <davem@davemloft.net>
1276         * po/ko.po: Update Korean translation from translation project.
1278 2013-08-01  David S. Miller  <davem@davemloft.net>
1280         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1281         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1282         Bilka.
1284 2013-07-30  David S. Miller  <davem@davemloft.net>
1286         * po/fr.po: Update French translation from translation project.
1288 2013-07-28  David S. Miller  <davem@davemloft.net>
1290         * po/cs.po: Update Czech translation from translation project.
1292         * po/sv.po: Update Swedish translation from translation project.
1294 2013-07-27  David S. Miller  <davem@davemloft.net>
1296         * po/eo.po: Update Esperanto translation from translation project.
1298         * po/vi.po: Update Vietnamese translation from translation project.
1300         * po/de.po: Update German translation from translation project.
1302 2013-07-26  David S. Miller  <davem@davemloft.net>
1304         * po/bg.po: Update Bulgarian translation from translation project.
1306         * po/nl.po: Update Dutch translation from translation project.
1307         * po/pl.po: Update Polish translation from translation project.
1308         * po/ru.po: Update Russian translation from translation project.
1310 2013-07-24  David S. Miller  <davem@davemloft.net>
1312         * po/libc.pot: Update.
1314 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1316         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1317         variable page size.
1318         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1319         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1320         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1322 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1324         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1326 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1327             Andreas Schwab  <schwab@suse.de>
1328             Roland McGrath  <roland@hack.frob.com>
1329             Joseph Myers  <joseph@codesourcery.com>
1330             Carlos O'Donell  <carlos@redhat.com>
1332         [BZ #15755]
1333         * config.h.in: Define HAVE_PT_CHOWN.
1334         * config.make.in (build-pt-chown): New variable.
1335         * configure.in (--enable-pt_chown): New configure option.
1336         * configure: Regenerate.
1337         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1338         build-pt-chown is enabled.
1339         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1340         pt_chown to fix pty ownership.
1341         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1342         CLOSE_ALL_FDS.
1343         * manual/install.texi (Configuring and compiling): Mention
1344         --enable-pt_chown. Add @findex for grantpt.
1345         * INSTALL: Regenerate.
1347 2013-07-20  David S. Miller  <davem@davemloft.net>
1349         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1350         difference between 32-bit and 64-bit.
1352 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1354         [BZ #15711]
1355         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1356         Avoid system header dependency with -ffreestanding.
1357         ($(objpfx)bits/syscall%d): Likewise.
1359 2013-07-13  David S. Miller  <davem@davemloft.net>
1361         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1362         underflows from atanl/atan2l due to bug 15319.
1363         (casinh_test_data): Likewise.
1365 2013-07-07  David S. Miller  <davem@davemloft.net>
1367         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1369 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1371         * sysdeps/i386/fpu/libm-test-ulps: Update.
1372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1374 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1376         * configure.in (--enable-lock-elision): Fix message text.
1377         * INSTALL: Regenerate.
1378         * configure: Regenerate.
1380 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1384 2013-07-03  Andreas Jaeger  <aj@suse.de>
1386         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1387         define.
1388         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1389         (ptrace_peeksiginfo_args): Add.
1390         (__ptrace_peeksiginfo_flags): Add.
1391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1392         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1395 2013-07-03  Allan McRae  <allan@archlinux.org>
1397         * sysdeps/i386/fpu/libm-test-ulps: Update.
1399 2013-07-02  David S. Miller  <davem@davemloft.net>
1401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1403 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1407 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1409         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1412 2013-07-02  Andi Kleen <ak@linux.intel.com>
1414         * config.h.in (ENABLE_LOCK_ELISION): Add.
1415         * configure.in (--enable-lock-elision): Add option.
1416         * manual/install.texi: Document --enable lock elision.
1417         * configure: Regenerate
1418         * INSTALL: Regenerate.
1420 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1422         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1423         SSE4.2 strcasecmp for libc.a.
1424         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1426 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #13304]
1429         * soft-fp/op-common.h (_FP_FMA): New macro.
1430         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1431         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1432         (_FP_MUL_MEAT_1_imm): ... here.
1433         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1434         (_FP_MUL_MEAT_1_wide): ... here.
1435         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1436         (_FP_MUL_MEAT_1_hard): ... here.
1437         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1438         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1439         (_FP_MUL_MEAT_2_wide): ... here.
1440         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1441         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1442         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1443         (_FP_MUL_MEAT_2_gmp): ... here.
1444         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1445         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1446         (_FP_MUL_MEAT_4_wide): ... here.
1447         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1448         (_FP_MUL_MEAT_4_gmp): ... here.
1449         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1450         (_FP_WFRACBITS_DW_S): Likewise.
1451         (_FP_WFRACXBITS_DW_S): Likewise.
1452         (_FP_HIGHBIT_DW_S): Likewise.
1453         (FP_FMA_S): Likewise.
1454         (_FP_FRAC_HIGH_DW_S): Likewise.
1455         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1456         (_FP_WFRACBITS_DW_D): Likewise.
1457         (_FP_WFRACXBITS_DW_D): Likewise.
1458         (_FP_HIGHBIT_DW_D): Likewise.
1459         (FP_FMA_D): Likewise.
1460         (_FP_FRAC_HIGH_DW_D): Likewise.
1461         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1462         (_FP_WFRACBITS_DW_E): Likewise.
1463         (_FP_WFRACXBITS_DW_E): Likewise.
1464         (_FP_HIGHBIT_DW_E): Likewise.
1465         (FP_FMA_E): Likewise.
1466         (_FP_FRAC_HIGH_DW_E): Likewise.
1467         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1468         (_FP_WFRACBITS_DW_Q): Likewise.
1469         (_FP_WFRACXBITS_DW_Q): Likewise.
1470         (_FP_HIGHBIT_DW_Q): Likewise.
1471         (FP_FMA_Q): Likewise.
1472         (_FP_FRAC_HIGH_DW_Q): Likewise.
1473         * soft-fp/fmasf4.c: New file.
1474         * soft-fp/fmadf4.c: Likewise.
1475         * soft-fp/fmatf4.c: Likewise.
1477 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1480         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1481         Silvermont.
1482         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1483         macro.
1484         (index_Slow_SSE4_2): Likewise.
1485         (index_Prefer_PMINUB_for_stringop): Likewise.
1486         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1487         bit_Slow_SSE4_2 is set.
1488         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1489         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1491 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1493         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1494         rtld_global._dl_hwcap2.
1495         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1496         POWER8.
1497         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1498         POWER8 feature descriptions defined in _dl_hwcap2.
1499         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1500         string handling for POWER8 feature bits.
1501         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1502         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1503         _dl_powerpc_cap_flags.
1504         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1505         * sysdeps/powerpc/rtld-global-offsets.sym
1506         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1507         _dl_hwcap2 in the rtld_global_ro structure.
1509 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1511         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1512         hardware capabilities in support of AT_HWCAP2.
1513         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1514         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1515         GLRO(dl_hwcap2).
1516         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1517         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1518         explicitly the unknown a_type display mechanism is used.
1519         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1520         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1521         struct member.
1522         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1523         to macro prototype for AT_HWCAP2 support.
1524         * sysdeps/i386/dl-procinfo.h: Likewise.
1525         * sysdeps/s390/dl-procinfo.h: Likewise.
1526         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1527         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1528         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1529         return -1 for unknown a_type display fallback.
1530         * sysdeps/sparc/dl-procinfo.h: Likewise.
1531         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1532         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1534 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1536         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1537         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1539 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1541         [BZ #12492]
1542         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1543         mprotect making __stack_prot writable.
1545 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1546             Joseph Myers  <joseph@codesourcery.com>
1548         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1549         as being properly aligned.
1551 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1553         * dlfcn/modstatic5.c: New file.
1554         * dlfcn/tststatic5.c: New file.
1555         * dlfcn/Makefile (tests): Add tststatic5.
1556         (tests-static): Likewise.
1557         (modules-names): Add modstatic5.
1558         (tststatic5-ENV): New variable.
1559         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1561         [BZ #15022]
1562         * elf/dl-support.c (_dl_main_map): New variable.
1563         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1564         (_dl_nns, _dl_load_adds): Set to 1.
1565         (_dl_initial_searchlist): Refer to _dl_main_map.
1566         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1567         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1568         call to _dl_get_origin.
1569         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1570         around call_map.
1571         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1572         * dlfcn/modstatic3.c: New file.
1573         * dlfcn/tststatic3.c: New file.
1574         * dlfcn/tststatic4.c: New file.
1575         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1576         (tests-static): Likewise.
1577         (modules-names): Add modstatic3.
1578         (tststatic3-ENV, tststatic4-ENV): New variables.
1579         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1580         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1582 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1584         * configure.in (CC): Require GCC version 4.4 or later.
1585         * configure: Regenerated.
1586         * manual/install.texi (Tools for Compilation): Update GCC version
1587         requirement.
1588         * INSTALL: Regenerated.
1590 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1592         [BZ #15674]
1593         * string/test-memcmp.c (check2): New.
1594         (main): Call check2.
1596         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1598 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1600         [BZ #15022]
1601         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1602         over to...
1603         (dl_open_worker) [!SHARED]: ... here.
1605 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1607         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1609 2013-06-25  Richard Henderson  <rth@redhat.com>
1611         * locale/programs/locarchive.c: Include <libc-internal.h>
1613 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1615         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1616         trailing whitespace removed.
1618 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1620         [BZ #10283]
1621         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1622         * locale/programs/locarchive.c: Include libc-mmap.h.
1623         (prepare_address_space): Take two new outputs (the mmap base and len).
1624         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1625         values.
1626         (create_archive): Declare new mmap base and len values for
1627         prepare_address_space, and store the result in ah.
1628         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1629         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1630         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1631         Declare new mmap base and len values for
1632         prepare_address_space, and store the result in new_ah.
1633         (open_archive): Declare new mmap base and len values for
1634         prepare_address_space, and store the result in ah.
1635         (close_archive): If ah->mmap_base is not NULL, use that and
1636         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1637         * sysdeps/generic/libc-mmap.h: New file.
1639 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1641         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1642         (ALIGN_UP): Likewise.
1643         (PTR_ALIGN_DOWN): Likewise.
1644         (PTR_ALIGN_UP): Likewise.
1646 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1649         entry mapped to PPC_PLATFORM_POWER8.
1650         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1651         POWER8.
1652         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1653         (_dl_string_platform): Add case for exporting platform position for
1654         POWER8.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1656         search path to sysdeps/powerpc/powerpc32/power8 directory.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1658         search path to sysdeps/powerpc/powerpc64/power8 directory.
1659         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1660         power7 directories.
1661         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1662         power7 directories.
1664 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1666         * INSTALL: Regenerate.
1668         * nscd/connections.c (nscd_init): Fix comment.
1670 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1672         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1674         [BZ #15667]
1675         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1676         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1678 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1680         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1681         DL_DST_REQ_STATIC.
1682         (DL_DST_REQ_STATIC): Remove macro.
1684 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1686         [BZ #7006]
1687         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1688         with a shift of 0 bits.
1690 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1692         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1693         $(tststatic-ENV).
1695 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1697         [BZ #15655]
1698         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1700 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1703         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1704         accepts -fno-tree-loop-distribute-patterns.
1705         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1706         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1707         recursive call.
1708         * string/memset.c (memset): Likewise.
1709         * string/test-memmove.c (simple_memmove): Disable loop transformation
1710         to library calls.
1711         * string/test-memset.c (simple_memset): Likewise.
1712         * benchtests/bench-memmove.c (simple_memmove): Likewise.
1713         * benchtests/bench-memset.c (simple_memset): Likewise.
1714         * configure: Regenerated.
1716 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
1718         * math/test-misc.c (main): Ignore fesetround failure when failures
1719         of subsequent rounding tests would be ignored.
1721         [BZ #15654]
1722         * math/fedisblxcpt.c (fedisableexcept): Return 0.
1723         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1724         * math/fegetenv.c (__fegetenv): Return 0.
1725         * math/fegetexcept.c (fegetexcept): Return 0.
1726         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1727         FE_TONEAREST.
1728         * math/feholdexcpt.c (feholdexcept): Return 0.
1729         * math/fesetenv.c (__fesetenv): Return 0.
1730         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1731         argument FE_TONEAREST.
1732         * math/feupdateenv.c (__feupdateenv): Return 0.
1733         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1735 2013-06-18  Roland McGrath  <roland@hack.frob.com>
1737         * elf/rtld-Rules (rtld-compile-command.S): New variable.
1738         (rtld-compile-command.s, rtld-compile-command.c): New variables.
1739         ($(objpfx)rtld-%.os rules): Use them.
1741 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1743         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1744         fields.
1746 2013-06-17  Roland McGrath  <roland@hack.frob.com>
1748         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1749         length of target pattern, then descending length of dependency pattern.
1750         * configure.in (AWK): Require gawk 3.1.2 or newer.
1751         * manual/install.texi (Tools for Compilation): Say that we do.
1752         * configure: Regenerated.
1754         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1755         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1756         * scripts/sysd-rules.awk: ... this new script.
1757         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1758         than a glob-style pattern.
1760 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
1762         * math/test-misc.c (main): Do not treat incorrectly rounded
1763         conversions as failure unless ROUNDING_TESTS passes.
1765 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
1767         [BZ #15631]
1768         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1769         restore exception state around main square root computation, then
1770         check for inexactness explicitly.
1772         * math/libm-test.inc (fma_test_data): Add another test.
1774 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1776         * manual/threads.texi (Non-POSIX Extensions): New document
1777         node.  Document pthread_getattr_default_np and
1778         pthread_setattr_default_np.
1780         * Versions.def (libpthread): Add GLIBC_2.18.
1781         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1783         Likewise.
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1785         Likewise.
1786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1787         Likewise.
1788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1789         Likewise.
1790         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1791         Likewise.
1792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1793         Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1795         Likewise.
1796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1797         Likewise.
1798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1799         Likewise.
1801 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1804         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1806 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1807             H.J. Lu  <hjl.tools@gmail.com>
1809         [BZ #15627]
1810         * sysdeps/x86_64/rtld-memset.c: Remove file.
1811         * sysdeps/x86_64/rtld-memset.S: New file.
1813 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
1815         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1816         (test_in_one_mode): Take arguments for whether the rounding mode
1817         is supported for each floating-point type.
1818         (do_test): Pass new arguments to test_in_one_mode using
1819         ROUNDING_TESTS.
1821 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1823         * posix/tst-waitid.c (do_test): Distinguish different instances of
1824         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
1825         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1826         before entering the kernel for waitpid.
1828 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1830         * NEWS: Fix note on clock function precision.  Text by Roland
1831         McGrath.
1833 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1835         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1836         it into place only when and if the sanity check passes.
1838 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
1840         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1841         output for whether conversion result is exact.  Take argument
1842         indicating whether type is IBM long double.
1843         (round_for_all): Change need_exact field to ibm_ld.
1844         * stdlib/tst-strtod-round.c (struct exactness): New type.
1845         (struct test): Change bool ld_ok field to struct exactness exact.
1846         (TEST): Update all definitions for change to field.
1847         (tests): Regenerate array contents.
1848         (test_in_one_mode): Take pointer to new field instead of old ld_ok
1849         field value.  Check for IBM long double here.
1850         (do_test): Update calls to test_in_one_mode.
1852 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1854         [BZ #12515]
1855         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1856         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1858 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1860         [BZ #15605]
1861         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1862         generated by the compiler on loop optimizations.
1863         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1864         general definitions.
1866 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
1868         * math/bug-nextafter.c: Include <math-tests.h>.
1869         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1870         the relevant type.
1871         * math/bug-nexttoward.c: Include <math-tests.h>.
1872         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1873         the relevant type.
1874         * math/test-misc.c: Include <math-tests.h>.
1875         (main): Only test for exceptions if EXCEPTION_TESTS is true for
1876         the relevant type.
1878 2013-06-12  Andreas Jaeger  <aj@suse.de>
1880         * po/ia.po: Update Interlingua translation from translation
1881         project.
1883 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1885         * include/fenv.h: Include stdbool.h.
1886         (struct rm_ctx): New structure.
1887         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1888         Define macro.
1889         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1890         (SET_RESTORE_ROUNDF): Likewise.
1891         (SET_RESTORE_ROUNDL): Likewise.
1892         (SET_RESTORE_ROUND_NOEX): Likewise.
1893         (SET_RESTORE_ROUND_NOEXF): Likewise.
1894         (SET_RESTORE_ROUND_NOEXL): Likewise.
1895         (SET_RESTORE_ROUND_53BIT): Likewise.
1896         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1897         (libc_feresetround_noexf_ctx): Likewise.
1898         (libc_feresetround_noexl_ctx): Likewise.
1899         (libc_feholdsetround_53bit_ctx): Likewise.
1900         (libc_feresetround_53bit_ctx): Likewise.
1901         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1902         (libc_feholdexcept_setround_sse_ctx): New function.
1903         (libc_fesetenv_sse_ctx): Likewise.
1904         (libc_feupdateenv_sse_ctx): Likewise.
1905         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1906         (libc_feholdexcept_setround_387_ctx): Likewise.
1907         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1908         (libc_feholdsetround_387_prec_ctx): Likewise.
1909         (libc_feholdsetround_387_ctx): Likewise.
1910         (libc_feholdsetround_387_53bit_ctx): Likewise.
1911         (libc_feholdsetround_sse_ctx): Likewise.
1912         (libc_feresetround_sse_ctx): Likewise.
1913         (libc_feresetround_387_ctx): Likewise.
1914         (libc_feupdateenv_387_ctx): Likewise.
1915         (libc_feholdexcept_setroundf_ctx): Define macro.
1916         (libc_fesetenvf_ctx): Likewise.
1917         (libc_feupdateenvf_ctx): Likewise.
1918         (libc_feholdsetroundf_ctx): Likewise.
1919         (libc_feresetroundf_ctx): Likewise.
1920         (libc_feholdexcept_setround_ctx): Likewise.
1921         (libc_fesetenv_ctx): Likewise.
1922         (libc_feupdateenv_ctx): Likewise.
1923         (libc_feholdsetround_ctx): Likewise.
1924         (libc_feresetround_ctx): Likewise.
1925         (libc_feholdexcept_setroundl_ctx): Likewise.
1926         (libc_feupdateenvl_ctx): Likewise.
1927         (libc_feholdsetroundl_ctx): Likewise.
1928         (libc_feresetroundl_ctx): Likewise.
1929         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1930         (libc_feresetround_53bit_ctx): Likewise.
1932 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1934         * locale/iso-639.def: Convert to UTF-8.
1936 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
1938         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1939         (EXCEPTION_TESTS_double): Likewise.
1940         (EXCEPTION_TESTS_long_double): Likewise.
1941         (EXCEPTION_TESTS): Likewise.
1942         * math/libm-test.inc (test_exceptions): Only test exceptions if
1943         EXCEPTION_TESTS (FLOAT).
1945 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1947         * benchtests/Makefile (string-bench): Add strcpy_chk and
1948         stpcpy_chk.
1949         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1950         * benchtests/bench-stpcpy_chk.c: New file.
1951         * benchtests/bench-strcpy_chk-ifunc.c: New file.
1952         * benchtests/bench-strcpy_chk.c: New file.
1953         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1954         code.
1955         (do_test): Likewise.
1957 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1959         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1960         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1961         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1962         with tabs where appropriate.
1963         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1964         dl-procinfo.h.
1965         [PPC_PLATFORM_PPC440]: Likewise.
1966         [PPC_PLATFORM_PPC464]: Likewise.
1967         [PPC_PLATFORM_PPC476]: Likewise.
1968         (_dl_string_platform): Add support for detecting ppc405, ppc440,
1969         ppc464, and ppc476 platform strings merging from ports/
1970         dl-procinfo.h.
1972 2013-06-11  Andreas Schwab  <schwab@suse.de>
1974         [BZ #14991]
1975         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1976         (from_ucs4_idx): Regenerate.
1977         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1978         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1979         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1980         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1981         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1982         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1983         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1984         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1985         from FROM_LOOP and TO_LOOP specific macros.
1986         (BODY): Handle combining characters.
1987         * iconvdata/BIG5HKSCS.irreversible: Update.
1988         * iconvdata/BIG5HKSCS.precomposed: New file.
1989         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1990         characters.
1991         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1993 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1995         * include/sys/time.h: Fix indentation and add copyright header.
1997         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1998         (do_test): Likewise.
1999         * string/test-memchr.c (do_one_test): Likewise.
2000         (do_test): Likewise.
2001         * string/test-memcmp.c (do_one_test): Likewise.
2002         (do_test): Likewise.
2003         * string/test-memcpy.c (do_one_test): Likewise.
2004         (do_test): Likewise.
2005         * string/test-memmem.c (do_one_test): Likewise.
2006         (do_test): Likewise.
2007         (do_random_tests): Likewise.
2008         * string/test-memmove.c (do_one_test): Likewise.
2009         (do_test): Likewise.
2010         * string/test-memset.c (do_one_test): Likewise.
2011         (do_test): Likewise.
2012         * string/test-rawmemchr.c (do_one_test): Likewise.
2013         (do_test): Likewise.
2014         * string/test-strcasecmp.c (do_one_test): Likewise.
2015         (do_test): Likewise.
2016         * string/test-strcasestr.c (do_one_test): Likewise.
2017         (do_test): Likewise.
2018         * string/test-strcat.c (do_one_test): Likewise.
2019         (do_test): Likewise.
2020         * string/test-strchr.c (do_one_test): Likewise.
2021         (do_test): Likewise.
2022         * string/test-strcmp.c (do_one_test): Likewise.
2023         (do_test): Likewise.
2024         * string/test-strcpy.c (do_one_test): Likewise.
2025         (do_test): Likewise.
2026         * string/test-string.h: Likewise.
2027         (test_init): Likewise.
2028         * string/test-strlen.c (do_one_test): Likewise.
2029         (do_test): Likewise.
2030         * string/test-strncasecmp.c (do_one_test): Likewise.
2031         (do_test): Likewise.
2032         * string/test-strncat.c (do_one_test): Likewise.
2033         (do_test): Likewise.
2034         * string/test-strncmp.c (do_one_test): Likewise.
2035         (do_test_limit): Likewise.
2036         (do_test): Likewise.
2037         * string/test-strncpy.c (do_one_test): Likewise.
2038         (do_test): Likewise.
2039         * string/test-strnlen.c (do_one_test): Likewise.
2040         (do_test): Likewise.
2041         * string/test-strpbrk.c (do_one_test): Likewise.
2042         (do_test): Likewise.
2043         * string/test-strrchr.c (do_one_test): Likewise.
2044         (do_test): Likewise.
2045         * string/test-strspn.c (do_one_test): Likewise.
2046         (do_test): Likewise.
2047         * string/test-strstr.c (do_one_test): Likewise.
2048         (do_test): Likewise.
2050         * benchtests/Makefile (string-bench): Add string benchmarks.
2051         * benchtests/bench-bcopy-ifunc.c: New file.
2052         * benchtests/bench-bcopy.c: New file.
2053         * benchtests/bench-bzero-ifunc.c: New file.
2054         * benchtests/bench-bzero.c: New file.
2055         * benchtests/bench-memccpy-ifunc.c: New file.
2056         * benchtests/bench-memccpy.c: New file.
2057         * benchtests/bench-memchr-ifunc.c: New file.
2058         * benchtests/bench-memchr.c: New file.
2059         * benchtests/bench-memcmp-ifunc.c: New file.
2060         * benchtests/bench-memcmp.c: New file.
2061         * benchtests/bench-memmem-ifunc.c: New file.
2062         * benchtests/bench-memmem.c: New file.
2063         * benchtests/bench-memmove-ifunc.c: New file.
2064         * benchtests/bench-memmove.c: New file.
2065         * benchtests/bench-mempcpy-ifunc.c: New file.
2066         * benchtests/bench-mempcpy.c: New file.
2067         * benchtests/bench-memset-ifunc.c: New file.
2068         * benchtests/bench-memset.c: New file.
2069         * benchtests/bench-rawmemchr-ifunc.c: New file.
2070         * benchtests/bench-rawmemchr.c: New file.
2071         * benchtests/bench-stpcpy-ifunc.c: New file.
2072         * benchtests/bench-stpcpy.c: New file.
2073         * benchtests/bench-stpncpy-ifunc.c: New file.
2074         * benchtests/bench-stpncpy.c: New file.
2075         * benchtests/bench-strcasecmp-ifunc.c: New file.
2076         * benchtests/bench-strcasecmp.c: New file.
2077         * benchtests/bench-strcasestr-ifunc.c: New file.
2078         * benchtests/bench-strcasestr.c: New file.
2079         * benchtests/bench-strcat-ifunc.c: New file.
2080         * benchtests/bench-strcat.c: New file.
2081         * benchtests/bench-strchr-ifunc.c: New file.
2082         * benchtests/bench-strchr.c: New file.
2083         * benchtests/bench-strchrnul-ifunc.c: New file.
2084         * benchtests/bench-strchrnul.c: New file.
2085         * benchtests/bench-strcmp-ifunc.c: New file.
2086         * benchtests/bench-strcmp.c: New file.
2087         * benchtests/bench-strcpy-ifunc.c: New file.
2088         * benchtests/bench-strcpy.c: New file.
2089         * benchtests/bench-strcspn-ifunc.c: New file.
2090         * benchtests/bench-strcspn.c: New file.
2091         * benchtests/bench-strlen-ifunc.c: New file.
2092         * benchtests/bench-strlen.c: New file.
2093         * benchtests/bench-strncasecmp-ifunc.c: New file.
2094         * benchtests/bench-strncasecmp.c: New file.
2095         * benchtests/bench-strncat-ifunc.c: New file.
2096         * benchtests/bench-strncat.c: New file.
2097         * benchtests/bench-strncmp-ifunc.c: New file.
2098         * benchtests/bench-strncmp.c: New file.
2099         * benchtests/bench-strncpy-ifunc.c: New file.
2100         * benchtests/bench-strncpy.c: New file.
2101         * benchtests/bench-strnlen-ifunc.c: New file.
2102         * benchtests/bench-strnlen.c: New file.
2103         * benchtests/bench-strpbrk-ifunc.c: New file.
2104         * benchtests/bench-strpbrk.c: New file.
2105         * benchtests/bench-strrchr-ifunc.c: New file.
2106         * benchtests/bench-strrchr.c: New file.
2107         * benchtests/bench-strspn-ifunc.c: New file.
2108         * benchtests/bench-strspn.c: New file.
2109         * benchtests/bench-strstr-ifunc.c: New file.
2110         * benchtests/bench-strstr.c: New file.
2112         * benchtests/Makefile: Disable parallel execution of targets.
2113         (string-bench): Add memcpy.
2114         (benchset): New variable to store a list of benchmark sets.
2115         (bench-func): Renamed from bench.
2116         (bench-set): New target.
2117         (bench): Depend on bench-func and bench-set.
2118         * benchtests/README: Add section on benchmark sets.
2119         * benchtests/bench-memcpy-ifunc.c: New file.
2120         * benchtests/bench-memcpy.c: New file.
2121         * benchtests/bench-string.h: New file.
2123 2013-06-11  Andreas Schwab  <schwab@suse.de>
2125         [BZ #15577]
2126         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2127         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2128         values in the triple.
2129         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2130         terminator in the group key.
2132 2013-06-11  Andreas Jaeger  <aj@suse.de>
2134         * po/zh_TW.po: Update Chinese (traditional) translation from
2135         translation project.
2137 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2139         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2140         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2141         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2143         (clock_getcpuclockid): Likewise.
2144         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2145         Add weak_alias and libc_hidden_def.
2146         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2147         * rt/clock_gettime.c (clock_gettime): Rename to
2148         __clock_gettime.  Add weak_alias and libc_hidden_def.
2149         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2150         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2151         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2152         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2153         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2154         Likewise.
2155         * rt/clock_settime.c (clock_settime): Rename to
2156         __clock_settime.  Add weak_alias and libc_hidden_def.
2157         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2159 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2161         * mach/err_boot.sub: Remove trailing whitespace.
2162         * mach/err_ipc.sub: Likewise.
2163         * mach/err_mach.sub: Likewise.
2165         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2166         (ROUNDING_TESTS_double): Likewise.
2167         (ROUNDING_TESTS_long_double): Likewise.
2168         (ROUNDING_TESTS): Likewise.
2169         * math/libm-test.inc: Include <math-tests.h>.
2170         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2171         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2172         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2173         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2175 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2177         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2178         of assigning.
2180 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2182         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2183         otherwise empty TRANS lines.
2184         * sysdeps/gnu/errlist.c: Regenerated.
2186         * catgets/gencat.c (error_print): Use (void) in function
2187         definition.
2188         * crypt/crypt_util.c (__init_des): Likewise.
2189         * crypt/speeds.c (Stop): Likewise.
2190         (main): Likewise.
2191         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2192         * inet/ruserpass.c (token): Likewise.
2193         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2194         * intl/localealias.c (extend_alias_table): Likewise.
2195         * intl/plural-exp.c (init_germanic_plural): Likewise.
2196         * libio/fcloseall.c (__fcloseall): Likewise.
2197         * libio/genops.c (_IO_flush_all): Likewise.
2198         (_IO_flush_all_linebuffered): Likewise.
2199         (_IO_cleanup): Likewise.
2200         (_IO_iter_begin): Likewise.
2201         (_IO_iter_end): Likewise.
2202         (_IO_list_lock): Likewise.
2203         (_IO_list_unlock): Likewise.
2204         (_IO_list_resetlock): Likewise.
2205         * libio/getchar.c (getchar): Likewise.
2206         * libio/getchar_u.c (getchar_unlocked): Likewise.
2207         * libio/getwchar.c (getwchar): Likewise.
2208         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2209         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2210         * login/getpt.c (__getpt): Likewise.
2211         * login/tst-utmp.c (main): Likewise.
2212         * malloc/hooks.c (__malloc_check_init): Likewise.
2213         * malloc/malloc.c (__malloc_stats): Likewise.
2214         * malloc/mtrace.c (tr_break): Likewise.
2215         (mtrace): Likewise.
2216         (muntrace): Likewise.
2217         * misc/fstab.c (endfsent): Likewise.
2218         * misc/getclktck.c (__getclktck): Likewise.
2219         * misc/getdtsz.c (__getdtablesize): Likewise.
2220         * misc/gethostid.c (gethostid): Likewise.
2221         * misc/getpagesize.c (__getpagesize): Likewise.
2222         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2223         (__get_nprocs): Likewise.
2224         (__get_phys_pages): Likewise.
2225         (__get_avphys_pages): Likewise.
2226         * misc/getttyent.c (getttyent): Likewise.
2227         (setttyent): Likewise.
2228         (endttyent): Likewise.
2229         * misc/getusershell.c (getusershell): Likewise.
2230         (endusershell): Likewise.
2231         (setusershell): Likewise.
2232         (initshells): Likewise.
2233         * misc/hsearch.c (__hdestroy): Likewise.
2234         * misc/sync.c (sync): Likewise.
2235         * misc/syslog.c (closelog_internal): Likewise.
2236         (closelog): Likewise.
2237         * misc/ttyslot.c (ttyslot): Likewise.
2238         * misc/vhangup.c (vhangup): Likewise.
2239         * posix/fork.c (__fork): Likewise.
2240         * posix/getegid.c (__getegid): Likewise.
2241         * posix/geteuid.c (__geteuid): Likewise.
2242         * posix/getgid.c (__getgid): Likewise.
2243         * posix/getpid.c (__getpid): Likewise.
2244         * posix/getppid.c (__getppid): Likewise.
2245         * posix/getuid.c (__getuid): Likewise.
2246         * posix/pause.c (pause): Likewise.
2247         * posix/setpgrp.c (setpgrp): Likewise.
2248         * posix/setsid.c (__setsid): Likewise.
2249         * posix/test-vfork.c (noop): Likewise.
2250         * resolv/gethnamaddr.c (_endhtent): Likewise.
2251         (_gethtent): Likewise.
2252         (ht_endhostent): Likewise.
2253         (gethostent): Likewise.
2254         (dns_service): Likewise.
2255         * stdlib/drand48.c (drand48): Likewise.
2256         * stdlib/lrand48.c (lrand48): Likewise.
2257         * stdlib/mrand48.c (mrand48): Likewise.
2258         * stdlib/rand.c (rand): Likewise.
2259         * stdlib/random.c (__random): Likewise.
2260         * stdlib/setenv.c (clearenv): Likewise.
2261         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2262         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2263         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2264         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2265         (__get_nprocs): Likewise.
2266         (__get_phys_pages): Likewise.
2267         (__get_avphys_pages): Likewise.
2268         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2269         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2270         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2271         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2272         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2273         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2274         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2275         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2276         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2277         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2278         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2279         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2280         * sysdeps/posix/clock.c (clock): Likewise.
2281         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2282         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2283         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2284         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2285         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2287         (__get_nprocs_conf): Likewise.
2288         (__get_phys_pages): Likewise.
2289         (__get_avphys_pages): Likewise.
2290         * time/clock.c (clock): Likewise.
2291         * time/tzset.c (__tzname_max): Likewise.
2293 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2295         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2296         (__bswap_32): Do not use "register".
2297         * crypt/crypt.c (_ufc_doit_r): Likewise.
2298         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2299         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2300         * gmon/gmon.c (__monstartup): Likewise.
2301         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2302         * hurd/hurdmalloc.c (more_memory): Likewise.
2303         (malloc): Likewise.
2304         (free): Likewise.
2305         (realloc): Likewise.
2306         (malloc_fork_prepare): Likewise.
2307         (malloc_fork_parent): Likewise.
2308         (malloc_fork_child): Likewise.
2309         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2310         (_svcauth_des): Likewise.
2311         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2312         * inet/inet_net.c (inet_network): Likewise.
2313         * inet/inet_netof.c (inet_netof): Likewise.
2314         * inet/rcmd.c (__validuser2_sa): Likewise.
2315         * io/fts.c (fts_open): Likewise.
2316         (fts_load): Likewise.
2317         (fts_close): Likewise.
2318         (fts_read): Likewise.
2319         (fts_children): Likewise.
2320         (fts_build): Likewise.
2321         (fts_stat): Likewise.
2322         (fts_sort): Likewise.
2323         (fts_alloc): Likewise.
2324         (fts_lfree): Likewise.
2325         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2326         (_IO_file_xsgetn): Likewise.
2327         (_IO_file_xsgetn_mmap): Likewise.
2328         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2329         (_IO_cookie_write): Likewise.
2330         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2331         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2332         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2333         * malloc/obstack.c (_obstack_begin): Likewise.
2334         (_obstack_begin_1): Likewise.
2335         (_obstack_newchunk): Likewise.
2336         (_obstack_allocated_p): Likewise.
2337         (obstack_free): Likewise.
2338         (_obstack_memory_used): Likewise.
2339         * misc/getttyent.c (getttynam): Likewise.
2340         (getttyent): Likewise.
2341         (skip): Likewise.
2342         (value): Likewise.
2343         * misc/getusershell.c (initshells): Likewise.
2344         * misc/syslog.c (__vsyslog_chk): Likewise.
2345         * misc/ttyslot.c (ttyslot): Likewise.
2346         * nis/nis_hash.c (__nis_hash): Likewise.
2347         * posix/fnmatch_loop.c (FCT): Likewise.
2348         * posix/getconf.c (print_all): Likewise.
2349         (main): Likewise.
2350         * posix/getopt.c (exchange): Likewise.
2351         * posix/glob.c (globfree): Likewise.
2352         (prefix_array): Likewise.
2353         (__glob_pattern_type): Likewise.
2354         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2355         (NS_GET32): Likewise.
2356         (NS_PUT16): Likewise.
2357         (NS_PUT32): Likewise.
2358         * resolv/gethnamaddr.c (getanswer): Likewise.
2359         (gethostbyname2): Likewise.
2360         (gethostbyaddr): Likewise.
2361         (_gethtent): Likewise.
2362         (_gethtbyname2): Likewise.
2363         (_gethtbyaddr): Likewise.
2364         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2365         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2366         * resolv/res_init.c (__res_vinit): Likewise.
2367         (net_mask): Likewise.
2368         * resolv/res_mkquery.c (outchar): Likewise.
2369         (PRINT): Likewise.
2370         * stdio-common/printf_fp.c (outchar): Likewise.
2371         (PRINT): Likewise.
2372         * stdio-common/printf_fphex.c (outchar): Likewise.
2373         (PRINT): Likewise.
2374         * stdio-common/printf_size.c (outchar): Likewise.
2375         (PRINT): Likewise.
2376         * stdio-common/test_rdwr.c (main): Likewise.
2377         * stdio-common/tfformat.c (matches): Likewise.
2378         * stdio-common/vfprintf.c (outchar): Likewise.
2379         (printf_unknown): Likewise.
2380         (buffered_vfprintf): Likewise.
2381         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2382         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2383         (ReadFile): Likewise.
2384         * stdlib/qsort.c (SWAP): Likewise.
2385         (_quicksort): Likewise.
2386         * stdlib/setenv.c (__add_to_environ): Likewise.
2387         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2388         * stdlib/strtol_l.c (__strtol_l): Likewise.
2389         * stdlib/tst-strtod.c (main): Likewise.
2390         * stdlib/tst-strtol.c (main): Likewise.
2391         * stdlib/tst-strtoll.c (main): Likewise.
2392         * string/bits/string2.h (__strcmp_cc): Likewise.
2393         (__strcmp_cg): Likewise.
2394         (__strcspn_c1): Likewise.
2395         (__strcspn_c2): Likewise.
2396         (__strcspn_c3): Likewise.
2397         (__strspn_c1): Likewise.
2398         (__strspn_c2): Likewise.
2399         (__strspn_c3): Likewise.
2400         (__strsep_1c): Likewise.
2401         (__strsep_2c): Likewise.
2402         (__strsep_3c): Likewise.
2403         * string/memccpy.c (__memccpy): Likewise.
2404         * string/stpcpy.c (__stpcpy): Likewise.
2405         * string/strcmp.c (strcmp): Likewise.
2406         * string/strrchr.c (strrchr): Likewise.
2407         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2408         Likewise.
2409         * sysdeps/mach/hurd/getcwd.c
2410         (_hurd_canonicalize_directory_name_internal): Likewise.
2411         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2412         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2413         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2414         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2415         Likewise, in both definitions.
2416         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2417         definitions.
2418         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2419         64] (__bswap_64): Likewise.
2420         * time/test_time.c (main): Likewise.
2421         * time/tzfile.c (__tzfile_read): Likewise.
2422         (__tzfile_compute): Likewise.
2423         * time/tzset.c (__tzset_parse_tz): Likewise.
2424         (tzset_internal): Likewise.
2425         (compute_change): Likewise.
2426         * wcsmbs/wcscat.c (__wcscat): Likewise.
2427         * wcsmbs/wcschr.c (wcschr): Likewise.
2428         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2429         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2430         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2431         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2432         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2433         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2434         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2435         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2436         * wcsmbs/wmemset.c (wmemset): Likewise.
2438 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2440         * scripts/config.guess: Update to version 2013-05-16.
2441         * scripts/config.sub: Update to version 2013-04-24.
2442         * scripts/install-sh: Update to version 2011-11-20.07.
2443         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2444         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2446 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2448         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2449         * elf/sln.c: Likewise.
2450         * hurd/hurd/ioctl.h: Likewise.
2451         * hurd/hurdmalloc.c: Likewise.
2452         * hurd/xattr.c: Likewise.
2453         * include/shlib-compat.h: Likewise.
2454         * inet/ruserpass.c: Likewise.
2455         * libio/iofgets_u.c: Likewise.
2456         * libio/iofgetws_u.c: Likewise.
2457         * locale/programs/ld-identification.c: Likewise.
2458         * locale/programs/ld-time.c: Likewise.
2459         * mach/msg-destroy.c: Likewise.
2460         * nss/nss_files/files-netgrp.c: Likewise.
2461         * resolv/res_data.c: Likewise.
2462         * soft-fp/op-1.h: Likewise.
2463         * soft-fp/op-2.h: Likewise.
2464         * soft-fp/op-4.h: Likewise.
2465         * soft-fp/op-common.h: Likewise.
2466         * stdio-common/printf_fphex.c: Likewise.
2467         * stdlib/strtod_l.c: Likewise.
2468         * sunrpc/rpc/clnt.h: Likewise.
2469         * sysdeps/generic/framestate.c: Likewise.
2470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2471         * sysdeps/i386/bsd-setjmp.S: Likewise.
2472         * sysdeps/i386/__longjmp.S: Likewise.
2473         * sysdeps/i386/setjmp.S: Likewise.
2474         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2475         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2477         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2478         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2479         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2483         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2484         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2485         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2489         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2490         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2491         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2492         * sysdeps/ieee754/support.c: Likewise.
2493         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2494         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2495         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2496         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2497         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2498         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2499         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2500         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2501         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2502         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2503         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2504         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2505         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2506         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2507         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2508         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2509         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2512 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2514         * posix/transbug.c: Remove executable mode.
2516 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2518         * crypt/speeds.c: Remove trailing whitespace.
2519         * dlfcn/default.c: Likewise.
2520         * elf/ifuncdep2.c: Likewise.
2521         * elf/ifuncmain1.c: Likewise.
2522         * elf/ifuncmain1vis.c: Likewise.
2523         * elf/testobj.h: Likewise.
2524         * elf/tst-stackguard1.c: Likewise.
2525         * gmon/sys/gmon.h: Likewise.
2526         * hurd/hurdmsg.c: Likewise.
2527         * hurd/new-fd.c: Likewise.
2528         * hurd/ports-get.c: Likewise.
2529         * iconvdata/ibm1008_420.c: Likewise.
2530         * inet/tst-getni1.c: Likewise.
2531         * inet/tst-getni2.c: Likewise.
2532         * libio/ioungetc.c: Likewise.
2533         * libio/wfiledoalloc.c: Likewise.
2534         * manual/libm-err-tab.pl: Likewise.
2535         * math/w_dremf.c: Likewise.
2536         * misc/ftruncate.c: Likewise.
2537         * posix/bug-glob2.c: Likewise.
2538         * posix/tst-pcre.c: Likewise.
2539         * posix/wait4.c: Likewise.
2540         * resolv/README: Likewise.
2541         * resolv/res_debug.h: Likewise.
2542         * resolv/tst-inet_ntop.c: Likewise.
2543         * setjmp/bug269-setjmp.c: Likewise.
2544         * soft-fp/extended.h: Likewise.
2545         * soft-fp/op-1.h: Likewise.
2546         * soft-fp/op-2.h: Likewise.
2547         * soft-fp/op-4.h: Likewise.
2548         * soft-fp/op-8.h: Likewise.
2549         * soft-fp/testit.c: Likewise.
2550         * stdio-common/bug16.c: Likewise.
2551         * stdlib/random.c: Likewise.
2552         * sunrpc/rpcsvc/rquota.x: Likewise.
2553         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2560         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2561         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2562         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2563         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2566         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2567         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2568         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2569         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2571         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2574         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2575         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2576         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2577         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2578         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2580         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2581         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2582         * sysdeps/ieee754/s_lib_version.c: Likewise.
2583         * sysdeps/mach/hurd/check_fds.c: Likewise.
2584         * sysdeps/mach/hurd/getsockname.c: Likewise.
2585         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2586         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2587         * sysdeps/powerpc/bits/link.h: Likewise.
2588         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2589         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2590         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2591         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2592         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2593         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2594         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2595         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2596         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2597         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2598         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2599         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2600         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2602         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2603         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2607         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2608         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2609         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2611         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2612         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2613         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2614         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2615         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2616         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2617         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2618         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2619         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2621         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2622         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2623         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2624         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2625         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2626         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2627         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2628         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2629         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2630         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2631         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2632         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2633         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2634         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2635         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2636         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2637         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2638         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2640         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2641         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2642         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2643         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2644         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2646         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2647         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2648         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2649         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2650         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2651         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2652         * sysdeps/powerpc/sysdep.h: Likewise.
2653         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2654         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2655         * sysdeps/sh/dl-trampoline.S: Likewise.
2656         * sysdeps/sh/memset.S: Likewise.
2657         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2658         * sysdeps/sh/strlen.S: Likewise.
2659         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2660         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2661         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2662         * sysdeps/sparc/sparc32/rem.S: Likewise.
2663         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2664         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2665         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2666         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2667         * sysdeps/sparc/sparc32/urem.S: Likewise.
2668         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2669         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2670         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2671         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2672         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2673         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2674         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2675         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2676         * sysdeps/unix/bsd/times.c: Likewise.
2677         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2678         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2682         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2684         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2686         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2687         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2688         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2689         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2690         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2691         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2692         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2693         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2694         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2695         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2696         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2697         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2698         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2699         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2700         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2701         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2702         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2703         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2704         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2705         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2706         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2707         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2708         * sysdeps/x86_64/strcspn.S: Likewise.
2710 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2712         * locale/C-translit.h: Revert #include <stdint.h> because this is a
2713         generated file.  Regenerate properly from gen-translit.pl.
2714         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
2715         locale/C-translit.h.
2717 2013-06-05  Andreas Schwab  <schwab@suse.de>
2719         [BZ #15100]
2720         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2721         week as 6 instead of -1.
2722         * time/tst-strptime.c (day_tests): Add test case.
2724 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2726         * sysdeps/generic/math_private.h
2727         (libc_feholdexcept_setround_53bit): Replace with
2728         libc_feholdsetround_53bit.
2729         (libc_feupdateenv_53bit): Replace with
2730         libc_feresetround_53bit.
2731         (SET_RESTORE_ROUND_53BIT): Adjust.
2733 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2735         * string/test-strchrnul.c: Add copyright header.
2737         * posix/tst-getaddrinfo4.c: Increase test timeout.
2739 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
2741         [BZ #15536]
2742         * math/libm-test.inc (MAX_EXP): Remove
2743         (MIN_EXP): Define.
2744         (ulp): Use MIN_EXP - MANT_DIG.
2745         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2747 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
2749         * po/be.po: Revert last change.
2750         * po/zh_CN.po: Likewise.
2751         * po/header.pot: Likewise.
2753 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
2755         * Makefile ($(common-objpfx)linkobj/libc.so): Define
2756         link-libc-deps to empty as target-specific variable.
2757         * Makerules (link-libc-args): New variable.
2758         (libc-for-link): Likewise.
2759         (link-libc-deps): Likewise.
2760         (lib%.so): Depend on $(link-libc-deps).  Link with
2761         $(link-libc-args).
2762         (build-module): Link with $(link-libc-args).
2763         (build-module-asneeded): Likewise.
2764         (build-module-helper-objlist): Filter out $(link-libc-deps) from
2765         list of objects.
2766         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2767         target-specific variable.
2768         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2769         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2770         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2771         libc.
2772         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2773         libc and ld.so.
2774         ($(objpfx)libpcprofile.so): Likewise.
2775         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2776         libc_nonshared.a.
2777         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2778         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2779         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2780         $(link-libc-deps).
2781         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2782         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2783         * login/Makefile ($(objpfx)libutil.so): Likewise.
2784         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2785         * math/Makefile ($(objpfx)libm.so): Likewise.
2786         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2787         $(objpfx)libnsl.so): Define libc-for-link as target-specific
2788         variable instead of depending directly on libc.
2789         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2790         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2791         $(link-libc-deps).
2792         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2793         libc.
2794         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2795         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2796         ($(objpfx)libanl.so): Likewise.
2797         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2798         ld.so.
2799         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2800         $(link-libc-deps).
2801         * sysdeps/i386/fpu/Makefile: Remove file.
2802         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2803         ($(objpfx)libm.so): Remove dependency on ld.so.
2805 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
2807         [BZ # 15553]
2808         * nis/yp_xdr.c (XDRMAXNAME): Define.
2809         (XDRMAXRECORD): Define.
2810         (xdr_domainname): Use XDRMAXNAME.
2811         (xdr_mapname): Likewise.
2812         (xdr_peername): Likewise.
2813         (xdr_keydat): Use XDRMAXRECORD.
2814         (xdr_valdat): Likewise.
2816 2013-05-30  Jeff Law  <law@redhat.com>
2818         [BZ #14256]
2819         * manual/errno.texi (ESTALE): Update to account for more than
2820         just NFS file systems.
2821         * sysdeps/gnu/errlist.c: Regenerated.
2823 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2825         [BZ #15465]
2826         * elf/Makefile (tests): Add tst-null-argv.
2827         (modules-names):  Add tst-null-argv-lib.
2828         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2829         (tst-null-argv-ENV): Set environment for tst-null-argv.
2830         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2831         (RTLD_PROGNAME): New macro.
2832         * elf/tst-null-argv.c: New test case.
2833         * elf/tst-null-argv-lib.c: Library for test case.
2834         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2835         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2836         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2837         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2838         * elf/dl-init.c (call_init): Likewise.
2839         (_dl_init): Likewise.
2840         * elf/dl-load.c (print_search_path): Likewise.
2841         (_dl_map_object): Likewise.
2842         * elf/dl-lookup.c (do_lookup_x): Likewise.
2843         (add_dependency): Likewise.
2844         (_dl_lookup_symbol_x): Likewise.
2845         (_dl_debug_bindings): Likewise.
2846         * elf/dl-open.c (_dl_show_scope): Likewise.
2847         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2848         * elf/dl-version.c (match_symbol): Likewise.
2849         (_dl_check_map_versions): Likewise.
2850         * elf/rtld.c (dl_main): Likewise.
2851         (print_unresolved): Use RTLD_PROGNAME.
2852         (print_missing_version): Likewise.
2853         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2854         (elf_machine_rela): Likewise.
2855         * sysdeps/powerpc/powerpc32/dl-machine.c
2856         (__process_machine_rela): Likewise.
2857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2858         Likewise.
2859         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2860         Likewise.
2861         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2862         Likewise.
2863         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2865         Likewise.
2866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2867         Likewise.
2868         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2870 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
2872         * po/be.po: Add descriptive title.
2873         * po/zh_CN.po: Likewise.
2874         * po/header.pot: Likewise.
2876 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
2878         * locale/programs/locarchive.c (create_archive): Inlucde fname in
2879         error message.
2880         (enlarge_archive): Likewise.
2882 2013-05-28  Ben North  <ben@redfrontdoor.org>
2884         * manual/arith.texi (frexp): It is the magnitude of the return
2885         value which lies in [0.5, 1), not the return value itself.
2887 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2891 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
2893         * stdio-common/bug26.c (main): Correct fscanf template.
2895         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2896         declare _dl_skip_args.
2898         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2899         Don't declare.
2901         * manual/platform.texi: Add missing @end deftypefun.
2903 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2905         [BZ #15529]
2906         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2907         bit of mantissa of 2^16382.
2908         * math/libm-test.inc (hypot_test_data): Add more tests.
2910         * math/libm-test.inc: Add drem and pow10 to list of tested
2911         functions.
2912         (pow10_test): New function.
2913         (drem_test): Likewise.
2914         (drem_test_tonearest): Likewise.
2915         (drem_test_towardzero): Likewise.
2916         (drem_test_downward): Likewise.
2917         (drem_test_upward): Likewise.
2918         (main): Call the new functions.
2920         * math/libm-test.inc (finite_test_data): Remove.
2921         (finite_test): Run tests from isfinite_test_data.
2922         (gamma_test_data): Remove.
2923         (gamma_test): Run tests from lgamma_test_data.
2924         * sysdeps/i386/fpu/libm-test-ulps: Update.
2925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2929         * manual/platform.texi: Add PowerPC PPR function set documentation.
2930         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2931         implementation.
2933 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
2935         * math/libm-test.inc (MAX_EXP): Define.
2936         (ULPDIFF): Define.
2937         (ulp): New function.
2938         (check_float_internal): Use ULPDIFF.
2939         (cpow_test): Disable failing test.
2940         (check_ulp): Test ulp() implemetnation.
2941         (main): Call check_ulp before starting tests.
2943 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
2945         * math/gen-libm-test.pl (generate_testfile): Do not handle
2946         START_DATA and END_DATA.
2947         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2948         END_DATA.
2949         (acos_tonearest_test_data): Likewise.
2950         (acos_towardzero_test_data): Likewise.
2951         (acos_downward_test_data): Likewise.
2952         (acos_upward_test_data): Likewise.
2953         (acosh_test_data): Likewise.
2954         (asin_test_data): Likewise.
2955         (asin_tonearest_test_data): Likewise.
2956         (asin_towardzero_test_data): Likewise.
2957         (asin_downward_test_data): Likewise.
2958         (asin_upward_test_data): Likewise.
2959         (asinh_test_data): Likewise.
2960         (atan_test_data): Likewise.
2961         (atanh_test_data): Likewise.
2962         (atan2_test_data): Likewise.
2963         (cabs_test_data): Likewise.
2964         (cacos_test_data): Likewise.
2965         (cacosh_test_data): Likewise.
2966         (carg_test_data): Likewise.
2967         (casin_test_data): Likewise.
2968         (casinh_test_data): Likewise.
2969         (catan_test_data): Likewise.
2970         (catanh_test_data): Likewise.
2971         (cbrt_test_data): Likewise.
2972         (ccos_test_data): Likewise.
2973         (ccosh_test_data): Likewise.
2974         (ceil_test_data): Likewise.
2975         (cexp_test_data): Likewise.
2976         (cimag_test_data): Likewise.
2977         (clog_test_data): Likewise.
2978         (clog10_test_data): Likewise.
2979         (conj_test_data): Likewise.
2980         (copysign_test_data): Likewise.
2981         (cos_test_data): Likewise.
2982         (cos_tonearest_test_data): Likewise.
2983         (cos_towardzero_test_data): Likewise.
2984         (cos_downward_test_data): Likewise.
2985         (cos_upward_test_data): Likewise.
2986         (cosh_test_data): Likewise.
2987         (cosh_tonearest_test_data): Likewise.
2988         (cosh_towardzero_test_data): Likewise.
2989         (cosh_downward_test_data): Likewise.
2990         (cosh_upward_test_data): Likewise.
2991         (cpow_test_data): Likewise.
2992         (cproj_test_data): Likewise.
2993         (creal_test_data): Likewise.
2994         (csin_test_data): Likewise.
2995         (csinh_test_data): Likewise.
2996         (csqrt_test_data): Likewise.
2997         (ctan_test_data): Likewise.
2998         (ctan_tonearest_test_data): Likewise.
2999         (ctan_towardzero_test_data): Likewise.
3000         (ctan_downward_test_data): Likewise.
3001         (ctan_upward_test_data): Likewise.
3002         (ctanh_test_data): Likewise.
3003         (ctanh_tonearest_test_data): Likewise.
3004         (ctanh_towardzero_test_data): Likewise.
3005         (ctanh_downward_test_data): Likewise.
3006         (ctanh_upward_test_data): Likewise.
3007         (erf_test_data): Likewise.
3008         (erfc_test_data): Likewise.
3009         (exp_test_data): Likewise.
3010         (exp_tonearest_test_data): Likewise.
3011         (exp_towardzero_test_data): Likewise.
3012         (exp_downward_test_data): Likewise.
3013         (exp_upward_test_data): Likewise.
3014         (exp10_test_data): Likewise.
3015         (exp2_test_data): Likewise.
3016         (expm1_test_data): Likewise.
3017         (fabs_test_data): Likewise.
3018         (fdim_test_data): Likewise.
3019         (finite_test_data): Likewise.
3020         (floor_test_data): Likewise.
3021         (fma_test_data): Likewise.
3022         (fma_towardzero_test_data): Likewise.
3023         (fma_downward_test_data): Likewise.
3024         (fma_upward_test_data): Likewise.
3025         (fmax_test_data): Likewise.
3026         (fmin_test_data): Likewise.
3027         (fmod_test_data): Likewise.
3028         (fpclassify_test_data): Likewise.
3029         (frexp_test_data): Likewise.
3030         (gamma_test_data): Likewise.
3031         (hypot_test_data): Likewise.
3032         (ilogb_test_data): Likewise.
3033         (isfinite_test_data): Likewise.
3034         (isgreater_test_data): Likewise.
3035         (isgreaterequal_test_data): Likewise.
3036         (isinf_test_data): Likewise.
3037         (isless_test_data): Likewise.
3038         (islessequal_test_data): Likewise.
3039         (islessgreater_test_data): Likewise.
3040         (isnan_test_data): Likewise.
3041         (isnormal_test_data): Likewise.
3042         (issignaling_test_data): Likewise.
3043         (isunordered_test_data): Likewise.
3044         (j0_test_data): Likewise.
3045         (j1_test_data): Likewise.
3046         (jn_test_data): Likewise.
3047         (ldexp_test_data): Likewise.
3048         (lgamma_test_data): Likewise.
3049         (lrint_test_data): Likewise.
3050         (lrint_tonearest_test_data): Likewise.
3051         (lrint_towardzero_test_data): Likewise.
3052         (lrint_downward_test_data): Likewise.
3053         (lrint_upward_test_data): Likewise.
3054         (llrint_test_data): Likewise.
3055         (llrint_tonearest_test_data): Likewise.
3056         (llrint_towardzero_test_data): Likewise.
3057         (llrint_downward_test_data): Likewise.
3058         (llrint_upward_test_data): Likewise.
3059         (log_test_data): Likewise.
3060         (log10_test_data): Likewise.
3061         (log1p_test_data): Likewise.
3062         (log2_test_data): Likewise.
3063         (logb_test_data): Likewise.
3064         (logb_downward_test_data): Likewise.
3065         (lround_test_data): Likewise.
3066         (llround_test_data): Likewise.
3067         (modf_test_data): Likewise.
3068         (nearbyint_test_data): Likewise.
3069         (nextafter_test_data): Likewise.
3070         (nexttoward_test_data): Likewise.
3071         (pow_test_data): Likewise.
3072         (pow_tonearest_test_data): Likewise.
3073         (pow_towardzero_test_data): Likewise.
3074         (pow_downward_test_data): Likewise.
3075         (pow_upward_test_data): Likewise.
3076         (remainder_test_data): Likewise.
3077         (remainder_tonearest_test_data): Likewise.
3078         (remainder_towardzero_test_data): Likewise.
3079         (remainder_downward_test_data): Likewise.
3080         (remainder_upward_test_data): Likewise.
3081         (remquo_test_data): Likewise.
3082         (rint_test_data): Likewise.
3083         (rint_tonearest_test_data): Likewise.
3084         (rint_towardzero_test_data): Likewise.
3085         (rint_downward_test_data): Likewise.
3086         (rint_upward_test_data): Likewise.
3087         (round_test_data): Likewise.
3088         (scalb_test_data): Likewise.
3089         (scalbn_test_data): Likewise.
3090         (scalbln_test_data): Likewise.
3091         (signbit_test_data): Likewise.
3092         (sin_test_data): Likewise.
3093         (sin_tonearest_test_data): Likewise.
3094         (sin_towardzero_test_data): Likewise.
3095         (sin_downward_test_data): Likewise.
3096         (sin_upward_test_data): Likewise.
3097         (sincos_test_data): Likewise.
3098         (sinh_test_data): Likewise.
3099         (sinh_tonearest_test_data): Likewise.
3100         (sinh_towardzero_test_data): Likewise.
3101         (sinh_downward_test_data): Likewise.
3102         (sinh_upward_test_data): Likewise.
3103         (sqrt_test_data): Likewise.
3104         (tan_test_data): Likewise.
3105         (tan_tonearest_test_data): Likewise.
3106         (tan_towardzero_test_data): Likewise.
3107         (tan_downward_test_data): Likewise.
3108         (tan_upward_test_data): Likewise.
3109         (tanh_test_data): Likewise.
3110         (tgamma_test_data): Likewise.
3111         (trunc_test_data): Likewise.
3112         (y0_test_data): Likewise.
3113         (y1_test_data): Likewise.
3114         (yn_test_data): Likewise.
3115         (significand_test_data): Likewise.
3117         * math/gen-libm-test.pl (@functions): Remove variable.
3118         (generate_testfile): Don't handle START and END lines.
3119         * math/libm-test.inc (START): New macro.
3120         (END): Likewise.
3121         (END_COMPLEX): Likewise.
3122         (acos_test): Use END macro without arguments.
3123         (acos_test_tonearest): Likewise.
3124         (acos_test_towardzero): Likewise.
3125         (acos_test_downward): Likewise.
3126         (acos_test_upward): Likewise.
3127         (acosh_test): Likewise.
3128         (asin_test): Likewise.
3129         (asin_test_tonearest): Likewise.
3130         (asin_test_towardzero): Likewise.
3131         (asin_test_downward): Likewise.
3132         (asin_test_upward): Likewise.
3133         (asinh_test): Likewise.
3134         (atan_test): Likewise.
3135         (atanh_test): Likewise.
3136         (atan2_test): Likewise.
3137         (cabs_test): Likewise.
3138         (cacos_test): Use END_COMPLEX macro without arguments.
3139         (cacosh_test): Likewise.
3140         (carg_test): Use END macro without arguments.
3141         (casin_test): Use END_COMPLEX macro without arguments.
3142         (casinh_test): Likewise.
3143         (catan_test): Likewise.
3144         (catanh_test): Likewise.
3145         (cbrt_test): Use END macro without arguments.
3146         (ccos_test): Use END_COMPLEX macro without arguments.
3147         (ccosh_test): Likewise.
3148         (ceil_test): Use END macro without arguments.
3149         (cexp_test): Use END_COMPLEX macro without arguments.
3150         (cimag_test): Use END macro without arguments.
3151         (clog_test): Use END_COMPLEX macro without arguments.
3152         (clog10_test): Likewise.
3153         (conj_test): Likewise.
3154         (copysign_test): Use END macro without arguments.
3155         (cos_test): Likewise.
3156         (cos_test_tonearest): Likewise.
3157         (cos_test_towardzero): Likewise.
3158         (cos_test_downward): Likewise.
3159         (cos_test_upward): Likewise.
3160         (cosh_test): Likewise.
3161         (cosh_test_tonearest): Likewise.
3162         (cosh_test_towardzero): Likewise.
3163         (cosh_test_downward): Likewise.
3164         (cosh_test_upward): Likewise.
3165         (cpow_test): Use END_COMPLEX macro without arguments.
3166         (cproj_test): Likewise.
3167         (creal_test): Use END macro without arguments.
3168         (csin_test): Use END_COMPLEX macro without arguments.
3169         (csinh_test): Likewise.
3170         (csqrt_test): Likewise.
3171         (ctan_test): Likewise.
3172         (ctan_test_tonearest): Likewise.
3173         (ctan_test_towardzero): Likewise.
3174         (ctan_test_downward): Likewise.
3175         (ctan_test_upward): Likewise.
3176         (ctanh_test): Likewise.
3177         (ctanh_test_tonearest): Likewise.
3178         (ctanh_test_towardzero): Likewise.
3179         (ctanh_test_downward): Likewise.
3180         (ctanh_test_upward): Likewise.
3181         (erf_test): Use END macro without arguments.
3182         (erfc_test): Likewise.
3183         (exp_test): Likewise.
3184         (exp_test_tonearest): Likewise.
3185         (exp_test_towardzero): Likewise.
3186         (exp_test_downward): Likewise.
3187         (exp_test_upward): Likewise.
3188         (exp10_test): Likewise.
3189         (exp2_test): Likewise.
3190         (expm1_test): Likewise.
3191         (fabs_test): Likewise.
3192         (fdim_test): Likewise.
3193         (finite_test): Likewise.
3194         (floor_test): Likewise.
3195         (fma_test): Likewise.
3196         (fma_test_towardzero): Likewise.
3197         (fma_test_downward): Likewise.
3198         (fma_test_upward): Likewise.
3199         (fmax_test): Likewise.
3200         (fmin_test): Likewise.
3201         (fmod_test): Likewise.
3202         (fpclassify_test): Likewise.
3203         (frexp_test): Likewise.
3204         (gamma_test): Likewise.
3205         (hypot_test): Likewise.
3206         (ilogb_test): Likewise.
3207         (isfinite_test): Likewise.
3208         (isgreater_test): Likewise.
3209         (isgreaterequal_test): Likewise.
3210         (isinf_test): Likewise.
3211         (isless_test): Likewise.
3212         (islessequal_test): Likewise.
3213         (islessgreater_test): Likewise.
3214         (isnan_test): Likewise.
3215         (isnormal_test): Likewise.
3216         (issignaling_test): Likewise.
3217         (isunordered_test): Likewise.
3218         (j0_test): Likewise.
3219         (j1_test): Likewise.
3220         (jn_test): Likewise.
3221         (ldexp_test): Likewise.
3222         (lgamma_test): Likewise.
3223         (lrint_test): Likewise.
3224         (lrint_test_tonearest): Likewise.
3225         (lrint_test_towardzero): Likewise.
3226         (lrint_test_downward): Likewise.
3227         (lrint_test_upward): Likewise.
3228         (llrint_test): Likewise.
3229         (llrint_test_tonearest): Likewise.
3230         (llrint_test_towardzero): Likewise.
3231         (llrint_test_downward): Likewise.
3232         (llrint_test_upward): Likewise.
3233         (log_test): Likewise.
3234         (log10_test): Likewise.
3235         (log1p_test): Likewise.
3236         (log2_test): Likewise.
3237         (logb_test): Likewise.
3238         (logb_test_downward): Likewise.
3239         (lround_test): Likewise.
3240         (llround_test): Likewise.
3241         (modf_test): Likewise.
3242         (nearbyint_test): Likewise.
3243         (nextafter_test): Likewise.
3244         (nexttoward_test): Likewise.
3245         (pow_test): Likewise.
3246         (pow_test_tonearest): Likewise.
3247         (pow_test_towardzero): Likewise.
3248         (pow_test_downward): Likewise.
3249         (pow_test_upward): Likewise.
3250         (remainder_test): Likewise.
3251         (remainder_test_tonearest): Likewise.
3252         (remainder_test_towardzero): Likewise.
3253         (remainder_test_downward): Likewise.
3254         (remainder_test_upward): Likewise.
3255         (remquo_test): Likewise.
3256         (rint_test): Likewise.
3257         (rint_test_tonearest): Likewise.
3258         (rint_test_towardzero): Likewise.
3259         (rint_test_downward): Likewise.
3260         (rint_test_upward): Likewise.
3261         (round_test): Likewise.
3262         (scalb_test): Likewise.
3263         (scalbn_test): Likewise.
3264         (scalbln_test): Likewise.
3265         (signbit_test): Likewise.
3266         (sin_test): Likewise.
3267         (sin_test_tonearest): Likewise.
3268         (sin_test_towardzero): Likewise.
3269         (sin_test_downward): Likewise.
3270         (sin_test_upward): Likewise.
3271         (sincos_test): Likewise.
3272         (sinh_test): Likewise.
3273         (sinh_test_tonearest): Likewise.
3274         (sinh_test_towardzero): Likewise.
3275         (sinh_test_downward): Likewise.
3276         (sinh_test_upward): Likewise.
3277         (sqrt_test): Likewise.
3278         (tan_test): Likewise.
3279         (tan_test_tonearest): Likewise.
3280         (tan_test_towardzero): Likewise.
3281         (tan_test_downward): Likewise.
3282         (tan_test_upward): Likewise.
3283         (tanh_test): Likewise.
3284         (tgamma_test): Likewise.
3285         (trunc_test): Likewise.
3286         (y0_test): Likewise.
3287         (y1_test): Likewise.
3288         (yn_test): Likewise.
3289         (significand_test): Likewise.
3291 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3293         [BZ #15381]
3294         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3296 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3298         [BZ #14894]
3299         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3300         __ppc_mdoio and __ppc_mdoom.
3301         * manual/platform.texi: Document new functions __ppc_yield,
3302         __ppc_mdoio and __ppc_mdoom.
3304 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3306         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3307         (main): Mention "tls" pseudo-hwcap is legacy.
3308         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3310 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3312         * math/gen-libm-test.pl (parse_args): Output only string of
3313         arguments as text for test name, not full call or descriptions of
3314         tests for extra outputs.
3315         (generate_testfile): Do not pass function name to parse_args.
3316         Generate this_func variable from START.
3317         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3318         field to arg_str.
3319         (struct test_ff_f_data): Likewise.
3320         (test_ff_f_data_nexttoward): Likewise.
3321         (struct test_fi_f_data): Likewise.
3322         (struct test_fl_f_data): Likewise.
3323         (struct test_if_f_data): Likewise.
3324         (struct test_fff_f_data): Likewise.
3325         (struct test_c_f_data): Likewise.
3326         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3327         (struct test_fF_f1_data): Likewise.
3328         (struct test_ffI_f1_data): Likewise.
3329         (struct test_c_c_data): Rename test_name field to arg_str.
3330         (struct test_cc_c_data): Likewise.
3331         (struct test_f_i_data): Likewise.
3332         (struct test_ff_i_data): Likewise.
3333         (struct test_f_l_data): Likewise.
3334         (struct test_f_L_data): Likewise.
3335         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3336         and extra2_name.
3337         (COMMON_TEST_SETUP): New macro.
3338         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3339         (COMMON_TEST_CLEANUP): Likewise.
3340         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3341         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3342         macros.
3343         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3344         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3345         macros.
3346         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3347         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3348         cleanup macros.
3349         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3350         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3351         macros.
3352         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3353         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3354         macros.
3355         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3356         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3357         cleanup macros.
3358         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3359         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3360         cleanup macros.
3361         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3362         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3363         cleanup macros.
3364         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3365         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3366         macros.
3367         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3368         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3369         macros.
3370         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3371         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3372         macros.
3373         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3374         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3375         cleanup macros.
3376         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3377         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3378         cleanup macros.
3379         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3380         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3381         macros.
3382         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3383         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3384         cleanup macros.
3385         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3386         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3387         macros.
3388         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3389         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3390         macros.
3391         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3392         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3393         cleanup macros.
3394         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3396 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3398         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3399         to _sifields.sigfault.
3400         (si_addr_lsb): Define new macro.
3401         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3403         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3405 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3407         [BZ #15441]
3408         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3409         returns -1.
3410         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3411         null return -1.
3412         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3413         loading the domain.
3415 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3417         * math/gen-libm-test.pl (parse_args): Do not include expected
3418         result in test name.
3419         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3420         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3421         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3423         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3428         * benchtests/Makefile: Sort function entries.
3430         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3431         tanh, asinh, acosh, atanh.
3432         * benchtests/acos-inputs: New file.
3433         * benchtests/acosh-inputs: New file.
3434         * benchtests/asin-inputs: New file.
3435         * benchtests/asinh-inputs: New file.
3436         * benchtests/atanh-inputs: New file.
3437         * benchtests/cosh-inputs: New file.
3438         * benchtests/log-inputs: New file.
3439         * benchtests/sinh-inputs: New file.
3440         * benchtests/tanh-inputs: New file.
3442 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3444         [BZ #15339]
3445         * posix/tst-getaddrinfo4.c: New test.
3446         * posix/Makefile (tests): Add it.
3448 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3450         [BZ #15339]
3451         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3452         when no services were used.
3453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3454         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3456 2013-05-21  Andreas Schwab  <schwab@suse.de>
3458         [BZ #15014]
3459         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3460         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3461         successful.
3462         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3463         redundant variable declarations and reallocation of buffer when
3464         parsing as IPv6 address.  Always set NSS status when called from
3465         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3466         buffer too small.  Correct computation of needed size.
3467         * nss/Makefile (tests): Add test-digits-dots.
3468         * nss/test-digits-dots.c: New test.
3470 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3472         * benchtests/Makefile: Remove instructions for adding
3473         benchmark tests.
3474         * benchtests/README: New file to explain how to execute and
3475         enhance the benchmark tests.
3477 2013-05-21  Andreas Schwab  <schwab@suse.de>
3479         [BZ #15493]
3480         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3481         * setjmp/tst-sigsetjmp.c: New test.
3483 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3485         * sysdeps/x86_64/memset.S (memset): New implementation.
3486         (__bzero): Likewise.
3487         (__memset_tail): New function.
3489 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3491         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3492         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3493         __memcpy_sse2_unaligned ifunc selection.
3494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3495         Add memcpy-sse2-unaligned.S.
3496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3497         Add: __memcpy_sse2_unaligned.
3499 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3501         [BZ #15490]
3502         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3503         math_force_eval before restoring floating-point envrionment.
3504         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3505         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3506         Likewise.
3507         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3508         <math_private.h>.
3509         (__nearbyintl): Use math_force_eval before restoring
3510         floating-point environment.
3511         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3513         * math/gen-libm-test.pl (special_functions): Remove.
3514         (parse_args): Don't handle TEST_extra.  Handle functions with no
3515         return value.
3516         * math/libm-test.inc (struct test_sincos_data): Replace with
3517         struct test_fFF_11_data.
3518         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3519         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3520         (sincos_test_data): Change element type to struct
3521         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3522         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3523         RUN_TEST_LOOP_sincos.
3524         * math/README.libm-test: Don't mention special handling of
3525         individual functions.
3526         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3527         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3529         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3530         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3533         * math/gen-libm-test.pl (get_variable): Remove function.
3534         (parse_args): Don't show pointer parameters to call in test
3535         names.  Use "extra output N" in test names for extra outputs
3536         rather than naming variables.
3538 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3540         [BZ #15488]
3541         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3542         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3543         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3544         double tests.
3545         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3546         disable.
3547         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3548         check_long_double.
3550         * math/gen-libm-test.pl (@tests): Remove variable.
3551         ($count): Likewise.
3552         (new_test): Remove function.
3553         (show_exceptions): New function.
3554         (special_functions): Use show_exceptions instead of new_test.
3555         (parse_args): Likewise.
3556         (generate_testfile): Pass only function name in generated call to
3557         print_max_error or print_complex_max_error.
3558         (get_ulps): Do not handle complex tests specially.
3559         (output_test): Rename to ...
3560         (get_all_ulps_for_test): ... this.  Return a string rather than
3561         printing to a file.  Require ulps to be present.
3562         (output_ulps): Generate arrays rather than #defines.
3563         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3564         (struct ulp_data): New type.
3565         (BUILD_COMPLEX_ULP): Remove macro.
3566         (compare_ulp_data): New function.
3567         (find_ulps): Likewise.
3568         (find_test_ulps): Likewise.
3569         (find_function_ulps): Likewise.
3570         (find_complex_function_ulps): Likewise.
3571         (print_max_error): Determine allowed ulps using
3572         find_function_ulps.
3573         (print_complex_max_error): Determine allowed ulps using
3574         find_complex_function_ulps.
3575         (check_float_internal): Determine max ulps using find_test_ulps.
3576         (check_float): Do not take max_ulp parameter.  Update call to
3577         check_float_internal.
3578         (check_complex): Likewise.
3579         (check_int): Do not take max_ulp parameter.
3580         (check_long): Likewise.
3581         (check_bool): Likewise.
3582         (check_longlong): Likewise.
3583         (struct test_f_f_data): Remove max_ulp field.
3584         (struct test_ff_f_data): Likewise.
3585         (struct test_ff_f_data_nexttoward): Likewise.
3586         (struct test_fi_f_data): Likewise.
3587         (struct test_fl_f_data): Likewise.
3588         (struct test_if_f_data): Likewise.
3589         (struct test_fff_f_data): Likewise.
3590         (struct test_c_f_data): Likewise.
3591         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3592         (struct test_fF_f1_data): Likewise.
3593         (struct test_ffI_f1_data): Likewise.
3594         (struct test_c_c_data): Remove max_ulp field.
3595         (struct test_cc_c_data): Likewise.
3596         (struct test_f_i_data): Likewise.
3597         (struct test_ff_i_data): Likewise.
3598         (struct test_f_l_data): Likewise.
3599         (struct test_f_L_data): Likewise.
3600         (struct test_sincos_data): Likewise.
3601         (RUN_TEST_f_f): Do not handle ulps.
3602         (RUN_TEST_LOOP_f_f): Likewise.
3603         (RUN_TEST_2_f): Likewise.
3604         (RUN_TEST_LOOP_2_f): Likewise.
3605         (RUN_TEST_fff_f): Likewise.
3606         (RUN_TEST_LOOP_fff_f): Likewise.
3607         (RUN_TEST_c_f): Likewise.
3608         (RUN_TEST_LOOP_c_f): Likewise.
3609         (RUN_TEST_f_f1): Likewise.
3610         (RUN_TEST_LOOP_f_f1): Likewise.
3611         (RUN_TEST_fF_f1): Likewise.
3612         (RUN_TEST_LOOP_fF_f1): Likewise.
3613         (RUN_TEST_fI_f1): Likewise.
3614         (RUN_TEST_LOOP_fI_f1): Likewise.
3615         (RUN_TEST_ffI_f1): Likewise.
3616         (RUN_TEST_LOOP_ffI_f1): Likewise.
3617         (RUN_TEST_c_c): Likewise.
3618         (RUN_TEST_LOOP_c_c): Likewise.
3619         (RUN_TEST_cc_c): Likewise.
3620         (RUN_TEST_LOOP_cc_c): Likewise.
3621         (RUN_TEST_f_i): Likewise.
3622         (RUN_TEST_LOOP_f_i): Likewise.
3623         (RUN_TEST_f_i_tg): Likewise.
3624         (RUN_TEST_LOOP_f_i_tg): Likewise.
3625         (RUN_TEST_ff_i_tg): Likewise.
3626         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3627         (RUN_TEST_f_b): Likewise.
3628         (RUN_TEST_LOOP_f_b): Likewise.
3629         (RUN_TEST_f_b_tg): Likewise.
3630         (RUN_TEST_LOOP_f_b_tg): Likewise.
3631         (RUN_TEST_f_l): Likewise.
3632         (RUN_TEST_LOOP_f_l): Likewise.
3633         (RUN_TEST_f_L): Likewise.
3634         (RUN_TEST_LOOP_f_L): Likewise.
3635         (RUN_TEST_sincos): Likewise.
3636         (RUN_TEST_LOOP_sincos): Likewise.
3638 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3640         [BZ #15480]
3641         [BZ #15485]
3642         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3643         main case of finite arguments, set rounding mode to FE_TONEAREST
3644         and discard exceptions.
3645         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3646         exceptions.
3647         (remainder_tonearest_test_data): New variable.
3648         (remainder_test_tonearest): New function.
3649         (remainder_towardzero_test_data): New variable.
3650         (remainder_test_towardzero): New function.
3651         (remainder_downward_test_data): New variable.
3652         (remainder_test_downward): New function.
3653         (remainder_upward_test_data): New variable.
3654         (remainder_test_upward): New function.
3655         (main): Call the new test functions.
3657         * math/libm-test.inc (struct test_f_f1_data): Remove field
3658         extra_init.
3659         (struct test_fF_f1_data): Likewise.
3660         (struct test_ffI_f1_data): Likewise.
3661         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3662         based on value of EXTRA_EXPECTED.
3663         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3664         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3665         EXTRA_VAR based on value of EXTRA_EXPECTED.
3666         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3667         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3668         EXTRA_VAR based on value of EXTRA_EXPECTED.
3669         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3670         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3671         EXTRA_VAR based on value of EXTRA_EXPECTED.
3672         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3673         * math/gen-libm-test.pl (parse_args): Don't output initializers
3674         for extra output values.
3676         * math/libm-test.inc (check_int): Expect result to be exactly
3677         equal to expected value and do not handle ulps.
3678         (check_long): Likewise.
3679         (check_longlong): Likewise.
3681         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3682         exceptions.
3683         (cimag_test_data): Likewise.
3684         (conj_test_data): Likewise.
3685         (copysign_test_data): Likewise.
3686         (cproj_test_data): Likewise.
3687         (creal_test_data): Likewise.
3688         (fabs_test_data): Likewise.
3689         (fdim_test_data): Likewise.
3690         (finite_test_data): Likewise.
3691         (floor_test_data): Likewise.
3692         (fmax_test_data): Likewise.
3693         (fmin_test_data): Likewise.
3694         (fmod_test_data): Likewise.
3695         (fpclassify_test_data): Likewise.
3696         (frexp_test_data): Likewise.
3697         (ilogb_test_data): Likewise.
3698         (isfinite_test_data): Likewise.
3699         (isgreater_test_data): Likewise.
3700         (isgreaterequal_test_data): Likewise.
3701         (isinf_test_data): Likewise.
3702         (isless_test_data): Likewise.
3703         (islessequal_test_data): Likewise.
3704         (islessgreater_test_data): Likewise.
3705         (isnan_test_data): Likewise.
3706         (isnormal_test_data): Likewise.
3707         (issignaling_test_data): Likewise.
3708         (isunordered_test_data): Likewise.
3709         (ldexp_test_data): Likewise.
3710         (lrint_test_data): Likewise.
3711         (lrint_test_data) [TEST_FLOAT]: Disable one test.
3712         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3713         (lrint_tonearest_test_data): Test for "inexact" exceptions.
3714         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3715         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3716         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3717         test input.
3718         (lrint_towardzero_test_data): Test for "inexact" exceptions.
3719         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3720         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3721         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3722         that test input.
3723         (lrint_downward_test_data): Test for "inexact" exceptions.
3724         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3725         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3726         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3727         test input.
3728         (lrint_upward_test_data): Test for "inexact" exceptions.
3729         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3730         test input.
3731         (llrint_test_data): Test for "inexact" exceptions.
3732         (llrint_test_data) [TEST_FLOAT]: Disable one test.
3733         (llrint_tonearest_test_data): Test for "inexact" exceptions.
3734         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3735         (llrint_towardzero_test_data): Test for "inexact" exceptions.
3736         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3737         (llrint_downward_test_data): Test for "inexact" exceptions.
3738         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3739         (llrint_upward_test_data): Test for "inexact" exceptions.
3740         (logb_test_data): Likewise.
3741         (logb_downward_test_data): Likewise.
3742         (nextafter_test_data): Likewise.
3743         (nexttoward_test_data): Likewise.
3744         (remainder_test_data): Likewise.
3745         (remquo_test_data): Likewise.
3746         (scalbn_test_data): Likewise.
3747         (scalbln_test_data): Likewise.
3748         (signbit_test_data): Likewise.
3749         (sqrt_test_data): Likewise.
3750         (significand_test_data): Likewise.
3752 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3754         [BZ #15424]
3755         * benchtests/bench-modf.c (struct args): Mark arg0 as
3756         volatile.
3757         * scripts/bench.pl: Mark members of struct args as volatile.
3759 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3761         [BZ # 15497]
3762         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3763         negative infinity on POWER6 or lower.
3764         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3766 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3768         [BZ #15442]
3769         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3770         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3771         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3772         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3773         (_FP_SETQNAN): New macro.
3774         (_FP_SETQNAN_SEMIRAW): Likewise.
3775         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3776         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3777         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3778         (FP_EXTEND): Use _FP_FRAC_SNANP.
3779         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3780         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3781         into account.
3782         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3783         New macro.
3784         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3785         Likewise.
3787 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3789         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3790         with DIVIDE_BY_ZERO_EXCEPTION.
3791         (gamma_test_data): Likewise.
3792         (lgamma_test_data): Likewise.
3793         (log_test_data): Likewise.
3794         (log10_test_data): Likewise.
3795         (log2_test_data): Likewise.
3796         (tgamma_test_data): Likewise.
3798         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3799         (acos_test_tonearest): Likewise.
3800         (acos_test_towardzero): Likewise.
3801         (acos_test_downward): Likewise.
3802         (acos_test_upward): Likewise.
3803         (acosh_test): Likewise.
3804         (asin_test): Likewise.
3805         (asin_test_tonearest): Likewise.
3806         (asin_test_towardzero): Likewise.
3807         (asin_test_downward): Likewise.
3808         (asin_test_upward): Likewise.
3809         (asinh_test): Likewise.
3810         (atan_test): Likewise.
3811         (atanh_test): Likewise.
3812         (atan2_test): Likewise.
3813         (cabs_test): Likewise.
3814         (cacos_test): Likewise.
3815         (cacosh_test): Likewise.
3816         (casin_test): Likewise.
3817         (casinh_test): Likewise.
3818         (catan_test): Likewise.
3819         (catanh_test): Likewise.
3820         (cbrt_test): Likewise.
3821         (ccos_test): Likewise.
3822         (ccosh_test): Likewise.
3823         (cexp_test): Likewise.
3824         (clog_test): Likewise.
3825         (clog10_test): Likewise.
3826         (cos_test): Likewise.
3827         (cos_test_tonearest): Likewise.
3828         (cos_test_towardzero): Likewise.
3829         (cos_test_downward): Likewise.
3830         (cos_test_upward): Likewise.
3831         (cosh_test): Likewise.
3832         (cosh_test_tonearest): Likewise.
3833         (cosh_test_towardzero): Likewise.
3834         (cosh_test_downward): Likewise.
3835         (cosh_test_upward): Likewise.
3836         (cpow_test): Likewise.
3837         (csin_test): Likewise.
3838         (csinh_test): Likewise.
3839         (csqrt_test): Likewise.
3840         (ctan_test): Likewise.
3841         (ctan_test_tonearest): Likewise.
3842         (ctan_test_towardzero): Likewise.
3843         (ctan_test_downward): Likewise.
3844         (ctan_test_upward): Likewise.
3845         (ctanh_test): Likewise.
3846         (ctanh_test_tonearest): Likewise.
3847         (ctanh_test_towardzero): Likewise.
3848         (ctanh_test_downward): Likewise.
3849         (ctanh_test_upward): Likewise.
3850         (erf_test): Likewise.
3851         (erfc_test): Likewise.
3852         (exp_test): Likewise.
3853         (exp_test_tonearest): Likewise.
3854         (exp_test_towardzero): Likewise.
3855         (exp_test_downward): Likewise.
3856         (exp_test_upward): Likewise.
3857         (exp10_test): Likewise.
3858         (exp2_test): Likewise.
3859         (expm1_test): Likewise.
3860         (fmod_test): Likewise.
3861         (gamma_test): Likewise.
3862         (hypot_test): Likewise.
3863         (j0_test): Likewise.
3864         (j1_test): Likewise.
3865         (jn_test): Likewise.
3866         (lgamma_test): Likewise.
3867         (log_test): Likewise.
3868         (log10_test): Likewise.
3869         (log1p_test): Likewise.
3870         (log2_test): Likewise.
3871         (logb_test_downward): Likewise.
3872         (pow_test): Likewise.
3873         (pow_test_tonearest): Likewise.
3874         (pow_test_towardzero): Likewise.
3875         (pow_test_downward): Likewise.
3876         (pow_test_upward): Likewise.
3877         (remainder_test): Likewise.
3878         (remquo_test): Likewise.
3879         (sin_test): Likewise.
3880         (sin_test_tonearest): Likewise.
3881         (sin_test_towardzero): Likewise.
3882         (sin_test_downward): Likewise.
3883         (sin_test_upward): Likewise.
3884         (sincos_test): Likewise.
3885         (sinh_test): Likewise.
3886         (sinh_test_tonearest): Likewise.
3887         (sinh_test_towardzero): Likewise.
3888         (sinh_test_downward): Likewise.
3889         (sinh_test_upward): Likewise.
3890         (sqrt_test): Likewise.
3891         (tan_test): Likewise.
3892         (tan_test_tonearest): Likewise.
3893         (tan_test_towardzero): Likewise.
3894         (tan_test_downward): Likewise.
3895         (tan_test_upward): Likewise.
3896         (tanh_test): Likewise.
3897         (tgamma_test): Likewise.
3898         (y0_test): Likewise.
3899         (y1_test): Likewise.
3900         (yn_test): Likewise.
3902         * math/gen-libm-test.pl (adjust_arg): Remove function.
3903         (special_function): Remove argument $in_func.  Only handle
3904         generating output for tables of tests, not inside functions.
3905         (parse_args): Likewise.
3906         (generate_testfile): Remove variable $in_func.  Update call to
3907         parse_args.
3908         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3909         (MINUS_ZERO_INIT): Rename macro to minus_zero.
3910         (PLUS_INFTY_INIT): Rename macro to plus_infty.
3911         (MINUS_INFTY_INIT): Rename macro to minus_infty.
3912         (QNAN_VALUE_INIT): Rename macro to qnan_value.
3913         (MAX_VALUE_INIT): Rename macro to max_value.
3914         (MIN_VALUE_INIT): Rename macro to min_value.
3915         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3916         (plus_zero): Remove variable.
3917         (minus_zero): Likewise.
3918         (plus_infty): Likewise.
3919         (minus_infty): Likewise.
3920         (qnan_value): Likewise.
3921         (max_value): Likewise.
3922         (min_value): Likewise.
3923         (min_subnorm_value): Likewise.
3925 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3927         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3928         uint64_t or uint32_t usage.
3929         * crypt/sha256-block.c: Likewise.
3930         * crypt/sha256-crypt.c: Likewise.
3931         * crypt/sha256.c: Likewise.
3932         * crypt/sha512-block.c: Likewise.
3933         * crypt/sha512-crypt.c: Likewise.
3934         * crypt/sha512.c: Likewise.
3935         * debug/backtrace-tst.c: Likewise.
3936         * debug/pcprofiledump.c: Likewise.
3937         * elf/cache.c: Likewise.
3938         * elf/dl-cache.c: Likewise.
3939         * elf/dl-misc.c: Likewise.
3940         * elf/dl-profile.c: Likewise.
3941         * elf/dl-support.c: Likewise.
3942         * elf/ldconfig.c: Likewise.
3943         * elf/sprof.c: Likewise.
3944         * iconv/dummy-repertoire.c: Likewise.
3945         * iconv/iconv_charmap.c: Likewise.
3946         * iconv/skeleton.c: Likewise.
3947         * iconvdata/8bit-generic.c: Likewise.
3948         * iconvdata/cp737.h: Likewise.
3949         * iconvdata/cp775.h: Likewise.
3950         * iconvdata/ibm1008.h: Likewise.
3951         * iconvdata/ibm1025.h: Likewise.
3952         * iconvdata/ibm1046.h: Likewise.
3953         * iconvdata/ibm1097.h: Likewise.
3954         * iconvdata/ibm1112.h: Likewise.
3955         * iconvdata/ibm1122.h: Likewise.
3956         * iconvdata/ibm1123.h: Likewise.
3957         * iconvdata/ibm1124.h: Likewise.
3958         * iconvdata/ibm1129.h: Likewise.
3959         * iconvdata/ibm1130.h: Likewise.
3960         * iconvdata/ibm1132.h: Likewise.
3961         * iconvdata/ibm1133.h: Likewise.
3962         * iconvdata/ibm1137.h: Likewise.
3963         * iconvdata/ibm1140.h: Likewise.
3964         * iconvdata/ibm1141.h: Likewise.
3965         * iconvdata/ibm1142.h: Likewise.
3966         * iconvdata/ibm1143.h: Likewise.
3967         * iconvdata/ibm1144.h: Likewise.
3968         * iconvdata/ibm1145.h: Likewise.
3969         * iconvdata/ibm1146.h: Likewise.
3970         * iconvdata/ibm1147.h: Likewise.
3971         * iconvdata/ibm1148.h: Likewise.
3972         * iconvdata/ibm1149.h: Likewise.
3973         * iconvdata/ibm1153.h: Likewise.
3974         * iconvdata/ibm1154.h: Likewise.
3975         * iconvdata/ibm1155.h: Likewise.
3976         * iconvdata/ibm1156.h: Likewise.
3977         * iconvdata/ibm1157.h: Likewise.
3978         * iconvdata/ibm1158.h: Likewise.
3979         * iconvdata/ibm1160.h: Likewise.
3980         * iconvdata/ibm1161.h: Likewise.
3981         * iconvdata/ibm1162.h: Likewise.
3982         * iconvdata/ibm1163.h: Likewise.
3983         * iconvdata/ibm1164.h: Likewise.
3984         * iconvdata/ibm1166.h: Likewise.
3985         * iconvdata/ibm1167.h: Likewise.
3986         * iconvdata/ibm12712.h: Likewise.
3987         * iconvdata/ibm1390.h: Likewise.
3988         * iconvdata/ibm1399.h: Likewise.
3989         * iconvdata/ibm16804.h: Likewise.
3990         * iconvdata/ibm4517.h: Likewise.
3991         * iconvdata/ibm4899.h: Likewise.
3992         * iconvdata/ibm4909.h: Likewise.
3993         * iconvdata/ibm4971.h: Likewise.
3994         * iconvdata/ibm5347.h: Likewise.
3995         * iconvdata/ibm803.h: Likewise.
3996         * iconvdata/ibm856.h: Likewise.
3997         * iconvdata/ibm901.h: Likewise.
3998         * iconvdata/ibm902.h: Likewise.
3999         * iconvdata/ibm9030.h: Likewise.
4000         * iconvdata/ibm9066.h: Likewise.
4001         * iconvdata/ibm921.h: Likewise.
4002         * iconvdata/ibm922.h: Likewise.
4003         * iconvdata/ibm9448.h: Likewise.
4004         * iconvdata/isiri-3342.h: Likewise.
4005         * iconvdata/jis0201.h: Likewise.
4006         * include/link.h: Likewise.
4007         * include/netdb.h: Likewise.
4008         * inet/check_native.c: Likewise.
4009         * inet/check_pf.c: Likewise.
4010         * inet/getipv4sourcefilter.c: Likewise.
4011         * inet/getnameinfo.c: Likewise.
4012         * inet/getsourcefilter.c: Likewise.
4013         * inet/htonl.c: Likewise.
4014         * inet/setipv4sourcefilter.c: Likewise.
4015         * inet/setsourcefilter.c: Likewise.
4016         * inet/test-inet6_opt.c: Likewise.
4017         * inet/tst-network.c: Likewise.
4018         * locale/C-collate.c: Likewise.
4019         * locale/C-ctype.c: Likewise.
4020         * locale/C-time.c: Likewise.
4021         * locale/C-translit.h: Likewise.
4022         * locale/loadarchive.c: Likewise.
4023         * locale/programs/3level.h: Likewise.
4024         * locale/programs/charmap.c: Likewise.
4025         * locale/programs/charmap.h: Likewise.
4026         * locale/programs/ld-address.c: Likewise.
4027         * locale/programs/ld-collate.c: Likewise.
4028         * locale/programs/ld-ctype.c: Likewise.
4029         * locale/programs/ld-identification.c: Likewise.
4030         * locale/programs/ld-measurement.c: Likewise.
4031         * locale/programs/ld-messages.c: Likewise.
4032         * locale/programs/ld-monetary.c: Likewise.
4033         * locale/programs/ld-name.c: Likewise.
4034         * locale/programs/ld-numeric.c: Likewise.
4035         * locale/programs/ld-paper.c: Likewise.
4036         * locale/programs/ld-telephone.c: Likewise.
4037         * locale/programs/ld-time.c: Likewise.
4038         * locale/programs/linereader.c: Likewise.
4039         * locale/programs/locale.c: Likewise.
4040         * locale/programs/locarchive.c: Likewise.
4041         * locale/programs/locfile.h: Likewise.
4042         * locale/programs/repertoire.c: Likewise.
4043         * locale/programs/simple-hash.c: Likewise.
4044         * locale/programs/simple-hash.h: Likewise.
4045         * malloc/memusage.c: Likewise.
4046         * malloc/memusagestat.c: Likewise.
4047         * nis/nis_defaults.c: Likewise.
4048         * nis/nis_hash.c: Likewise.
4049         * nis/nis_print.c: Likewise.
4050         * nis/nis_xdr.c: Likewise.
4051         * nscd/connections.c: Likewise.
4052         * nscd/hstcache.c: Likewise.
4053         * nscd/nscd_gethst_r.c: Likewise.
4054         * nscd/nscd_getserv_r.c: Likewise.
4055         * nscd/nscd_helper.c: Likewise.
4056         * nscd/servicescache.c: Likewise.
4057         * nss/makedb.c: Likewise.
4058         * nss/nss_db/db-XXX.c: Likewise.
4059         * nss/nss_db/db-initgroups.c: Likewise.
4060         * nss/nss_db/db-netgrp.c: Likewise.
4061         * nss/nss_files/files-network.c: Likewise.
4062         * nss/nss_files/files-parse.c: Likewise.
4063         * posix/bug-regex5.c: Likewise.
4064         * posix/fnmatch_loop.c: Likewise.
4065         * posix/regcomp.c: Likewise.
4066         * posix/regexec.c: Likewise.
4067         * posix/tst-rfc3484-2.c: Likewise.
4068         * posix/tst-rfc3484-3.c: Likewise.
4069         * posix/tst-rfc3484.c: Likewise.
4070         * resolv/nss_dns/dns-canon.c: Likewise.
4071         * resolv/nss_dns/dns-network.c: Likewise.
4072         * resolv/res_init.c: Likewise.
4073         * resolv/res_mkquery.c: Likewise.
4074         * resolv/tst-aton.c: Likewise.
4075         * stdlib/cxa_atexit.c: Likewise.
4076         * stdlib/cxa_finalize.c: Likewise.
4077         * stdlib/gen-fpioconst.c: Likewise.
4078         * stdlib/strtol_l.c: Likewise.
4079         * string/tst-endian.c: Likewise.
4080         * sunrpc/auth_des.c: Likewise.
4081         * sunrpc/clnt_udp.c: Likewise.
4082         * sunrpc/rtime.c: Likewise.
4083         * sunrpc/svcauth_des.c: Likewise.
4084         * sunrpc/xdr.c: Likewise.
4085         * sunrpc/xdr_intXX_t.c: Likewise.
4086         * sunrpc/xdr_rec.c: Likewise.
4087         * sysdeps/generic/ldconfig.h: Likewise.
4088         * sysdeps/generic/ldsodefs.h: Likewise.
4089         * sysdeps/generic/memusage.h: Likewise.
4090         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4093         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4097         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4100         * sysdeps/posix/getaddrinfo.c: Likewise.
4101         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4102         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4103         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4104         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4105         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4106         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4107         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4108         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4109         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4110         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4111         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4112         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4113         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4114         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4115         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4116         * sysdeps/x86_64/dl-tls.h: Likewise.
4117         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4118         * time/alt_digit.c: Likewise.
4119         * time/era.c: Likewise.
4120         * wcsmbs/tst-c16c32-1.c: Likewise.
4122 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4124         * math/libm-test.inc (struct test_sincos_data): New type.
4125         (RUN_TEST_LOOP_sincos): New macro.
4126         (sincos_test_data): New variable.
4127         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4129 2013-05-16  Richard Henderson  <rth@redhat.com>
4131         * math/atest-exp2.c (LIMB64): New macro.
4132         (CONSTSZ): New macro.
4133         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4134         (hexdig): Move ...
4135         (print_mpn_fp): ... to function scope.
4136         (read_mpn_hex): Remove.
4137         (get_log2): Remove.
4138         (exp2_mpn): Use mp_log2.
4139         (main): Use mp_exp1.
4141 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4143         * math/libm-test.inc: Remove comment about not testing "inexact"
4144         exceptions.
4145         (INEXACT_EXCEPTION): New macro.
4146         (NO_INEXACT_EXCEPTION): Likewise.
4147         (INVALID_EXCEPTION_OK): Update value.
4148         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4149         (OVERFLOW_EXCEPTION_OK): Likewise.
4150         (UNDERFLOW_EXCEPTION_OK): Likewise.
4151         (IGNORE_ZERO_INF_SIGN): Likewise.
4152         (ERRNO_UNCHANGED): Likewise.
4153         (ERRNO_EDOM): Likewise.
4154         (ERRNO_ERANGE): Likewise.
4155         (test_exceptions): Handle testing "inexact" exceptions.
4156         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4157         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4158         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4159         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4160         INEXACT_EXCEPTION.
4161         (rint_towardzero_test_data): Likewise.
4162         (rint_downward_test_data): Likewise.
4163         (rint_upward_test_data): Likewise.
4165         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4166         with OVERFLOW_EXCEPTION.
4167         (exp10_test_data): Likewise.
4168         (exp2_test_data): Likewise.
4169         (expm1_test_data): Likewise.
4170         (lgamma_test_data): Likewise.
4171         (pow_test_data): Likewise.
4172         (tgamma_test_data): Likewise.
4173         (yn_test_data): Remove duplicate test of overflow.
4175         * math/libm-test.inc (struct test_cc_c_data): New type.
4176         (RUN_TEST_LOOP_cc_c): New macro.
4177         (cpow_test_data): New variable.
4178         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4180         * math/libm-test.inc (struct test_f_L_data): New type.
4181         (RUN_TEST_LOOP_f_L): New macro.
4182         (llrint_test_data): New variable.
4183         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4184         (llrint_tonearest_test_data): New variable.
4185         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4186         (llrint_towardzero_test_data): New variable.
4187         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4188         (llrint_downward_test_data): New variable.
4189         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4190         (llrint_upward_test_data): New variable.
4191         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4192         (llround_test_data): New variable.
4193         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4195 2013-05-13  Peter Collingbourne  <pcc@google.com>
4197         * math/atest-exp2.c (get_log2): Remove const attribute.
4199 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4201         * math/libm-test.inc (struct test_f_l_data): New type.
4202         (RUN_TEST_LOOP_f_l): New macro.
4203         (lrint_test_data): New variable.
4204         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4205         (lrint_tonearest_test_data): New variable.
4206         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4207         (lrint_towardzero_test_data): New variable.
4208         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4209         (lrint_downward_test_data): New variable.
4210         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4211         (lrint_upward_test_data): New variable.
4212         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4213         (lround_test_data): New variable.
4214         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4216 2013-05-15  Peter Collingbourne  <pcc@google.com>
4218         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4219         (EXTRACT_WORDS64) Use where appropriate.
4220         (INSERT_WORDS64) Likewise.
4222         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4223         constraints with x constraints.
4224         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4226         * malloc/obstack.c (_obstack_compat): Add initializer.
4228 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4230         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4231         si_trapno and add si_addr_lsb to _sifields.sigfault.
4232         (si_trapno): Remove macro.
4233         (si_addr_lsb): Define new macro.
4234         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4236 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4238         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4239         instead of TEST_f_l.
4240         (llrint_test_tonearest): Likewise.
4241         (llrint_test_towardzero): Likewise.
4242         (llrint_test_downward): Likewise.
4243         (llrint_test_upward): Likewise.
4244         (llround_test): Likewise.
4246         * math/libm-test.inc (struct test_f_i_data): Add comment.
4247         (RUN_TEST_LOOP_f_b): New macro.
4248         (RUN_TEST_LOOP_f_b_tg): Likewise.
4249         (finite_test_data): New variable.
4250         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4251         (isfinite_test_data): New variable.
4252         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4253         (isinf_test_data): New variable.
4254         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4255         (isnan_test_data): New variable.
4256         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4257         (isnormal_test_data): New variable.
4258         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4259         (issignaling_test_data): New variable.
4260         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4261         (signbit_test_data): New variable.
4262         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4264         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4265         with INVALID_EXCEPTION.
4266         (acosh_test_data): Likewise.
4267         (asin_test_data): Likewise.
4268         (atanh_test_data): Likewise.
4269         (fmod_test_data): Likewise.
4270         (log_test_data): Likewise.
4271         (log10_test_data): Likewise.
4272         (log2_test_data): Likewise.
4273         (pow_test_data): Likewise.
4274         (sqrt_test_data): Likewise.
4275         (y0_test_data): Likewise.
4276         (y1_test_data): Likewise.
4277         (yn_test_data): Likewise.
4279         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4280         function contents.
4282         * math/libm-test.inc (struct test_ff_i_data): New type.
4283         (RUN_TEST_LOOP_ff_i_tg): New macro.
4284         (isgreater_test_data): New variable.
4285         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4286         (isgreaterequal_test_data): New variable.
4287         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4288         (isless_test_data): New variable.
4289         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4290         (islessequal_test_data): New variable.
4291         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4292         (islessgreater_test_data): New variable.
4293         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4294         (isunordered_test_data): New variable.
4295         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4297 2013-05-14  David S. Miller  <davem@davemloft.net>
4299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4301 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4303         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4305         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4306         extra_test to int.
4307         (struct test_f_i_data): Change type of max_ulp to int.
4309         * math/libm-test.inc (test_ffI_f1_data): New type.
4310         (RUN_TEST_LOOP_ffI_f1): New macro.
4311         (remquo_test_data): New variable.
4312         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4314         * setjmp/tst-setjmp-fp.c: New file.
4315         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4316         (link-libm): New variable.
4317         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4319         * math/libm-test.inc (struct test_f_i_data): New type.
4320         (RUN_TEST_LOOP_f_i): New macro.
4321         (RUN_TEST_LOOP_f_i_tg): Likewise.
4322         (fpclassify_test_data): New variable.
4323         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4324         (ilogb_test_data): New variable.
4325         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4327         * math/libm-test.inc (scalbln_test): Correct function name in END
4328         call.
4330         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4331         (RUN_TEST_LOOP_fI_f1): New macro.
4332         (frexp_test_data): New variable.
4333         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4335         * math/libm-test.inc (struct test_fF_f1_data): New type.
4336         (RUN_TEST_LOOP_fF_f1): New macro.
4337         (modf_test_data): New variable.
4338         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4340         * math/libm-test.inc (struct test_f_f1_data): New type.
4341         (RUN_TEST_LOOP_f_f1): New macro.
4342         (gamma_test_data): New variable.
4343         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4344         (lgamma_test_data): New variable.
4345         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4347 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4349         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4350         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4351         (main): Comment "tls" pseudo-hwcap.
4353 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4355         * math/libm-test.inc (struct test_fl_f_data): New type.
4356         (RUN_TEST_LOOP_fl_f): New variable.
4357         (scalbln_test_data): New variable.
4358         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4360         * math/libm-test.inc (struct test_fi_f_data): New type.
4361         (RUN_TEST_LOOP_fi_f): New macro.
4362         (ldexp_test_data): New variable.
4363         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4364         (scalbn_test_data): New variable.
4365         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4367         * math/libm-test.inc (struct test_c_f_data): New type.
4368         (RUN_TEST_LOOP_c_f): New macro.
4369         (cabs_test_data): New variable.
4370         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4371         (carg_test_data): New variable.
4372         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4373         (cimag_test_data): New variable.
4374         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4375         (creal_test_data): New variable.
4376         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4378         * math/libm-test.inc (struct test_if_f_data): New type.
4379         (RUN_TEST_LOOP_if_f): New macro.
4380         (jn_test_data): New variable.
4381         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4382         (yn_test_data): New variable.
4383         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4385         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4387 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4389         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4390         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4392 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4395         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4396         (bench-deps): Add bench-timing.h.
4397         * benchtests-bench-skeleton.c: Include bench-timing.h.
4398         (main): Use TIMING_* macros instead of clock_gettime.
4399         * benchtests/bench-timing.h: New file.
4401         [BZ #14582]
4402         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4403         Renamed from _LIB_VERSION.
4404         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4406 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4408         * math/libm-test.inc (struct test_fff_f_data): New type.
4409         (RUN_TEST_LOOP_fff_f): New macro.
4410         (fma_test_data): New variable.
4411         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4412         (fma_towardzero_test_data): New variable.
4413         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4414         (fma_downward_test_data): New variable.
4415         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4416         (fma_upward_test_data): New variable.
4417         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4419         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4420         (struct test_c_c_data): New type.
4421         (RUN_TEST_LOOP_c_c): New macro.
4422         (cacos_test_data): New variable.
4423         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4424         (cacosh_test_data): New variable.
4425         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4426         (casin_test_data): New variable.
4427         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4428         (casinh_test_data): New variable.
4429         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4430         (catan_test_data): New variable.
4431         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4432         (catanh_test_data): New variable.
4433         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4434         (ccos_test_data): New variable.
4435         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4436         (ccosh_test_data): New variable.
4437         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4438         (cexp_test_data): New variable.
4439         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4440         (clog_test_data): New variable.
4441         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4442         (clog10_test_data): New variable.
4443         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4444         (conj_test_data): New variable.
4445         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4446         (cproj_test_data): New variable.
4447         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4448         (csin_test_data): New variable.
4449         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4450         (csinh_test_data): New variable.
4451         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4452         (csqrt_test_data): New variable.
4453         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4454         (ctan_test_data): New variable.
4455         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4456         (ctan_tonearest_test_data): New variable.
4457         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4458         (ctan_towardzero_test_data): New variable.
4459         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4460         (ctan_downward_test_data): New variable.
4461         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4462         (ctan_upward_test_data): New variable.
4463         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4464         (ctanh_test_data): New variable.
4465         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4466         (ctanh_tonearest_test_data): New variable.
4467         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4468         (ctanh_towardzero_test_data): New variable.
4469         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4470         (ctanh_downward_test_data): New variable.
4471         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4472         (ctanh_upward_test_data): New variable.
4473         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4474         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4475         of BUILD_COMPLEX.
4477         * math/libm-test.inc (struct test_ff_f_data): New type.
4478         (struct test_ff_f_data_nexttoward): Likewise.
4479         (RUN_TEST_LOOP_2_f): New macro.
4480         (RUN_TEST_LOOP_ff_f): Likewise.
4481         (atan2_test_data): New variable.
4482         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4483         (copysign_test_data): New variable.
4484         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4485         (fdim_test_data): New variable.
4486         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4487         (fmax_test_data): New variable.
4488         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4489         (fmin_test_data): New variable.
4490         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4491         (fmod_test_data): New variable.
4492         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4493         (hypot_test_data): New variable.
4494         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4495         (nextafter_test_data): New variable.
4496         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4497         (nexttoward_test_data): New variable.
4498         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4499         (pow_test_data): New variable.
4500         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4501         (pow_tonearest_test_data): New variable.
4502         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4503         (pow_towardzero_test_data): New variable.
4504         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4505         (pow_downward_test_data): New variable.
4506         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4507         (pow_upward_test_data): New variable.
4508         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4509         (remainder_test_data): New variable.
4510         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4511         (scalb_test_data): New variable.
4512         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4513         * sysdeps/i386/fpu/libm-test-ulps: Update.
4515 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4517         * math/libm-test.inc (fma_test): Use max_value instead of local
4518         variable fltmax.
4519         (nextafter_test): Likewise.
4521         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4522         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4523         (acos_downward_test_data): New variable.
4524         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4525         (acos_upward_test_data): New variable.
4526         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4527         (acosh_test_data): New variable.
4528         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4529         (asin_test_data): New variable.
4530         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4531         (asin_tonearest_test_data): New variable.
4532         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4533         (asin_towardzero_test_data): New variable.
4534         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4535         (asin_downward_test_data): New variable.
4536         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4537         (asin_upward_test_data): New variable.
4538         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4539         (asinh_test_data): New variable.
4540         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4541         (atan_test_data): New variable.
4542         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4543         (atanh_test_data): New variable.
4544         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4545         (cbrt_test_data): New variable.
4546         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4547         (ceil_test_data): New variable.
4548         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4549         (cos_test_data): New variable.
4550         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4551         (cos_tonearest_test_data): New variable.
4552         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4553         (cos_towardzero_test_data): New variable.
4554         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4555         (cos_downward_test_data): New variable.
4556         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4557         (cos_upward_test_data): New variable.
4558         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4559         (cosh_test_data): New variable.
4560         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4561         (cosh_tonearest_test_data): New variable.
4562         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4563         (cosh_towardzero_test_data): New variable.
4564         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4565         (cosh_downward_test_data): New variable.
4566         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4567         (cosh_upward_test_data): New variable.
4568         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4569         (erf_test_data): New variable.
4570         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4571         (erfc_test_data): New variable.
4572         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4573         (exp_test_data): New variable.
4574         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4575         (exp_tonearest_test_data): New variable.
4576         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4577         (exp_towardzero_test_data): New variable.
4578         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4579         (exp_downward_test_data): New variable.
4580         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4581         (exp_upward_test_data): New variable.
4582         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4583         (exp10_test_data): New variable.
4584         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4585         (exp2_test_data): New variable.
4586         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4587         (expm1_test_data): New variable.
4588         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4589         (fabs_test_data): New variable.
4590         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4591         (floor_test_data): New variable.
4592         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4593         (j0_test_data): New variable.
4594         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4595         (j1_test_data): New variable.
4596         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4597         (log_test_data): New variable.
4598         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4599         (log10_test_data): New variable.
4600         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4601         (log1p_test_data): New variable.
4602         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4603         (log2_test_data): New variable.
4604         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4605         (logb_test_data): New variable.
4606         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4607         (logb_downward_test_data): New variable.
4608         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4609         (nearbyint_test_data): New variable.
4610         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4611         (rint_test_data): New variable.
4612         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4613         (rint_tonearest_test_data): New variable.
4614         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4615         (rint_towardzero_test_data): New variable.
4616         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4617         (rint_downward_test_data): New variable.
4618         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4619         (rint_upward_test_data): New variable.
4620         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4621         (round_test_data): New variable.
4622         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4623         (sin_test_data): New variable.
4624         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4625         (sin_tonearest_test_data): New variable.
4626         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4627         (sin_towardzero_test_data): New variable.
4628         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4629         (sin_downward_test_data): New variable.
4630         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4631         (sin_upward_test_data): New variable.
4632         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4633         (sinh_test_data): New variable.
4634         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4635         (sinh_tonearest_test_data): New variable.
4636         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4637         (sinh_towardzero_test_data): New variable.
4638         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4639         (sinh_downward_test_data): New variable.
4640         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4641         (sinh_upward_test_data): New variable.
4642         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4643         (sqrt_test_data): New variable.
4644         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4645         (tan_test_data): New variable.
4646         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4647         (tan_tonearest_test_data): New variable.
4648         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4649         (tan_towardzero_test_data): New variable.
4650         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4651         (tan_downward_test_data): New variable.
4652         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4653         (tan_upward_test_data): New variable.
4654         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4655         (tanh_test_data): New variable.
4656         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4657         (tgamma_test_data): New variable.
4658         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4659         (trunc_test_data): New variable.
4660         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4661         (y0_test_data): New variable.
4662         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4663         (y1_test_data): New variable.
4664         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4665         (significand_test_data): New variable.
4666         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4668 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4670         [BZ #12387]
4671         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4673 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4675         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4677 2013-05-10  Andreas Jaeger  <aj@suse.de>
4679         [BZ #15448]
4680         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4681         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4683 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4685         * math/gen-libm-test.pl (adjust_arg): New function.
4686         (special_functions): Handle generating output in both functions
4687         and arrays.
4688         (parse_args): Likewise.
4689         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4690         $in_func argument to parse_args.
4691         * math/libm-test.inc (struct test_f_f_data): New type.
4692         (IF_ROUND_INIT_): New macro.
4693         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4694         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4695         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4696         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4697         (ROUND_RESTORE_): Likewise.
4698         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4699         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4700         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4701         (ROUND_RESTORE_FE_UPWARD): Likewise.
4702         (RUN_TEST_LOOP_f_f): New macro.
4703         (acos_test_data): New variable.
4704         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4705         (acos_tonearest_test_data): New variable.
4706         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4708 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4710         * benchtests/bench-skeleton.c (startup): Fix coding style.
4712 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4714         [BZ #6809]
4715         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4716         negative infinity argument.
4717         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4718         negative infinity argument.
4719         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4720         negative infinity argument.
4721         * math/libm-test.inc (tgamma_test): Expect errno to be set for
4722         domain errors.
4724 2013-05-10  Florian Weimer  <fweimer@redhat.com>
4726         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4727         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4728         * iconv/iconv_prog.c (main): Likewise.
4729         * locale/programs/charmap-dir.c (charmap_readdir)
4730         (fopen_uncompressed): Likewise.
4731         * locale/programs/locfile.c (siblings_uncached)
4732         (write_locale_data): Use lstat64 instead of lstat.
4733         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4734         stat.
4736 2013-05-10  Andreas Jaeger  <aj@suse.de>
4738         [BZ #15395]
4739         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4740         localization.
4741         Include <locale.h>.
4743 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
4745         * elf/dl-close.c (_dl_close_worker): Add comments.
4747 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #15359]
4750         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4751         high part of pi/2.
4752         (__ieee754_rem_pio2l): Update comments.
4754         [BZ #15429]
4755         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4756         high part of pi/2.
4757         (__ieee754_rem_pio2l): Update comments.
4759         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4760         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4762         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4763         M_PI_4l.
4765         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4766         (M_PI_34_LOG10El): Likewise.
4767         (M_PI2_LOG10El): Likewise.
4768         (M_PI4_LOG10El): Likewise.
4769         (M_PI_LOG10El): Likewise.
4771 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4775 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
4777         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4778         (MINUS_ZERO_INIT): Likewise.
4779         (PLUS_INFTY_INIT): Likewise.
4780         (MINUS_INFTY_INIT): Likewise.
4781         (QNAN_VALUE_INIT): Likewise.
4782         (MAX_VALUE_INIT): Likewise.
4783         (MIN_VALUE_INIT): Likewise.
4784         (MIN_SUBNORM_VALUE_INIT): Likewise.
4785         (plus_zero): Initialize with PLUS_ZERO_INIT.
4786         (minus_zero): Initialize with MINUS_ZERO_INIT.
4787         (plus_infty): Initialize with PLUS_INFTY_INIT.
4788         (minus_infty): Initialize with MINUS_INFTY_INIT.
4789         (qnan_value): Initialize with QNAN_VALUE_INIT.
4790         (max_value): Initialize with MAX_VALUE_INIT.
4791         (min_value): Initialize with MIN_VALUE_INIT.
4792         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4794         * math/libm-test.inc (RUN_TEST_if_f): New macro.
4795         (jn_test): Use TEST_if_f instead of TEST_ff_f.
4796         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4797         (yn_test): Use TEST_if_f instead of TEST_ff_f.
4799         * math/libm-test.inc (RUN_TEST_f_f): New macro.
4800         (RUN_TEST_2_f): Likewise.
4801         (RUN_TEST_ff_f): Likewise.
4802         (RUN_TEST_fi_f): Likewise.
4803         (RUN_TEST_fl_f): Likewise.
4804         (RUN_TEST_fff_f): Likewise.
4805         (RUN_TEST_c_f): Likewise.
4806         (RUN_TEST_f_f1): Likewise.
4807         (RUN_TEST_fF_f1): Likewise.
4808         (RUN_TEST_fI_f1): Likewise.
4809         (RUN_TEST_ffI_f1): Likewise.
4810         (RUN_TEST_c_c): Likewise.
4811         (RUN_TEST_cc_c): Likewise.
4812         (RUN_TEST_f_i): Likewise.
4813         (RUN_TEST_f_i_tg): Likewise.
4814         (RUN_TEST_ff_i_tg): Likewise.
4815         (RUN_TEST_f_b): Likewise.
4816         (RUN_TEST_f_b_tg): Likewise.
4817         (RUN_TEST_f_l): Likewise.
4818         (RUN_TEST_f_L): Likewise.
4819         (RUN_TEST_sincos): Likewise.
4820         * math/gen-libm-test.pl (new_test): Take new argument to indicate
4821         whether to show exceptions.  Do not include ");\n" in return
4822         value.
4823         (special_functions): Output call to RUN_TEST_sincos instead of
4824         check_float calls.  Update calls to new_test.
4825         (parse_args): Output call to single RUN_TEST_* macro instead of
4826         check_* calls and other assignments.  Update calls to new_test.
4828         [BZ #2546]
4829         [BZ #2560]
4830         [BZ #5159]
4831         [BZ #15426]
4832         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4833         input to result for tgamma overflow.
4834         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4835         (gamma_coeff): New variable.
4836         (NCOEFF): New macro.
4837         (gamma_positive): New function.
4838         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4839         underflow here.  Use gamma_positive instead of exp (lgamma) for
4840         other arguments.
4841         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4842         (gamma_coeff): New variable.
4843         (NCOEFF): New macro.
4844         (gammaf_positive): New function.
4845         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4846         underflow here.  Use gamma_positive instead of exp (lgamma) for
4847         other arguments.
4848         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4849         (gamma_coeff): New variable.
4850         (NCOEFF): New macro.
4851         (gammal_positive): New function.
4852         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4853         underflow here.  Use gamma_positive instead of exp (lgamma) for
4854         other arguments.
4855         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4856         (gamma_coeff): New variable.
4857         (NCOEFF): New macro.
4858         (gammal_positive): New function.
4859         (__ieee754_gammal_r): Handle positive infinity, overflow and
4860         underflow here.  Handle NaN the same as positive infinity.  Remove
4861         check x < 0xffffffff for negative integers.  Use gamma_positive
4862         instead of exp (lgamma) for other arguments.
4863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4864         (gamma_coeff): New variable.
4865         (NCOEFF): New macro.
4866         (gammal_positive): New function.
4867         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4868         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4869         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4870         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4871         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4872         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4873         * sysdeps/generic/math_private.h (__gamma_productf): New
4874         prototype.
4875         (__gamma_product): Likewise.
4876         (__gamma_productl): Likewise.
4877         * math/Makefile (libm-calls): Add gamma_product.
4878         * math/libm-test.inc (tgamma_test): Add more tests.
4879         * sysdeps/i386/fpu/libm-test-ulps: Update.
4880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4882 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
4884         * benchtests/bench-skeleton.c (main): Preheat CPU.
4886 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
4888         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4890 2013-05-07  Roland McGrath  <roland@hack.frob.com>
4892         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4893         and _dl_skip_args_internal.
4895 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
4897         * manual/message.texi (Message Translation): Talk about users.
4898         Message to key mapping impacts design.
4900 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4902         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4904         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4906         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4907         * sysdeps/wordsize-64/glob64.c: ... here.
4909         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4910         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4911         New macros.
4913         * debug/getlogin_r_chk.c: Moved to ...
4914         * login/getlogin_r_chk.c: ... here.
4915         * debug/Makefile (routines): Move getlogin_r_chk to ...
4916         * login/Makefile (routines): ... here.
4917         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4918         * login/Versions (libc: GLIBC_2.4): ... here.
4920         * io/poll.c (__poll): Renamed from poll.
4921         Add libc_hidden_def.
4922         (poll): Define as weak alias.
4924         * debug/ptsname_r_chk.c: Moved to ...
4925         * login/ptsname_r_chk.c: ... here.
4926         * debug/Makefile (routines): Move ptsname_r_chk to ...
4927         * login/Makefile (routines): ... here.
4928         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4929         * login/Versions (libc: GLIBC_2.4): ... here.
4931         * posix/getlogin.c: Moved to ...
4932         * login/getlogin.c: ... here.
4933         * posix/getlogin_r.c: Moved to ...
4934         * login/getlogin_r.c: ... here.
4935         * posix/getlogin_r.c: Moved to ...
4936         * login/getlogin_r.c: ... here.
4937         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4938         * login/Makefile (routines): ... here.
4939         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4940         * login/Versions (libc: GLIBC_2.0): ... here.
4942         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4943         (setrlimit): Define as weak alias.
4945         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4946         Call __ names for open, ftruncate, and close.
4947         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4948         (truncate): Define as weak alias.
4950 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
4952         * math/gen-libm-test.pl (parse_args): Initialize x before each
4953         test of frexp, modf and remquo.
4955         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4956         test signgam value.
4958 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4960         [BZ #15418]
4961         [BZ #15419]
4962         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4963         internal tests.
4964         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4966 2013-05-06  Roland McGrath  <roland@hack.frob.com>
4968         * elf/dl-writev.h: New file.
4969         * elf/dl-misc.c: Include it.
4970         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4971         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4973 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
4975         * math/libm-test.inc (noXFails): Remove variable.
4976         (noXPasses): Likewise.
4977         (BUILD_COMPLEX_INT): Remove macro.
4978         (print_screen): Remove xfail argument.
4979         (print_screen_max_error): Likewise.
4980         (update_stats): Likewise.
4981         (print_max_error): Likewise.  Update calls to other affected
4982         functions.
4983         (print_complex_max_error): Likewise.
4984         (test_single_exception): Update calls to print_screen.
4985         (test_single_errno): Likewise.
4986         (check_float_internal): Remove xfail argument.  Update calls to
4987         other affected functions.
4988         (check_float): Likewise.
4989         (check_complex): Likewise.
4990         (check_int): Likewise.
4991         (check_long): Likewise.
4992         (check_bool): Likewise.
4993         (check_longlong): Likewise.
4994         (main): Don't print noXFails and noXPasses.
4995         * math/gen-libm-test.pl (top level): Don't mention expected
4996         failure handling in comment.
4997         (new_test): Don't handle expected failures.
4998         (parse_args): Don't mention expected failure handling in comment.
4999         (generate_testfile): Don't handle expected failures.
5000         (parse_ulps): Likewise.
5001         (print_ulps_file): Likewise.
5002         (get_failure): Remove function.
5003         (output_test): Don't handle expected failures.
5004         * make/README.libm-test: Don't mention expected failure handling.
5006         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5007         (minus_zero): Likewise.
5008         (plus_infty): Likewise.
5009         (minus_infty): Likewise.
5010         (qnan_value): Likewise.
5011         (max_value): Likewise.
5012         (min_value): Likewise.
5013         (min_subnorm_value): Likewise.
5014         (initialize): Do not initialize those variables dynamically.
5016 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5018         * io/open.c (__open_2): Moved to ...
5019         * io/open_2.c: ... this new file.
5020         * io/open64.c (__open64_2): Moved to ...
5021         * io/open64_2.c: ... this new file.
5022         * io/openat.c (__openat_2): Moved to ...
5023         * io/openat_2.c: ... this new file.
5024         * io/openat64.c (__openat64_2): Moved to ...
5025         * io/openat64_2.c: ... this new file.
5026         * io/Makefile (routines): Add them.
5027         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5028         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5029         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5030         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5031         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5032         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5033         (__openat64): Add hidden_ver.
5034         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5035         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5037         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5038         Separately conditionalize setting of GLRO(dl_sysinfo) so
5039         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5040         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5042 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5044         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5046         definition.
5047         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5048         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5049         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5050         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5051         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5053 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5055         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5056         test signgam value.
5058         * math/libm-test.inc (hypot_test): Do not use
5059         IGNORE_ZERO_INF_SIGN.
5061 2013-05-03  Andreas Jaeger  <aj@suse.de>
5063         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5064         Linux 3.9.
5065         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5066         (PF_MAX): Adjust for VSOCK change.
5068 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5072 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5074         [BZ #15264]
5075         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5076         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5077         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5079 2013-05-02  David S. Miller  <davem@davemloft.net>
5081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5083 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5085         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5087 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5089         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5091 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5093         [BZ #14952]
5094         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5095         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5096         Use __attribute__ ((__gnu_inline__)).
5097         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5098         Don't use __attribute__ ((__gnu_inline__)).
5100 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5102         [BZ #15423]
5103         * math/s_catan.c (__catan): Handle small real or imaginary part of
5104         input specially to avoid spurious underflow.
5105         * math/s_catanf.c (__catanf): Likewise.
5106         * math/s_catanh.c (__catanh): Likewise.
5107         * math/s_catanhf.c (__catanhf): Likewise.
5108         * math/s_catanhl.c (__catanhl): Likewise.
5109         * math/s_catanl.c (__catanl): Likewise.
5110         * math/libm-test.inc (catan_test): Add more tests.
5111         (catanh_test): Likewise.
5112         * sysdeps/i386/fpu/libm-test-ulps: Update.
5113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5115 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5119 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5121         [BZ #15416]
5122         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5123         accurately for denominator in atan2.
5124         * math/s_catanf.c (__catanf): Likewise.
5125         * math/s_catanh.c (__catanh): Likewise.
5126         * math/s_catanhf.c (__catanhf): Likewise.
5127         * math/s_catanhl.c (__catanhl): Likewise.
5128         * math/s_catanl.c (__catanl): Likewise.
5129         * math/libm-test.inc (catan_test): Add more tests.
5130         (catanh_test): Likewise.
5131         * sysdeps/i386/fpu/libm-test-ulps: Update.
5132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5134 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5136         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5138         * benchtests/Makefile (bench): Remove slow benchmarks.
5139         * benchtests/atan-inputs: Add slow benchmark inputs.
5140         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5141         (BENCH_FUNC): Accept variant offset.
5142         (VARIANT): Define.
5143         * benchtests/bench-skeleton.c (main): Run benchmark for each
5144         variant.
5145         * benchtests/cos-inputs: Add slow benchmark inputs.
5146         * benchtests/exp-inputs: Likewise.
5147         * benchtests/pow-inputs: Likewise.
5148         * benchtests/sin-inputs: Likewise.
5149         * benchtests/slowatan-inputs: Remove.
5150         * benchtests/slowatan.c: Remove.
5151         * benchtests/slowcos-inputs: Remove.
5152         * benchtests/slowcos.c: Remove.
5153         * benchtests/slowexp-inputs: Remove.
5154         * benchtests/slowexp.c: Remove.
5155         * benchtests/slowpow-inputs: Remove.
5156         * benchtests/slowpow.c: Remove.
5157         * benchtests/slowsin-inputs: Remove.
5158         * benchtests/slowsin.c: Remove.
5159         * benchtests/slowtan-inputs: Remove.
5160         * benchtests/slowtan.c: Remove.
5161         * benchtests/tan-inputs: Add slow benchmark inputs.
5162         * scripts/bench.pl: Parse comments and directives.
5164         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5165         in CPPFLAGS.
5166         ($(objpfx)bench-%.c): Remove *-ITER.
5167         * benchtests/bench-modf.c: Remove definition of ITER.
5168         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5169         (main): Loop for DURATION seconds instead of fixed number of
5170         iterations.
5171         * scripts/bench.pl: Don't expect iterations in parameters.
5173 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5175         * io/fchdir.c (__fchdir): Renamed from fchdir.
5176         (fchdir): Define as weak alias.
5178 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5180         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5181         (ERRNO_EDOM): Likewise.
5182         (ERRNO_ERANGE): Likewise.
5183         (noErrnoTests): New variable.
5184         (init_max_error): Set errno to 0.
5185         (test_single_errno): New function.
5186         (test_errno): Likewise.
5187         (check_float_internal): Call test_errno.  Set errno to 0.
5188         (check_complex): Refer to errno tests in comment.
5189         (check_int): Call test_errno.  Set errno to 0.
5190         (check_long): Likewise.
5191         (check_bool): Likewise.
5192         (check_longlong): Likewise.
5193         (cos_test): Use ERRNO_* flags for errno tests instead of
5194         check_int.
5195         (expm1_test): Likewise.
5196         (fmod_test): Likewise.
5197         (ilogb_test): Likewise.
5198         (lgamma_test): Likewise.
5199         (pow_test): Likewise.
5200         (remainder_test): Likewise.
5201         (sin_test): Likewise.
5202         (tan_test): Likewise.
5203         (yn_test): Likewise.
5204         (initialize): Set errno to 0.
5205         (main): Print number of errno tests.
5206         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5208 2013-04-29  Andreas Jaeger  <aj@suse.de>
5210         [BZ #15084]
5211         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5212         and RES_USEVC.
5214         [BZ #15085]
5215         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5216         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5217         unimplemented.
5219         [BZ #15380]
5220         * stdlib/random.c (__initstate): Return NULL if
5221         __initstate fails.
5223         [BZ #15086]
5224         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5225         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5226         RES_SNGLKUPREOP.
5228 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5232 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5234         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5235         of individual tests.
5236         (casin_test): Likewise.
5237         (casinh_test): Likewise.
5239 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5241         [BZ #15409]
5242         * math/s_catan.c (__catan): Handle arguments with large real or
5243         imaginary part separately without squaring.
5244         * math/s_catanf.c (__catanf): Likewise.
5245         * math/s_catanh.c (__catanh): Likewise.
5246         * math/s_catanhf.c (__catanhf): Likewise.
5247         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5248         and redefine.
5249         (__catanhl): Handle arguments with large real or imaginary part
5250         separately without squaring.
5251         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5252         and redefine.
5253         (__catanl): Handle arguments with large real or imaginary part
5254         separately without squaring.
5255         * math/libm-test.inc (catan_test): Add more tests.
5256         (catanh_test): Likewise.
5257         * sysdeps/i386/fpu/libm-test-ulps: Update.
5258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260 2013-04-27  Andreas Jaeger  <aj@suse.de>
5262         [BZ #15007]
5263         * stdlib/stdlib.h: Update guards for qecvt.
5264         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5265         <stdlib.h>.
5267 2013-04-27  Allan McRae  <allan@archlinux.org>
5269         * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5273         [BZ #15406]
5274         * math/s_catan.c: Include <float.h>.
5275         (__catan): Ensure underflow exception occurs for underflowed
5276         result.
5277         * math/s_catanf.c: Include <float.h>.
5278         (__catanf): Ensure underflow exception occurs for underflowed
5279         result.
5280         * math/s_catanh.c: Include <float.h>.
5281         (__catanh): Ensure underflow exception occurs for underflowed
5282         result.
5283         * math/s_catanhf.c: Include <float.h>.
5284         (__catanhf): Ensure underflow exception occurs for underflowed
5285         result.
5286         * math/s_catanhl.c: Include <float.h>.
5287         (__catanhl): Ensure underflow exception occurs for underflowed
5288         result.
5289         * math/s_catanl.c: Include <float.h>.
5290         (__catanl): Ensure underflow exception occurs for underflowed
5291         result.
5292         * math/libm-test.inc (catan_test): Add more tests.
5293         (catanh_test): Likewise.
5295         [BZ #15405]
5296         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5297         underflowed result.
5298         * math/s_ccoshf.c (__ccoshf): Likewise.
5299         * math/s_ccoshl.c (__ccoshl): Likewise.
5300         * math/s_csin.c (__csin): Likewise.
5301         * math/s_csinf.c (__csinf): Likewise.
5302         * math/s_csinh.c (__csinh): Likewise.
5303         * math/s_csinhf.c (__csinhf): Likewise.
5304         * math/s_csinhl.c (__csinhl): Likewise.
5305         * math/s_csinl.c (__csinl): Likewise.
5306         * math/libm-test.inc (ccos_test): Add more tests.
5307         (ccosh_test): Likewise.
5308         (csin_test): Likewise.
5309         (csinh_test): Likewise.
5311 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5313         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5314         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5315         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5316         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5317         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5318         powerpc/power5+/fpu folders.
5319         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5322 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5326 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5328         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5329         additions to variable.
5330         [$(config-machine) = x86_64] (modules-names): Likewise.
5331         ($(objpfx)tst-audit3): Remove dependency.
5332         ($(objpfx)tst-audit3.out): Likewise.
5333         ($(objpfx)tst-audit4): Likewise.
5334         ($(objpfx)tst-audit4.out): Likewise.
5335         ($(objpfx)tst-audit5): Likewise.
5336         ($(objpfx)tst-audit5.out): Likewise.
5337         ($(objpfx)tst-audit6): Likewise.
5338         ($(objpfx)tst-audit6.out): Likewise.
5339         ($(objpfx)tst-audit7): Likewise.
5340         ($(objpfx)tst-audit7.out): Likewise.
5341         (tst-audit3-ENV): Remove variable.
5342         (tst-audit4-ENV): Likewise.
5343         (tst-audit5-ENV): Likewise.
5344         (tst-audit6-ENV): Likewise.
5345         (tst-audit7-ENV): Likewise.
5346         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5347         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5348         addition to variable.
5349         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5350         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5351         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5352         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5353         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5354         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5355         tst-audit3, tst-audit4 and tst-audit5.
5356         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5357         tst-audit6 and tst-audit7.
5358         [$(subdir) = elf] (modules-names): Add audit modules for those
5359         tests.
5360         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5361         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5362         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5363         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5364         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5365         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5366         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5367         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5368         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5369         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5370         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5371         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5372         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5373         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5374         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5375         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5376         Likewise.
5377         [$(subdir) = elf && $(config-cflags-avx) = yes]
5378         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5379         [$(subdir) = elf && $(config-cflags-avx) = yes]
5380         (CFLAGS-tst-auditmod4a.c): Likewise.
5381         [$(subdir) = elf && $(config-cflags-avx) = yes]
5382         (CFLAGS-tst-auditmod4b.c): Likewise.
5383         [$(subdir) = elf && $(config-cflags-avx) = yes]
5384         (CFLAGS-tst-auditmod6b.c): Likewise.
5385         [$(subdir) = elf && $(config-cflags-avx) = yes]
5386         (CFLAGS-tst-auditmod6c.c): Likewise.
5387         [$(subdir) = elf && $(config-cflags-avx) = yes]
5388         (CFLAGS-tst-auditmod7b.c): Likewise.
5389         * elf/tst-audit3.c: Move to ...
5390         * sysdeps/x86_64/tst-audit3.c: ... here.
5391         * elf/tst-audit4.c: Move to ...
5392         * sysdeps/x86_64/tst-audit4.c: ... here.
5393         * elf/tst-audit5.c: Move to ...
5394         * sysdeps/x86_64/tst-audit5.c: ... here.
5395         * elf/tst-audit6.c: Move to ...
5396         * sysdeps/x86_64/tst-audit6.c: ... here.
5397         * elf/tst-audit7.c: Move to ...
5398         * sysdeps/x86_64/tst-audit7.c: ... here.
5399         * elf/tst-auditmod3a.c: Move to ...
5400         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5401         * elf/tst-auditmod3b.c: Move to ...
5402         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5403         * elf/tst-auditmod4a.c: Move to ...
5404         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5405         * elf/tst-auditmod4b.c: Move to ...
5406         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5407         * elf/tst-auditmod5a.c: Move to ...
5408         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5409         * elf/tst-auditmod5b.c: Move to ...
5410         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5411         * elf/tst-auditmod6a.c: Move to ...
5412         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5413         * elf/tst-auditmod6b.c: Move to ...
5414         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5415         * elf/tst-auditmod6c.c: Move to ...
5416         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5417         * elf/tst-auditmod7a.c: Move to ...
5418         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5419         * elf/tst-auditmod7b.c: Move to ...
5420         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5422 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5424         [BZ #15366]
5425         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5426         define unconditionally.
5427         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5428         define unconditionally.
5429         (INT8_C, INT16_C, etc.): Likewise.
5431 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5433         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5434         __ehdr_start with hidden visibility.
5436         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5438 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5440         * math/libm-test.inc (cos_test): Use accurate hex constants.
5441         (sincost_test): Likewise.
5443 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5445         * math/libm-test.inc (catan_test): Add more tests.
5446         (catanh_test): Likewise.
5448         * math/s_catanf.c (__catanf): Use suffixed floating-point
5449         constants.
5450         * math/s_catanhf.c (__catanhf): Likewise.
5451         * math/s_catanhl.c (__catanhl): Likewise.
5452         * math/s_catanl.c (__catanl): Likewise.
5454         [BZ #15394]
5455         * math/s_catan.c (__catan): Calculate imaginary part of result
5456         with log1p not log unless computing log of number close to 0.
5457         * math/s_catanf.c (__catanf): Likewise.
5458         * math/s_catanl.c (__catanl): Likewise.
5459         * math/s_catanh.c (__catanh): Calculate real part of result with
5460         log1p not log unless computing log of number close to 0.
5461         * math/s_catanhf.c (__catanhf): Likewise.
5462         * math/s_catanhl.c (__catanhl): Likewise.
5463         * math/libm-test.inc (catan_test): Add more tests.
5464         (catanh_test): Likewise.
5465         * sysdeps/i386/fpu/libm-test-ulps: Update.
5466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5468 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5470         * benchtests/Makefile: Mention files in which fast and slow
5471         paths of math functions are implemented.
5473 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5475         * sysdeps/posix/timespec_get.c: New file.
5477 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5479         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5480         POWER.
5481         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5482         for POWER.
5483         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5484         powerpc/power5/fpu folders.
5485         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5486         * benchtests/Makefile: Add modf testcase.
5487         * benchtests/bench-modf.c: New file: Benchmark test for mo
5489 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5491         [BZ #14888]
5492         * time/Makefile (tests): Add tst-strptime-whitespace.
5493         * time/strptime_l.c (get_number): Use ISSPACE.
5494         (__strptime_internal): Likewise.
5495         * time/tst-strptime-whitespace.c: New test case.
5497 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5499         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5500         member.
5501         (_nss_files_init): Set it here.
5503 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5505         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5506         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5507         unsigned.
5509 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5511         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5513 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5516         size just once.
5518 2013-04-21  David S. Miller  <davem@davemloft.net>
5520         * po/ru.po: Update Russion translation from translation project.
5522 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5524         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5525         and setfsgid.
5527 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5529         * configure.in: Remove i386 configure warning. Remove i386 case.
5530         * configure: Regenerate.
5531         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5532         Add example to error message.
5533         * sysdeps/i386/configure: Regenerate.
5535 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5537         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5538         slowtan.
5539         * benchtests/cos-inputs: New file.
5540         * benchtests/slowcos-inputs: New file.
5541         * benchtests/slowcos.c: New file.
5542         * benchtests/slowtan-inputs: New file.
5543         * benchtests/slowtan.c: New file.
5544         * benchtests/tan-inputs: New file.
5546 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5548         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5549         considered kosher.
5551 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5553         * benchtests/Makefile: Include cppflags-iterator.mk to add
5554         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5556         * Makefile.in (bench-clean): New target.
5557         * benchtests/Makefile (bench-clean): Likewise.
5559 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5561         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5563 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5565         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5567 2013-04-15  Andreas Schwab  <schwab@suse.de>
5569         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5571         * nscd/pwdcache.c (cache_addpw): Likewise.
5572         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5573         more than recsize.
5575 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5577         * benchtests/Makefile (bench): Write all output to
5578         bench-out.tmp together.
5580 2013-04-15  Andreas Schwab  <schwab@suse.de>
5582         * nscd/nscd.c (main): Don't fork again after closing files.
5584 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5586         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5588         * benchtests/Rules (bench-deps): Collect dependencies into a
5589         single variable.  Add Makefile to dependencies.
5590         ($(objpfx)bench-%.c): Depend on bench-deps.
5592 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5593             Xavier Roche  <roche+kml2@exalead.com>
5595         [BZ #15361]
5596         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5597         just that it's a file descriptor.
5598         * manual/llio.texi (Synchronizing AIO Operations): Update description
5599         for EBADF error from aio_fsync.
5601 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5603         * Rules (bench): Move target definition...
5604         * benchtests/Makefile: ... here.
5606 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5608         * math/libm-test.inc (cos_test): Fix PI/2 test.
5609         (sincos_test): Likewise.
5610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5611         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5613 2013-04-11  Andreas Schwab  <schwab@suse.de>
5615         [BZ #13988]
5616         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5617         accept exponent character only when digits were seen.
5618         * stdio-common/Makefile (tests): Add bug26.
5619         * stdio-common/bug26.c: New file.
5621         [BZ #14293]
5622         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5623         non-freeable.
5625 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5627         * Makeconfig (rtld-prefix): Define built linker prefix.
5628         * Rules (run-bench): Use it.
5629         * math/Makefile (run-regen-ulps): Likewise.
5631         * Rules (bench): Remove eval.
5633 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5634             Roland McGrath  <roland@hack.frob.com>
5635             Ondrej Bilka  <neleai@seznam.cz>
5637         [BZ #15346]
5638         * time/getdate.c: Include ctype.h and alloca.h.
5639         (__getdate_r): Trim leading and trailing spaces of input.
5640         * time/tst-getdate.c (tests): Add tests with leading and
5641         trailing spaces.
5643 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5645         [BZ #14280]
5646         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5647         when computing value.
5649 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5651         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5652         Use testrun.sh to run libm tests.
5654         [BZ #15309]
5655         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5657 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5659         [BZ #15264]
5660         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5662 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5664         * Makefile.in (regen-ulps): New target.
5665         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5666         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5667         [ifneq (no,$(PERL)] (regen-ulps): New target.
5668         [ifeq (no,$(PERL)] (regen-ulps): New target.
5669         * math/libm-test.inc (ulps_file_name): Define.
5670         (output_dir): New variable.
5671         (options): Add "output-dir" option.
5672         (parse_opt): Handle 'o' case.
5673         (main): If output_dir is non-NULL use it as a prefix
5674         otherwise use "".
5675         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5677 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5679         [BZ #10060, #10062]
5680         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5681         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5682         fail configure if __sync_val_compare_and_swap is not inlined.
5683         * sysdeps/i386/configure: Regenerate.
5684         * configure.in: Build for i686 when configured for i386.
5685         * configure: Regenerate.
5686         * README: Remove i386 reference.
5688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5690         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5693 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5695         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5696         (lmsnanval): New variables.
5697         (F): Add conversion tests.
5698         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5699         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5701         * stdio-common/tstdiomisc.c (F): Properly collect individual
5702         tests' results.
5704         [BZ #14686, #15336]
5705         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5706         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5707         Instead, use input NaN values or generate a qNaN by arithmetic
5708         operation.  Also fix bugs to comply with the standard.
5709         * math/libm-test.inc (remainder_test): Add more tests.
5711         [BZ #15335, #15342]
5712         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5713         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5714         input NaN values or generate a qNaN by arithmetic operation.
5716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5717         unreachable code.
5719         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5720         definitions.
5722 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
5724         [BZ #14478]
5725         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5726         underflowed result.
5727         * math/s_cexpf.c (__cexpf): Likewise.
5728         * math/s_cexpl.c (__cexpl): Likewise.
5729         * math/libm-test.inc (cexp_test): Add more tests.
5731 2013-04-03  Andreas Schwab  <schwab@suse.de>
5733         [BZ #15330]
5734         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5735         order arrays from heap if bigger than alloca cutoff.
5737 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
5739         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5740         (SNAN_TESTS_double): Refer to GCC PR56831.
5741         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5742         GCC PR56828.
5744 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5746         * Rules (bench): Move bench.out after the run is complete.
5748         * Rules (bench): Echo currently running benchmark.
5750         * benchtests/Makefile (bench): Add atan and slowatan.
5751         * benchtests/atan-inputs: New file.
5752         * benchtests/slowatan-inputs: New file.
5753         * benchtests/slowatan.c: New file.
5755         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5757         its value.
5759         [BZ #15305]
5760         * sysdeps/unix/sysv/linux/kernel-features.h
5761         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5762         __ASSUME_XFS_RESTRICTED_CHOWN.
5763         * sysdeps/unix/sysv/linux/pathconf.c
5764         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5765         Save and restore errno.
5767 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
5769         [BZ #15327]
5770         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5771         arguments using __kernel_casinh.
5772         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5773         arguments using __kernel_casinhf.
5774         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5775         arguments using __kernel_casinhl.
5776         * math/libm-test.inc (cacosh_test): Add more tests.
5777         * sysdeps/i386/fpu/libm-test-ulps: Update.
5778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5780 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5782         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5785         * bench/Makefile (bench): Add sin and slowsin.
5786         * benchtests/sin-inputs: New file.
5787         * benchtests/slowsin-inputs: New file.
5788         * benchtests/slowsin.c: New file.
5790         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5791         (bench): Add slowexp and slowpow.
5792         (exp-ITER): Increase iterations.
5793         (pow-ITER): Likewise.
5794         * benchtests/exp-inputs: Change input.
5795         * benchtests/pow-inputs: Likewise.
5796         * benchtests/slowexp-inputs: New file.
5797         * benchtests/slowexp.c: New file.
5798         * benchtests/slowpow-inputs: New file.
5799         * benchtests/slowpow.c: New file.
5801 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5803         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5804         instructions.
5805         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5806         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5807         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5808         * benchtests/Makefile: Add rint benchtest.
5809         * benchtests/rint-inputs: Input for rint benchtest.
5811 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5813         * Versions.def (libm): Add GLIBC_2.18.
5814         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5815         hidden libm prototypes.
5816         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5817         * math/Makefile (libm-calls): Add s_issignaling.
5818         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5819         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
5820         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5821         declaration.
5822         * math/math.h [__USE_GNU] (issignaling): New macro.
5823         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5824         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5825         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5826         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5827         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5828         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5829         * manual/arith.texi (issignaling): New section.
5830         * manual/libm-err-tab.pl (@all_functions): Update comment.
5831         * math/gen-libm-test.pl (parse_args): Apply special handling for
5832         issignaling.
5833         * math/libm-test.inc (print_float, issignaling_test): New
5834         functions.
5835         (check_float_internal): Add issignaling checks.
5836         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5837         default definition.
5838         * sysdeps/powerpc/math-tests.h: New file.
5839         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5840         tests.
5841         * math/test-snan.c (TEST_FUNC): Likewise.
5843 2013-03-30  David S. Miller  <davem@davemloft.net>
5845         * po/de.po: Update from translation team.
5847 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
5849         [BZ #10357]
5850         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5851         imaginary part less than 1.0 and real part less than 0.5
5852         specially.
5853         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5854         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5855         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5856         (cacos_test): Add more tests.
5857         (casin_test): Likewise.
5858         (casinh_test): Likewise.
5859         * sysdeps/i386/fpu/libm-test-ulps: Update.
5860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5862 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5864         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5865         ONE with its value.
5867         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5868         (__pow_mp): Replace ONE and MONE with their values.
5869         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5871         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5872         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5873         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5874         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5876         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5878         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5879         (__pow_mp): Replace ZERO and MZERO with their values.
5880         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5881         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5882         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5884         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5885         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5886         (__sqr): Likewise.
5888         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5890         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5892 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5894         * include/stdlib.h [!SHARED] (__call_tls_dtors):
5895         Declare with __attribute__ ((weak)).
5896         * stdlib/exit.c (__libc_atexit) [!SHARED]:
5897         Call __call_tls_dtors only if it's not NULL.
5899 2013-03-28  Roland McGrath  <roland@hack.frob.com>
5901         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5902         didn't do it already, then set _dl_phdr and _dl_phnum based on the
5903         magic __ehdr_start linker symbol if it's defined.
5904         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5905         them up here if it was already done.
5907         * elf/dl-support.c (_dl_phdr): Make pointer to const.
5908         (_dl_aux_init): Use const in cast when setting it.
5909         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5910         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5911         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5913         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5914         Declare them here.
5915         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5916         * csu/libc-tls.c: Nor here.
5917         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5919         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5920         (__libc_message): Never call vsyslog.
5922 2013-03-28  Alan Modra  <amodra@gmail.com>
5924         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5925         Define as empty.
5926         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5927         Likewise.
5929 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5931         [BZ #15214]
5932         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5933         underflow.
5934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5936 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5938         [BZ #15304]
5939         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5940         Don't add gid passed as argument.
5942         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5944 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
5946         [BZ #15307]
5947         * math/k_casinh.c (__kernel_casinh): Handle arguments with
5948         imaginary part between 1.0 and 1.5 and real part less than 0.5
5949         specially.
5950         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5951         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5952         * math/libm-test.inc (cacos_test): Add more tests.
5953         (casin_test): Likewise.
5954         (casinh_test): Likewise.
5955         * sysdeps/i386/fpu/libm-test-ulps: Update.
5956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5960         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5961         constants.
5962         (norm): Likewise.
5963         (denorm): Likewise.
5964         (__dbl_mp): Likewise.
5965         (add_magnitudes): Likewise.
5966         (sub_magnitudes): Likewise.
5967         (__add): Likewise.
5968         (__sub): Likewise.
5969         (__mul): Likewise.
5970         (__sqr): Likewise.
5971         (__inv): Likewise.
5972         (__dvd): Likewise.
5974         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5975         commented code.
5976         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5977         (__dubcos): Likewise.
5978         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5979         (__ieee754_acos): Likewise.
5980         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5981         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5982         (__exp1): Likewise.
5983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5985         (log1): Likewise.
5986         (my_log2): Likewise.
5987         (checkint): Likewise.
5988         * sysdeps/ieee754/dbl-64/e_remainder.c
5989         (__ieee754_remainder): Likewise.
5990         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5992         (bsloww): Likewise.
5993         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5995         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5996         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5997         MANTISSA_STORE_T to store computations on mantissa.  Use
5998         macros for rounding and division.
5999         (denorm): Likewise.
6000         (__dbl_mp): Likewise.
6001         (add_magnitudes): Likewise.
6002         (sub_magnitudes): Likewise.
6003         (__mul): Likewise.
6004         (__sqr): Likewise.
6005         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6006         powers of two in terms of TWOPOW macro.
6007         (mp_no): Make type of mantissa as MANTISSA_T.
6008         [!RADIXI]: Define RADIXI.
6009         [!TWO52]: Define TWO52.
6010         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6012 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6015         llroundl symbol when building for PPC32.
6017 2013-03-24  Mark H Weaver  <mhw@netris.org>
6019         * manual/arith.texi (Normalization Functions): Fix prototypes for
6020         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6022 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6024         [BZ #13889]
6025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6026         high value to check if expl overflow.
6027         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6028         to check for underflow and overflow.
6029         * math/libm-test.inc: Add exp test.
6031 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6033         [BZ #11120]
6034         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6035         with NOT_IN_libc.
6037 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6039         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6040         symbol.
6042 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6044         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6045         wrap blocks consisting of several statements.
6047         * sysdeps/generic/math-tests.h: New file.
6048         * sysdeps/i386/fpu/math-tests.h: Likewise.
6049         * math/test-snan.c: Include it.
6050         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6052 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6054         [BZ #15285]
6055         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6056         (__ieee754_j0l): Do not improve calculations using cos of twice
6057         input for inputs above LDBL_MAX / 2.0L.
6058         (__ieee754_y0l): Likewise.
6059         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6060         (__ieee754_j1l): Do not improve calculations using cos of twice
6061         input for inputs above LDBL_MAX / 2.0L.
6062         (__ieee754_y1l): Likewise.
6063         * math/libm-test.inc (j0_test): Add another test.
6064         (j1_test): Likewise.
6065         (y0_test): Likewise.
6066         (y1_test): Likewise.
6067         * sysdeps/i386/fpu/libm-test-ulps: Update.
6069 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6071         * Rules ($(objpfx)bench-%.c): Include code from a C source
6072         file.
6074 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6076         [BZ #15287]
6077         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6078         imaginary part 1.0 and real part less than 0.5 specially.
6079         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6080         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6081         * math/libm-test.inc (cacos_test): Add more tests.
6082         (casin_test): Likewise.
6083         (casinh_test): Likewise.
6084         * sysdeps/i386/fpu/libm-test-ulps: Update.
6085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6087 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6089         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6090         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6092 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6094         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6095         * config.make.in (config-cflags-sse4): Remove variable.
6096         (config-cflags-avx): Likewise.
6097         (config-cflags-sse2avx): Likewise.
6098         (config-cflags-novzeroupper): Likewise.
6099         (config-asflags-i686): Likewise.
6100         (have-mfma4): Likewise.
6101         (have-as-vis3): Likewise.
6102         (MIG): Likewise.
6103         * configure.in (MIG): Do not AC_SUBST.
6104         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6105         (libc_cv_cc_sse4): Do not AC_SUBST.
6106         (libc_cv_cc_avx): Likewise.
6107         (libc_cv_cc_sse2avx): Likewise.
6108         (libc_cv_cc_novzeroupper): Likewise.
6109         (libc_cv_cc_fma4): Likewise.
6110         (libc_cv_as_i686): Likewise.
6111         (libc_cv_sparc_as_vis3): Likewise.
6112         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6113         LIBC_CONFIG_VAR.
6114         (config-asflags-i686): Likewise.
6115         (config-cflags-avx): Likewise.
6116         (config-cflags-sse2avx): Likewise.
6117         (have-mfma4): Likewise.
6118         (config-cflags-novzeroupper): Likewise.
6119         * sysdeps/mach/configure.in (MIG): Likewise.
6120         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6121         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6122         LIBC_CONFIG_VAR.
6123         (config-cflags-avx): Likewise.
6124         (config-cflags-sse2avx): Likewise.
6125         (have-mfma4): Likewise.
6126         (config-cflags-novzeroupper): Likewise.
6127         * configure: Regenerated.
6128         * sysdeps/i386/configure: Likewise.
6129         * sysdeps/mach/configure: Likewise.
6130         * sysdeps/sparc/configure: Likewise.
6131         * sysdeps/x86_64/configure: Likewise.
6133 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6135         [BZ #14812]
6136         * locale/programs/localedef.c (options): Put N_ translation marker
6137         on argument names, not just descriptions.
6139 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6141         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6143 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6145         [BZ #14176]
6146         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6148 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6150         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6151         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6152         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6153         [!BEFORE_ABORT] (before_abort): New function.
6154         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6155         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6156         (writev_for_fatal): New function.
6157         (WRITEV_FOR_FATAL): New macro; call that.
6158         (backtrace_and_maps): New function.
6159         (BEFORE_ABORT): New macro; call that.
6160         (struct str_list): Type removed.
6161         (__libc_message, __libc_fatal): Functions removed.
6162         Include <sysdeps/posix/libc_fatal.c> instead.
6164 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6166         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6167         constants.
6168         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6169         double constants.
6171 2013-03-19  Andreas Schwab  <schwab@suse.de>
6173         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6174         * sysdeps/gnu/configure: Regenerate.
6176         * configure.in: Substitute libc_cv_rtlddir.
6177         * configure: Regenerate.
6178         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6179         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6180         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6181         * elf/Makefile (install-others, CFLAGS-interp.c)
6182         (ldso_install, common-ldd-rewrite): Likewise.
6183         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6184         $(inst_slibdir)/$(rtld-installed-name).
6185         * scripts/rellns-sh: Add -p option.
6186         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6187         for source.
6189 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6191         * manual/nptl.texi: Renamed to ...
6192         * manual/threads.texi: ... this.
6193         * manual/Makefile (chapters): Update.
6195 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6197         [BZ #14812]
6198         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6199         on argument names, not just descriptions.
6200         * malloc/memusagestat.c (options): Likewise.
6201         * nss/getent.c (options): Likewise.
6203 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6205         [BZ #14812]
6206         * iconv/iconv_prog.c (options): Put N_ translation marker
6207         on argument names, not just descriptions.
6208         * iconv/iconvconfig.c (options): Likewise.
6210 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6212         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6213         implementation which is faster on all x86_64 architectures.
6214         Tested on AMD, Intel Nehalem, SNB, IVB.
6215         * sysdeps/x86_64/strnlen.S: Likewise.
6217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6218         Remove all multiarch strlen and strnlen versions.
6219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6220         Remove strlen and strnlen related parts.
6222         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6223         Inline strlen part.
6224         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6226         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6227         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6228         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6229         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6230         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6231         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6233 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6235         * manual/memory.texi (Malloc Tunable Parameters):
6236         Sort parameters alphabetically. Add comments for missing entries.
6238 2013-03-17  David S. Miller  <davem@davemloft.net>
6240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6242 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6244         [BZ #15283]
6245         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6246         for arguments at most half maximum finite value.
6247         * math/libm-test.inc (j0_test): Add more tests.
6248         (j1_test): Likewise.
6249         (y0_test): Likewise.
6250         (y1_test): Likewise.
6251         * sysdeps/i386/fpu/libm-test-ulps: Update.
6252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6254         [BZ #14155]
6255         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6256         1 / x and functions P and Q for arguments above 0x1p256L.
6257         (__ieee754_y0l): Likewise.
6258         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6259         (__ieee754_y1l): Likewise.
6260         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6261         (j1_test): Likewise.
6262         (y0_test): Likewise.
6263         (y1_test): Likewise.
6265 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6267         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6268         variable.
6270 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6272         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6273         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6274         zero since it's initialized to EXEC_PAGESIZE.
6276         * sysdeps/unix/sysv/linux/ldsodefs.h
6277         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6278         * sysdeps/generic/ldsodefs.h: ... here.
6280 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6282         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6284         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6285         math/test-snan.c.
6286         * math/test-snan.c: Renamed from
6287         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6288         * math/Makefile (tests): Add test-snan.
6289         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6290         test-powerpc-snan.
6292         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6293         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6294         functions.
6295         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6296         __builtin_nan family of functions.
6297         * math/libm-test.inc (initialize): Initialize qnan_value with
6298         __builtin_nan family of functions.
6299         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6300         Remove variables.
6301         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6302         Remove functions.
6303         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6304         storage class.  Initialize qNaN_var and sNaN_var with
6305         __builtin_nan and __builtin_nans families of functions,
6306         respectively.
6308         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6309         (sqrt_test): Remove duplicate test with qNaN input.
6310         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6311         (round_test, signbit_test, significand_test): Note missing +/-Inf
6312         as well as qNaN tests.
6314         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6315         qNaN_var.  Fix a few strings, too.
6316         * math/libm-test.inc (nan_value): Rename to qnan_value.
6317         * math/gen-libm-test.pl (%beautify): Adjust to that.
6318         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6319         * math/test-misc.c (main): Likewise.
6320         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6321         to __qnan_bytes, and __qnan_union, respectively.
6322         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6323         Likewise.
6324         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6325         and lqnanval, respectively.
6326         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6327         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6328         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6329         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6331         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6332         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6333         doubles.
6335         * math/test-misc.c (main): Fix copy'n'pastos.
6336         * misc/tst-efgcvt.c (special): Likewise.
6338         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6339         Remove declarations.
6341 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6343         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6344         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6345         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6346         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6348 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6351         macro to return vdso values correctly in IFUNC implementations.
6352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6353         Optimization by using IFUNC.
6355 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6356             Richard Henderson  <rth@redhat.com>
6357             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6359         * Makefile.in (bench): New target.
6360         * NEWS: Mention the benchmark framework.
6361         * Rules (bench): Likewise.
6362         (binaries-bench): Generate binaries for functions to
6363         benchmark.
6364         * benchtests/Makefile: New makefile for benchmark tests.
6365         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6366         programs.
6367         * benchtests/exp-inputs: New input file for EXP function.
6368         * benchtests/pow-inputs: New input file for POW function.
6369         * scripts/bench.pl: New script to generate source files for
6370         benchmark programs.
6372 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6374         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6375         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6376         computations on mantissa.  Use macros for rounding and
6377         division.
6378         (denorm): Likewise.
6379         (__dbl_mp): Likewise.
6380         (add_magnitudes): Likewise.
6381         (sub_magnitudes): Likewise.
6382         (__mul): Likewise.
6383         (__sqr): Likewise.
6384         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6385         powers of two in terms of TWOPOW macro.
6386         (mp_no): Make type of mantissa as MANTISSA_T.
6387         [!RADIXI]: Define RADIXI.
6388         [!TWO52]: Define TWO52.
6389         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6391         * manual/nptl.texi (cindex): Modify threads to pthreads.
6393 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6395         * sysdeps/x86_64/preconfigure: Regenerated.
6397 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6399         [BZ #14155]
6400         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6401         0x1p28 and above.
6402         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6403         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6404         0x1p28 and above.
6405         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6406         * math/libm-test.inc (j0_test): Do not allow one spurious
6407         underflow exception.
6408         (y1_test): Likewise.
6410 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6412         * manual/Makefile (chapters): Add nptl.
6413         * manual/debug.texi (Debugging Support): Add link to Threads
6414         chapter.
6415         * manual/nptl.texi: New file.
6417         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6419 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6421         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6422         for non-NULL pointer before the memory validity test. Pointed
6423         out by Holger Brunck <holger.brunck@keymile.com>.
6425 2013-03-13  Andreas Schwab  <schwab@suse.de>
6427         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6428         instead of .os.
6430 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6432         * timezone/zic.c: Update from tzcode 2013b.
6434 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6436         * manual/install.texi (Configuring and compiling):
6437         Mention i686 and i586.
6438         * INSTALL: Regenerate.
6440 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6442         * sysdeps/init_array/elf-init.c: New file.
6443         * csu/elf-init.c
6444         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6445         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6447         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6448         __gmon_start__ as global, but as static with a .preinit_array pointer.
6449         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6450         * sysdeps/init_array/crti.S: New file, empty except for comments.
6451         * sysdeps/init_array/crtn.S: Likewise.
6453 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6455         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6456         definining bcopy.
6457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6458         Remove Prefer_SSE_for_memop.
6459         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6460         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6461         HAS_PREFER_SSE_FOR_MEMOP.
6462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6463         memset-x86-64.
6464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6465         Remove bzero, memset ifunc support.
6466         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6467         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6471 2013-03-11  Andreas Schwab  <schwab@suse.de>
6473         [BZ #15234]
6474         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6475         by SHLIB_COMPAT.
6476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6477         (GLIBC_2.16): Remove pthread_atfork.
6479 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6481         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6482         (ptestcases.h): Likewise.
6484 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6486         * Makeconfig ($(common-objpfx)config.status): Depend on
6487         sysdeps/*/preconfigure{,.in} too.
6489 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6491         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6492         (__free_hook): Use void * instead of __malloc_ptr_t.
6493         (__malloc_hook): Likewise.
6494         (__realloc_hook): Likewise.
6495         (__memalign_hook): Likewise.
6496         (__after_morecore_hook): Likewise.
6497         * malloc/arena.c (save_malloc_hook): Likewise.
6498         (save_free_hook): Likewise.
6499         * malloc/hooks.c (malloc_hook_ini): Likewise.
6500         (realloc_hook_ini): Likewise.
6501         (memalign_hook_ini): Likewise.
6502         * malloc/malloc.c (malloc_hook_ini): Likewise.
6503         (realloc_hook_ini): Likewise.
6504         (memalign_hook_ini): Likewise.
6505         (__free_hook): Likewise.
6506         (__malloc_hook): Likewise.
6507         (__realloc_hook): Likewise.
6508         (__memalign_hook): Likewise.
6509         (__libc_malloc): Likewise.
6510         (__libc_free): Likewise.
6511         (__libc_realloc): Likewise.
6512         (__libc_memalign): Likewise.
6513         (__libc_valloc): Likewise.
6514         (__libc_pvalloc): Likewise.
6515         (__libc_calloc): Likewise.
6516         (__posix_memalign): Likewise.
6517         * malloc/morecore.c (__sbrk): Likewise.
6518         (__default_morecore): Likewise.
6520         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6522         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6523         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6524         __malloc_ptrdiff_t.
6526         * malloc/malloc.h (__malloc_size_t): Remove macro.
6527         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6528         __malloc_size_t.
6529         (old_memalign_hook): Likewise.
6530         (old_realloc_hook): Likewise.
6531         (struct hdr): Likewise.
6532         (flood): Likewise.
6533         (mallochook): Likewise.
6534         (memalignhook): Likewise.
6535         (reallochook): Likewise.
6536         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6537         (tr_old_realloc_hook): Likewise.
6538         (tr_old_memalign_hook): Likewise.
6539         (tr_mallochook): Likewise.
6540         (tr_reallochook): Likewise.
6541         (tr_memalignhook): Likewise.
6543 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6546         default_ldbl_pack and using as default implementation.
6547         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6548         implementation.
6549         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6550         redundant definition.
6551         (ldbl_insert_mantissa): Likewise.
6552         (ldbl_canonicalize): Likewise.
6553         (ldbl_nearbyint): Likewise.
6554         (ldbl_pack): Rename to ldbl_pack_ppc.
6555         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6556         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6557         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6559 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6562         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6563         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6564         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6566         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6567         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6568         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6570 2013-03-07  Andreas Jaeger  <aj@suse.de>
6572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6573         bits/mman-linux.h.
6575 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6577         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6578         Include mpa.h and declare __MPEXP.
6579         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6580         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6581         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6582         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6583         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6584         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6585         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6587         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6588         (__slowpow): Use long double EXPL and LOGL functions to
6589         compute POW.
6590         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6591         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6592         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6593         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6594         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6595         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6598         intermediate variable to calculate exponent.
6599         (__sqr): Likewise.
6600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6601         Likewise.
6602         (__sqr): Likewise.
6604         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6605         [!NO__SQR]: Define __sqr.
6606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6607         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6608         sysdeps/ieee754/dbl-64/mpa.c.
6609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6611         [BZ #12723]
6612         * posix/Makefile (tests): Add tst-pathconf.
6613         * posix/tst-pathconf.c: New test case.
6614         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6615         _PC_PIPE_BUF.
6616         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6618 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6620         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6622 2013-03-06  Andreas Jaeger  <aj@suse.de>
6624         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6625         definition via __MAP_ANONYMOUS.
6627         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6628         it's not part of Linux headers.
6630         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6631         (MAP_HUGE_MASK): Define.
6633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6634         Define.
6635         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6636         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6637         Define.
6638         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6639         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6640         Define.
6641         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6643         Define.
6644         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6646         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6647         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6648         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6649         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6650         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6651         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6653         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6654         Handle f2fs.
6656         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6657         Handle f2fs and efivarfs.
6659         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6660         f2fs.
6662         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6663         (EFIVARFS_MAGIC): Add.
6664         (F2FS_LINK_MAX): Add.
6666 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6668         * stdio-common/vfprintf.c: Replace __builtin_expect with
6669         __glibc_unlikely.
6671 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #13550]
6674         * sysdeps/generic/bp-sym.h: Remove file.
6675         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6676         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6677         <bp-sym.h> and <bp-asm.h>.
6678         (__longjmp): Don't use BP_SYM.
6679         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6680         and <bp-asm.h>.
6681         (memcpy): Don't use BP_SYM.
6682         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6683         <bp-sym.h> and <bp-asm.h>.
6684         (memcpy): Don't use BP_SYM.
6685         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6686         <bp-asm.h>.
6687         (memcpy): Don't use BP_SYM.
6688         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6689         <bp-asm.h>.
6690         (memset): Don't use BP_SYM.
6691         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6692         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6693         (__bzero): Don't use BP_SYM.
6694         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6695         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6697         <bp-sym.h> and <bp-asm.h>.
6698         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6699         pointers.
6700         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6701         <bp-sym.h> and <bp-asm.h>.
6702         (memcpy): Don't use BP_SYM.
6703         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6704         <bp-sym.h> and <bp-asm.h>.
6705         (memset): Don't use BP_SYM.
6706         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6707         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6708         (__bzero): Don't use BP_SYM.
6709         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6710         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6711         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6712         <bp-sym.h> and <bp-asm.h>.
6713         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6714         pointers.
6715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6716         <bp-sym.h> and <bp-asm.h>.
6717         (memcpy): Don't use BP_SYM.
6718         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6719         <bp-sym.h> and <bp-asm.h>.
6720         (memset): Don't use BP_SYM.
6721         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6722         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6723         (__bzero): Don't use BP_SYM.
6724         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6725         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6726         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6727         <bp-sym.h> and <bp-asm.h>.
6728         (__memchr): Don't use BP_SYM.
6729         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6730         <bp-sym.h> and <bp-asm.h>.
6731         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6732         pointers.
6733         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6734         <bp-sym.h> and <bp-asm.h>.
6735         (memcpy): Don't use BP_SYM.
6736         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6737         <bp-sym.h> and <bp-asm.h>.
6738         (__mempcpy): Don't use BP_SYM.
6739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6740         <bp-sym.h> and <bp-asm.h>.
6741         (__memrchr): Don't use BP_SYM.
6742         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6743         <bp-sym.h> and <bp-asm.h>.
6744         (memset): Don't use BP_SYM.
6745         (__bzero): Likewise.
6746         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6747         <bp-sym.h> and <bp-asm.h>.
6748         (__rawmemchr): Don't use BP_SYM.
6749         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6750         <bp-sym.h> and <bp-asm.h>.
6751         (__STRCMP): Don't use BP_SYM.
6752         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6753         <bp-sym.h> and <bp-asm.h>.
6754         (strchr): Don't use BP_SYM.
6755         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6756         <bp-sym.h> and <bp-asm.h>.
6757         (__strchrnul): Don't use BP_SYM.
6758         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6759         <bp-sym.h> and <bp-asm.h>.
6760         (strlen): Don't use BP_SYM.
6761         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6762         <bp-sym.h> and <bp-asm.h>.
6763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6764         pointers.
6765         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6766         <bp-sym.h> and <bp-asm.h>.
6767         (__strnlen): Don't use BP_SYM.
6768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6769         <bp-sym.h> and <bp-asm.h>.
6770         (__GI__setjmp): Don't use BP_SYM.
6771         (_setjmp): Likewise.
6772         (__sigsetjmp): Likewise.
6773         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6774         (L(start_addresses)): Don't use BP_SYM.
6775         (_start): Likewise.
6776         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6777         <bp-asm.h>.
6778         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6779         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6780         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6781         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6782         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6783         <bp-asm.h>.
6784         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6785         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
6786         about bounded pointers.
6787         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6788         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6789         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6790         <bp-asm.h>.
6791         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6792         about bounded pointers.  Remove GKM FIXME comments.
6793         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6794         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6795         <bp-asm.h>.
6796         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6797         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
6798         Remove GKM FIXME comments.
6799         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6800         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6801         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6802         <bp-asm.h>.
6803         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6804         about bounded pointers.  Remove GKM FIXME comment.
6805         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6806         and <bp-asm.h>.
6807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6808         pointers.
6809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6810         <bp-sym.h> and <bp-asm.h>.
6811         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6813         <bp-sym.h> and <bp-asm.h>.
6814         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6815         comment.
6817 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6819         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6820         call free(NULL).
6822 2013-03-05  David S. Miller  <davem@davemloft.net>
6824         * po/es.po: Update from translation team.
6826 2013-03-05  Andreas Jaeger  <aj@suse.de>
6828         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6829         <bits/mman-linux.h>.
6830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6831         is fine.
6832         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6833         <bits/mman-linux.h> to end of file.
6834         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6835         is fine.
6836         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6837         <bits/mman-linux.h> to end of file.
6838         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6839         is fine.
6840         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6841         <bits/mman-linux.h> to end of file.
6843         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6844         (MCL_CURRENT, MCL_FUTURE): Define here.
6846 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6848         [BZ #15232]
6849         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6850         attribute_hidden.
6851         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6853 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6855         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6856         fourth parameter needed for rt_sigprocmask syscall.
6857         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6858         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6859         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6860         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6862         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6864 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
6866         [BZ #13550]
6867         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6868         comment about bounded pointers.
6869         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6870         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6872 2013-03-04  Andreas Jaeger  <aj@suse.de>
6874         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6875         common definitions.
6877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6878         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6879         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6880         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6884 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6886         [BZ #15055]
6887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6888         __ieee754_sqrl instead of __sqrl.
6890 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
6892         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6893         * sysdeps/powerpc/fpu_control.h: ... here.
6894         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6895         * sysdeps/powerpc/bits/fenvinline.h: ... here.
6896         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6897         * sysdeps/powerpc/bits/mathinline.h: ... here.
6899 2013-03-01  Roland McGrath  <roland@hack.frob.com>
6901         * elf/dl-hwcaps.c (_dl_important_hwcaps):
6902         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6903         to just [NEED_DL_SYSINFO_DSO].
6904         * elf/dl-support.c: Likewise.
6905         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6906         * elf/rtld.c (dl_main): Likewise.
6907         * elf/setup-vdso.h (setup_vdso): Likewise.
6908         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6909         * sysdeps/unix/sysv/linux/dl-sysdep.c
6910         (_dl_discover_osversion): Likewise.
6912 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
6914         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6915         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6917 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6919         * NEWS: Mention libm performance improvements and non-x86 PI
6920         futex support.
6922         * csu/libc-start.c (__pthread_initialize_minimal): Change
6923         function arguments.
6924         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6926 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
6928         [BZ #13550]
6929         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6930         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6931         <bp-sym.h> and <bp-asm.h>.
6932         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6933         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6934         and <bp-asm.h>.
6935         (memcpy): Don't use BP_SYM.
6936         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6937         <bp-asm.h>.
6938         (__mpn_add_n): Don't use BP_SYM.
6939         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6940         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6941         and <bp-asm.h>.
6942         (__mpn_addmul_1): Don't use BP_SYM.
6943         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6944         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6945         <bp-sym.h>.
6946         (_setjmp): Don't use BP_SYM.
6947         (__novmx_setjmp): Likewise.
6948         (__GI__setjmp): Likewise.
6949         (__vmx_setjmp): Likewise.
6950         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6951         <bp-sym.h>.
6952         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6953         (__bzero): Don't use BP_SYM.
6954         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6955         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6956         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6957         <bp-sym.h> and <bp-asm.h>.
6958         (memcpy): Don't use BP_SYM.
6959         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6960         <bp-sym.h> and <bp-asm.h>.
6961         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6962         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6963         <bp-sym.h> and <bp-asm.h>.
6964         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6965         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6966         <bp-asm.h>.
6967         (__mpn_lshift): Don't use BP_SYM.
6968         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6969         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6970         <bp-asm.h>.
6971         (memset): Don't use BP_SYM.
6972         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6973         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6974         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6975         <bp-asm.h>.
6976         (__mpn_mul_1): Don't use BP_SYM.
6977         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6979         <bp-sym.h> and <bp-asm.h>.
6980         (memcmp): Don't use BP_SYM.
6981         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6982         <bp-sym.h> and <bp-asm.h>.
6983         (memcpy): Don't use BP_SYM.
6984         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6985         <bp-sym.h> and <bp-asm.h>.
6986         (memset): Don't use BP_SYM.
6987         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6988         <bp-sym.h> and <bp-asm.h>.
6989         (strncmp): Don't use BP_SYM.
6990         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6991         <bp-sym.h> and <bp-asm.h>.
6992         (memcpy): Don't use BP_SYM.
6993         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6994         <bp-sym.h> and <bp-asm.h>.
6995         (memset): Don't use BP_SYM.
6996         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6997         <bp-sym.h> and <bp-asm.h>.
6998         (__memchr): Don't use BP_SYM.
6999         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7000         <bp-sym.h> and <bp-asm.h>.
7001         (memcmp): Don't use BP_SYM.
7002         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7003         <bp-sym.h> and <bp-asm.h>.
7004         (memcpy): Don't use BP_SYM.
7005         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7006         <bp-sym.h> and <bp-asm.h>.
7007         (__mempcpy): Don't use BP_SYM.
7008         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7009         <bp-sym.h> and <bp-asm.h>.
7010         (__memrchr): Don't use BP_SYM.
7011         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7012         <bp-sym.h> and <bp-asm.h>.
7013         (memset): Don't use BP_SYM.
7014         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7015         <bp-sym.h> and <bp-asm.h>.
7016         (__rawmemchr): Don't use BP_SYM.
7017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7018         <bp-sym.h> and <bp-asm.h>.
7019         (__STRCMP): Don't use BP_SYM.
7020         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7021         <bp-sym.h> and <bp-asm.h>.
7022         (strchr): Don't use BP_SYM.
7023         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7024         <bp-sym.h> and <bp-asm.h>.
7025         (__strchrnul): Don't use BP_SYM.
7026         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7027         <bp-sym.h> and <bp-asm.h>.
7028         (strlen): Don't use BP_SYM.
7029         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7030         <bp-sym.h> and <bp-asm.h>.
7031         (strncmp): Don't use BP_SYM.
7032         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7033         <bp-sym.h> and <bp-asm.h>.
7034         (__strnlen): Don't use BP_SYM.
7035         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7036         <bp-asm.h>.
7037         (__mpn_rshift): Don't use BP_SYM.
7038         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7039         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7040         <bp-sym.h> and <bp-asm.h>.
7041         (__sigsetjmp): Don't use BP_SYM.
7042         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7043         (L(start_addresses)): Don't use BP_SYM.
7044         (_start): Likewise.
7045         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7046         <bp-asm.h>.
7047         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7048         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7049         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7050         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7051         <bp-asm.h>.
7052         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7053         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7054         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7055         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7056         <bp-asm.h>.
7057         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7058         comments.
7059         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7060         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7061         <bp-asm.h>.
7062         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7063         FIXME comments.
7064         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7065         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7066         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7067         <bp-asm.h>.
7068         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7069         comment.
7070         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7071         and <bp-asm.h>.
7072         (strncmp): Don't use BP_SYM,
7073         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7074         <bp-asm.h>.
7075         (__mpn_sub_n): Don't use BP_SYM.
7076         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7077         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7078         and <bp-asm.h>.
7079         (__mpn_submul_1): Don't use BP_SYM.
7080         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7082         <bp-sym.h> and <bp-asm.h>.
7083         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7085         <bp-sym.h> and <bp-asm.h>.
7086         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7087         comment.
7089 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7092         Use ZK to minimize writes to Z.
7093         (sub_magnitudes): Simplify code a bit.
7094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7095         Use ZK to minimize writes to Z.
7096         (sub_magnitudes): Simplify code a bit.
7098 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7100         * csu/gmon-start.c: Add special exception to license text.
7102 2013-02-27  Richard Henderson  <rth@redhat.com>
7104         * scripts/config.guess: Update from config.git.
7105         * scripts/config.sub: Likewise.
7107 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7111         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7113         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7115         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7117         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7119 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7121         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7122         [$(build-shared = yes].
7124 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7126         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7127         (__mul): Reduce iterations for calculating mantissa.
7129         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7130         MPTWO.
7131         (__mpranred): Likewise.
7133         [BZ #15160]
7134         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7135         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7137 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7139         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7140         Define __attribute__.
7142 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7144         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7145         unused.
7146         * posix/regex_internal.h (__attribute): Remove.
7147         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7148         (re_string_context_at): Likewise.
7149         (bitset_not): Use __attribute__ and mark function as possibly
7150         unused.
7151         (bitset_merge): Likewise.
7152         (bitset_mask): Likewise.
7153         (re_string_char_size_at): Likewise.
7154         (re_string_wchar_at): Likewise.
7155         (re_string_elem_size_at): Likewise.
7157 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7159         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7160         code.
7161         (cc32): Likewise.
7163         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7164         (__acr): Likewise.
7165         (__cpy): Likewise.
7166         (norm): Likewise.
7167         (denorm): Likewise.
7168         (__dbl_mp): Likewise.
7169         (add_magnitudes): Likewise.
7170         (sub_magnitudes): Likewise.
7171         (__mul): Likewise.
7172         (__inv): Likewise.
7174         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7175         style.
7177         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7178         style.
7180         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7181         code.
7183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7184         up changes with default code.
7185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7186         Likewise.
7188 2013-02-24  Allan McRae  <allan@archlinux.org>
7190         * manual/socket.texi (The Internet Namespace): Order menu items
7191         to match that in the file.
7193         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7194         node listing of the info page menu.
7196 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #13550]
7199         * sysdeps/i386/bp-asm.h: Remove file.
7200         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7201         (PARMS): Do not use macros from bp-asm.h.
7202         (S1): Likewise.
7203         (S2): Likewise.
7204         (SIZE): Likewise.
7205         (__mpn_add_n): Do not use BP_SYM
7206         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7207         "bp-asm.h".
7208         (PARMS): Do not use macros from bp-asm.h.
7209         (S1): Likewise.
7210         (SIZE): Likewise.
7211         (__mpn_addmul_1): Do not use BP_SYM
7212         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7213         "bp-asm.h".
7214         (PARMS): Do not use macros from bp-asm.h.
7215         (SIGMSK): Likewise.
7216         (_setjmp): Likewise.  Do not use BP_SYM.
7217         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7218         "bp-asm.h".
7219         (PARMS): Do not use macros from bp-asm.h.
7220         (SIGMSK): Likewise.
7221         (setjmp): Likewise.  Do not use BP_SYM.
7222         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7223         "bp-asm.h".
7224         (PARMS): Do not use macros from bp-asm.h.
7225         (__frexp): Do not use BP_SYM.
7226         (frexp): Likewise.
7227         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7228         "bp-asm.h".
7229         (PARMS): Do not use macros from bp-asm.h.
7230         (__frexpf): Do not use BP_SYM.
7231         (frexpf): Likewise.
7232         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7233         "bp-asm.h".
7234         (PARMS): Do not use macros from bp-asm.h.
7235         (__frexpl): Do not use BP_SYM.
7236         (frexpl): Likewise.
7237         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7238         "bp-asm.h".
7239         (PARMS): Do not use macros from bp-asm.h.
7240         (__remquo): Do not use BP_SYM.
7241         (remquo): Likewise.
7242         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7243         "bp-asm.h".
7244         (PARMS): Do not use macros from bp-asm.h.
7245         (__remquof): Do not use BP_SYM.
7246         (remquof): Likewise.
7247         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7248         "bp-asm.h".
7249         (PARMS): Do not use macros from bp-asm.h.
7250         (__remquol): Do not use BP_SYM.
7251         (remquol): Likewise.
7252         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7253         "bp-asm.h".
7254         (PARMS): Do not use macros from bp-asm.h.
7255         (DEST): Likewise.
7256         (SRC): Likewise.
7257         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7258         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7259         "bp-asm.h".
7260         (PARMS): Do not use macros from bp-asm.h.
7261         (strlen): Do not use BP_SYM.
7262         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7263         "bp-asm.h".
7264         (PARMS): Do not use macros from bp-asm.h.
7265         (S1): Likewise.
7266         (S2): Likewise.
7267         (SIZE): Likewise.
7268         (__mpn_add_n): Do not use BP_SYM.
7269         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7270         "bp-asm.h".
7271         (PARMS): Do not use macros from bp-asm.h.
7272         (S1): Likewise.
7273         (SIZE): Likewise.
7274         (__mpn_addmul_1): Do not use BP_SYM.
7275         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7276         weak_alias.
7277         (bzero): Likewise.
7278         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7279         "bp-asm.h".
7280         (PARMS): Do not use macros from bp-asm.h.
7281         (S): Likewise.
7282         (SIZE): Likewise.
7283         (__mpn_lshift): Do not use BP_SYM.
7284         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7285         "bp-asm.h".
7286         (PARMS): Do not use macros from bp-asm.h.
7287         (DEST): Likewise.
7288         (SRC): Likewise.
7289         (LEN): Likewise.
7290         (memcpy): Likewise.  Do not use BP_SYM.
7291         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7292         libc_hidden_def and weak_alias.
7293         (mempcpy): Do not use BP_SYM in weak_alias.
7294         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7295         "bp-asm.h".
7296         (PARMS): Do not use macros from bp-asm.h.
7297         (DEST): Likewise.
7298         (LEN): Likewise.
7299         [!BZERO_P] (CHR): Likewise.
7300         (memset): Likewise.  Do not use BP_SYM.
7301         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7302         "bp-asm.h".
7303         (PARMS): Do not use macros from bp-asm.h.
7304         (S1): Likewise.
7305         (SIZE): Likewise.
7306         (__mpn_mul_1): Do not use BP_SYM.
7307         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7308         "bp-asm.h".
7309         (PARMS): Do not use macros from bp-asm.h.
7310         (S): Likewise.
7311         (SIZE): Likewise.
7312         (__mpn_rshift): Do not use BP_SYM.
7313         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7314         "bp-asm.h".
7315         (PARMS): Do not use macros from bp-asm.h.
7316         (STR): Likewise.
7317         (CHR): Likewise.
7318         (strchr): Likewise.  Do not use BP_SYM.
7319         (index): Do not use BP_SYM in weak_alias.
7320         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7321         "bp-asm.h".
7322         (PARMS): Do not use macros from bp-asm.h.
7323         (DEST): Likewise.
7324         (SRC): Likewise.
7325         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7326         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7327         "bp-asm.h".
7328         (PARMS): Do not use macros from bp-asm.h.
7329         (strlen): Do not use BP_SYM.
7330         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7331         "bp-asm.h".
7332         (PARMS): Do not use macros from bp-asm.h.
7333         (S1): Likewise.
7334         (S2): Likewise.
7335         (SIZE): Likewise.
7336         (__mpn_sub_n): Do not use BP_SYM.
7337         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7338         "bp-asm.h".
7339         (PARMS): Do not use macros from bp-asm.h.
7340         (S1): Likewise.
7341         (SIZE): Likewise.
7342         (__mpn_submul_1): Do not use BP_SYM.
7343         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7344         "bp-asm.h".
7345         (PARMS): Do not use macros from bp-asm.h.
7346         (S1): Likewise.
7347         (S2): Likewise.
7348         (SIZE): Likewise.
7349         (__mpn_add_n): Do not use BP_SYM.
7350         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7351         weak_alias.
7352         (bzero): Likewise.
7353         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7354         "bp-asm.h".
7355         (PARMS): Do not use macros from bp-asm.h.
7356         (BLK2): Likewise.
7357         (LEN): Likewise.
7358         (memcmp): Do not use BP_SYM.
7359         (bcmp): Do not use BP_SYM in weak_alias.
7360         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7361         "bp-asm.h".
7362         (PARMS): Do not use macros from bp-asm.h.
7363         (DEST): Likewise.
7364         (SRC): Likewise.
7365         (LEN): Likewise.
7366         (memcpy): Likewise.  Do not use BP_SYM.
7367         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7368         "bp-asm.h".
7369         (PARMS): Do not use macros from bp-asm.h.
7370         (DEST): Likewise.
7371         (SRC): Likewise.
7372         (LEN): Likewise.
7373         (memmove): Likewise.  Do not use BP_SYM.
7374         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7375         "bp-asm.h".
7376         (PARMS): Do not use macros from bp-asm.h.
7377         (DEST): Likewise.
7378         (SRC): Likewise.
7379         (LEN): Likewise.
7380         (__mempcpy): Likewise.  Do not use BP_SYM.
7381         (mempcpy): Do not use BP_SYM in weak_alias.
7382         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7383         "bp-asm.h".
7384         (PARMS): Do not use macros from bp-asm.h.
7385         (DEST): Likewise.
7386         (LEN): Likewise.
7387         [!BZERO_P] (CHR): Likewise.
7388         (memset): Likewise.  Do not use BP_SYM.
7389         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7390         "bp-asm.h".
7391         (PARMS): Do not use macros from bp-asm.h.
7392         (STR2): Likewise.
7393         (strcmp): Do not use BP_SYM.
7394         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7395         "bp-asm.h".
7396         (PARMS): Do not use macros from bp-asm.h.
7397         (STR): Likewise.
7398         (DELIM): Likewise.
7399         [USE_AS_STRTOK_R] (SAVE): Likewise.
7400         (FUNCTION): Likewise.  Do not use BP_SYM.
7401         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7402         aliases.
7403         (strtok_r): Likewise.
7404         (__GI___strtok_r): Likewise.
7405         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7406         (PARMS): Do not use macros from bp-asm.h.
7407         (S): Likewise.
7408         (SIZE): Likewise.
7409         (__mpn_lshift): Do not use BP_SYM.
7410         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7411         (PARMS): Do not use macros from bp-asm.h.
7412         (STR): Likewise.
7413         (CHR): Likewise.
7414         (__memchr): Do not use BP_SYM.
7415         (memchr): Do not use BP_SYM in weak_alias.
7416         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7417         (PARMS): Do not use macros from bp-asm.h.
7418         (BLK2): Likewise.
7419         (LEN): Likewise.
7420         (memcmp): Do not use BP_SYM.
7421         (bcmp): Do not use BP_SYM in weak_alias.
7422         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7423         (PARMS): Do not use macros from bp-asm.h.
7424         (S1): Likewise.
7425         (SIZE): Likewise.
7426         (__mpn_mul_1): Do not use BP_SYM.
7427         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7428         "bp-asm.h".
7429         (PARMS): Do not use macros from bp-asm.h.
7430         (STR): Likewise.
7431         (CHR): Likewise.
7432         (__rawmemchr): Do not use BP_SYM.
7433         (rawmemchr): Do not use BP_SYM in weak_alias.
7434         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7435         (PARMS): Do not use macros from bp-asm.h.
7436         (S): Likewise.
7437         (SIZE): Likewise.
7438         (__mpn_rshift): Do not use BP_SYM.
7439         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7440         (PARMS): Do not use macros from bp-asm.h.
7441         (SIGMSK): Likewise.
7442         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7443         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7444         (_start): Do not use BP_SYM.
7445         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7446         (PARMS): Do not use macros from bp-asm.h.
7447         (DEST): Likewise.
7448         (SRC): Likewise.
7449         (__stpcpy): Likewise.  Do not use BP_SYM.
7450         (stpcpy): Do not use BP_SYM in weak_alias.
7451         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7452         "bp-asm.h".
7453         (PARMS): Do not use macros from bp-asm.h.
7454         (DEST): Likewise.
7455         (SRC): Likewise.
7456         (LEN): Likewise.
7457         (__stpncpy): Likewise.  Do not use BP_SYM.
7458         (stpncpy): Do not use BP_SYM in weak_alias.
7459         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7460         (PARMS): Do not use macros from bp-asm.h.
7461         (STR): Likewise.
7462         (CHR): Likewise.
7463         (strchr): Likewise.  Do not use BP_SYM.
7464         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7465         "bp-asm.h".
7466         (PARMS): Do not use macros from bp-asm.h.
7467         (STR): Likewise.
7468         (CHR): Likewise.
7469         (__strchrnul): Likewise.  Do not use BP_SYM.
7470         (strchrnul): Do not use BP_SYM in weak_alias.
7471         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7472         "bp-asm.h".
7473         (PARMS): Do not use macros from bp-asm.h.
7474         (STOP): Likewise.
7475         (strcspn): Do not use BP_SYM.
7476         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7477         "bp-asm.h".
7478         (PARMS): Do not use macros from bp-asm.h.
7479         (STR): Likewise.
7480         (STOP): Likewise.
7481         (strpbrk): Likewise.  Do not use BP_SYM.
7482         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7483         "bp-asm.h".
7484         (PARMS): Do not use macros from bp-asm.h.
7485         (STR): Likewise.
7486         (CHR): Likewise.
7487         (strrchr): Likewise.  Do not use BP_SYM.
7488         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7489         (PARMS): Do not use macros from bp-asm.h.
7490         (SKIP): Likewise.
7491         (strspn): Do not use BP_SYM.
7492         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7493         (PARMS): Do not use macros from bp-asm.h.
7494         (STR): Likewise.
7495         (DELIM): Likewise.
7496         (SAVE): Likewise.
7497         (FUNCTION): Likewise.  Do not use BP_SYM.
7498         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7499         aliases.
7500         (strtok_r): Likewise.
7501         (__GI___strtok_r): Likewise.
7502         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7503         (PARMS): Do not use macros from bp-asm.h.
7504         (S1): Likewise.
7505         (S2): Likewise.
7506         (SIZE): Likewise.
7507         (__mpn_sub_n): Do not use BP_SYM.
7508         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7509         "bp-asm.h".
7510         (PARMS): Do not use macros from bp-asm.h.
7511         (S1): Likewise.
7512         (SIZE): Likewise.
7513         (__mpn_submul_1): Do not use BP_SYM.
7514         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7515         <bp-sym.h>.
7516         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7517         and <bp-asm.h>.
7518         (PARMS): Do not use macros from bp-asm.h.
7519         (FLAGS): Likewise.
7520         (PTID): Likewise.
7521         (TLS): Likewise.
7522         (CTID): Likewise.
7523         (__clone): Do not use BP_SYM.
7524         (clone): Do not use BP_SYM in weak_alias.
7525         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7526         and <bp-asm.h>.
7527         (PARMS): Do not use macros from bp-asm.h.
7528         (LEN): Likewise.
7529         (__mmap64): Do not use BP_SYM.
7530         (mmap64): Do not use BP_SYM in weak_alias.
7531         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7532         <bp-sym.h> and <bp-asm.h>.
7533         (PARMS): Do not use macros from bp-asm.h.
7534         (__posix_fadvise64_l64): Do not use BP_SYM.
7535         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7536         (PARMS): Do not use macros from bp-asm.h.
7537         (NSOPS): Likewise.
7538         (semtimedop): Do not use BP_SYM.
7539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7540         and <bp-asm.h>.
7542 2013-02-21  Allan McRae  <allan@archlinux.org>
7544         * manual/message.texi (Charset conversion in gettext):
7545         Move @end statement to beginning of line.
7547 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7550         static.
7551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7552         Likewise.
7554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7555         (denorm): Likewise.
7556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7559 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7561         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7562         tail-call to the resolved function if pltexit isn't needed.
7564 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7567         or Y being zero as being unlikely.
7568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7569         Likewise.
7571 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7573         * manual/nss.texi (System Databases and Name Service Switch):
7574         Remove frobnicate @pxref.
7576 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7578         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7579         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7581 2013-02-20  Petr Machata  <pmachata@redhat.com>
7583         * elf/elf.h (R_ARM_TARGET1): New macro.
7584         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7585         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7586         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7587         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7588         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7589         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7590         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7591         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7592         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7593         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7594         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7595         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7596         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7597         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7598         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7599         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7600         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7601         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7602         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7603         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7604         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7605         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7606         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7607         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7608         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7609         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7610         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7611         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7612         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7613         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7614         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7615         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7616         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7617         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7618         (R_ARM_THM_GOT_BREL12): Likewise.
7619         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7620         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7621         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7622         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7623         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7624         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7625         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7626         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7627         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7629 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7631         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7632         __attribute_used__ to __attribute__ ((unused)).
7634 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7636         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7637         powerpc mpa.c.
7638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7639         comment formatting.
7640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7642 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7644         [BZ #13550]
7645         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7646         Remove macro.
7647         (ENTER): Remove both macro definitions.
7648         (LEAVE): Likewise.
7649         (CHECK_BOUNDS_LOW): Likewise.
7650         (CHECK_BOUNDS_HIGH): Likewise.
7651         (CHECK_BOUNDS_BOTH): Likewise.
7652         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7653         (RETURN_BOUNDED_POINTER): Likewise.
7654         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7655         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7656         (POP_ERRNO_LOCATION_RETURN): Likewise.
7657         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7658         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7659         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7660         macros.
7661         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7662         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7663         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7664         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7665         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7666         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7667         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7668         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7669         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7670         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7671         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7672         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7673         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7674         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7675         removed macros.
7676         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7677         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7678         macros.
7679         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7680         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7681         * sysdeps/i386/i586/memset.S (memset): Likewise.
7682         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7683         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7684         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7685         macros.
7686         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7687         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7688         Change uses of L(2) to L(out).
7689         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7690         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7691         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7692         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7693         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7694         removed macros.
7695         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7696         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7697         macros.
7698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7699         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7700         (RETURN): Do not use macro LEAVE.
7701         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7702         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7703         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7704         * sysdeps/i386/i686/memset.S (memset): Likewise.
7705         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7706         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7707         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7708         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7709         Likewise.
7710         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7711         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
7712         L(1_2) and L(1_3) into L(1).
7713         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7714         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7715         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7716         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7717         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7718         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7719         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7720         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7721         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7722         macros.
7723         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7724         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7725         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7726         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7727         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7728         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7729         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7730         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7731         * sysdeps/i386/strcspn.S (strcspn): Likewise.
7732         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7733         * sysdeps/i386/strrchr.S (strrchr): Likewise.
7734         * sysdeps/i386/strspn.S (strspn): Likewise.
7735         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7736         conditional code.
7737         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7738         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7739         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7740         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
7741         L(1_3) into L(1_1).
7742         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7743         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7744         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7745         macros.
7746         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7748 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
7750         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7751         macro.
7753 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7755         * math/atest-exp.c (exp_mpn): Remove ROUND.
7756         * math/atest-exp2.c (exp_mpn): Likewise.
7757         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7759         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7760         * stdlib/tst-tls-atexit-lib.c: Likewise.
7761         * stdlib/tst-tls-atexit.c: Likewise.
7763 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7765         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7766         and __attribute_alloc_size__.
7768 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7770         * include/programs/xmalloc.h: Change __attribute_alloc_size to
7771         __attribute_alloc_size__.
7772         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7773         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7775 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7777         * include/programs/xmalloc.h: New file.
7778         * catgets/gencat.c: Include it.
7779         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7780         * elf/pldd.c: Likewise.
7781         * iconv/iconv_charmap.c: Likewise.
7782         * iconv/iconvconfig.c: Likewise.
7783         * iconv/strtab.c: Likewise.
7784         * locale/programs/locale.c: Likewise.
7785         * locale/programs/localedef.h: Likewise.
7786         * locale/programs/simple-hash.c: Likewise.
7787         * nscd/nscd.h: Likewise.
7788         * nss/makedb.c: Likewise.
7789         * sysdeps/generic/ldconfig.h: Likewise.
7791 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7793         * Versions.def: Add GLIBC_2.18.
7794         * include/link.h (struct link_map): New member l_tls_dtor_count.
7795         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7796         (__call_tls_dtors): Likewise.
7797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7798         __cxa_thread_atexit_impl.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7800         Likewise.
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7802         Likewise.
7803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7804         Likewise.
7805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7806         Likewise.
7807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7809         Likewise.
7810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7811         Likewise.
7812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7814         Likewise.
7815         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7816         (tests): Add test case tst-tls-atexit.
7817         (modules-names): Add shared library for tst-tls-atexit.
7818         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7819         (GLIBC_PRIVATE): Add __call_tls_dtors.
7820         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7821         for libstdc++.
7822         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7823         * stdlib/tst-tls-atexit.c: New test case.
7824         * stdlib/tst-tls-atexit-lib.c: New test case.
7826         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7828         * elf/Versions (ld): Add _dl_find_dso_for_object.
7829         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7830         * elf/dl-open.c (_dl_find_dso_for_object): New function.
7831         (dl_open_worker): Use _dl_find_dso_for_object.
7832         * elf/dl-sym.c (do_sym): Likewise.
7833         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7835 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7837         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7838         Syntactic changes only.
7839         (_dl_runtime_profile): Do a tail-call to the resolved function.
7841 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
7843         [BZ #13550]
7844         * sysdeps/x86_64/bp-asm.h: Remove file.
7845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7846         <bp-sym.h> and <bp-asm.h>.
7847         (__clone): Do not use BP_SYM.
7848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7849         <bp-sym.h> and <bp-asm.h>.
7850         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7851         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7852         "bp-asm.h".
7853         (_setjmp): Do not use BP_SYM.
7854         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7855         "bp-asm.h".
7856         (setjmp): Do not use BP_SYM.
7857         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7858         libc_hidden_def.
7859         (mempcpy): Do not use BP_SYM in weak_alias.
7860         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7861         "bp-asm.h".
7862         (strchr): Do not use BP_SYM.
7863         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7864         "bp-asm.h".
7865         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7866         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7867         (_start): Do not use BP_SYM.
7868         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7869         "bp-asm.h".
7870         (strcat): Do not use BP_SYM.
7871         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7872         "bp-asm.h".
7873         (STRCMP): Do not use BP_SYM.
7874         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7875         "bp-asm.h".
7876         (STRCPY): Do not use BP_SYM.
7877         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7878         "bp-asm.h".
7879         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7880         "bp-asm.h".
7881         (FUNCTION): Do not use BP_SYM.
7882         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7883         weak_alias.
7884         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7886 2013-02-17  Andreas Jaeger  <aj@suse.de>
7888         * time/Versions: Sort entries.
7889         * string/Versions: Likewise.
7890         * resolv/Versions: Likewise.
7891         * posix/Versions: Likewise.
7892         * iconv/Versions: Likewise.
7893         * elf/Versions: Likewise.
7894         * wcsmbs/Versions: Likewise.
7896 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7898         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7899         loop termination condition.
7901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7902         variable to calculate EZ.
7903         (__sqr): Likewise.
7905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7906         the lower precision input.
7908 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
7910         [BZ #13550]
7911         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7912         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7913         (run-via-rtld-prefix): Do not handle %-bp tests.
7914         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7915         (all-object-suffixes): Remove .ob.
7916         (bppfx): Remove variable.
7917         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7918         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7919         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7920         [$(build-bounded) = yes] (libtype.ob): Likewise.
7921         * Makerules (elide-routines.ob): Remove variable.
7922         (do-tests-clean): Do not handle *-bp.out.
7923         (common-mostlyclean): Do not handle *-bp and *-bp.out.
7924         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7925         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7926         (tests): Do not include $(tests-bp.out).
7927         (xtests): Do not include $(xtests-bp.out).
7928         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7929         [$(build-bounded) = yes] ($(addprefix
7930         $(objpfx),$(binaries-bounded))): Remove rule.
7931         ($(objpfx)%-bp.out): Remove rule.
7932         * config.make.in (build-bounded): Remove variable.
7933         * crypt/Makefile [$(build-bounded) = yes]
7934         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7935         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7936         append to variable.
7937         [$(build-bounded) = yes] (install-lib): Likewise.
7938         [$(build-bounded) = yes] (generated): Likewise.
7939         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7940         Remove rule.
7941         * intl/Makefile [$(build-bounded) = yes]
7942         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7943         * math/Makefile [$(build-bounded) = yes]
7944         ($(tests:%=$(objpfx)%-bp): Likewise.
7945         * misc/Makefile [$(build-bounded) = yes]
7946         ($(objpfx)tst-tsearch-bp): Likewise.
7947         * nptl/Makeconfig (bounded-thread-library): Remove variable.
7948         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7949         Remove dependency.
7950         * string/Makefile (o-objects.ob): Remove variable.
7951         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7952         (CFLAGS-.ob): Remove variable.
7953         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7954         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7955         both definitions of variable.
7956         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7957         (ASFLAGS-.ob): Remove variable.
7959 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
7961         [BZ #13550]
7962         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7963         Remove __BOUNDED_POINTERS__ from condition.
7964         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7965         * string/bits/string2.h [!__NO_STRING_INLINES &&
7966         !__BOUNDED_POINTERS__]: Likewise.
7967         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7968         Likewise.
7969         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7970         Remove conditional code.
7971         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7972         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7973         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7974         condition.
7976         [BZ #13550]
7977         * csu/libc-start.c: Do not include <bp-sym.h>.
7978         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7979         * elf/dl-open.c: Do not include <bp-sym.h>.
7980         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7981         * math/fegetenv.c: Do not include <bp-sym.h>.
7982         (fegetenv): Do not use BP_SYM in versioned symbols.
7983         * nptl/sysdeps/pthread/bits/libc-lockP.h
7984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7985         <bp-sym.h>.
7986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7987         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7989         (__pthread_mutex_destroy): Likewise.
7990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7991         (__pthread_mutex_lock): Likewise.
7992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7993         (__pthread_mutex_trylock): Likewise.
7994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7995         (__pthread_mutex_unlock): Likewise.
7996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7997         (__pthread_mutexattr_init): Likewise.
7998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7999         (__pthread_mutexattr_destroy): Likewise.
8000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8001         (__pthread_mutexattr_settype): Likewise.
8002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8003         (__pthread_rwlock_init): Likewise.
8004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8005         (__pthread_rwlock_destroy): Likewise.
8006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8007         (__pthread_rwlock_rdlock): Likewise.
8008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8009         (__pthread_rwlock_tryrdlock): Likewise.
8010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8011         (__pthread_rwlock_wrlock): Likewise.
8012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8013         (__pthread_rwlock_trywrlock): Likewise.
8014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8015         (__pthread_rwlock_unlock): Likewise.
8016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8017         (__pthread_key_create): Likewise.
8018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8019         (__pthread_setspecific): Likewise.
8020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8021         (__pthread_getspecific): Likewise.
8022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8023         Likewise.
8024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8025         (_pthread_cleanup_push_defer): Likewise.
8026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8027         (_pthread_cleanup_pop_restore): Likewise.
8028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8029         (pthread_setcancelstate): Likewise.
8030         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8031         <bp-sym.h>.
8032         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8033         (memchr): Do not use BP_SYM in weak_alias.
8034         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8035         (fegetenv): Do not use BP_SYM in versioned symbols.
8036         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8037         (fesetenv): Do not use BP_SYM in versioned symbols.
8038         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8039         (feupdateenv): Do not use BP_SYM in versioned symbols.
8040         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8041         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8042         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8043         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8044         (open64): Do not use BP_SYM in weak_alias.
8045         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8046         (fegetenv): Do not use BP_SYM in versioned symbols.
8047         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8048         (fesetenv): Do not use BP_SYM in versioned symbols.
8049         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8050         (feupdateenv): Do not use BP_SYM in versioned symbols.
8051         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8052         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8053         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8054         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8055         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8056         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8057         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8058         <bp-sym.h>.
8059         (__libc_start_main): Do not use BP_SYM.
8061 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8064         redundant return line.
8065         (norm): Likewise.
8066         (denorm): Likewise.
8067         (dbl_mp): Likewise.
8068         (sub_magnitudes): Likewise.
8069         (__add): Likewise.
8070         (__sub): Likewise.
8071         (__mul): Likewise.
8072         (__inv): Likewise.
8073         (__dvd): Likewise.
8074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8075         (norm): Likewise.
8076         (denorm): Likewise.
8077         (dbl_mp): Likewise.
8078         (sub_magnitudes): Likewise.
8079         (__add): Likewise.
8080         (__sub): Likewise.
8081         (__mul): Likewise.
8082         (__inv): Likewise.
8083         (__dvd): Likewise.
8085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8086         instead of __mul.
8087         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8088         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8089         (cc32): Likewise.
8091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8092         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8094         of __mul for squares.
8095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8096         function
8097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8098         Likewise.
8099         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8100         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8102 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8104         [BZ #13550]
8105         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8106         code.
8107         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8108         prototype or function definition.  Rename ubp_* variables and
8109         parameters.  Remove argv definitions conditional on
8110         [__BOUNDED_POINTERS__].
8111         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8112         * elf/dl-runtime.c (_dl_fixup): Likewise.
8113         * include/set-hooks.h (RUN_HOOK): Likewise.
8114         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8115         definition.
8116         * string/strcpy.c (strcpy): Do not use __unbounded.
8117         * sysdeps/generic/frame.h (struct layout): Likewise.
8118         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8119         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8120         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8121         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8122         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8123         (__backtrace): Likewise.
8124         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8125         use __ptrvalue.
8126         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8127         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8128         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8129         Likewise.
8130         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8131         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8133         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8134         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8135         Do not use __unbounded.
8136         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8137         Rename __unboundedrlimits parameter to rlimits in prototype.
8138         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8139         Do not use __unbounded.
8140         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8141         not use __ptrvalue.
8142         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8143         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8144         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8145         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8146         __ptrvalue or __unbounded.
8147         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8148         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8149         use __unbounded.
8150         (__new_msgctl): Do not use __ptrvalue.
8151         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8152         __unbounded.
8153         (__libc_msgrcv): Do not use __ptrvalue.
8154         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8155         startup_info): Do not use __unbounded.
8156         (__libc_start_main): Likewise.  Rename ubp_* variables and
8157         parameters.  Remove argv definitions conditional on
8158         [__BOUNDED_POINTERS__].
8159         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8160         __ptrvalue.
8161         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8162         use __unbounded.
8163         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8164         or __ptrvalue.
8165         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8166         use __unbounded.
8167         (__new_shmctl): Do not use __ptrvalue.
8168         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8169         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8170         Likewise.
8171         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8172         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8173         (__libc_sigaction): Likewise.
8174         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8175         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8176         Likewise.
8177         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8179 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8181         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8183         * string/mempcpy.c: Implement by calling memcpy.
8185 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8190         evaluation.
8192         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8193         values in the mantissa.
8195         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8196         minimize writes to Z.
8197         (sub_magnitudes): Simplify code a bit.
8199 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8201         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8202         from the message.  The linker prefixes all warnings with that already.
8204 2013-02-12  Andreas Schwab  <schwab@suse.de>
8206         [BZ #15078]
8207         * posix/regexec.c (extend_buffers): Add parameter min_len.
8208         (check_matching): Pass minimum needed length.
8209         (clean_state_log_if_needed): Likewise.
8210         (get_subexp): Likewise.
8211         * posix/Makefile (tests): Add bug-regex34.
8212         (bug-regex34-ENV): Define.
8213         * posix/bug-regex34.c: New file.
8215         [BZ #11561]
8216         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8217         elements compare against the byte sequence of it, not its name.
8218         * posix/Makefile (tests): Add bug-regex35.
8219         (bug-regex35-ENV): Define.
8220         * posix/bug-regex35.c: New file.
8222 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8224         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8225         comment.
8226         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8227         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8228         (CHECK_EOL): Add undef.
8230 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8232         * bits/stdlib-bsearch.h: New file.
8233         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8234         * stdlib/stdlib.h: Likewise.
8236 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8238         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8239         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8240         declaration.
8241         * manual/search.texi (Array Search Function): Add missing const in
8242         lfind prototype.
8243         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8244         declaration to use rlim_t.
8245         (Basic Scheduling Functions): Remove erroneous const from
8246         sched_getparam prototype.  Remove erroneous * from
8247         sched_get_priority_max and sched_get_priority_min prototypes.
8248         (Resource Usage): Fix summary @comment on vtimes to refer to
8249         sys/vtimes.h rather than vtimes.h.
8250         Add missing *s in vtimes prototype.
8251         (Limits on Resources): Fix ulimit prototype to return long int.
8252         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8253         prototypes to use long int rather than double.
8254         (BSD Random): Fix initstate and setstate to use char *, not void *.
8255         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8256         prototype to make second argument 'struct aiocb64 *const[]'.
8257         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8258         (Status of AIO Operations): Remove erroneous const in aio_return and
8259         aio_return64 prototypes.
8260         (Synchronizing I/O): Fix sync prototype to return void.
8261         * manual/startup.texi (Suboptions): Remove an erroneous const in
8262         getsubopt prototype.
8263         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8264         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8265         use size_t rather than int.
8266         (Scanning All Users): Likewise for getpwent_r.
8267         (Setting Groups): Add missing const to setgroups prototype.
8268         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8269         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8270         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8271         'const void *' rather than 'const char *'.
8272         (Host Address Functions): Likewise for inet_ntop.
8273         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8274         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8275         ssize_t for return value.
8276         (Sending Data): Likewise for send, sendto, sendmsg.
8277         (Socket Option Functions): Add a missing const in setsockopt prototype.
8278         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8279         use wchar_t for the argument.
8280         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8281         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8282         take no arguments.
8283         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8284         double/float/long double for second argument.
8285         Fix return types of significand, significandf, significandl.
8286         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8287         argument in fchmod prototype.
8288         (File Owner): Use uid_t and gid_t in fchown prototype.
8289         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8290         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8291         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8292         use 'const struct dirent **' as argument types to CMP function pointer
8293         argument.
8294         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8295         (File Times): Fix summary magic @comment for struct utimbuf and utime
8296         to refer to utime.h, not time.h.
8297         * manual/string.texi (Argz Functions): Add missing const in
8298         argz_extract and argz_next prototypes.
8299         (Finding Tokens in a String): Likewise for basename.
8300         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8301         (Copying and Concatenation): Fix typo in wmemmove prototype.
8302         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8303         (Signal Stack): Remove erroneous const in sigstack prototype.
8304         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8305         prototype.
8306         (Simple Calendar Time): Likewise for stime.
8307         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8308         prototype.
8309         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8310         say sys/sysctl.h instead.
8311         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8312         and vsyslog prototypes.
8314 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8316         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8317         Remove.
8319 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8321         * misc/sys/mman.h: Fix typo in mremap comment.
8323 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8325         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8326         the '\0' terminator.
8328 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8330         [BZ #13550]
8331         * debug/segfault.c: Don't include <bp-checks.h>.
8332         * sysdeps/generic/bp-checks.h: Remove file.
8333         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8334         (__GETDENTS): Don't use CHECK_N.
8335         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8336         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8337         (__getgroups): Don't use CHECK_N.
8338         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8339         (setgroups): Don't use CHECK_N.
8340         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8341         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8342         (__libc_msgrcv): Don't use CHECK_N.
8343         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8344         (__libc_msgsnd): Don't use CHECK_N.
8345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8346         <bp-checks.h>.
8347         (__libc_pread): Don't use CHECK_N.
8348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8349         include <bp-checks.h>.
8350         (__libc_pread64): Don't use CHECK_N.
8351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8352         include <bp-checks.h>.
8353         (__libc_pwrite): Don't use CHECK_N.
8354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8355         include <bp-checks.h>.
8356         (__libc_pwrite64): Don't use CHECK_N.
8357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8358         <bp-checks.h>.
8359         (__libc_pread): Don't use CHECK_N.
8360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8361         include <bp-checks.h>.
8362         (__libc_pread64): Don't use CHECK_N.
8363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8364         include <bp-checks.h>.
8365         (__libc_pwrite): Don't use CHECK_N.
8366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8367         include <bp-checks.h>.
8368         (__libc_pwrite64): Don't use CHECK_N.
8369         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8370         (do_pread): Don't use CHECK_N.
8371         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8372         (do_pread64): Don't use CHECK_N.
8373         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8374         (do_pwrite): Don't use CHECK_N.
8375         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8376         (do_pwrite64): Don't use CHECK_N.
8377         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8378         (__libc_readv): Don't use CHECK_N.
8379         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8380         (semop): Don't use CHECK_N.
8381         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8382         <bp-checks.h>.
8383         (semtimedop): Don't use CHECK_N.
8384         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8385         (__libc_pread): Don't use CHECK_N.
8386         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8387         <bp-checks.h>.
8388         (__libc_pread64): Don't use CHECK_N.
8389         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8390         <bp-checks.h>.
8391         (__libc_pwrite): Don't use CHECK_N.
8392         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8393         <bp-checks.h>.
8394         (__libc_pwrite64): Don't use CHECK_N.
8395         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8396         <bp-checks.h>.
8397         (__libc_msgrcv): Don't use CHECK_N.
8398         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8399         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8400         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8401         (__libc_writev): Don't use CHECK_N.
8403 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8405         * string/strcpy.c: Removed unused variable.
8407         * Makeconfig (+sysdep-includes): Define with := rather than =.
8408         Use an existing include/ subdir of each sysdeps dir before it.
8410 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8412         * nscd/connection.c (register_traced_file): Comment function.
8413         [HAVE_INOTIFY] (union __inev): Define.
8414         [HAVE_INOTIFY] (inotify_check_files): New function.
8415         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8416         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8417         clear_db_cache.
8418         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8420 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8422         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8423         loaded if not already and that a failure is permanent.
8425 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8427         [BZ #15006]
8428         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8429         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8431 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8433         [BZ #13550]
8434         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8435         (CHECK_1_NULL_OK): Likewise.
8436         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8437         (__fxstat): Do not use CHECK_1.
8438         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8439         <bp-checks.h>.
8440         (___fxstat64): Do not use CHECK_1.
8441         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8442         <bp-checks.h>.
8443         (__fxstatat): Do not use CHECK_1.
8444         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8445         <bp-checks.h>.
8446         (__fxstatat64): Do not use CHECK_1.
8447         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8448         <bp-checks.h>.
8449         (__fxstat): Do not use CHECK_1.
8450         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8451         <bp-checks.h>.
8452         (__fxstatat): Do not use CHECK_1.
8453         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8454         <bp-checks.h>.
8455         (__getresgid): Do not use CHECK_1.
8456         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8457         <bp-checks.h>.
8458         (__getresuid): Do not use CHECK_1.
8459         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8460         <bp-checks.h>.
8461         (__lxstat): Do not use CHECK_1.
8462         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8463         <bp-checks.h>.
8464         (__old_msgctl): Do not use CHECK_1.
8465         (__new_msgctl): Likewise.
8466         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8467         <bp-checks.h>.
8468         (__new_setrlimit): Do not use CHECK_1.
8469         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8470         <bp-checks.h>.
8471         (__old_shmctl): Do not use CHECK_1.
8472         (__new_shmctl): Likewise.
8473         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8474         <bp-checks.h>.
8475         (__xstat): Do not use CHECK_1.
8476         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8477         (__lxstat): Do not use CHECK_1.
8478         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8479         <bp-checks.h>.
8480         (___lxstat64): Do not use CHECK_1.
8481         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8482         (__old_msgctl): Do not use CHECK_1.
8483         (__new_msgctl): Likewise.
8484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8485         <bp-checks.h>.
8486         (__gettimeofday): Do not use CHECK_1.
8487         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8488         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8489         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8490         <bp-checks.h>.
8491         (__gettimeofday): Do not use CHECK_1.
8492         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8493         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8494         (__new_shmctl): Do not use CHECK_1.
8495         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8496         <bp-checks.h>.
8497         (do_sigtimedwait): Do not use CHECK_1.
8498         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8499         <bp-checks.h>.
8500         (do_sigwaitinfo): Do not use CHECK_1.
8501         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8502         <bp-checks.h>.
8503         (msgctl): Do not use CHECK_1.
8504         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8505         <bp-checks.h>.
8506         (shmctl): Do not use CHECK_1.
8507         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8508         (ustat): Do not use CHECK_1.
8509         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8510         <bp-checks.h>.
8511         (__fxstat): Do not use CHECK_1.
8512         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8513         <bp-checks.h>.
8514         (__fxstatat): Do not use CHECK_1.
8515         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8516         <bp-checks.h>.
8517         (__lxstat): Do not use CHECK_1.
8518         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8519         <bp-checks.h>.
8520         (__xstat): Do not use CHECK_1.
8521         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8522         (__xstat): Do not use CHECK_1.
8523         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8524         (___xstat64): Do not use CHECK_1.
8526         [BZ #13550]
8527         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8528         definitions.
8529         (CHECK_BOUNDS_HIGH): Likewise.
8530         * string/strcpy.c: Do not include <bp-checks.h>.
8531         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8533 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8535         * nscd/nscd-client.h (__nscd_drop_map_ref):
8536         Add __attribute__ ((unused)).
8537         * nis/nss-nisplus.h (niserr2nss): Likewise.
8539         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8540         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8542         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8543         Remove inline keyword.
8544         * include/rounding-mode.h (round_away): Likewise.
8545         * libio/wfileops.c (adjust_wide_data): Likewise.
8546         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8547         (__m128i_strloadu_tolower): Likewise.
8548         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8549         (__m128i_strloadu_tolower): Likewise.
8550         * time/mktime.c (ydhms_diff): Likewise.
8551         * locale/elem-hash.h (elem_hash): Likewise.
8552         * locale/setlocale.c (setdata): Likewise.
8553         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8554         (re_string_wchar_at): Likewise.
8555         (bitset_not, bitset_merge, bitset_mask): Likewise.
8556         [!(__GNUC__ > 3)] (inline): Remove macro.
8557         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8558         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8559         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8560         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8561         * string/memcmp.c (memcmp_bytes): Likewise.
8562         * locale/programs/locarchive.c (compute_hashval): Likewise.
8563         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8564         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8565         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8566         * nss/getent.c (print_rpc, print_protocols): Likewise.
8567         (print_passwd, print_group, print_aliases): Likewise.
8568         * nis/nss-nisplus.h (niserr2nss): Likewise.
8569         * nscd/connections.c (restart_p): Likewise.
8570         Change return type to bool.
8572 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8574         * Makeconfig (all-Depend-files): Add existing
8575         $(sorted-subdirs:=/Depend) files.
8576         (all-subdirs): Remove nss.
8577         * sysdeps/unix/inet/Subdirs: Add it here instead.
8578         * hesiod/Depend: New file.
8580         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8581         instead of calling alloca.
8583         * io/lseek.c (__lseek): Rename to __libc_lseek.
8584         Define __lseek as an alias.
8586         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8588 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8590         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8591         else clause and remove check for non-standard endianness.
8593 2013-02-04  David S. Miller  <davem@davemloft.net>
8595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8597 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8599         [BZ #13550]
8600         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8601         (__ubp_memchr): Remove prototype.
8602         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8603         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8604         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8605         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8606         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8607         Remove alias.
8608         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8609         (__ubp_memchr): Likewise.
8610         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8611         (__ubp_memchr): Likewise.
8612         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8613         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8614         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8615         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8616         CHECK_STRING.
8617         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8618         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8619         (__getcwd): Do not use CHECK_STRING.
8620         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8621         <bp-checks.h>.
8622         (__real_chown): Do not use CHECK_STRING.
8623         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8624         <bp-checks.h>.
8625         (fchownat): Do not use CHECK_STRING.
8626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8627         CHECK_STRING.
8628         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8629         <bp-checks.h>.
8630         (__lchown): Do not use CHECK_STRING.
8631         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8632         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8633         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8634         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8636         include <bp-checks.h>.
8637         (truncate64): Do not use CHECK_STRING.
8638         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8639         <bp-checks.h>.
8640         (__real_chown): Do not use CHECK_STRING.
8641         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8642         <bp-checks.h>.
8643         (__lchown): Do not use CHECK_STRING.
8644         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8645         <bp-checks.h>.
8646         (__chown): Do not use CHECK_STRING.
8647         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8648         <bp-checks.h>.
8649         (truncate64): Do not use CHECK_STRING.
8650         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8653         (__xmknod): Do not use CHECK_STRING.
8654         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8655         <bp-checks.h>.
8656         (__xmknodat): Do not use CHECK_STRING.
8657         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8658         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8660 2013-02-04  Andreas Schwab  <schwab@suse.de>
8662         [BZ #14142]
8663         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8664         * include/netdb.h: Likewise for h_errno.
8665         * elf/tst-stackguard1.c: Include <tls.h>.
8667 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8669         * elf/link.h (struct link_map): Extend the l_addr comment.
8670         * include/link.h (struct link_map): Likewise.
8672 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8674         [BZ #13550]
8675         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8676         (BOUNDED_1): Remove macro.
8677         * debug/backtrace.c: Don't include <bp-checks.h>.
8678         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8679         (__backtrace): Likewise.
8680         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8681         <bp-checks.h>.
8682         (__backtrace): Don't use BOUNDED_1.
8683         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8684         <bp-checks.h>.
8685         (__backtrace): Don't use BOUNDED_1.
8686         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8687         (__backtrace): Don't use BOUNDED_1.
8688         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8689         (shmat): Don't use BOUNDED_N.
8691 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #13550]
8694         * sysdeps/generic/bp-start.h: Remove file.
8695         * csu/libc-start.c: Don't include <bp-start.h>.
8696         (LIBC_START_MAIN): Set up __environ directly instead of using
8697         INIT_ARGV_and_ENVIRON.
8698         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8699         <bp-start.h>.
8701         [BZ #13550]
8702         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8703         definitions.
8704         (CHECK_FCNTL): Likewise.
8705         (CHECK_N_PAGES): Likewise.
8707         [BZ #13550]
8708         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8709         definitions.
8710         (CHECK_SIGSET_NULL_OK): Likewise.
8711         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8712         <bp-checks.h>.
8713         (sigpending): Don't use CHECK_SIGSET.
8714         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8715         <bp-checks.h>.
8716         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8717         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8718         <bp-checks.h>.
8719         (do_sigsuspend): Don't use CHECK_SIGSET.
8720         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8721         use CHECK_SIGSET.
8722         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8723         (do_sigwait): Don't use CHECK_SIGSET.
8724         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8725         use CHECK_SIGSET.
8726         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8727         include <bp-checks.h>.
8728         (sigpending): Don't use CHECK_SIGSET.
8729         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8730         include <bp-checks.h>.
8731         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8732         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8733         <bp-checks.h>.
8734         (sigpending): Don't use CHECK_SIGSET.
8735         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8736         <bp-checks.h>.
8737         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8739         [BZ #13550]
8740         * sysdeps/generic/bp-semctl.h: Remove file.
8741         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8742         <bp-checks.h> and <bp-semctl.h>.
8743         (__old_semctl): Don't use CHECK_SEMCTL.
8744         (__new_semctl): Likewise.
8745         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8746         and <bp-semctl.h>.
8747         (__old_semctl): Don't use CHECK_SEMCTL.
8748         (__new_semctl): Likewise.
8749         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8750         <bp-checks.h> and <bp-semctl.h>.
8751         (__old_semctl): Don't use CHECK_SEMCTL.
8752         (__new_semctl): Likewise.
8753         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8754         <bp-checks.h> and <bp-semctl.h>.
8755         (semctl): Don't use CHECK_SEMCTL.
8757         [BZ #13550]
8758         * Makerules (elide-bp-thunks): Remove variable.
8759         (elide-routines.oS): Don't use $(elide-bp-thunks).
8760         (elide-routines.os): Likewise.
8761         (elide-routines.o): Likewise.
8762         (elide-routines.op): Likewise.
8763         (elide-routines.og): Likewise.
8764         (objects): Don't use $(bp-thunks).
8765         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8766         include.
8767         (common-generated): Do not add s-proto-bp.d.
8768         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8769         (int): Likewise.
8770         (typ): Likewise.
8771         Do not generate makefile rules for bounded-pointer thunks.
8772         * sysdeps/generic/bp-thunks.h: Remove file.
8773         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8774         * sysdeps/unix/s-proto-bp.S: Likewise.
8776         [BZ #15062]
8777         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8778         parts of result separately when argument is not close to line from
8779         -i to i and one part of argument is small.
8780         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8781         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8782         * math/libm-test.inc (cacos_test): Add more tests.
8783         (casin_test): Likewise.
8784         (casinh_test): Likewise.
8785         * sysdeps/i386/fpu/libm-test-ulps: Update.
8786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8788 2013-01-31  David S. Miller  <davem@davemloft.net>
8790         * po/de.po: Update from translation team.
8792 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
8794         * time/tzfile.c: Include stdint.h for SIZE_MAX.
8796 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
8798         * configure.in (_AC_PROG_CC_C89): New definition.
8799         * configure: Regenerate.
8801         * configure.in (AC_PROG_CPP): New definition.
8802         * configure: Regenerate.
8804 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8806         * debug/tst-backtrace.h: New file.
8807         * debug/tst-backtrace2.c: Include tst-backtrace.h.
8808         (ret): Remove variable.
8809         (x): Likewise.
8810         (FAIL): Remove macro.
8811         (NO_INLINE): Likewise.
8812         (fn1): Use match function instead of strstr.
8813         * debug/tst-backtrace3.c: Include tst-backtrace.h.
8814         (ret): Remove variable.
8815         (x): Likewise.
8816         (FAIL): Remove macro.
8817         (NO_INLINE): Likewise.
8818         (fn): Use match function instead of strstr.
8819         * debug/tst-backtrace4.c: Include tst-backtrace.h.
8820         (ret): Remove variable.
8821         (x): Likewise.
8822         (FAIL): Remove macro.
8823         (NO_INLINE): Likewise.
8824         (handle_signal): Use match function instead of strstr.
8825         * debug/tst-backtrace5.c: Include tst-backtrace.h.
8826         (ret): Remove variable.
8827         (x): Likewise.
8828         (FAIL): Remove macro.
8829         (NO_INLINE): Likewise.
8830         (handle_signal): Use match function instead of strstr.
8832 2013-01-23  Roland McGrath  <roland@hack.frob.com>
8834         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8836 2013-01-23  David S. Miller  <davem@davemloft.net>
8838         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8839         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8840         argument of CAS if possible.
8841         * sysdeps/sparc/sparc64/bits/atomic.h
8842         (__arch_compare_and_exchange_val_32_acq): Likewise.
8843         (__arch_compare_and_exchange_val_64_acq): Likewise.
8845 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
8847         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8848         * sysdeps/posix/ulimit.c: ... this.
8849         Include <limits.h>.
8850         * sysdeps/unix/bsd/ulimit.c: Remove file.
8852 2013-01-23  Adam Conrad  <adconrad@0c3.net>
8854         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8855         (LDFLAGS-tst-array5): Likewise.
8857 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8859         [BZ #15036]
8860         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8861         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8862         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8863         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8865 2013-01-21  David S. Miller  <davem@davemloft.net>
8867         * sysdeps/sparc/backtrace.c: New file.
8868         * sysdeps/sparc/sparc32/backtrace.h: New file.
8869         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8870         * sysdeps/sparc/sparc64/backtrace.h: New file.
8871         * sysdeps/sparc/sparc64/backtrace.c: Delete.
8872         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8873         -funwind-tables.
8875 2013-01-21  Andreas Schwab  <schwab@suse.de>
8877         [BZ #15020]
8878         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8879         closed its stdout.
8881 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
8883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8884         "mpa2.h".
8885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8887 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
8888             Mark Mitchell  <mark@codesourcery.com>
8889             Tom de Vries  <tom@codesourcery.com>
8890             Paul Pluzhnikov  <ppluzhnikov@google.com>
8892         * debug/tst-backtrace2.c: New file.
8893         * debug/tst-backtrace3.c: Likewise.
8894         * debug/tst-backtrace4.c: Likewise.
8895         * debug/tst-backtrace5.c: Likewise.
8896         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8897         (CFLAGS-tst-backtrace3.c): Likewise.
8898         (CFLAGS-tst-backtrace4.c): Likewise.
8899         (CFLAGS-tst-backtrace5.c): Likewise.
8900         (LDFLAGS-tst-backtrace2): Likewise.
8901         (LDFLAGS-tst-backtrace3): Likewise.
8902         (LDFLAGS-tst-backtrace4): Likewise.
8903         (LDFLAGS-tst-backtrace5): Likewise.
8904         (tests): Add new tests tst-backtrace2, tst-backtrace3,
8905         tst-backtrace4 and tst-backtrace5.
8907 2013-01-18  Anton Blanchard  <anton@samba.org>
8908             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8910         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8911         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8913         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8915         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8916         "+r" and remove output regs list as redundant.  Add explicit inline
8917         asm to specify register of return val to work around compiler codegen
8918         bug.  Remove (int) cast on return value.  Add return type parameter to
8919         use in macro so that this macro does not truncate return value for
8920         64-bit values.
8921         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8922         pass to INTERNAL_VSYSCALL_NCS.
8923         (INLINE_VSYSCALL): Add 'long int' as return type to
8924         INTERNAL_VSYSCALL_NCS macro invocation.
8925         (INTERNAL_VSYSCALL): Add 'long int' as return type to
8926         INTERNAL_VSYSCALL_NCS macro invocation.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8929 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8931         [BZ #14496]
8932         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8933         Fix application of SIMD FP exception mask.
8935         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8936         mp_no from a power of two.
8937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8938         __mpexp_twomm1.  Use __pow_mp.
8940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8941         multiplication.
8943 2013-01-17  David S. Miller  <davem@davemloft.net>
8945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8947 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
8949         [BZ #15023]
8950         * include/complex.h: Condition contents on [!_COMPLEX_H].
8951         (__kernel_casinhf): New prototype.
8952         (__kernel_casinh): Likewise.
8953         (__kernel_casinhl): Likewise.
8954         * math/Makefile (libm_calls): Add k_casinh.
8955         * math/k_casinh.c: New file.
8956         * math/k_casinhf.c: Likewise.
8957         * math/k_casinhl.c: Likewise.
8958         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8959         finite nonzero arguments.
8960         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8961         finite nonzero arguments.
8962         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8963         finite nonzero arguments.
8964         * math/s_casinh.c: Do not include <float.h>.
8965         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8966         * math/s_casinhf.c: Do not include <float.h>.
8967         (__casinhf): Move code for finite nonzero arguments to
8968         k_casinhf.c.
8969         * math/s_casinhl.c: Do not include <float.h>.
8970         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8971         redefine.
8972         (__casinhl): Move code for finite nonzero arguments to
8973         k_casinhl.c.
8974         * math/libm-test.inc (cacos_test): Add more tests.
8975         * sysdeps/i386/fpu/libm-test-ulps: Update.
8976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8978 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
8980         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8981         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8982         [!HAVE_MREMAP]: Remove [defined linux] case.
8983         * malloc/arena.c: Do not include <malloc-sysdep.h>.
8985 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8987         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8989 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
8991         * elf/elf.h (R_386_SIZE32): New relocation.
8992         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8993         R_386_SIZE32.
8994         (elf_machine_rela): Likewise.
8995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8996         R_X86_64_SIZE64 and R_X86_64_SIZE32.
8998 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9000         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9001         (FP_FAST_FMA): Do not define.
9002         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9003         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9004         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9005         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9006         !_SOFT_FLOAT]: Likewise.
9007         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9008         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9009         value.
9010         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9011         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9012         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9013         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9014         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9015         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9016         file.
9018 2013-01-16  Andreas Schwab  <schwab@suse.de>
9020         [BZ #14327]
9021         * include/stdlib.h (__mktemp): Add declaration.
9022         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9023         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9025 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9027         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9028         definitions.
9029         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9030         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9031         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9032         definitions here.
9033         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9034         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9035         definitions.
9036         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9037         and ONE.
9038         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9039         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9040         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9041         definitions.
9042         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9043         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9044         definitions.
9045         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9047         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9049 2013-01-15  David S. Miller  <davem@davemloft.net>
9051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9052         trunc{,f} to libm-sysdep_routes.
9053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9055         file.
9056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9058         file.
9059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9060         file.
9061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9063         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9064         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9065         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9066         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9067         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9068         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9071         nearbyint{,f} to libm-sysdep_routes.
9072         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9074         New file.
9075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9076         file.
9077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9078         New file.
9079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9080         file.
9081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9083         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9084         file.
9085         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9086         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9087         file.
9088         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9089         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9090         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9092         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9093         libc_feholdexcept and libc_fesetenv.
9095 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9097         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9099 2013-01-14  David S. Miller  <davem@davemloft.net>
9101         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9102         (SPARC_ASM_VIS2_IFUNC): Likewise.
9103         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9105         use of 'siam' instruction.
9106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9107         Likewise.
9108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9109         Likewise.
9110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9111         Likewise.
9112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9115         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9117         file.
9118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9119         file.
9120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9121         file.
9122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9123         file.
9124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9129         new VIS2 routines.
9130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9133         Likewise.
9134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9136         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9137         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9139         routines to libm-sysdep_routines.
9140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9143         fdim/fdimf to libm-sysdep_routines.
9144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9145         file.
9146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9148         file.
9149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9152         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9153         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9154         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9155         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9157 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9159         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9160         to optimize copies.
9162         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9163         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9167         local variable MPTWO.
9168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9169         Likewise.
9171 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9173         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9174         GLOB_NOESCAPE.
9176 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9178         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9180 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9182         * manual/pattern.texi (glob_t): Document gl_flags.
9183         (glob64_t): Likewise.
9185 2013-01-11  David S. Miller  <davem@davemloft.net>
9187         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9188         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9189         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9190         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9191         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9192         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9193         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9194         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9195         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9196         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9197         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9198         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9199         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9201         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9202         sparc V9 rather than using V8 code.
9203         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9204         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9206         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9207         Move to...
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9209         Here.
9211 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9213         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9214         not in the main loop.
9215         * configure: Regenerated.
9217 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9219         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9220         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9221         to just #else.
9222         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9223         [!__GLIBC_HAVE_LONG_LONG] case.
9224         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9225         condition to just #else.
9226         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9227         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9228         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9229         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9230         unconditional.
9231         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9232         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9233         #elif condition to just #else.
9234         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9235         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9236         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9237         #elif condition to just #else.
9239 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9241         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9242         (EF_MIPS_ARCH_64): Fix value.
9243         (EF_MIPS_ARCH_32R2): New.
9244         (EF_MIPS_ARCH_64R2): New.
9246 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9248         * Makeconfig (+link-pie-before-libc): New.
9249         (+link-pie-after-libc): Likewise.
9250         (+link-pie-tests): Likewise.
9251         (+link-pie): Rewritten.
9252         (link-before-libc): Remove $(config-LDFLAGS).
9253         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9254         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9255         (config-LDFLAGS): Renamed to ...
9256         (rtld-LDFLAGS): This.
9257         (rtld-tests-LDFLAGS): New macro.
9258         (link-libc-rpath-link): Likewise.
9259         (link-libc-tests-rpath-link): Likewise.
9260         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9261         (link-libc): Prepand $(link-libc-rpath-link).
9262         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9263         (test-program-prefix): New macro.
9264         (test-via-rtld-prefix): Likewise.
9265         (test-program-cmd): Likewise.
9266         (host-test-program-cmd): Likewise.
9267         * Makefile ($(common-objpfx)testrun.sh): Replace
9268         $(run-program-prefix) with $(test-program-prefix).
9269         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9270         $(rtld-LDFLAGS).
9271         ($(common-objpfx)shlib.lds): Likewise.
9272         (build-module-helper): Likewise.
9273         ($(common-objpfx)format.lds): Likewise.
9274         * Rules (binaries-pie-tests): New.
9275         (binaries-pie-notests): Likewise.
9276         (binaries-pie): Rewritten.
9277         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9278         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9279         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9280         (make-test-out): Replace $(host-built-program-cmd) with
9281         $(host-test-program-cmd).
9282         * config.make.in (build-hardcoded-path-in-tests): New variable.
9283         * configure.in (--enable-hardcoded-path-in-tests): New configure
9284         option.
9285         (hardcoded_path_in_tests): New AC_SUBST.
9286         * configure: Regenerated.
9287         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9288         $(built-program-cmd) with $(test-program-cmd).
9289         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9290         (test_program_cmd): This.
9291         * elf/Makefile ($(objpfx)order.out): Run test with
9292         $(test-program-prefix).
9293         ($(objpfx)order2.out): Likewise.
9294         ($(objpfx)tst-initorder.out): Likewise.
9295         ($(objpfx)tst-initorder2.out): Likewise.
9296         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9297         $(test-program-cmd).
9298         ($(objpfx)tst-array1-static.out): Likewise.
9299         ($(objpfx)tst-array2.out): Likewise.
9300         ($(objpfx)tst-array3.out): Likewise.
9301         ($(objpfx)tst-array4.out): Likewise.
9302         ($(objpfx)tst-array5.out): Likewise.
9303         ($(objpfx)tst-array5-static.out): Likewise.
9304         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9305         $(test-program-cmd).
9306         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9307         $(run-program-prefix) with $(test-program-prefix).
9308         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9309         (test_program_prefix): This.
9310         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9311         $(run-program-prefix) with $(test-program-prefix).
9312         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9313         (test_program_prefix): This.
9314         * iconvdata/tst-tables.sh: Likewise.
9315         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9316         $(run-program-prefix) with $(test-program-prefix).
9317         ($(objpfx)tst-translit.out): Likewise.
9318         ($(objpfx)tst-gettext2.out): Likewise.
9319         ($(objpfx)tst-gettext4.out): Likewise.
9320         ($(objpfx)tst-gettext6.out): Likewise.
9321         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9322         (test_program_prefix): This.
9323         * intl/tst-gettext2.sh: Likewise.
9324         * intl/tst-gettext4.sh  Likewise.
9325         * intl/tst-gettext6.sh: Likewise.
9326         * intl/tst-translit.sh: Likewise.
9327         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9328         with $(test-program-cmd).
9329         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9330         $(run-program-prefix) with $(test-program-prefix).
9331         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9332         (test_program_prefix): This.
9333         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9334         $(run-program-prefix) with $(test-program-prefix).
9335         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9336         (test_program_prefix): This.
9337         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9338         * posix/Makefile ($(objpfx)globtest.out): Replace
9339         $(run-via-rtld-prefix) and $(test-wrapper) with
9340         $(test-program-prefix) and $(test-via-rtld-prefix).
9341         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9342         $(test-program-prefix).
9343         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9344         $(host-test-program-cmd).
9345         (tst-spawn-ARGS): Likewise.
9346         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9347         $(test-program-prefix).
9348         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9349         (test_via_rtld_prefix): This.
9350         (test_wrapper): Renamed to ...
9351         (test_program_prefix): This.
9352         (run_program_prefix): Replaced by test_program_prefix.
9353         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9354         (test_program_prefix): This.
9355         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9356         with $(host-test-program-cmd).
9357         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9358         $(run-program-prefix) with $(test-program-prefix).
9359         ($(objpfx)tst-printf.out): Likewise.
9360         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9361         $(test-program-cmd).
9362         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9363         (test_program_prefix): This.
9364         * stdio-common/tst-unbputc.sh: Likewise.
9365         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9366         $(run-program-prefix) with $(test-program-prefix).
9367         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9368         (test_program_prefix): This.
9369         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9370         $(built-program-cmd) with $(test-program-cmd).
9372 2013-01-11  Andreas Jaeger  <aj@suse.de>
9374         [BZ #15003]
9375         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9376         value. Sync with Linux 3.7.
9378 2013-01-10  David S. Miller  <davem@davemloft.net>
9380         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9381         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9382         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9384 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9386         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9387         never set.
9388         * configure: Regenerated.
9390 2013-01-10  David S. Miller  <davem@davemloft.net>
9392         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9393         sparc V9 rather than using V8 code.
9394         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9395         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9397 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9399         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9400         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9401         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9402         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9403         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9404         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9405         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9406         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9407         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9408         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9409         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9410         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9411         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9412         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9413         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9414         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9415         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9416         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9417         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9418         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9419         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9420         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9421         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9422         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9423         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9424         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9425         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9427 2013-01-10  David S. Miller  <davem@davemloft.net>
9429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9431 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9433         * posix/Makefile (tests-static): New variable.
9434         (tests): Add $(tests-static).
9435         (tst-exec-static-ARGS): New variable.
9436         (tst-spawn-static-ARGS): Likewise.
9437         * posix/tst-exec-static.c: New file.
9438         * posix/tst-spawn-static.c: Likewise.
9439         * posix/tst-exec.c: Support run directly.
9440         * posix/tst-spawn.c: Likewise.
9442 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9444         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9445         long.
9446         * math/bits/mathcalls.h (llrint): Likewise.
9447         (llround): Likewise.
9448         * stdlib/stdlib.h (struct drand48_data): Likewise.
9449         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9450         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9451         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9452         Likewise.
9453         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9456         (elf_greg_t): Likewise.
9457         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9458         (__jmp_buf): Likewise.
9459         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9460         definitions.
9461         (llrint): Likewise, for all definitions.
9462         (llrintl): Likewise.
9464         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9465         Remove [__GNUC__] condition.
9466         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9467         condition to just [__USE_ISOC99].
9468         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9470 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9472         [BZ #14200]
9473         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9474         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9475         defined.
9476         (_POSIX_V6_ILP32_OFF32): Likewise.
9477         (_XBS5_ILP32_OFF32): Likewise.
9478         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9479         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9481 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9483         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9486         doubles __mpexp_twomm1.  Adjust usage.
9487         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9488         Remove.
9490 2013-01-10  Andreas Schwab  <schwab@suse.de>
9492         [BZ #14964]
9493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9494         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9496 2013-01-09  David S. Miller  <davem@davemloft.net>
9498         [BZ #15003]
9499         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9500         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9501         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9502         TCP_FASTOPEN): Define.
9503         (tcp_repair_opt): New structure.
9504         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9505         enum values.
9506         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9507         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9508         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9509         (tcp_cookie_transactions): New structure.
9511 2013-01-09  Anton Blanchard  <anton@samba.org>
9513         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9514         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9515         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9516         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9518 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9520         * include/features.h (__USE_ANSI): Remove.
9522 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9524         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9526         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9528 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9530         * sysdeps/s390/fpu/libm-test-ulps: Update.
9532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9534         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9535         (__acr): Likewise.
9536         (__cpy): Likewise.
9537         (norm): Likewise.
9538         (denorm): Likewise.
9539         (__mp_dbl): Likewise.
9540         (__dbl_mp): Likewise.
9541         (add_magnitudes): Likewise.
9542         (sub_magnitudes): Likewise.
9543         (__add): Likewise.
9544         (__sub): Likewise.
9545         (__mul): Likewise.
9546         (__inv): Likewise.
9547         (__dvd): Likewise.
9548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9549         (__acr): Likewise.
9550         (__cpy): Likewise.
9551         (norm): Likewise.
9552         (denorm): Likewise.
9553         (__mp_dbl): Likewise.
9554         (__dbl_mp): Likewise.
9555         (add_magnitudes): Likewise.
9556         (sub_magnitudes): Likewise.
9557         (__add): Likewise.
9558         (__sub): Likewise.
9559         (__mul): Likewise.
9560         (__inv): Likewise.
9561         (__dvd): Likewise.
9562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9563         (__acr): Likewise.
9564         (__cpy): Likewise.
9565         (norm): Likewise.
9566         (denorm): Likewise.
9567         (__mp_dbl): Likewise.
9568         (__dbl_mp): Likewise.
9569         (add_magnitudes): Likewise.
9570         (sub_magnitudes): Likewise.
9571         (__add): Likewise.
9572         (__sub): Likewise.
9573         (__mul): Likewise.
9574         (__inv): Likewise.
9575         (__dvd): Likewise.
9577 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9579         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9580         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9581         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9582         2 && __USE_EXTERN_INLINES]: Likewise.
9584 2013-01-08  Andreas Jaeger  <aj@suse.de>
9586         [BZ# 14985]
9587         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9588         Remove.
9589         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9590         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9592 2013-01-07  Anton Blanchard  <anton@samba.org>
9594         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9595         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9596         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9597         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9598         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9599         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9600         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9601         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9603         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9604         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9605         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9606         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9607         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9608         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9609         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9610         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9611         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9612         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9613         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9614         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9615         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9616         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9617         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9618         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9619         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9620         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9621         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9623         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9624         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9626         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9627         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9628         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9629         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9630         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9632         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9634         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9635         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9636         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9638 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9640         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9641         (__MALLOC_PMT): Likewise.
9642         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9643         [__GNUC__], only on [_LIBC].
9644         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9645         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9646         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9647         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9648         forward declaration.
9649         (realloc_hook_ini): Likewise.
9650         (memalign_hook_ini): Likewise.
9651         (__libc_memalign): Do not use __MALLOC_PMT in variable
9652         declaration.
9653         (__libc_valloc): Likewise.
9654         (__libc_pvalloc): Likewise.
9655         (__libc_calloc): Likewise.
9656         (__posix_memalign): Likewise.
9658         [BZ #14996]
9659         * math/s_casinh.c: Include <float.h>.
9660         (__casinh): Do not do computation with squaring and square root
9661         for large arguments.
9662         * math/s_casinhf.c: Include <float.h>.
9663         (__casinhf): Do not do computation with squaring and square root
9664         for large arguments.
9665         * math/s_casinhl.c: Include <float.h>.
9666         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9667         (__casinhl): Do not do computation with squaring and square root
9668         for large arguments.
9669         * math/libm-test.inc (casin_test): Add more tests.
9670         (casinh_test): Likewise.
9671         * sysdeps/i386/fpu/libm-test-ulps: Update.
9672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9676         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9677         (__x86_64_raw_data_cache_size): Likewise.
9678         (__x86_64_data_cache_size_half): Likewise.
9679         (__x86_64_raw_data_cache_size_half): Likewise.
9680         (__x86_64_shared_cache_size): Likewise.
9681         (__x86_64_raw_shared_cache_size): Likewise.
9682         (__x86_64_shared_cache_size_half): Likewise.
9683         (__x86_64_raw_shared_cache_size_half): Likewise.
9684         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9685         to ...
9686         (__x86_data_cache_size): This.
9687         (__x86_64_raw_data_cache_size): Renamed to ...
9688         (__x86_raw_data_cache_size): This.
9689         (__x86_64_data_cache_size_half): Renamed to ...
9690         (__x86_data_cache_size_half): This.
9691         (__x86_64_raw_data_cache_size_half): Renamed to ...
9692         (__x86_raw_data_cache_size_half): This.
9693         (__x86_64_shared_cache_size): Renamed to ...
9694         (__x86_shared_cache_size): This.
9695         (__x86_64_raw_shared_cache_size): Renamed to ...
9696         (__x86_raw_shared_cache_size): This.
9697         (__x86_64_shared_cache_size_half): Renamed to ...
9698         (__x86_shared_cache_size_half): This.
9699         (__x86_64_raw_shared_cache_size_half): Renamed to ...
9700         (__x86_raw_shared_cache_size_half): This.
9701         * sysdeps/x86_64/memcpy.S: Updated.
9702         * sysdeps/x86_64/memset.S: Likewise.
9703         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9704         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9705         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9707 2013-01-04  David S. Miller  <davem@davemloft.net>
9709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9711 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
9713         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9714         1 to avoid redefinition warning.
9715         (__USE_GNU): Don't define.
9716         (init_signaling_nan): Protoize.
9718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9720 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9722         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9724         (__cpymn): Likewise.
9725         (norm): Remove commented code.
9726         (denorm): Likewise.
9727         (__mp_dbl): Likewise.
9728         (__inv): Likewise.
9729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9730         (__cpymn): Likewise.
9731         (norm): Remove commented code.
9732         (denorm): Likewise.
9733         (__mp_dbl): Likewise.
9734         (__inv): Likewise.
9736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9737         mp_no value for 1.0 and 2.0.
9738         (norm): Use RADIXI instead of radixi.d.
9739         (denorm): Likewise.
9740         (__mul): Use 0.0 instead of zero.d.
9741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9742         mp_no value for 1.0 and 2.0.
9743         (norm): Use RADIXI instead of radixi.d.
9744         (denorm): Likewise.
9745         (__mul): Use 0.0 instead of zero.d.
9747 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
9749         [BZ #14994]
9750         * math/s_casinh.c (__casinh): Reduce finite argument to first
9751         quadrant then set signs of results at the end.
9752         * math/s_casinhf.c (__casinhf): Likewise.
9753         * math/s_casinhl.c (__casinhl): Likewise.
9754         * math/libm-test.inc (casin_test): Add more tests.
9755         (casinh_test): Likewise.
9756         * sysdeps/i386/fpu/libm-test-ulps: Update.
9757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9759 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9761         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9763         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9765         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9766         declarations.
9767         (denorm): Likewise.
9768         (__mp_dbl): Likewise.
9769         (__inv): Likewise.
9771         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9772         and adjust the header comment.
9774         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9775         variable name from declaration.
9777 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9780         Initialize COMMON_CPUID_INDEX_7 element.
9781         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9782         (CPUID_RTM): Likewise.
9783         (HAS_RTM): Likewise.
9784         (COMMON_CPUID_INDEX_7): New enum.
9786 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
9788         [BZ #14981]
9789         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9790         size is zero, record memory as freed.
9792 2013-01-03  Andreas Jaeger  <aj@suse.de>
9794         * po/ia.po: Add new Interlingua translation.
9796 2012-01-03  Allan McRae  <allan@archlinux.org>
9798         * locale/programs/localedef.c: Fix description of '--posix' flag.
9800 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
9802         * NEWS: Update dates in second copyright notice.
9803         * README: Update copyright dates in example.
9804         * manual/libc.texinfo: Update copyright dates.
9805         * scripts/test-installation.pl: Update copyright date in --version
9806         output.
9808         * hurd/ctty-input.c: Fix copyright notice formatting.
9809         * hurd/ctty-output.c: Likewise.
9810         * hurd/dtable.c: Likewise.
9811         * hurd/hurd-raise.c: Likewise.
9812         * hurd/hurdprio.c: Likewise.
9813         * hurd/msgportdemux.c: Likewise.
9814         * misc/sys/file.h: Likewise.
9815         * misc/sys/ioctl.h: Likewise.
9816         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9817         * sysdeps/mach/hurd/chdir.c: Likewise.
9818         * sysdeps/mach/hurd/fchdir.c: Likewise.
9819         * sysdeps/mach/hurd/rename.c: Likewise.
9820         * sysdeps/mach/hurd/rmdir.c: Likewise.
9821         * sysdeps/mach/hurd/seekdir.c: Likewise.
9822         * sysdeps/mach/hurd/setsid.c: Likewise.
9823         * sysdeps/posix/wait3.c: Likewise.
9825         * All files with FSF copyright notices: Update copyright dates
9826         using scripts/update-copyrights.
9827         * intl/plural.c: Regenerated.
9828         * locale/programs/charmap-kw.h: Likewise.
9829         * locale/programs/locfile-kw.h: Likewise.
9831 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9833         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9834         four values.
9836         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9837         calculation loop and add branch prediction.
9839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9840         check access beyond bounds of m1np.
9842         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9843         MPTWO.
9844         (__inv): Remove local variable MPTWO to use the global
9845         constant.
9846         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9848         variable MPTWO.
9849         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9850         MP3HALFS static const.
9852 2013-01-01  David S. Miller  <davem@davemloft.net>
9854         * po/ca.po: Update from translation team.
9856 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
9858         * scripts/update-copyrights: New file.
9859         * Makeconfig: Reformat copyright notice.
9860         * ctype/ctype.h: Likewise.
9861         * debug/swprintf_chk.c: Likewise.
9862         * elf/dl-cache.c: Likewise.
9863         * elf/dl-debug.c: Likewise.
9864         * elf/dl-object.c: Likewise.
9865         * grp/initgroups.c: Likewise.
9866         * hurd/Makefile: Likewise.
9867         * hurd/hurd/signal.h: Likewise.
9868         * hurd/hurdfault.c: Likewise.
9869         * hurd/hurdioctl.c: Likewise.
9870         * hurd/hurdlookup.c: Likewise.
9871         * hurd/intr-msg.c: Likewise.
9872         * iconv/gconv_open.c: Likewise.
9873         * libio/swprintf.c: Likewise.
9874         * locale/lc-ctype.c: Likewise.
9875         * locale/nl_langinfo.c: Likewise.
9876         * mach/Machrules: Likewise.
9877         * mach/Makefile: Likewise.
9878         * malloc/obstack.h: Likewise.
9879         * manual/Makefile: Likewise.
9880         * manual/tsort.awk: Likewise.
9881         * misc/bits/stab.def: Likewise.
9882         * nis/nis_print_group_entry.c: Likewise.
9883         * nis/nis_table.c: Likewise.
9884         * nis/nss_compat/compat-pwd.c: Likewise.
9885         * nis/nss_compat/compat-spwd.c: Likewise.
9886         * po/Makefile: Likewise.
9887         * posix/fnmatch.c: Likewise.
9888         * posix/regex.h: Likewise.
9889         * resolv/Makefile: Likewise.
9890         * resolv/nss_dns/dns-network.c: Likewise.
9891         * resolv/res_hconf.c: Likewise.
9892         * scripts/gen-sorted.awk: Likewise.
9893         * soft-fp/soft-fp.h: Likewise.
9894         * stdio-common/printf.h: Likewise.
9895         * stdlib/monetary.h: Likewise.
9896         * stdlib/random.c: Likewise.
9897         * stdlib/random_r.c: Likewise.
9898         * sysdeps/generic/Makefile: Likewise.
9899         * sysdeps/gnu/Makefile: Likewise.
9900         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9902         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9904         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9905         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9906         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9907         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9908         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9909         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9910         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9911         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9912         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9913         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9914         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9915         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9916         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9918         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9919         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9920         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9921         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9922         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9923         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9924         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9925         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9926         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9927         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9928         * sysdeps/mach/hurd/errnos.awk: Likewise.
9929         * sysdeps/mach/hurd/fork.c: Likewise.
9930         * sysdeps/mach/hurd/getcwd.c: Likewise.
9931         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9932         * sysdeps/mach/hurd/mmap.c: Likewise.
9933         * sysdeps/mach/hurd/utimes.c: Likewise.
9934         * sysdeps/mach/hurd/xmknod.c: Likewise.
9935         * sysdeps/posix/profil.c: Likewise.
9936         * sysdeps/posix/readdir_r.c: Likewise.
9937         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9938         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9939         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9940         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9942         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9943         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9944         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9946         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9947         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9948         * sysdeps/pthread/lio_listio.c: Likewise.
9949         * sysdeps/sparc/dl-procinfo.h: Likewise.
9950         * sysdeps/unix/i386/sysdep.S: Likewise.
9951         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9952         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9953         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9954         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9956         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9957         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9958         * sysdeps/unix/sysv/linux/speed.c: Likewise.
9959         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9960         * sysdeps/wordsize-32/divdi3.c: Likewise.
9961         * time/sys/time.h: Likewise.
9962         * wcsmbs/Makefile: Likewise.
9964 2013-01-01  David S. Miller  <davem@davemloft.net>
9966         * po/fr.po: Update from translation team.
9968         * catgets/gencat.c: Update copyright year.
9969         * csu/version.c: Likewise.
9970         * debug/catchsegv.sh: Likewise.
9971         * debug/pcprofiledump.c: Likewise.
9972         * debug/xtrace.sh: Likewise.
9973         * elf/ldconfig.c: Likewise.
9974         * elf/ldd.bash.in: Likewise.
9975         * elf/pldd.c: Likewise.
9976         * elf/sotruss.ksh: Likewise.
9977         * elf/sprof.c: Likewise.
9978         * iconv/iconv_prog.c: Likewise.
9979         * iconv/iconvconfig.c: Likewise.
9980         * locale/programs/locale.c: Likewise.
9981         * locale/programs/localedef.c: Likewise.
9982         * login/programs/pt_chown.c: Likewise.
9983         * malloc/memusage.sh: Likewise.
9984         * malloc/memusagestat.c: Likewise.
9985         * malloc/mtrace.pl: Likewise.
9986         * nscd/nscd.c: Likewise.
9987         * nss/getent.c: Likewise.
9988         * nss/makedb.c: Likewise.
9989         * posix/getconf.c: Likewise.
9991 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9993         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9994         numbers.
9996 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
9998         * math/bits/mathcalls.h (modf): Use __nonnull.
10000 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10003         (split): Use macro CN instead of the bare value.
10004         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10005         could be used.
10006         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10007         instead of the bare value.
10008         (power1): Likewise.
10010 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10013         __ATAN_TWOM.
10014         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10016         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10017         their values.
10018         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10019         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10020         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10021         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10023 2012-12-28  Andreas Jaeger  <aj@suse.de>
10025         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10026         values are from Linux 3.7.
10028         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10029         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10031 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10034         TRUE case.
10036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10037         (norm): Likewise.
10038         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10039         variables with preprocessor constants.
10040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10041         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10042         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10044 2012-12-27  Bruno Haible  <bruno@clisp.org>
10046         [BZ #14317]
10047         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10048         only if needed.
10050 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10053         and use variable directly.
10054         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10056         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10057         MPONE.
10058         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10059         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10060         variable MPONE.
10061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10062         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10063         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10064         include directive.  Remove local variable MPONE.
10065         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10066         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10067         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10069 2012-12-25  David S. Miller  <davem@davemloft.net>
10071         * version.h (RELEASE): Set to "development".
10072         (VERSION): Set to "2.17.90".
10073         * NEWS: Add 2.18 section.
10075 2012-12-21  David S. Miller  <davem@davemloft.net>
10077         * po/hr.po: Update from translation team.
10079 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10081         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10083 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10085         * NEWS:  Mention new memcpy for MIPS.
10087 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10089         * manual/contrib.texi (Contributors): Spelling correction.
10091 2012-12-15  David S. Miller  <davem@davemloft.net>
10093         * po/ru.po: Update from translation team.
10095 2012-12-13  David S. Miller  <davem@davemloft.net>
10097         * NEWS: Mention IFUNC testsuite enhancements.
10099         * po/pl.po: Update from translation team.
10100         * po/bg.po: Likewise.
10102         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10103         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10105 2012-12-11  David S. Miller  <davem@davemloft.net>
10107         * po/sv.po: Update from translation team.
10109         * po/vi.po: Update from translation team.
10111         * po/cs.po: Update from translation team.
10113         * po/de.po: Update from translation team.
10114         * po/eo.po: Likewise.
10115         * po/nl.po: Likewise.
10117 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10119         [BZ #14246]
10120         * manual/argp.texi (Argp Helper Functions): Move node to follow
10121         Argp Parsing State.
10123         [BZ #14872]
10124         * manual/conf.texi (Limits on File System Capacity): Mention if
10125         terminating null is included in the max size.
10127 2012-12-10  Andreas Jaeger  <aj@suse.de>
10129         * po/cs.po: Update from translation team.
10131 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10133         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10134         void pointer and cast to uintptr_t.
10135         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10136         path.
10137         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10138         * sysdeps/s390/s390-64/memset.S: Likewise.
10140 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10142         [BZ #14833]
10143         * menual/message.texi (Message Translation): Fix typos.
10144         (Helper programs for gettext): Likewise.
10146 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10148         [BZ #14898]
10149         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10150         Change to -1.
10152 2012-12-07  David S. Miller  <davem@davemloft.net>
10154         * po/libc.pot: Update.
10156 2012-12-07  Richard Henderson  <rth@redhat.com>
10158         [BZ #10114]
10159         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10160         normal/normal case to before the switch.
10161         (_FP_DIV): Likewise.
10163 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10164             Mike Frysinger  <vapier@gentoo.org>
10166         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10167         check for __NR_fadvise64_64.
10169 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10171         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10172         0, not just to plain "0" as a statement.
10173         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10174         with cw.
10176 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10178         * NEWS: Use sourceware.org in Bugzilla URL.
10180 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10183         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10185         * stdio-common/tst-put-error.c (do_test): Add newline to the
10186         padded test to ensure flush.
10188 2012-12-05  Jeff Law  <law@redhat.com>
10190         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10192 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10194         * README: Don't refer to ports add-on as distributed separately.
10195         Mention AArch64 in list of systems supported in the ports add-on.
10197         * LICENSES: Add more non-FSF copyright and license notices.
10199         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10200         ((unused)).
10202         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10204         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10205         10000 as width of padded output.
10207 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10209         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10211         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10212         variable LX with __attribute__ ((unused)).
10213         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10214         Likewise.
10215         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10216         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10217         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10218         with __attribute__ ((unused)).
10220 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10222         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10224 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10226         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10227         (CFLAGS-nldbl-acos.c): New variable.
10228         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10229         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10230         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10231         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10232         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10233         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10234         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10235         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10236         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10237         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10238         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10239         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10240         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10241         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10242         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10243         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10244         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10245         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10246         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10247         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10248         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10249         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10250         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10251         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10252         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10253         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10254         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10255         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10256         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10257         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10258         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10259         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10260         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10261         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10262         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10263         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10264         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10265         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10266         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10267         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10268         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10269         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10270         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10271         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10272         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10273         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10274         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10275         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10276         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10277         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10278         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10279         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10280         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10281         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10282         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10283         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10284         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10285         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10286         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10287         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10288         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10289         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10290         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10291         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10292         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10293         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10294         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10295         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10296         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10297         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10298         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10299         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10300         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10301         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10302         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10303         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10304         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10305         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10306         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10307         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10308         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10309         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10310         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10311         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10312         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10313         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10314         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10315         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10316         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10317         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10318         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10319         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10320         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10321         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10322         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10323         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10324         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10327         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10329         [BZ #14914]
10330         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10331         whole low double instead of just low 47 bits when splitting values
10332         into two parts.
10334 2012-12-03  Allan McRae  <allan@archlinux.org>
10336         * manual/stdio.texi (Predefined Printf Handlers): Remove
10337         @hsep and @vsep usage.
10339 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10341         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10342         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10344 2012-12-03  Jeff Law  <law@redhat.com>
10346         * time/sys/time.h (settimeofday): Do not mark TV argument
10347         as __nonnull.
10349 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10351         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10352         when currently writing and seek to current position when not.
10353         * libio/Makefile (tests): Remove bug-fclose1.
10354         * libio/bug-fclose1.c: Delete.
10356 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10358         * manual/arith.texi (feenableexcept): Fix typo.
10359         (fedisableexcept): Likewise.
10361 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10363         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10364         second, differently-typed declaration, rather than a cast.
10366 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10368         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10369         * include/rpc/svc.h: ... here.
10371 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10373         [BZ #13013]
10374         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10375         depending n and resplen2 to catch cases where answer
10376         equals answerp2.
10378 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10380         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10381         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10383 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10387 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10389         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10391 2012-11-28  Jeff Law  <law@redhat.com>
10393         [BZ #13761]
10394         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10395         dataset_temporary.  Track alloca usage into alloca_used.
10396         If dataset is large allocate and release it via malloc/free.
10398 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10400         [BZ #14197]
10401         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10403 2012-11-28  David S. Miller  <davem@davemloft.net>
10405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10407 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10409         [BZ #14803]
10410         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10411         of pi/2 rounded to nearest to 64 bits.
10412         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10413         nearest to 64 bits.
10414         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10415         bits.
10417 2012-11-28  Jeff Law <law@redhat.com>
10418             Martin Osvald <mosvald@redhat.com>
10420         [BZ #14889]
10421         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10422         * sunrpc/svc.c: Include time.h.
10423         (__svc_accept_failed): New function.
10424         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10425         any reason other than EINTR, call __svc_accept_failed.
10426         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10427         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10429 2012-11-28  Andreas Schwab  <schwab@suse.de>
10431         * scripts/abilist.awk: Also handle indirect functions in .opd
10432         section.
10434 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #13881]
10437         * sysdeps/x86/fpu/powl_helper.c: New file.
10438         * sysdeps/x86/fpu/Makefile: Likewise.
10439         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10440         (p3): New object.
10441         (__ieee754_powl): Use __powl_helper for finite arguments except
10442         integer exponents below 8.
10443         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10444         (p3): New object.
10445         (__ieee754_powl): Use __powl_helper for finite arguments except
10446         integer exponents below 8.
10447         * math/libm-test.inc (pow_test): Add more tests and enable some
10448         previously disabled tests.
10449         * sysdeps/i386/fpu/libm-test-ulps: Update.
10450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10453             Carlos O'Donell  <carlos_odonell@mentor.com>
10455         * nss/makedb.c (is_prime): Assert that input is odd and greater
10456         than 4.  Note that fact in a comment too.
10457         (next_prime): Add 4 to input.
10459 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10461         [BZ #11741]
10462         * libio/Makefile (tests): Add test case tst-fwrite-error.
10463         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10464         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10465         * libio/tst-fwrite-error.c: New test case.
10467 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10469         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10470         before casting to void *.
10471         * include/libc-internal.h (__pointer_type): New macro.
10472         (__integer_if_pointer_type_sub): Likewise.
10473         (__integer_if_pointer_type): Likewise.
10474         (cast_to_integer): Likewise.
10475         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10476         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10477         before casting to atomic64_t.
10478         (atomic_exchange_acq): Likewise.
10479         (__arch_exchange_and_add_body): Likewise.
10480         (__arch_add_body): Likewise.
10481         (atomic_add_negative): Likewise.
10482         (atomic_add_zero): Likewise.
10484 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10486         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10487         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10488         (add_fdes): Likewise.
10489         (linear_search_fdes): Likewise.
10490         (binary_search_unencoded_fdes): Likewise.
10492 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10494         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10496 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10498         * configure.in: Autodetect C++ header directories.
10499         * configure: Regenerated.
10501 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10503         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10505 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10509 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10511         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10512         LDBL_MANT_DIG == 106]: Disable some tests.
10513         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10514         Likewise.
10515         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10516         Likewise.
10518         [BZ #14871]
10519         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10520         input for small inputs.  Return +/- pi/2 for large inputs.
10521         * math/libm-test.inc (atan_test): Add more tests.
10523         * sysdeps/generic/unwind-dw2-fde-glibc.c
10524         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10525         __attribute__ ((unused)).
10527         [BZ #14645]
10528         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10529         x * y if x and y are nonzero and z is zero.
10531         [BZ #14811]
10532         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10533         nonzero exponents with absolute value below 0x1p-117 to +/-
10534         0x1p-117.
10536         [BZ #14869]
10537         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10538         up arguments below 2**-450, not just those below 2**-500.
10539         * math/libm-test.inc (hypot_test): Add another test.
10541         [BZ #14868]
10542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10543         Return a+b for ratio over 2**120, not 2**60.
10544         * math/libm-test.inc (hypot_test): Add another test.
10546         * math/libm-test.inc (clog_test): Use
10547         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10548         (clog10_test): Likewise.
10550         [BZ #6778]
10551         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10553 2012-11-22  Andreas Schwab  <schwab@suse.de>
10555         * sysdeps/i386/fpu/libm-test-ulps: Update.
10557 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10559         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10560         printf output with newline.
10562 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10564         [BZ #14865]
10565         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10566         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10567         -z nodlopen, -z initfirst and -z execstack support.
10568         * configure: Regenerated.
10570         * elf/elf.h (DF_1_NODIRECT): New macro.
10571         (DF_1_IGNMULDEF): Likewise.
10572         (DF_1_NOKSYMS): Likewise.
10573         (DF_1_NOHDR): Likewise.
10574         (DF_1_EDITED): Likewise.
10575         (DF_1_NORELOC): Likewise.
10576         (DF_1_SYMINTPOSE): Likewise.
10577         (DF_1_GLOBAUDIT): Likewise.
10578         (DF_1_SINGLETON): Likewise.
10579         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10580         DT_1_SUPPORTED_MASK bits.
10581         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10583 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10585         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10587 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10589         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10590         macro.
10592         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10593         (sendmmsg): Move declarations...
10594         * socket/sys/socket.h: ... here.
10595         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10596         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10597         include it from...
10598         * socket/recvmmsg.c: ... this new file.
10599         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10600         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10601         definition of __sendmmsg hidden.
10602         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10603         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10604         Move ENOSYS stub into and include it from...
10605         * socket/sendmmsg.c: ... this new file.
10606         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10607         (sysdep_routines): Move recvmmsg and sendmmsg...
10608         * socket/Makefile (routines): ... here.
10609         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10610         (GLIBC_PRIVATE): Add __sendmmsg.
10611         * include/sys/socket.h (__sendmmsg): Add declarations.
10612         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10613         sendmmsg.
10615 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10618         variable I1 with __attribute__ ((unused)).
10619         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10621 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10623         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10624         DUMMY variables with __attribute__ ((unused)).
10626         * bits/byteswap.h: Include <bits/types.h>.
10627         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10629 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10631         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10632         string_t.  Do not manually set errno.
10633         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10634         length with __strnlen.  Make sure to both set errno and return it on
10635         failure.
10637 2012-11-19  David S. Miller  <davem@davemloft.net>
10639         With help from Joseph Myers.
10640         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10641         very large arguments properly.
10642         * math/libm-test.inc (atan_test): New tests.
10643         (atan2_test): New tests.
10644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10647 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10649         [BZ #14856]
10650         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10651         Define to 3.
10653         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10654         [POSIX] (EADDRNOTAVAIL): Likewise.
10655         [POSIX] (EAFNOSUPPORT): Likewise.
10656         [POSIX] (EALREADY): Likewise.
10657         [POSIX] (ECONNABORTED): Likewise.
10658         [POSIX] (ECONNREFUSED): Likewise.
10659         [POSIX] (ECONNRESET): Likewise.
10660         [POSIX] (EDESTADDRREQ): Likewise.
10661         [POSIX] (EDQUOT): Likewise.
10662         [POSIX] (EHOSTUNREACH): Likewise.
10663         [POSIX] (EIDRM): Likewise.
10664         [POSIX] (EISCONN): Likewise.
10665         [POSIX] (ELOOP): Likewise.
10666         [POSIX] (EMULTIHOP): Likewise.
10667         [POSIX] (ENETDOWN): Likewise.
10668         [POSIX] (ENETUNREACH): Likewise.
10669         [POSIX] (ENOBUFS): Likewise.
10670         [POSIX] (ENODATA): Likewise.
10671         [POSIX] (ENOLINK): Likewise.
10672         [POSIX] (ENOMSG): Likewise.
10673         [POSIX] (ENOPROTOOPT): Likewise.
10674         [POSIX] (ENOSR): Likewise.
10675         [POSIX] (ENOSTR): Likewise.
10676         [POSIX] (ENOTCONN): Likewise.
10677         [POSIX] (ENOTSOCK): Likewise.
10678         [POSIX] (EOPNOTSUPP): Likewise.
10679         [POSIX] (EOVERFLOW): Likewise.
10680         [POSIX] (EPROTO): Likewise.
10681         [POSIX] (EPROTONOSUPPORT): Likewise.
10682         [POSIX] (EPROTOTYPE): Likewise.
10683         [POSIX] (ESTALE): Likewise.
10684         [POSIX] (ETIME): Likewise.
10685         [POSIX] (ETXTBSY): Likewise.
10686         [POSIX] (EWOULDBLOCK): Likewise.
10687         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10688         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10689         [POSIX] (SEEK_CUR): Likewise.
10690         [POSIX] (SEEK_END): Likewise.
10691         [POSIX || UNIX98] (mode_t): Do not require.
10692         [POSIX] (off_t): Likewise.
10693         [POSIX] (pid_t): Likewise.
10694         [POSIX] (sys/stat.h): Do not allow header.
10695         [POSIX] (unistd.h): Likewise.
10696         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10697         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10698         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10699         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10700         require.
10701         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10702         sigevent): Specify elements.
10703         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10704         entry.
10705         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10706         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10708         * conform/data/cpio.h-data [POSIX]: Disable whole file.
10709         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10710         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10711         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10712         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10713         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10714         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10715         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10716         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10717         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10718         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10719         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10720         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10721         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10722         Likewise.
10723         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10724         Likewise.
10725         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10726         Likewise.
10727         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10728         Likewise.
10729         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10730         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10731         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10732         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10733         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10734         Specify lower bound on value.
10735         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10736         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10737         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10738         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10739         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10740         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10741         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10742         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10743         value.
10744         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10745         as optional.
10746         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10747         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10748         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10749         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10750         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10751         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10752         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10753         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10754         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10755         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10756         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10757         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10758         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10759         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10760         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10761         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10762         entry.
10763         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10764         optional.
10765         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10766         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10767         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10768         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10769         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10770         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10771         Likewise.
10772         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10773         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10774         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10775         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10776         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
10777         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10778         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10779         as optional.
10780         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10781         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10782         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10783         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10784         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10785         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10786         specify as optional.
10787         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10788         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10789         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10790         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10791         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10792         [XPG3] (NL_LANGMAX): Likewise.
10793         [POSIX || XPG3] (NL_MSGMAX): Likewise.
10794         [POSIX || XPG3] (NL_NMAX): Likewise.
10795         [POSIX || XPG3] (NL_SETMAX): Likewise.
10796         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10797         [XPG3] (NZERO): Likewise.
10798         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10799         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10800         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10801         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10802         (REG_ERANGE): Expect.
10803         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10804         optional-constant.
10805         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10806         Use (void) in prototype.
10807         [POSIX] (*_t): Allow.
10808         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10809         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10810         (WRDE_BADVAL): Expect.
10812         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10813         expect.
10814         [XPG3 || XPG4] (O_RSYNC): Likewise.
10815         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10816         Likewise.
10817         [XPG3 || XPG4] (pthread_sigmask): Likewise.
10818         [XPG3 || XPG4] (sigqueue): Likewise.
10819         [XPG3 || XPG4] (sigtimedwait): Likewise.
10820         [XPG3 || XPG4] (sigwaitinfo): Likewise.
10821         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10822         [XPG3 || XPG4] (vsnprintf): Likewise.
10823         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10824         Likewise.
10825         [XPG3 || XPG4] (blksize_t): Likewise.
10826         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10827         Likewise.
10828         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10829         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10830         [XPG3 || XPG4] (struct itimerspec): Likewise.
10831         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10832         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10833         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10834         [XPG3 || XPG4] (clockid_t): Likewise.
10835         [XPG3 || XPG4] (timer_t): Likewise.
10836         [XPG3 || XPG4] (clock_getres): Likewise.
10837         [XPG3 || XPG4] (clock_gettime): Likewise.
10838         [XPG3 || XPG4] (clock_settime): Likewise.
10839         [XPG3 || XPG4] (nanosleep): Likewise.
10840         [XPG3 || XPG4] (timer_create): Likewise.
10841         [XPG3 || XPG4] (timer_delete): Likewise.
10842         [XPG3 || XPG4] (timer_gettime): Likewise.
10843         [XPG3 || XPG4] (timer_getoverrun): Likewise.
10844         [XPG3 || XPG4] (timer_settime): Likewise.
10845         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10846         [XPG3 || XPG4] (getlogin_r): Likewise.
10847         [XPG3 || XPG4] (pread): Likewise.
10848         [XPG3 || XPG4] (pthread_atfork): Likewise.
10849         [XPG3 || XPG4] (pwrite): Likewise.
10851         [BZ #14835]
10852         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10853         <bits/siginfo.h>.
10855 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10857         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10858         finalizing MALLSTREAM.
10860         * sysdeps/mach/hurd/syncfs.c: New file.
10862 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10864         [BZ #14719]
10865         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10866         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10867         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10868         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10869         (_nss_dns_gethostbyname4_r): Likewise.
10870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10871         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10873 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
10875         [BZ #13763]
10876         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10878 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
10880         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10881         * elf/cache.c (print_entry): Print ",AArch64" for
10882         FLAG_AARCH64_LIB64
10884         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10885         * elf/cache.c (print_entry): Print ",hard-float" for
10886         FLAG_ARM_LIBHF.
10888 2012-11-18  David S. Miller  <davem@davemloft.net>
10890         With help from Joseph Myers.
10891         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10892         cutoff to 2**-13.
10893         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10894         cutoff to 2**-25.
10895         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10896         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10897         small.
10898         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10899         * math/libm-test.inc (y0_test): New tests.
10900         (y1_test): New tests.
10901         * sysdeps/i386/fpu/libm-test-ulps: Update.
10902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10905 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
10907         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10908         64-bit targets.
10909         * configure: Regenerated.
10911 2012-11-17  David S. Miller  <davem@davemloft.net>
10913         [BZ #14811]
10914         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10915         nonzero exponents with absolute value below 0x1p-128 to +/-
10916         0x1p-128.
10918 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
10920         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10922         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10924         * posix/getconf-speclist.c: New file.
10925         * posix/posix-envs.def: Likewise.
10926         * posix/confstr.c (START_ENV_GROUP): New macro.
10927         (END_ENV_GROUP): Likewise.
10928         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10929         (KNOWN_PRESENT_ENV_STRING): Likewise.
10930         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10931         (UNKNOWN_ENVIRONMENT): Likewise.
10932         (confstr): Include posix-envs.def instead of handling
10933         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10934         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10935         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10936         (END_ENV_GROUP): Likewise.
10937         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10938         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10939         (UNKNOWN_ENVIRONMENT): Likewise.
10940         (__sysconf): Include posix-envs.def instead of handling associated
10941         cases directly here.
10942         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10943         preprocessing getconf-speclist.c rather than running getconf or
10944         generating empty file.
10946 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
10948         * scripts/check-local-headers.sh: Ignore 'mach' headers.
10950 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
10952         [BZ #14672]
10953         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10955 2012-11-16  David S. Miller  <davem@davemloft.net>
10957         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10958         smaller than LDBL_EPSILON/2.0L, just return xm1.
10960 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
10962         * elf/tst-array1.c (init): Set constructor priority to 1000.
10963         (fini): Set destructor priority to 1000.
10964         * elf/tst-array2dep.c: Likewise.
10966 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10968         [BZ #11741]
10969         * libio/fileops.c (_IO_new_file_write): Correctly return error.
10970         (_IO_new_file_xsputn): Also return EOF if none of the input
10971         data was written when overflow failed.
10972         * libio/iopadn.c (_IO_padn): Likewise.
10973         * libio/iowpadn.c (_IO_wpadn): Likewise.
10974         * stdio-common/tst-put-error.c: Add copyright notice.
10975         (do_test): Add case for printing padded string.
10976         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10977         _IO_padn returned error.
10978         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10979         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10980         return EOF.
10982 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10984         * libio/libioP.h: Add comment note that the references to C++
10985         bits are now obsolete.
10987 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10989         * math/libm-test.inc (check_complex): Use asprintf.
10991 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
10993         * debug/pcprofiledump.c (print_version): Update copyright year.
10994         * malloc/memusagestat.c (print_version): Likewise.
10996 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10998         [BZ #14831]
10999         * elf/Makefile (tests): Add tst-audit8.
11000         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11001         ($(objpfx)tst-audit8.out): New target.
11002         (tst-audit8-ENV): New variable.
11003         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11004         audit if l_reloc_result is NULL.
11005         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11006         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11007         * elf/tst-audit8.c: New file.
11009 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11011         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11012         * misc/Makefile (CFLAGS-select.c): Define.
11013         * posix/Makefile (CFLAGS-pause.c): Define.
11015 2012-11-13  David S. Miller  <davem@davemloft.net>
11017         * crypt/Makefile: Move test targets after toplevel Rules
11018         inclusion.  Grab any necessary sysdep routines when linking.
11019         * crypt/md5.c (md5_process_block): Remove define, we will always
11020         name it __md5_process_block.
11021         (md5_finish_ctx): Update md5_process_block call.
11022         (md5_stream): Likewise.
11023         (md5_process_bytes): Likewise.
11024         (md5_process_block): Rename to __md5_process_block and move to ...
11025         * crypt/md5-block.c: ... here.
11026         * crypt/sha256.c (sha256_process_block): Move to ...
11027         * crypt/sha256-block.c: ... here.
11028         * crypt/sha512.c (sha512_process_block): Move to ...
11029         * crypt/sha512-block.c: ... here.
11030         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11031         path.
11032         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11033         * sysdeps/sparc/sparc64/multiarch/Makefile
11034         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11035         crypt subdir.
11036         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11037         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11038         multiarch changes.
11039         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11040         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11041         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11042         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11043         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11044         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11045         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11046         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11047         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11048         file.
11049         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11050         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11051         file.
11052         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11054 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11056         * timezone/tzselect.ksh: Update from tzcode git revision
11057         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11058         * timezone/zdump.c: Likewise.
11059         * timezone/zic.c: Likewise.
11060         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11061         in TZVERSION setting, not $(PKGVERSION).
11062         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11063         REPORT_BUGS_TO settings.
11065         [BZ #14838]
11066         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11067         macro.
11069 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11071         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11072         detection to immediately after _FP_ROUND().
11073         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11074         bits are 0.
11076 2012-11-11  David S. Miller  <davem@davemloft.net>
11078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11079         inttypes.h
11080         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11081         __close rather than their public counterparts.
11083 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11085         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11086         file.
11087         [UNIX98] (sem_timedwait): Do not expect.
11088         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11089         [XPG4 || UNIX98] (sockatmark): Do not expect.
11090         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11091         (clock_getcpuclockid): Do not expect.
11092         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11093         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11094         Do not expect.
11095         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11096         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11097         [UNIX98] (vwscanf): Likewise.
11098         [UNIX98] (vswscanf): Likewise.
11100 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11102         * timezone/version.h: Remove file.
11103         * timezone/README: Do not refer to version.h.
11104         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11105         $(objpfx)version.h.
11106         ($(objpfx)zdump.o): Likewise.
11107         ($(objpfx)version.h): New target.
11109         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11110         2012i.
11111         * timezone/README: Don't mention modification to tzselect.ksh.
11112         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11113         work on unmodified tzselect.ksh.  Substitute version numbers in
11114         tzselect.ksh.
11116         * Makefile (format-me): Remove.
11117         (INSTALL): Adjust indentation.  Use commands directly instead of
11118         using $(format-me).
11120         * aclocal.m4 (ACX_PKGVERSION): New macro.
11121         (ACX_BUGURL): Likewise.
11122         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11123         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11124         (REPORT_BUGS_TO): Likewise.
11125         * configure: Regenerated.
11126         * config.h.in (PKGVERSION): New macro.
11127         (REPORT_BUGS_TO): Likewise.
11128         * config.make.in (PKGVERSION): New variable.
11129         (PKGVERSION_TEXI): Likewise.
11130         (REPORT_BUGS_TO): Likewise.
11131         (REPORT_BUGS_TEXI): Likewise.
11132         * Makefile (format-me): Use -I$(common-objpfx)manual.
11133         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11134         ($(common-objpfx)manual/%): New target.
11135         (manual/%): Remove target.
11136         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11137         (print_version): Use PKGVERSION.
11138         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11139         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11140         and REPORT_BUGS_TO.
11141         ($(objpfx)xtrace): Likewise.
11142         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11143         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11144         (print_version): Use PKGVERSION.
11145         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11146         (do_version): Use PKGVERSION.
11147         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11148         REPORT_BUGS_TO.
11149         (common-ldd-rewrite): Likewise.
11150         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11151         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11152         (print_version): Use PKGVERSION.
11153         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11154         * elf/pldd.c (argp_program_bug_address): Remove variable.
11155         (more_help): New function.
11156         (argp): Use more_help.
11157         (print_version): Use PKGVERSION.
11158         * elf/sln.c (main): Use PKGVERSION.
11159         (usage): Use REPORT_BUGS_TO.
11160         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11161         (top level): Use PKGVERSION.
11162         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11163         (print_version): Use PKGVERSION.
11164         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11165         (print_version): Use PKGVERSION.
11166         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11167         (print_version): Use PKGVERSION.
11168         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11169         (print_version): Use PKGVERSION.
11170         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11171         (print_version): Use PKGVERSION.
11172         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11173         (print_version): Use PKGVERSION.
11174         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11175         and BUGURL.
11176         ($(objpfx)memusage): Likewise.
11177         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11178         (do_version): Use PKGVERSION.
11179         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11180         (print_version): Use PKGVERSION.
11181         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11182         ($PKGVERSION): New variable.
11183         ($REPORT_BUGS_TO): Likewise.
11184         (usage): Use $REPORT_BUGS_TO.
11185         (top level): Use $PKGVERSION.
11186         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11187         ($(objpfx)pkgvers.texi): New rule.
11188         ($(objpfx)stamp-pkgvers): Likewise.
11189         * manual/install.texi: Include pkgvers.texi.
11190         (--with-pkgversion): Document new configure option.
11191         (--with-bugurl): Likewise.
11192         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11193         than necessarily for this particular distribution.  Use
11194         REPORT_BUGS_TO for where to report bugs.
11195         * INSTALL: Regenerated.
11196         * manual/libc.texinfo: Include pkgvers.texi.
11197         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11198         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11199         (print_version): Use PKGVERSION.
11200         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11201         (print_version): Use PKGVERSION.
11202         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11203         (print_version): Use PKGVERSION.
11204         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11205         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11206         macro.
11207         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11208         (print_version): Use PKGVERSION.
11209         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11210         (print_version): Use PKGVERSION.
11211         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11212         and PKGVERSION.
11214         * timezone/checktab.awk: Update from tzcode 2012i.
11215         * timezone/ialloc.c: Likewise.
11216         * timezone/private.h: Likewise.
11217         * timezone/scheck.c: Likewise.
11218         * timezone/tzfile.h: Likewise.
11219         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11220         (TZVERSION): Hardcode tzcode version number.
11221         * timezone/zdump.c: Update from tzcode 2012i.
11222         * timezone/zic.c: Likewise.
11223         * timezone/version.h: New file.
11224         * timezone/README: Describe version.h.  Update upstream location.
11226         [BZ #14824]
11227         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11228         (mktemp): Enable declaration.
11229         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11231         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11233         Likewise.
11234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11235         Likewise.
11236         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11237         Likewise.
11238         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11239         Likewise.
11240         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11241         Likewise.
11242         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11243         Likewise.
11245         [BZ #14821]
11246         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11247         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11248         for copies of such integer values.
11249         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11250         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11252 2012-11-09  Andreas Jaeger  <aj@suse.de>
11254         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11255         definitions and declarations that are provided by
11256         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11258 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11260         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11261         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11262         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11263         definition.
11265 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11267         * elf/elf.h: Update comment before AArch64 relocations.
11269 2012-11-07  David S. Miller  <davem@davemloft.net>
11271         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11272         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11273         (__start_context): Declare.
11274         (__makecontext_ret): Delete.
11275         (__makecontext): Hook up __start_context instead of
11276         __makecontext_ret.
11277         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11278         (sysdep_routines): Add __start_context when in stdlib.
11280 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11282         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11283         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11284         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11285         hardcoded "nm".
11286         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11287         (READELF): New variable.  Use it instead of hardcoded "readelf".
11289 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11291         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11292         * sysdeps/x86/Makefile: Here.
11293         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11294         * sysdeps/x86/tst-xmmymm.sh: This.
11296 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11298         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11299         expectations.
11300         [UNIX98] (pthread_barrier_t): Do not expect.
11301         [UNIX98] (pthread_barrierattr_t): Likewise.
11302         [UNIX98] (pthread_spinlock_t): Likewise.
11303         [UNIX98] (pthread_barrier_destroy): Likewise.
11304         [UNIX98] (pthread_barrier_init): Likewise.
11305         [UNIX98] (pthread_barrier_wait): Likewise.
11306         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11307         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11308         [UNIX98] (pthread_barrierattr_init): Likewise.
11309         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11310         [UNIX98] (pthread_getcpuclockid): Likewise.
11311         [UNIX98] (pthread_mutex_timedlock): Likewise.
11312         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11313         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11314         [UNIX98] (pthread_sigmask): Likewise.
11315         [UNIX98] (pthread_spin_destroy): Likewise.
11316         [UNIX98] (pthread_spin_init): Likewise.
11317         [UNIX98] (pthread_spin_lock): Likewise.
11318         [UNIX98] (pthread_spin_trylock): Likewise.
11319         [UNIX98] (pthread_spin_unlock): Likewise.
11320         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11321         Do not expect.
11322         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11323         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11324         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11325         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11326         [XPG3 || XPG4] (pthread_key_t): Likewise.
11327         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11328         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11329         [XPG3 || XPG4] (pthread_once_t): Likewise.
11330         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11331         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11332         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11333         [XPG3 || XPG4] (pthread_t): Likewise.
11335         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11336         not expect.
11337         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11339         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11340         Change function return type to int.
11342         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11343         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11344         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11345         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11346         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11347         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11348         [!POSIX] (posix_madvise): Likewise.
11349         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11350         && !UNIX98].
11351         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11352         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11353         (mode_t): Likewise.
11354         (posix_mem_offset): Likewise.
11355         (posix_typed_mem_get_info): Likewise.
11356         (posix_typed_mem_open): Likewise.
11358         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11359         Change condition to [XOPEN2K8].
11361         * conform/conformtest.pl: Preprocess allow-header data with -x c
11362         instead of from stdin.
11363         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11364         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11365         [C99-based standards] (cerfc): Likewise.
11366         [C99-based standards] (cexp2): Likewise.
11367         [C99-based standards] (cexpm1): Likewise.
11368         [C99-based standards] (clog10): Likewise.
11369         [C99-based standards] (clog1p): Likewise.
11370         [C99-based standards] (clog2): Likewise.
11371         [C99-based standards] (clgamma): Likewise.
11372         [C99-based standards] (ctgamma): Likewise.
11373         [C99-based standards] (cerff): Likewise.
11374         [C99-based standards] (cerfcf): Likewise.
11375         [C99-based standards] (cexp2f): Likewise.
11376         [C99-based standards] (cexpm1f): Likewise.
11377         [C99-based standards] (clog10f): Likewise.
11378         [C99-based standards] (clog1pf): Likewise.
11379         [C99-based standards] (clog2f): Likewise.
11380         [C99-based standards] (clgammaf): Likewise.
11381         [C99-based standards] (ctgammaf): Likewise.
11382         [C99-based standards] (cerfl): Likewise.
11383         [C99-based standards] (cerfcl): Likewise.
11384         [C99-based standards] (cexp2l): Likewise.
11385         [C99-based standards] (cexpm1l): Likewise.
11386         [C99-based standards] (clog10l): Likewise.
11387         [C99-based standards] (clog1pl): Likewise.
11388         [C99-based standards] (clog2l): Likewise.
11389         [C99-based standards] (clgammal): Likewise.
11390         [C99-based standards] (ctgammal): Likewise.
11391         * conform/data/inttypes.h-data [C99-based standards]: Include
11392         stdint.h-data.  Remove all expectations for stdint.h contents.
11393         [C99-based standards] (PRI*): Do not allow.
11394         [C99-based standards] (SCN*): Likewise.
11395         [C99-based standards] (*_t): Likewise.
11396         [C99-based-standards] (PRId8): Expect macro.
11397         [C99-based-standards] (PRIi8): Likewise.
11398         [C99-based-standards] (PRIo8): Likewise.
11399         [C99-based-standards] (PRIu8): Likewise.
11400         [C99-based-standards] (PRIx8): Likewise.
11401         [C99-based-standards] (PRIX8): Likewise.
11402         [C99-based-standards] (SCNd8): Likewise.
11403         [C99-based-standards] (SCNi8): Likewise.
11404         [C99-based-standards] (SCNo8): Likewise.
11405         [C99-based-standards] (SCNu8): Likewise.
11406         [C99-based-standards] (SCNx8): Likewise.
11407         [C99-based-standards] (PRIdLEAST8): Likewise.
11408         [C99-based-standards] (PRIiLEAST8): Likewise.
11409         [C99-based-standards] (PRIoLEAST8): Likewise.
11410         [C99-based-standards] (PRIuLEAST8): Likewise.
11411         [C99-based-standards] (PRIxLEAST8): Likewise.
11412         [C99-based-standards] (PRIXLEAST8): Likewise.
11413         [C99-based-standards] (SCNdLEAST8): Likewise.
11414         [C99-based-standards] (SCNiLEAST8): Likewise.
11415         [C99-based-standards] (SCNoLEAST8): Likewise.
11416         [C99-based-standards] (SCNuLEAST8): Likewise.
11417         [C99-based-standards] (SCNxLEAST8): Likewise.
11418         [C99-based-standards] (PRIdFAST8): Likewise.
11419         [C99-based-standards] (PRIiFAST8): Likewise.
11420         [C99-based-standards] (PRIoFAST8): Likewise.
11421         [C99-based-standards] (PRIuFAST8): Likewise.
11422         [C99-based-standards] (PRIxFAST8): Likewise.
11423         [C99-based-standards] (PRIXFAST8): Likewise.
11424         [C99-based-standards] (SCNdFAST8): Likewise.
11425         [C99-based-standards] (SCNiFAST8): Likewise.
11426         [C99-based-standards] (SCNoFAST8): Likewise.
11427         [C99-based-standards] (SCNuFAST8): Likewise.
11428         [C99-based-standards] (SCNxFAST8): Likewise.
11429         [C99-based-standards] (PRId16): Likewise.
11430         [C99-based-standards] (PRIi16): Likewise.
11431         [C99-based-standards] (PRIo16): Likewise.
11432         [C99-based-standards] (PRIu16): Likewise.
11433         [C99-based-standards] (PRIx16): Likewise.
11434         [C99-based-standards] (PRIX16): Likewise.
11435         [C99-based-standards] (SCNd16): Likewise.
11436         [C99-based-standards] (SCNi16): Likewise.
11437         [C99-based-standards] (SCNo16): Likewise.
11438         [C99-based-standards] (SCNu16): Likewise.
11439         [C99-based-standards] (SCNx16): Likewise.
11440         [C99-based-standards] (PRIdLEAST16): Likewise.
11441         [C99-based-standards] (PRIiLEAST16): Likewise.
11442         [C99-based-standards] (PRIoLEAST16): Likewise.
11443         [C99-based-standards] (PRIuLEAST16): Likewise.
11444         [C99-based-standards] (PRIxLEAST16): Likewise.
11445         [C99-based-standards] (PRIXLEAST16): Likewise.
11446         [C99-based-standards] (SCNdLEAST16): Likewise.
11447         [C99-based-standards] (SCNiLEAST16): Likewise.
11448         [C99-based-standards] (SCNoLEAST16): Likewise.
11449         [C99-based-standards] (SCNuLEAST16): Likewise.
11450         [C99-based-standards] (SCNxLEAST16): Likewise.
11451         [C99-based-standards] (PRIdFAST16): Likewise.
11452         [C99-based-standards] (PRIiFAST16): Likewise.
11453         [C99-based-standards] (PRIoFAST16): Likewise.
11454         [C99-based-standards] (PRIuFAST16): Likewise.
11455         [C99-based-standards] (PRIxFAST16): Likewise.
11456         [C99-based-standards] (PRIXFAST16): Likewise.
11457         [C99-based-standards] (SCNdFAST16): Likewise.
11458         [C99-based-standards] (SCNiFAST16): Likewise.
11459         [C99-based-standards] (SCNoFAST16): Likewise.
11460         [C99-based-standards] (SCNuFAST16): Likewise.
11461         [C99-based-standards] (SCNxFAST16): Likewise.
11462         [C99-based-standards] (PRId32): Likewise.
11463         [C99-based-standards] (PRIi32): Likewise.
11464         [C99-based-standards] (PRIo32): Likewise.
11465         [C99-based-standards] (PRIu32): Likewise.
11466         [C99-based-standards] (PRIx32): Likewise.
11467         [C99-based-standards] (PRIX32): Likewise.
11468         [C99-based-standards] (SCNd32): Likewise.
11469         [C99-based-standards] (SCNi32): Likewise.
11470         [C99-based-standards] (SCNo32): Likewise.
11471         [C99-based-standards] (SCNu32): Likewise.
11472         [C99-based-standards] (SCNx32): Likewise.
11473         [C99-based-standards] (PRIdLEAST32): Likewise.
11474         [C99-based-standards] (PRIiLEAST32): Likewise.
11475         [C99-based-standards] (PRIoLEAST32): Likewise.
11476         [C99-based-standards] (PRIuLEAST32): Likewise.
11477         [C99-based-standards] (PRIxLEAST32): Likewise.
11478         [C99-based-standards] (PRIXLEAST32): Likewise.
11479         [C99-based-standards] (SCNdLEAST32): Likewise.
11480         [C99-based-standards] (SCNiLEAST32): Likewise.
11481         [C99-based-standards] (SCNoLEAST32): Likewise.
11482         [C99-based-standards] (SCNuLEAST32): Likewise.
11483         [C99-based-standards] (SCNxLEAST32): Likewise.
11484         [C99-based-standards] (PRIdFAST32): Likewise.
11485         [C99-based-standards] (PRIiFAST32): Likewise.
11486         [C99-based-standards] (PRIoFAST32): Likewise.
11487         [C99-based-standards] (PRIuFAST32): Likewise.
11488         [C99-based-standards] (PRIxFAST32): Likewise.
11489         [C99-based-standards] (PRIXFAST32): Likewise.
11490         [C99-based-standards] (SCNdFAST32): Likewise.
11491         [C99-based-standards] (SCNiFAST32): Likewise.
11492         [C99-based-standards] (SCNoFAST32): Likewise.
11493         [C99-based-standards] (SCNuFAST32): Likewise.
11494         [C99-based-standards] (SCNxFAST32): Likewise.
11495         [C99-based-standards] (PRId64): Likewise.
11496         [C99-based-standards] (PRIi64): Likewise.
11497         [C99-based-standards] (PRIo64): Likewise.
11498         [C99-based-standards] (PRIu64): Likewise.
11499         [C99-based-standards] (PRIx64): Likewise.
11500         [C99-based-standards] (PRIX64): Likewise.
11501         [C99-based-standards] (SCNd64): Likewise.
11502         [C99-based-standards] (SCNi64): Likewise.
11503         [C99-based-standards] (SCNo64): Likewise.
11504         [C99-based-standards] (SCNu64): Likewise.
11505         [C99-based-standards] (SCNx64): Likewise.
11506         [C99-based-standards] (PRIdLEAST64): Likewise.
11507         [C99-based-standards] (PRIiLEAST64): Likewise.
11508         [C99-based-standards] (PRIoLEAST64): Likewise.
11509         [C99-based-standards] (PRIuLEAST64): Likewise.
11510         [C99-based-standards] (PRIxLEAST64): Likewise.
11511         [C99-based-standards] (PRIXLEAST64): Likewise.
11512         [C99-based-standards] (SCNdLEAST64): Likewise.
11513         [C99-based-standards] (SCNiLEAST64): Likewise.
11514         [C99-based-standards] (SCNoLEAST64): Likewise.
11515         [C99-based-standards] (SCNuLEAST64): Likewise.
11516         [C99-based-standards] (SCNxLEAST64): Likewise.
11517         [C99-based-standards] (PRIdFAST64): Likewise.
11518         [C99-based-standards] (PRIiFAST64): Likewise.
11519         [C99-based-standards] (PRIoFAST64): Likewise.
11520         [C99-based-standards] (PRIuFAST64): Likewise.
11521         [C99-based-standards] (PRIxFAST64): Likewise.
11522         [C99-based-standards] (PRIXFAST64): Likewise.
11523         [C99-based-standards] (SCNdFAST64): Likewise.
11524         [C99-based-standards] (SCNiFAST64): Likewise.
11525         [C99-based-standards] (SCNoFAST64): Likewise.
11526         [C99-based-standards] (SCNuFAST64): Likewise.
11527         [C99-based-standards] (SCNxFAST64): Likewise.
11528         [C99-based-standards] (PRIdMAX): Likewise.
11529         [C99-based-standards] (PRIiMAX): Likewise.
11530         [C99-based-standards] (PRIoMAX): Likewise.
11531         [C99-based-standards] (PRIuMAX): Likewise.
11532         [C99-based-standards] (PRIxMAX): Likewise.
11533         [C99-based-standards] (PRIXMAX): Likewise.
11534         [C99-based-standards] (SCNdMAX): Likewise.
11535         [C99-based-standards] (SCNiMAX): Likewise.
11536         [C99-based-standards] (SCNoMAX): Likewise.
11537         [C99-based-standards] (SCNuMAX): Likewise.
11538         [C99-based-standards] (SCNxMAX): Likewise.
11539         [C99-based-standards] (PRIdPTR): Likewise.
11540         [C99-based-standards] (PRIiPTR): Likewise.
11541         [C99-based-standards] (PRIoPTR): Likewise.
11542         [C99-based-standards] (PRIuPTR): Likewise.
11543         [C99-based-standards] (PRIxPTR): Likewise.
11544         [C99-based-standards] (PRIXPTR): Likewise.
11545         [C99-based-standards] (SCNdPTR): Likewise.
11546         [C99-based-standards] (SCNiPTR): Likewise.
11547         [C99-based-standards] (SCNoPTR): Likewise.
11548         [C99-based-standards] (SCNuPTR): Likewise.
11549         [C99-based-standards] (SCNxPTR): Likewise.
11550         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11551         allow.
11552         * conform/data/stdint.h-data: Update comments to clarify
11553         requirements.
11554         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11555         type.
11556         [C99-based standards] (INT8_MAX): Likewise.
11557         [C99-based standards] (INT16_MIN): Likewise.
11558         [C99-based standards] (INT16_MAX): Likewise.
11559         [C99-based standards] (INT32_MIN): Likewise.
11560         [C99-based standards] (INT32_MAX): Likewise.
11561         [C99-based standards] (INT64_MIN): Likewise.
11562         [C99-based standards] (INT64_MAX): Likewise.
11563         [C99-based standards] (UINT8_MAX): Likewise.
11564         [C99-based standards] (UINT16_MAX): Likewise.
11565         [C99-based standards] (UINT32_MAX): Likewise.
11566         [C99-based standards] (UINT64_MAX): Likewise.
11567         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11568         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11569         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11570         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11571         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11572         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11573         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11574         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11575         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11576         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11577         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11578         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11579         [C99-based standards] (INT_FAST8_MIN): Likewise.
11580         [C99-based standards] (INT_FAST8_MAX): Likewise.
11581         [C99-based standards] (INT_FAST16_MIN): Likewise.
11582         [C99-based standards] (INT_FAST16_MAX): Likewise.
11583         [C99-based standards] (INT_FAST32_MIN): Likewise.
11584         [C99-based standards] (INT_FAST32_MAX): Likewise.
11585         [C99-based standards] (INT_FAST64_MIN): Likewise.
11586         [C99-based standards] (INT_FAST64_MAX): Likewise.
11587         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11588         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11589         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11590         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11591         [C99-based standards] (INTPTR_MIN): Likewise.
11592         [C99-based standards] (INTPTR_MAX): Likewise.
11593         [C99-based standards] (UINTPTR_MAX): Likewise.
11594         [C99-based standards] (INTMAX_MIN): Likewise.
11595         [C99-based standards] (INTMAX_MAX): Likewise.
11596         [C99-based standards] (UINTMAX_MAX): Likewise.
11597         [C99-based standards] (PTRDIFF_MIN): Likewise.
11598         [C99-based standards] (PTRDIFF_MAX): Likewise.
11599         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11600         [C99-based standards] (SIZE_MAX): Likewise.
11601         [C99-based standards] (WCHAR_MAX): Likewise.
11602         [C99-based standards] (WINT_MAX): Likewise.
11603         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11604         constraint on value.
11605         [C99-based standards] (WCHAR_MIN): Likewise.
11606         [C99-based standards] (WINT_MIN): Likewise.
11607         [C99-based standards] (*_t): Allow.
11608         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11609         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11610         Include math.h-data and complex.h-data.  Remove all expectations
11611         of math.h and complex.h contents.
11612         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11613         at end of line.
11614         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11615         (struct tm): Expect tag.
11616         [C99-based-standards] (wcstof): Expect function.
11617         [C99-based-standards] (wcstold): Likewise.
11618         [C99-based-standards] (wcstoll): Likewise.
11619         [C99-based-standards] (wcstoull): Likewise.
11620         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11621         macro-int-constant.  Specify type.
11622         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11623         constraint on value.
11624         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11625         Specify type.
11626         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11627         Specify value.
11628         [ISO C standards]: Do not allow headers.
11629         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11630         wcs[abcdefghijklmnopqrstuvwxyz]*.
11631         [ISO C standards] (*_t): Do not allow.
11632         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11633         Expect function.
11634         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11635         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11636         Specify type.
11637         [ISO C standards]: Do not allow headers.
11638         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11639         is[abcdefghijklmnopqrstuvwxyz]*.
11640         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11641         to[abcdefghijklmnopqrstuvwxyz]*.
11642         [ISO C standards] (*_t): Do not allow.
11643         * conform/data/stdalign.h-data: New file.
11644         * conform/data/stdbool.h-data: Likewise.
11645         * conform/data/stdnoreturn.h-data: Likewise.
11647 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11649         [BZ #14815]
11650         * manual/filesys.texi (Directory Entries): Typo fix.
11651         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11653 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11655         * elf/elf.h (EM_AARCH64): New macro.
11656         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11657         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11658         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11659         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11660         (R_AARCH64_TLSDESC): Likewise.
11661         (NT_ARM_TLS): Likewise.
11662         (NT_ARM_HW_BREAK): Likewise.
11663         (NT_ARM_HW_WATCH): Likewise.
11665 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11667         [BZ #14811]
11668         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11669         (__ieee754_powl): Saturate nonzero exponents with absolute value
11670         below 0x1p-79 to +/- 0x1p-79.
11671         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11672         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11673         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11674         nonzero exponents with absolute value below 0x1p-32 to +/-
11675         0x1p-32.
11676         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11677         (__ieee754_powl): Saturate nonzero exponents with absolute value
11678         below 0x1p-79 to +/- 0x1p-79.
11679         * math/libm-test.inc (pow_test): Add more tests.
11681 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11683         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11684         _dl_s390_cap_flags with kernel. Increase string length.
11685         (_dl_s390_platforms): Add z196 and zEC12.
11687 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11689         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11690         Change XOPEN21K to XOPEN2K.
11692 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
11694         * string/memmove.c: Use memcpy when possible.
11696 2012-11-06  Andreas Jaeger  <aj@suse.de>
11698         * po/eo.po: Update from translation team.
11700 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
11702         [BZ #14793]
11703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11704         exponent and small x and y exponents, scale x or y up.  Increase
11705         by 2 the exponent used in scaling up.
11706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11707         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11708         * math/libm-test.inc (fma_test): Add more tests.
11709         (fma_test_towardzero): Likewise.
11710         (fma_test_downward): Likewise.
11711         (fma_test_upward): Likewise.
11713 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
11715         [BZ #14805]
11716         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11717         fenv_t *.
11719         [BZ #14801]
11720         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11721         namespace for names of struct fields.
11722         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11723         fenv_t fields.
11724         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11725         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11727 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11729         [BZ #3665]
11730         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11732 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11734         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11735         PTR_DEMANGLE.
11737         [BZ #5246]
11738         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11739         PTR_DEMANGLE.
11741 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
11743         [BZ #14797]
11744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11745         definitely overflow as x * y not x * y + z.
11746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11748         * math/libm-test.inc (fma_test): Add more tests.
11749         (fma_test_towardzero): Likewise.
11750         (fma_test_downward): Likewise.
11751         (fma_test_upward): Likewise.
11753 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11755         [BZ #157]
11757         * include/stub-tag.h: Remove file.
11758         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11759         '#include' of it.
11760         * manual/maint.texi (Porting): Don't reference it.
11761         * Makerules ($(objpfx)stubs): Likewise.
11762         * dirent/closedir.c: Don't include <stub-tag.h>.
11763         * dirent/dirfd.c: Likewise.
11764         * dirent/fdopendir.c: Likewise.
11765         * dirent/getdents.c: Likewise.
11766         * dirent/getdents64.c: Likewise.
11767         * dirent/opendir.c: Likewise.
11768         * dirent/readdir.c: Likewise.
11769         * dirent/readdir64.c: Likewise.
11770         * dirent/readdir64_r.c: Likewise.
11771         * dirent/readdir_r.c: Likewise.
11772         * dirent/rewinddir.c: Likewise.
11773         * dirent/seekdir.c: Likewise.
11774         * dirent/telldir.c: Likewise.
11775         * gmon/profil.c: Likewise.
11776         * grp/setgroups.c: Likewise.
11777         * inet/if_index.c: Likewise.
11778         * io/access.c: Likewise.
11779         * io/chdir.c: Likewise.
11780         * io/chmod.c: Likewise.
11781         * io/chown.c: Likewise.
11782         * io/close.c: Likewise.
11783         * io/dup.c: Likewise.
11784         * io/dup2.c: Likewise.
11785         * io/dup3.c: Likewise.
11786         * io/euidaccess.c: Likewise.
11787         * io/faccessat.c: Likewise.
11788         * io/fchdir.c: Likewise.
11789         * io/fchmod.c: Likewise.
11790         * io/fchmodat.c: Likewise.
11791         * io/fchown.c: Likewise.
11792         * io/fchownat.c: Likewise.
11793         * io/fcntl.c: Likewise.
11794         * io/flock.c: Likewise.
11795         * io/fstatfs.c: Likewise.
11796         * io/fstatfs64.c: Likewise.
11797         * io/fstatvfs.c: Likewise.
11798         * io/fstatvfs64.c: Likewise.
11799         * io/futimens.c: Likewise.
11800         * io/fxstat.c: Likewise.
11801         * io/fxstat64.c: Likewise.
11802         * io/fxstatat.c: Likewise.
11803         * io/fxstatat64.c: Likewise.
11804         * io/getcwd.c: Likewise.
11805         * io/isatty.c: Likewise.
11806         * io/lchmod.c: Likewise.
11807         * io/lchown.c: Likewise.
11808         * io/link.c: Likewise.
11809         * io/linkat.c: Likewise.
11810         * io/lseek.c: Likewise.
11811         * io/lseek64.c: Likewise.
11812         * io/lxstat64.c: Likewise.
11813         * io/mkdir.c: Likewise.
11814         * io/mkdirat.c: Likewise.
11815         * io/mkfifo.c: Likewise.
11816         * io/mkfifoat.c: Likewise.
11817         * io/open.c: Likewise.
11818         * io/open64.c: Likewise.
11819         * io/openat.c: Likewise.
11820         * io/openat64.c: Likewise.
11821         * io/pipe.c: Likewise.
11822         * io/pipe2.c: Likewise.
11823         * io/poll.c: Likewise.
11824         * io/posix_fadvise.c: Likewise.
11825         * io/posix_fadvise64.c: Likewise.
11826         * io/posix_fallocate.c: Likewise.
11827         * io/posix_fallocate64.c: Likewise.
11828         * io/read.c: Likewise.
11829         * io/readlink.c: Likewise.
11830         * io/readlinkat.c: Likewise.
11831         * io/rmdir.c: Likewise.
11832         * io/sendfile.c: Likewise.
11833         * io/sendfile64.c: Likewise.
11834         * io/statfs.c: Likewise.
11835         * io/statfs64.c: Likewise.
11836         * io/statvfs.c: Likewise.
11837         * io/statvfs64.c: Likewise.
11838         * io/symlink.c: Likewise.
11839         * io/symlinkat.c: Likewise.
11840         * io/ttyname.c: Likewise.
11841         * io/ttyname_r.c: Likewise.
11842         * io/umask.c: Likewise.
11843         * io/unlink.c: Likewise.
11844         * io/unlinkat.c: Likewise.
11845         * io/utime.c: Likewise.
11846         * io/utimensat.c: Likewise.
11847         * io/write.c: Likewise.
11848         * io/xmknod.c: Likewise.
11849         * io/xmknodat.c: Likewise.
11850         * io/xstat.c: Likewise.
11851         * io/xstat64.c: Likewise.
11852         * login/getpt.c: Likewise.
11853         * login/grantpt.c: Likewise.
11854         * login/unlockpt.c: Likewise.
11855         * math/e_acoshl.c: Likewise.
11856         * math/e_acosl.c: Likewise.
11857         * math/e_asinl.c: Likewise.
11858         * math/e_atan2l.c: Likewise.
11859         * math/e_atanhl.c: Likewise.
11860         * math/e_coshl.c: Likewise.
11861         * math/e_expl.c: Likewise.
11862         * math/e_fmodl.c: Likewise.
11863         * math/e_gammal_r.c: Likewise.
11864         * math/e_hypotl.c: Likewise.
11865         * math/e_j0l.c: Likewise.
11866         * math/e_j1l.c: Likewise.
11867         * math/e_jnl.c: Likewise.
11868         * math/e_lgammal_r.c: Likewise.
11869         * math/e_log10l.c: Likewise.
11870         * math/e_log2l.c: Likewise.
11871         * math/e_logl.c: Likewise.
11872         * math/e_powl.c: Likewise.
11873         * math/e_rem_pio2l.c: Likewise.
11874         * math/e_sinhl.c: Likewise.
11875         * math/e_sqrtl.c: Likewise.
11876         * math/fclrexcpt.c: Likewise.
11877         * math/fedisblxcpt.c: Likewise.
11878         * math/feenablxcpt.c: Likewise.
11879         * math/fegetenv.c: Likewise.
11880         * math/fegetexcept.c: Likewise.
11881         * math/fegetround.c: Likewise.
11882         * math/feholdexcpt.c: Likewise.
11883         * math/fesetenv.c: Likewise.
11884         * math/fesetround.c: Likewise.
11885         * math/feupdateenv.c: Likewise.
11886         * math/fgetexcptflg.c: Likewise.
11887         * math/fraiseexcpt.c: Likewise.
11888         * math/fsetexcptflg.c: Likewise.
11889         * math/ftestexcept.c: Likewise.
11890         * math/k_cosl.c: Likewise.
11891         * math/k_rem_pio2l.c: Likewise.
11892         * math/k_sinl.c: Likewise.
11893         * math/k_tanl.c: Likewise.
11894         * math/s_asinhl.c: Likewise.
11895         * math/s_atanl.c: Likewise.
11896         * math/s_cbrtl.c: Likewise.
11897         * math/s_erfl.c: Likewise.
11898         * math/s_expm1l.c: Likewise.
11899         * math/s_log1pl.c: Likewise.
11900         * math/s_tanhl.c: Likewise.
11901         * misc/acct.c: Likewise.
11902         * misc/brk.c: Likewise.
11903         * misc/chflags.c: Likewise.
11904         * misc/chroot.c: Likewise.
11905         * misc/fchflags.c: Likewise.
11906         * misc/fgetxattr.c: Likewise.
11907         * misc/flistxattr.c: Likewise.
11908         * misc/fremovexattr.c: Likewise.
11909         * misc/fsetxattr.c: Likewise.
11910         * misc/fsync.c: Likewise.
11911         * misc/ftruncate.c: Likewise.
11912         * misc/futimes.c: Likewise.
11913         * misc/futimesat.c: Likewise.
11914         * misc/getdomain.c: Likewise.
11915         * misc/getdtsz.c: Likewise.
11916         * misc/gethostid.c: Likewise.
11917         * misc/gethostname.c: Likewise.
11918         * misc/getloadavg.c: Likewise.
11919         * misc/getpagesize.c: Likewise.
11920         * misc/getsysstats.c: Likewise.
11921         * misc/getxattr.c: Likewise.
11922         * misc/gtty.c: Likewise.
11923         * misc/ioctl.c: Likewise.
11924         * misc/lgetxattr.c: Likewise.
11925         * misc/listxattr.c: Likewise.
11926         * misc/llistxattr.c: Likewise.
11927         * misc/lremovexattr.c: Likewise.
11928         * misc/lsetxattr.c: Likewise.
11929         * misc/lutimes.c: Likewise.
11930         * misc/madvise.c: Likewise.
11931         * misc/mincore.c: Likewise.
11932         * misc/mlock.c: Likewise.
11933         * misc/mlockall.c: Likewise.
11934         * misc/mmap.c: Likewise.
11935         * misc/mprotect.c: Likewise.
11936         * misc/msync.c: Likewise.
11937         * misc/munlock.c: Likewise.
11938         * misc/munlockall.c: Likewise.
11939         * misc/munmap.c: Likewise.
11940         * misc/preadv.c: Likewise.
11941         * misc/preadv64.c: Likewise.
11942         * misc/ptrace.c: Likewise.
11943         * misc/pwritev.c: Likewise.
11944         * misc/pwritev64.c: Likewise.
11945         * misc/readv.c: Likewise.
11946         * misc/reboot.c: Likewise.
11947         * misc/remap_file_pages.c: Likewise.
11948         * misc/removexattr.c: Likewise.
11949         * misc/revoke.c: Likewise.
11950         * misc/select.c: Likewise.
11951         * misc/setdomain.c: Likewise.
11952         * misc/setegid.c: Likewise.
11953         * misc/seteuid.c: Likewise.
11954         * misc/sethostid.c: Likewise.
11955         * misc/sethostname.c: Likewise.
11956         * misc/setregid.c: Likewise.
11957         * misc/setreuid.c: Likewise.
11958         * misc/setxattr.c: Likewise.
11959         * misc/sstk.c: Likewise.
11960         * misc/stty.c: Likewise.
11961         * misc/swapoff.c: Likewise.
11962         * misc/swapon.c: Likewise.
11963         * misc/sync.c: Likewise.
11964         * misc/syncfs.c: Likewise.
11965         * misc/syscall.c: Likewise.
11966         * misc/truncate.c: Likewise.
11967         * misc/ualarm.c: Likewise.
11968         * misc/usleep.c: Likewise.
11969         * misc/ustat.c: Likewise.
11970         * misc/utimes.c: Likewise.
11971         * misc/vhangup.c: Likewise.
11972         * misc/writev.c: Likewise.
11973         * posix/_exit.c: Likewise.
11974         * posix/alarm.c: Likewise.
11975         * posix/execve.c: Likewise.
11976         * posix/fexecve.c: Likewise.
11977         * posix/fork.c: Likewise.
11978         * posix/fpathconf.c: Likewise.
11979         * posix/getaddrinfo.c: Likewise.
11980         * posix/getegid.c: Likewise.
11981         * posix/geteuid.c: Likewise.
11982         * posix/getgid.c: Likewise.
11983         * posix/getgroups.c: Likewise.
11984         * posix/getlogin.c: Likewise.
11985         * posix/getlogin_r.c: Likewise.
11986         * posix/getpgid.c: Likewise.
11987         * posix/getpid.c: Likewise.
11988         * posix/getppid.c: Likewise.
11989         * posix/getresgid.c: Likewise.
11990         * posix/getresuid.c: Likewise.
11991         * posix/getsid.c: Likewise.
11992         * posix/getuid.c: Likewise.
11993         * posix/glob64.c: Likewise.
11994         * posix/nanosleep.c: Likewise.
11995         * posix/pathconf.c: Likewise.
11996         * posix/pause.c: Likewise.
11997         * posix/posix_madvise.c: Likewise.
11998         * posix/pread.c: Likewise.
11999         * posix/pread64.c: Likewise.
12000         * posix/pwrite.c: Likewise.
12001         * posix/pwrite64.c: Likewise.
12002         * posix/sched_getaffinity.c: Likewise.
12003         * posix/sched_getp.c: Likewise.
12004         * posix/sched_gets.c: Likewise.
12005         * posix/sched_primax.c: Likewise.
12006         * posix/sched_primin.c: Likewise.
12007         * posix/sched_rr_gi.c: Likewise.
12008         * posix/sched_setaffinity.c: Likewise.
12009         * posix/sched_setp.c: Likewise.
12010         * posix/sched_sets.c: Likewise.
12011         * posix/sched_yield.c: Likewise.
12012         * posix/setgid.c: Likewise.
12013         * posix/setlogin.c: Likewise.
12014         * posix/setpgid.c: Likewise.
12015         * posix/setresgid.c: Likewise.
12016         * posix/setresuid.c: Likewise.
12017         * posix/setsid.c: Likewise.
12018         * posix/setuid.c: Likewise.
12019         * posix/sleep.c: Likewise.
12020         * posix/spawni.c: Likewise.
12021         * posix/sysconf.c: Likewise.
12022         * posix/times.c: Likewise.
12023         * posix/wait.c: Likewise.
12024         * posix/wait3.c: Likewise.
12025         * posix/wait4.c: Likewise.
12026         * posix/waitpid.c: Likewise.
12027         * resolv/gai_sigqueue.c: Likewise.
12028         * resource/getpriority.c: Likewise.
12029         * resource/getrlimit.c: Likewise.
12030         * resource/getrusage.c: Likewise.
12031         * resource/nice.c: Likewise.
12032         * resource/setpriority.c: Likewise.
12033         * resource/setrlimit.c: Likewise.
12034         * resource/ulimit.c: Likewise.
12035         * rt/aio_cancel.c: Likewise.
12036         * rt/aio_fsync.c: Likewise.
12037         * rt/aio_read.c: Likewise.
12038         * rt/aio_sigqueue.c: Likewise.
12039         * rt/aio_suspend.c: Likewise.
12040         * rt/aio_write.c: Likewise.
12041         * rt/clock_getres.c: Likewise.
12042         * rt/clock_gettime.c: Likewise.
12043         * rt/clock_nanosleep.c: Likewise.
12044         * rt/clock_settime.c: Likewise.
12045         * rt/lio_listio.c: Likewise.
12046         * rt/mq_close.c: Likewise.
12047         * rt/mq_getattr.c: Likewise.
12048         * rt/mq_notify.c: Likewise.
12049         * rt/mq_open.c: Likewise.
12050         * rt/mq_receive.c: Likewise.
12051         * rt/mq_send.c: Likewise.
12052         * rt/mq_setattr.c: Likewise.
12053         * rt/mq_timedreceive.c: Likewise.
12054         * rt/mq_timedsend.c: Likewise.
12055         * rt/mq_unlink.c: Likewise.
12056         * rt/shm_open.c: Likewise.
12057         * rt/shm_unlink.c: Likewise.
12058         * rt/timer_create.c: Likewise.
12059         * rt/timer_delete.c: Likewise.
12060         * rt/timer_getoverr.c: Likewise.
12061         * rt/timer_gettime.c: Likewise.
12062         * rt/timer_settime.c: Likewise.
12063         * setjmp/__longjmp.c: Likewise.
12064         * setjmp/setjmp.c: Likewise.
12065         * signal/kill.c: Likewise.
12066         * signal/killpg.c: Likewise.
12067         * signal/raise.c: Likewise.
12068         * signal/sigaction.c: Likewise.
12069         * signal/sigaltstack.c: Likewise.
12070         * signal/sigblock.c: Likewise.
12071         * signal/sigignore.c: Likewise.
12072         * signal/sigintr.c: Likewise.
12073         * signal/signal.c: Likewise.
12074         * signal/sigpause.c: Likewise.
12075         * signal/sigpending.c: Likewise.
12076         * signal/sigqueue.c: Likewise.
12077         * signal/sigreturn.c: Likewise.
12078         * signal/sigset.c: Likewise.
12079         * signal/sigsetmask.c: Likewise.
12080         * signal/sigstack.c: Likewise.
12081         * signal/sigsuspend.c: Likewise.
12082         * signal/sigtimedwait.c: Likewise.
12083         * signal/sigvec.c: Likewise.
12084         * signal/sigwait.c: Likewise.
12085         * signal/sigwaitinfo.c: Likewise.
12086         * signal/sysv_signal.c: Likewise.
12087         * socket/accept.c: Likewise.
12088         * socket/accept4.c: Likewise.
12089         * socket/bind.c: Likewise.
12090         * socket/connect.c: Likewise.
12091         * socket/getpeername.c: Likewise.
12092         * socket/getsockname.c: Likewise.
12093         * socket/getsockopt.c: Likewise.
12094         * socket/isfdtype.c: Likewise.
12095         * socket/listen.c: Likewise.
12096         * socket/recv.c: Likewise.
12097         * socket/recvfrom.c: Likewise.
12098         * socket/recvmsg.c: Likewise.
12099         * socket/send.c: Likewise.
12100         * socket/sendmsg.c: Likewise.
12101         * socket/sendto.c: Likewise.
12102         * socket/setsockopt.c: Likewise.
12103         * socket/shutdown.c: Likewise.
12104         * socket/sockatmark.c: Likewise.
12105         * socket/socket.c: Likewise.
12106         * socket/socketpair.c: Likewise.
12107         * stdio-common/ctermid.c: Likewise.
12108         * stdio-common/cuserid.c: Likewise.
12109         * stdio-common/remove.c: Likewise.
12110         * stdio-common/rename.c: Likewise.
12111         * stdio-common/renameat.c: Likewise.
12112         * stdio-common/tempname.c: Likewise.
12113         * stdlib/getcontext.c: Likewise.
12114         * stdlib/makecontext.c: Likewise.
12115         * stdlib/setcontext.c: Likewise.
12116         * stdlib/swapcontext.c: Likewise.
12117         * stdlib/system.c: Likewise.
12118         * streams/fattach.c: Likewise.
12119         * streams/fdetach.c: Likewise.
12120         * streams/getmsg.c: Likewise.
12121         * streams/getpmsg.c: Likewise.
12122         * streams/putmsg.c: Likewise.
12123         * streams/putpmsg.c: Likewise.
12124         * sysdeps/unix/bsd/getpt.c: Likewise.
12125         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12126         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12127         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12131         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12132         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12133         * sysvipc/msgctl.c: Likewise.
12134         * sysvipc/msgget.c: Likewise.
12135         * sysvipc/msgrcv.c: Likewise.
12136         * sysvipc/msgsnd.c: Likewise.
12137         * sysvipc/semctl.c: Likewise.
12138         * sysvipc/semget.c: Likewise.
12139         * sysvipc/semop.c: Likewise.
12140         * sysvipc/semtimedop.c: Likewise.
12141         * sysvipc/shmat.c: Likewise.
12142         * sysvipc/shmctl.c: Likewise.
12143         * sysvipc/shmdt.c: Likewise.
12144         * sysvipc/shmget.c: Likewise.
12145         * termios/tcdrain.c: Likewise.
12146         * termios/tcflow.c: Likewise.
12147         * termios/tcflush.c: Likewise.
12148         * termios/tcgetattr.c: Likewise.
12149         * termios/tcgetpgrp.c: Likewise.
12150         * termios/tcsendbrk.c: Likewise.
12151         * termios/tcsetattr.c: Likewise.
12152         * termios/tcsetpgrp.c: Likewise.
12153         * time/adjtime.c: Likewise.
12154         * time/clock.c: Likewise.
12155         * time/getitimer.c: Likewise.
12156         * time/gettimeofday.c: Likewise.
12157         * time/setitimer.c: Likewise.
12158         * time/settimeofday.c: Likewise.
12159         * time/stime.c: Likewise.
12160         * time/time.c: Likewise.
12162 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12164         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12165         /usr/old/bin.
12167         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12168         instead of spaces.
12169         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12171 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12173         [BZ #14796]
12174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12175         FE_TONEAREST before applying Dekker multiplication and Knuth
12176         addition.  Clear inexact exceptions and check for exact zero
12177         results afterwards.
12178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12179         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12181         * math/libm-test.inc (fma_test): Add more tests.
12182         (fma_test_towardzero): Likewise.
12183         (fma_test_downward): Likewise.
12184         (fma_test_upward): Likewise.
12185         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12186         function.
12187         (libc_fesetround): New macro.
12188         (libc_fesetroundf): Likewise.
12189         (libc_fesetroundl): Likewise.
12190         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12191         function.
12192         (libc_fesetround_387): Likewise.
12193         (libc_fesetroundf): New macro.
12194         (libc_fesetround): Likewise.
12195         (libc_fesetroundl): Likewise.
12196         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12197         function.
12198         (libc_fesetroundf): New macro.
12199         (libc_fesetround): Likewise.
12200         (libc_fesetroundl): Likewise.
12201         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12202         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12203         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12204         libm_hidden_ver.
12205         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12206         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12207         libm_hidden_def.
12208         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12209         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12210         libm_hidden_ver.
12211         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12212         libm_hidden_def.
12214         [BZ #3439]
12215         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12216         integer constant usable in #if and use that to give value to enum
12217         constant.
12218         (FE_DIVBYZERO): Likewise.
12219         (FE_UNDERFLOW): Likewise.
12220         (FE_OVERFLOW): Likewise.
12221         (FE_INVALID): Likewise.
12222         (FE_INVALID_SNAN): Likewise.
12223         (FE_INVALID_ISI): Likewise.
12224         (FE_INVALID_IDI): Likewise.
12225         (FE_INVALID_ZDZ): Likewise.
12226         (FE_INVALID_IMZ): Likewise.
12227         (FE_INVALID_COMPARE): Likewise.
12228         (FE_INVALID_SOFTWARE): Likewise.
12229         (FE_INVALID_SQRT): Likewise.
12230         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12231         (FE_TONEAREST): Likewise.
12232         (FE_TOWARDZERO): Likewise.
12233         (FE_UPWARD): Likewise.
12234         (FE_DOWNWARD): Likewise.
12235         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12236         (FE_DIVBYZERO): Likewise.
12237         (FE_OVERFLOW): Likewise.
12238         (FE_UNDERFLOW): Likewise.
12239         (FE_INEXACT): Likewise.
12240         (FE_TONEAREST): Likewise.
12241         (FE_DOWNWARD): Likewise.
12242         (FE_UPWARD): Likewise.
12243         (FE_TOWARDZERO): Likewise.
12244         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12245         (FE_UNDERFLOW): Likewise.
12246         (FE_OVERFLOW): Likewise.
12247         (FE_DIVBYZERO): Likewise.
12248         (FE_INVALID): Likewise.
12249         (FE_TONEAREST): Likewise.
12250         (FE_TOWARDZERO): Likewise.
12251         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12252         (FE_OVERFLOW): Likewise.
12253         (FE_UNDERFLOW): Likewise.
12254         (FE_DIVBYZERO): Likewise.
12255         (FE_INEXACT): Likewise.
12256         (FE_TONEAREST): Likewise.
12257         (FE_TOWARDZERO): Likewise.
12258         (FE_UPWARD): Likewise.
12259         (FE_DOWNWARD): Likewise.
12260         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12261         (FE_DIVBYZERO): Likewise.
12262         (FE_OVERFLOW): Likewise.
12263         (FE_UNDERFLOW): Likewise.
12264         (FE_INEXACT): Likewise.
12265         (FE_TONEAREST): Likewise.
12266         (FE_DOWNWARD): Likewise.
12267         (FE_UPWARD): Likewise.
12268         (FE_TOWARDZERO): Likewise.
12270 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12272         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12274 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12276         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12277         commands.  Quote $PWD.
12278         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12279         -x" by "export".
12280         (remove_newlines): Remove.
12282 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12284         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12285         * stdlib/stdlib.h (atof): Moved to ...
12286         * include/bits/stdlib-float.h: Here.  New file.
12287         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12288         * stdlib/bits/stdlib-float.h: New file.
12289         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12290         -mno-sse -mno-mmx.
12291         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12292         <xmmintrin.h>.
12294 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12296         * conform/conformtest.pl (@headers): Add fenv.h.
12297         * conform/data/fenv.h-data: New file.
12298         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12299         include of <math/fenv.h>.
12301         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12302         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12303         && !UNIX98].  Enables tests for XOPEN2K8.
12304         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12305         POSIX2008]: Likewise.
12307         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12308         (struct rusage): Do not expect type or its members.
12310         [BZ #3439]
12311         * math/math.h (FP_NAN): Define macro to integer constant usable in
12312         #if and use that to give value to enum constant.
12313         (FP_INFINITE): Likewise.
12314         (FP_ZERO): Likewise.
12315         (FP_SUBNORMAL): Likewise.
12316         (FP_NORMAL): Likewise.
12318 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12320         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12321         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12322         arguments.
12324 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12326         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12327         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12328         autoconf-time if not.
12329         * configure.in: Remove AC_PREREQ.
12331 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12333         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12334         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12335         of the internal implementation.
12337 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12339         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12340         except include of <misc/sys/syslog.h>.
12342 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12345         function returns with a NULL context exit with zero.
12347 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12349         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12351 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12353         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12354         (run_program_cmd): This.
12355         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12356         (tst_langinfo): New variable.  Use it.
12358 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12360         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12361         floating point opcodes.
12363 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12365         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12366         variable.
12368         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12370         * sysdeps/mach/hurd/powerpc: Remove directory.
12371         * sysdeps/mach/powerpc: Likewise.
12373 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12375         * scripts/check-local-headers.sh: Ignore c++ headers.
12377 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12379         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12380         __libc_cleanup_region_start argument.
12382 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12384         [BZ #14784]
12385         [BZ #14785]
12386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12387         x * y using scaling, not as x * y + z.
12388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12390         * math/libm-test.inc (fma_test): Add more tests.
12391         (fma_test_towardzero): Likewise.
12392         (fma_test_downward): Likewise.
12393         (fma_test_upward): Likewise.
12395 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12397         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12399 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12401         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12402         New variable.
12404 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12406         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12408 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12411         Fix sort order.
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12413         Likewise.
12415 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12418         Fix the order of the list for glibc 2.17.
12419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12420         Likewise.
12422 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12426 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12428         [BZ #14610]
12429         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12430         for low part of x being zero before using __atanl (y).
12431         * math/libm-test.inc (atan2_test): Add another test.
12433         * manual/install.texi (Configuring and compiling): Document
12434         general use of test-wrapper and test-wrapper-env.
12435         * INSTALL: Regenerated.
12437         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12438         (__fma): Do not extract and scale down low bits on after-rounding
12439         systems when result rounded to normal precision would have normal
12440         exponent.
12441         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12442         (__fmal): Do not extract and scale down low bits on after-rounding
12443         systems when result rounded to normal precision would have normal
12444         exponent.
12445         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12446         (__fmal): Do not extract and scale down low bits on after-rounding
12447         systems when result rounded to normal precision would have normal
12448         exponent.
12449         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12450         macro.
12451         (fma_test): Add more tests.
12452         (fma_test_towardzero): Likewise.
12453         (fma_test_downward): Likewise.
12454         (fma_test_upward): Likewise.
12456 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12458         * sysdeps/i386/tininess.h: Renamed to ...
12459         * sysdeps/x86/tininess.h: This.
12460         * sysdeps/x86_64/tininess.h: Removed.
12462 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12464         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12465         input.  Use $(build-program-cmd).
12466         ($(objpfx)tst-array1-static.out): Likewise.
12467         ($(objpfx)tst-array2.out): Likewise.
12468         ($(objpfx)tst-array3.out): Likewise.
12469         ($(objpfx)tst-array4.out): Likewise.
12470         ($(objpfx)tst-array5.out): Likewise.
12471         ($(objpfx)tst-array5-static.out): Likewise.
12473 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12475         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12476         if defined.
12478         * nss/nsswitch.h (nss_interface_function): Provide new
12479         macro for use with NSS functions.
12480         * grp/initgroups.c: Use new macro.
12481         * nss/getXXbyYY.c: Likewise.
12482         * nss/getXXbyYY_r.c: Likewise.
12483         * nss/getXXent.c: Likewise.
12484         * nss/getXXent_r.c: Likewise.
12485         * sysdeps/posix/getaddrinfo.c: Likewise.
12487 2012-10-30  Andreas Jaeger  <aj@suse.de>
12489         * po/ru.po: Update Russion translation from translation project.
12491 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12493         [BZ #14152]
12494         [BZ #14783]
12495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12496         result and shift together with sticky bit instead of replicating
12497         round-to-nearest rounding.
12498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12499         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12500         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12501         missing underflow exceptions.
12502         (fma_test_towardzero): Add more tests.
12503         (fma_test_downward): Likewise.
12504         (fma_test_upward): Likewise.
12506         [BZ #14047]
12507         * sysdeps/generic/tininess.h: New file.
12508         * sysdeps/i386/tininess.h: Likewise.
12509         * sysdeps/sh/tininess.h: Likewise.
12510         * sysdeps/x86_64/tininess.h: Likewise.
12511         * stdlib/tst-strtod-underflow.c: Likewise.
12512         * stdlib/tst-tininess.c: Likewise.
12513         * stdlib/strtod_l.c: Include <tininess.h>.
12514         (round_and_return): Do not set errno for exact underflow cases.
12515         Force an underflow exception when setting errno for underflow.
12516         Determine underflow based on rounding to normal precision if
12517         TININESS_AFTER_ROUNDING.
12518         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12519         ERANGE for exact underflow cases.
12520         * stdlib/Makefile (tests): Add tst-tininess and
12521         tst-strtod-underflow.
12522         ($(objpfx)tst-tininess): Use $(link-libm).
12523         ($(objpfx)tst-strtod-underflow): Likewise.
12525 2012-10-30  Andreas Jaeger  <aj@suse.de>
12527         [BZ#14767]
12528         * elf/Makefile (tests): Remove conditional for have-initfini-array
12529         since this is now always required and the variable does not exist
12530         anymore.
12531         (tests-static): Likewise.
12532         (modules-names): Likewise.
12534         * po/eo.po: Add Esperanto translation from translation project.
12536         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12537         merged with constructor/destructor.
12538         (init_array): Likewise.
12539         * elf/tst-array2dep.c (fini_array): Likewise.
12540         (init_array): Likewise.
12542 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12544         * manual/message.texi: Delete @cartouche tags.
12546 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12548         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12549         EOPNOTSUPP.
12550         * sysdeps/mach/hurd/fsync.c: Likewise.
12552         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12553         [_POSIX_REALTIME_SIGNALS]: Change condition to
12554         [_POSIX_REALTIME_SIGNALS > 0].
12556 2012-10-27  Andreas Jaeger  <aj@suse.de>
12558         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12559         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12561         [__WORDSIZE != 64]: Likewise.
12563 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12565         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12566         *  iconvdata/tst-tables.sh: Likewise.
12568 2012-10-25  David S. Miller  <davem@davemloft.net>
12570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12571         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12572         of strtoull.
12574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12575         ifunc-impl-list.c
12576         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12577         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12578         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12579         file.
12581 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12584         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12585         __getdirentries.
12587 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12588             Jim Blandy  <jimb@codesourcery.com>
12590         * scripts/cross-test-ssh.sh: New file.
12591         * manual/install.texi (Configuring and compiling): Document use of
12592         cross-test-ssh.sh.
12593         * INSTALL: Regenerated.
12595 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12597         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12598         EOPNOTSUPP.
12600 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12602         * Makeconfig (run-program-prefix): Fix comment.
12604 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12605             Jim Blandy  <jimb@codesourcery.com>
12607         * Makeconfig (test-wrapper): New variable,
12608         (test-wrapper-env): Likewise.
12609         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12610         (run-built-tests): Define to yes.
12611         (run-program-prefix): Use $(test-wrapper).
12612         (built-program-cmd): Likewise.
12613         * Rules (make-test-out): Use $(test-wrapper-env) and
12614         $(host-built-program-cmd).
12615         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12616         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12617         tst-pathopt.sh.
12618         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12619         $(test-wrapper-env) to tst-rtld-load-self.sh.
12620         ($(objpfx)order2.out): Use $(test-wrapper).
12621         ($(objpfx)tst-initorder.out): Likewise.
12622         ($(objpfx)tst-initorder2.out): Likewise.
12623         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12624         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12625         (test_wrapper_env): New variable.  Use it to run ld.so.
12626         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12627         Use it to run ld.so.
12628         (test_wrapper_env): Likewise.
12629         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12630         $(test-wrapper) to run-iconv-test.sh.
12631         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12632         (ICONV): Use $test_wrapper.
12633         * posix/Makefile ($(objpfx)globtest.out): Pass
12634         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12635         globtest.sh, not $(run-program-prefix).
12636         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12637         (test_wrapper): Likewise.
12638         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12639         set together with run_via_rtld_prefix.
12640         (run_program_prefix): Define in terms of test_wrapper and
12641         run_via_rtld_prefix.
12643 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12645         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12646         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12647         Targets removed.
12649         [BZ #14743]
12650         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12651         Declare __clock_getres, __clock_gettime, __clock_settime,
12652         __clock_nanosleep, and __clock_getcpuclockid.
12653         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12654         Remove librt_hidden_def (clock_gettime).
12655         * sysdeps/unix/clock_gettime.c: Likewise.
12656         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12657         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12658         * rt/clock_getres.c: Define __clock_getres as an alias.
12659         * sysdeps/posix/clock_getres.c: Likewise.
12660         * rt/clock_settime.c: Define __clock_settime as an alias.
12661         * sysdeps/unix/clock_settime.c: Likewise.
12662         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12663         * sysdeps/unix/clock_nanosleep.c: Likewise.
12664         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12665         * rt/clock-compat.c: New file.
12666         * rt/Makefile (librt-routines): Add clock-compat and move
12667         $(clock-routines) to ...
12668         (routines): ... here, new variable.
12669         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12670         Don't add get_clockfreq here.
12671         * rt/Versions (libc: GLIBC_2.17): New version set.
12672         Add clock_* symbols here.
12673         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12675         (GLIBC_2.17): Add clock_* symbols.
12676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12680         Likewise.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12682         Likewise.
12683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12687         * NEWS: Mention the move.
12689         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12690         Use __open, __read, __close rather than their public counterparts.
12691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12692         (__get_clockfreq_via_cpuinfo): Likewise.
12693         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12694         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12696         * config.h.in (HAVE_IFUNC): New #undef.
12697         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12698         was successful.
12699         * configure: Regenerated.
12701 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12703         * configure.in: Move READELF check to start of file.
12704         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12705         libc_cv_asm_gnu_indirect_function in the process.
12706         * configure: Regenerated.
12708 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12710         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12711         send the output to /dev/null.
12712         (libc_cv_cc_with_libunwind): Likewise.
12713         (libc_cv_as_noexecstack): Likewise.
12714         * configure: Regenerate.
12716 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12718         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12720         * posix/globtest.sh (TMPDIR): Do not set.
12721         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12722         (testout): Likewise.
12724 2012-10-24  Andreas Jaeger  <aj@suse.de>
12726         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12727         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12728         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12729         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12730         posix_fadvise64, posix_fallocate64.
12732         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12733         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12734         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12735         Likewise.
12736         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12737         Likewise.
12738         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12741         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12742         <bits/fcntl-linux.h>.
12743         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12745         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12746         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12747         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12748         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12749         [__WORDSIZE != 64]: Likewise.
12751 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12753         * Makeconfig (run-built-tests): New variable.
12754         * Rules [$(cross-compiling) = yes]: Change condition to
12755         [$(run-built-tests) = no].
12756         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12757         to [$(run-built-tests) = yes].
12758         * elf/Makefile [$(cross-compiling) = no]: Likewise
12759         * grp/Makefile [$(cross-compiling) = no]: Likewise.
12760         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12761         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12762         * intl/Makefile [$(cross-compiling) = no]: Likewise.
12763         * io/Makefile [$(cross-compiling) = no]: Likewise.
12764         * libio/Makefile [$(cross-compiling) = no]: Likewise.
12765         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12766         * misc/Makefile [$(cross-compiling) = no]: Likewise.
12767         * posix/Makefile [$(cross-compiling) = no]: Likewise.
12768         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12769         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12770         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12771         * string/Makefile [$(cross-compiling) = no]: Likewise.
12773         * posix/Makefile ($(objpfx)globtest.out): Pass
12774         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12775         $(rtld-installed-name).
12776         * posix/globtest.sh (elf_objpfx): Remove variable.
12777         (rtld_installed_name): Likewise.
12778         (library_path): Likewise.
12779         (run_program_prefix): New variable.  Use for running globtest
12780         binary.
12782 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
12783             Joseph Myers  <joseph@codesourcery.com>
12785         * Makeconfig (host-built-program-cmd): New variable.
12786         * elf/Makefile (tst-stackguard1-ARGS): Use
12787         $(host-built-program-cmd).
12788         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12789         (tst-spawn-ARGS): Likewise.
12790         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12792 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12793             Jim Blandy  <jimb@codesourcery.com>
12795         * Makeconfig (run-via-rtld-prefix): New variable.
12796         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12797         (built-program-cmd): Likewise.
12799 2012-10-22  Andreas Jaeger  <aj@suse.de>
12801         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12802         __O_RSYNC if it exists, otherwise to O_SYNC.
12804 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
12805             Joseph Myers  <joseph@codesourcery.com>
12807         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12808         /dev/null.
12809         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12810         from /dev/null
12811         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12812         /dev/null.
12814 2012-10-22  Andreas Jaeger  <aj@suse.de>
12816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12817         Define always.
12818         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12821         bits/fcntl-linux.h.
12823         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12824         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12827         to __O_LARGEFILE.
12828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12829         to __O_LARGEFILE.
12831 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
12832             Joseph Myers  <joseph@codesourcery.com>
12834         * config.make.in (NM): New variable.
12836 2012-10-21  Andreas Jaeger  <aj@suse.de>
12838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12839         definitions and declarations that are provided by
12840         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12842 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12844         [BZ #14683]
12845         * elf/Makefile (tests-static): Add tst-leaks1-static.
12846         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12847         ($(objpfx)tst-leaks1-static): New rule.
12848         ($(objpfx)tst-leaks1-static-mem): Likewise.
12849         (tst-leaks1-static-ENV): New macro.
12850         * elf/dl-open.c (dl_open_worker): Check the main application
12851         only if SHARED is defined.
12852         * elf/tst-leaks1-static.c: New file.
12854 2012-10-20  Andreas Jaeger  <aj@suse.de>
12856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12857         generic values for Linux.
12858         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12859         and declarations that are provided by <bits/fcntl-linux.h> and
12860         include <bits/fcntl-linux.h>.
12861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12862         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12864 2012-10-20  Roland McGrath  <roland@hack.frob.com>
12866         * io/fcntl.h: Move include of <bits/types.h> to the top and
12867         include it unconditionally.
12869 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
12871         * wcsmbs/Makefile (tests-ifunc): New variable.
12872         (tests): Add $(tests-ifunc).
12873         * wcsmbs/test-wcschr-ifunc.c: New file.
12874         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12875         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12876         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12877         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12878         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12880         * string/Makefile (tests-ifunc): New variable.
12881         (tests): Add $(tests-ifunc).
12882         * string/test-memccpy.c (TEST_NAME): New macro.
12883         * string/test-memchr.c (TEST_NAME): Likewise.
12884         * string/test-memcmp.c (TEST_NAME): Likewise.
12885         * string/test-memcpy.c (TEST_NAME): Likewise.
12886         * string/test-memmem.c (TEST_NAME): Likewise.
12887         * string/test-memmove.c (TEST_NAME): Likewise.
12888         * string/test-memset.c (TEST_NAME): Likewise.
12889         * string/test-rawmemchr.c (TEST_NAME): Likewise.
12890         * string/test-stpcpy.c (TEST_NAME): Likewise.
12891         * string/test-stpncpy.c (TEST_NAME): Likewise.
12892         * string/test-strcasecmp.c (TEST_NAME): Likewise.
12893         * string/test-strcasestr.c (TEST_NAME): Likewise.
12894         * string/test-strcat.c (TEST_NAME): Likewise.
12895         * string/test-strchr.c (TEST_NAME): Likewise.
12896         * string/test-strcmp.c(TEST_NAME): Likewise.
12897         * string/test-strcpy.c (TEST_NAME): Likewise.
12898         * string/test-strcspn.c (TEST_NAME): Likewise.
12899         * string/test-strlen.c (TEST_NAME): Likewise.
12900         * string/test-strncasecmp.c (TEST_NAME): Likewise.
12901         * string/test-strncmp.c (TEST_NAME): Likewise.
12902         * string/test-strncpy.c (TEST_NAME): Likewise.
12903         * string/test-strnlen.c (TEST_NAME): Likewise.
12904         * string/test-strpbrk.c (TEST_NAME): Likewise.
12905         * string/test-strrchr.c (TEST_NAME): Likewise.
12906         * string/test-strspn.c (TEST_NAME): Likewise.
12907         * string/test-strstr.c (TEST_NAME): Likewise.
12908         * string/test-bcopy-ifunc.c: New file.
12909         * string/test-bzero-ifunc.c: Likewise.
12910         * string/test-memccpy-ifunc.c: Likewise.
12911         * string/test-memchr-ifunc.c: Likewise.
12912         * string/test-memcmp-ifunc.c: Likewise.
12913         * string/test-memcpy-ifunc.c: Likewise.
12914         * string/test-memmem-ifunc.c: Likewise.
12915         * string/test-memmove-ifunc.c: Likewise.
12916         * string/test-mempcpy-ifunc.c: Likewise.
12917         * string/test-memset-ifunc.c: Likewise.
12918         * string/test-rawmemchr-ifunc.c: Likewise.
12919         * string/test-stpcpy-ifunc.c: Likewise.
12920         * string/test-stpncpy-ifunc.c: Likewise.
12921         * string/test-strcasecmp-ifunc.c: Likewise.
12922         * string/test-strcasestr-ifunc.c: Likewise.
12923         * string/test-strcat-ifunc.c: Likewise.
12924         * string/test-strchr-ifunc.c: Likewise.
12925         * string/test-strchrnul-ifunc.c: Likewise.
12926         * string/test-strcmp-ifunc.c: Likewise.
12927         * string/test-strcpy-ifunc.c: Likewise.
12928         * string/test-strcspn-ifunc.c: Likewise.
12929         * string/test-strlen-ifunc.c: Likewise.
12930         * string/test-strncasecmp-ifunc.c: Likewise.
12931         * string/test-strncat-ifunc.c: Likewise.
12932         * string/test-strncmp-ifunc.c: Likewise.
12933         * string/test-strncpy-ifunc.c: Likewise.
12934         * string/test-strnlen-ifunc.c: Likewise.
12935         * string/test-strpbrk-ifunc.c: Likewise.
12936         * string/test-strrchr-ifunc.c: Likewise.
12937         * string/test-strspn-ifunc.c: Likewise.
12938         * string/test-strstr-ifunc.c: Likewise.
12940         * debug/Makefile (tests-ifunc): New variable.
12941         (tests): Add $(tests-ifunc).
12942         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12943         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12944         * debug/test-stpcpy_chk-ifunc.c: New file.
12945         * debug/test-strcpy_chk-ifunc.c: Likewise.
12947 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12949         [BZ #13601]
12950         * elf/dl-load.c (open_verify): Retry read if the entire ELF
12951         header is not read in.
12953 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
12955         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
12956         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
12957         directly.  Pass built executable to script as
12958         $(built-program-cmd).
12959         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
12960         $testprogram without using LD_LIBRARY_PATH and $ldso.
12962         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12963         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12964         $(rtld-installed-name).
12965         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12966         (rtld_installed_name): Likewise.
12967         (library_path): Likewise.
12968         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
12969         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12970         $(run-program-prefix) to tst-tables.sh.
12971         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
12972         it to run tst-table-from and tst-table-to.
12973         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12974         Pass it to tst-table.sh.
12975         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12976         $(run-program-prefix) to tst-gettext.sh.
12977         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12978         tst-translit.sh.
12979         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12980         tst-gettext2.sh.
12981         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
12982         to run tst-gettext.
12983         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
12984         to run tst-gettext2.
12985         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
12986         to run tst-translit.
12987         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12988         $(run-program-prefix) to tst-mtrace.sh.
12989         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
12990         to run tst-mtrace.
12991         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12992         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12993         $(rtld-installed-name).
12994         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12995         (rtld_installed_name): Likewise.
12996         (run_program_prefix): New variable.  Use it to run wordexp-test.
12998         * Makeconfig (ARCH): Remove all definitions.
12999         (machine): Likewise.
13000         [ARCH]: Remove conditional code.
13001         [!objdir]: Give error.
13002         [!objdir] (objpfx): Remove.
13003         [!objdir] (common-objpfx): Likewise.
13004         [!objdir] (common-objdir): Likewise.
13005         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13006         AC_CONFIG_FILES call.
13007         * configure: Regenerated.
13009         [BZ #13888]
13010         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13011         or TMPDIR.
13012         (testout): Likewise.
13014         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13015         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13016         $(rtld-installed-name).
13017         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13018         (rtld_installed_name): Likwise.
13019         (runit): Remove function.
13020         (run_getconf): New variable,  Use it for running getconf binary.
13022 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13024         [BZ #14716]
13025         * string/test-memmem.c (check_result): New function.
13026         (do_one_test): Use it.
13027         (check1): New function.
13028         (test_main): Use it.
13030 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13032         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13034 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13036         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13037         (_G_LSEEK64): Likewise.
13038         (_G_MMAP64): Likewise.
13039         (_G_FSTAT64): Likewise.
13040         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13041         (_G_LSEEK64): Likewise.
13042         (_G_MMAP64): Likewise.
13043         (_G_FSTAT64): Likewise.
13044         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13045         unconditional.  Call __mmap64 directly.
13046         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13047         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13048         __lseek64 directly.
13049         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13050         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13051         __mmap64 directly.
13052         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13053         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13054         __lseek64 directly.
13055         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13056         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13057         __lseek64 directly.
13058         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13059         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13060         __lseek64 directly.
13061         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13062         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13063         __fxstat64 directly.
13064         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13065         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13066         unconditional.
13067         (freopen64) [!_G_OPEN64]: Remove conditional code.
13068         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13069         unconditional.
13070         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13071         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13072         unconditional.
13073         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13074         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13075         unconditional.
13076         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13077         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13078         unconditional.
13079         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13080         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13081         unconditional.
13082         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13083         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13084         unconditional.
13085         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13086         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13087         unconditional.
13088         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13090 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13092         [BZ #12140]
13093         * manual/memory.texi (Malloc Tunable Parameters): Add note
13094         about free list pointers overwriting some perturb bytes.
13095         Wording suggested by Roland McGrath.
13097 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13099         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13100         (lgamma_test): Likewise.
13101         (tgamma_test): Likewise.
13103 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13105         [BZ #14700]
13106         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13107         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13109 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13111         * NEWS: Mention BZ #14716.
13112         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13113         when removing AVAILABLE1_USES_J macro.
13115 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13117         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13118         (__bswap_64): __uint64_t for unsigned 64-bit int.
13120 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13122         * include/string.h (memmem): Declare libc hidden alias.
13123         * string/memmem.c (memmem): Define libc hidden alias.
13124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13125         __read, __close instead of open, read, close.
13127 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13130         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13131         global and hidden.
13132         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13133         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13134         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13135         Likewise.
13136         (__rawmemchr_sse2): Likewise.
13137         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13138         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13139         (__strchr_sse2): Likewise.
13140         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13141         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13142         (__strcasecmp_sse2): Likewise.
13143         (__strncasecmp_sse2): Likewise.
13144         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13145         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13146         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13147         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13148         (__strrchr_sse2): Likewise.
13149         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13150         ifunc-impl-list.c.
13151         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13152         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13153         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13154         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13155         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13156         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13159         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13160         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13161         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13162         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13163         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13164         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13165         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13166         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13167         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13168         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13169         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13170         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13171         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13172         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13173         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13174         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13175         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13176         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13177         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13178         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13179         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13180         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13182         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13183         global and hidden.
13184         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13185         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13186         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13187         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13188         Likewise.
13189         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13190         Likewise.
13191         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13192         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13193         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13194         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13195         ifunc-impl-list.c.
13196         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13197         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13198         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13199         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13200         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13201         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13202         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13203         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13204         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13205         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13206         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13207         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13208         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13209         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13210         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13211         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13212         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13213         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13214         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13215         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13216         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13217         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13218         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13219         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13220         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13221         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13222         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13223         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13224         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13225         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13226         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13227         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13228         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13229         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13230         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13231         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13232         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13233         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13234         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13235         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13236         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13238         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13239         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13240         * include/ifunc-impl-list.h: New file.
13241         * misc/ifunc-impl-list.c: Likewise.
13242         * misc/Makefile (routines): Add ifunc-impl-list.
13243         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13244         * string/test-string.h: Include <ifunc-impl-list.h>.
13245         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13246         impl_array): New variables.
13247         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13248         are defined.
13249         (test_init): Call __libc_ifunc_impl_list to initialize
13250         func_list if TEST_IFUNC and TEST_NAME are defined.
13252         * string/Makefile (strop-tests): Add bcopy and bzero.
13253         * string/test-bcopy.c: New file.
13254         * string/test-bzero.c: Likewise.
13255         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13256         defined.
13257         * string/test-memset.c: Support bzero test if TEST_BZERO is
13258         defined.
13259         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13260         __libc_memmove.
13261         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13262         __libc_memset.
13263         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13264         of memset.
13266 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13268         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13269         * configure: Regenerated.
13271         * Makeconfig (+link-static-before-libc): Don't include
13272         $(link-static-libc).
13274         * libio/libio.h (_IO_pos_t): Remove.
13276 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13278         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13279         McGrath.
13281 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13283         * crypt/crypt-entry.c: Include fips-private.h.
13284         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13285         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13286         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13287         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13289 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13291         * crypt/crypt-private.h: Include stdbool.h.
13292         (_ufc_setup_salt_r): Return bool.
13293         * crypt/crypt-entry.c: Include errno.h.
13294         (__crypt_r): Return NULL with EINVAL for bad salt.
13295         * crypt/crypt_util.c (bad_for_salt): New.
13296         (_ufc_setup_salt_r): Check that salt is long enough and within
13297         the specified alphabet.
13298         * crypt/badsalttest.c: New file.
13299         * crypt/Makefile (tests): Add it.
13300         ($(objpfx)badsalttest): New.
13302 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13304         * NEWS: Add entry for BZ #14602.
13306 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13308         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13309         type-generic.
13310         * math/libm-test.inc: Update comment listing what functions and
13311         macros are tested.
13312         (isgreater_test): New function.
13313         (isgreaterequal_test): Likewise.
13314         (isless_test): Likewise.
13315         (islessequal_test): Likewise.
13316         (islessgreater_test): Likewise.
13317         (isunordered_test): Likewise.
13318         (main): Call the new functions.
13320 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13322         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13323         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13324         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13325         * sysdeps/i386/configure: Regenerated.
13326         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13327         * sysdeps/mach/configure: Regenerated.
13328         * sysdeps/mach/hurd/configure: Regenerated.
13329         * sysdeps/powerpc/configure: Regenerated.
13330         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13331         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13332         * sysdeps/s390/s390-32/configure: Regenerated.
13333         * sysdeps/s390/s390-64/configure: Regenerated.
13334         * sysdeps/sh/configure: Regenerated.
13335         * sysdeps/sparc/configure: Regenerated.
13336         * sysdeps/unix/sysv/linux/configure: Regenerated.
13337         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13338         * sysdeps/x86_64/configure: Regenerated.
13340         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13341         defined.  Don't check if MAP is NULL.
13343 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13345         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13346         (_G_stat64): Likewise.
13347         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13348         (_G_stat64): Likewise.
13349         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13350         instead of struct _G_stat64.
13351         * libio/fileops.c (mmap_remap_check): Likewise.
13352         (decide_maybe_mmap): Likewise.
13353         (_IO_new_file_seekoff): Likewise.
13354         (_IO_file_stat): Likewise.
13355         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13356         _G_off64_t.
13357         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13358         instead of struct _G_stat64.
13359         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13361 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13363         [BZ #14602]
13364         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13365         Replace with ...
13366         (CHECK_EOL): New macro.
13367         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13368         CHECK_EOL.
13369         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13370         Replace with CHECK_EOL.
13371         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13372         Replace with CHECK_EOL.
13374 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13376         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13377         type-generic.
13378         * math/libm-test.inc: Update comment listing what functions and
13379         macros are tested.
13380         (finite_test): New function.
13381         (isinf_test): Likewise.
13382         (isnan_test): Likewise.
13383         (fpclassify_test): Test subnormal input.
13384         (isfinite_test): Likewise.
13385         (isnormal_test): Likewise.
13386         (main): Call the new functions.
13388 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13390         [BZ #14660]
13391         * Makerules (%.dynsym): Force C locale when running
13392         $(OBJDUMP) --dynamic-syms.
13394 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13396         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13397         <stdint.h>.
13399 2012-10-06  David S. Miller  <davem@davemloft.net>
13401         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13402         upper 32-bits of the length value in %o2 since we use branch-on-register
13403         tests which consider the entire 64-bit register.
13405 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13407         * string/test-strstr.c (check2): Add a test for page boundary.
13409 2012-10-05  David S. Miller  <davem@davemloft.net>
13411         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13412         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13413         file.
13414         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13415         sysdep_routines.
13416         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13417         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13418         and bzero when HWCAP_SPARC_CRYPTO is present.
13420 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13422         [BZ #14602]
13423         * string/test-strstr.c (check2): New function.
13424         (test_main): Call check2.
13426         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13427         and bug-strchr1.
13428         * string/bug-strcasestr1.c (do_test): Moved to ...
13429         * string/test-strcasestr.c (check1): Here.  New function.
13430         (do_one_test): Break out result checking code into ...
13431         (check_result): This.  New function.
13432         (do_one_test): Call check_result.
13433         (test_main): Call check1.
13434         * string/bug-strchr1.c (do_test): Moved to ...
13435         * string/test-strchr.c (check1): Here.  New function.
13436         (do_one_test): Break out result checking code into ...
13437         (check_result): This.  New function.
13438         (do_one_test): Call check_result.
13439         (test_main): Call check1.
13440         * string/bug-strstr1.c (main): Moved to ...
13441         * string/test-strstr.c (check1): Here.  New function.
13442         (do_one_test): Break out result checking code into ...
13443         (check_result): This.  New function.
13444         (do_one_test): Call check_result.
13445         (test_main): Call check1.
13446         * string/bug-strcasestr1.c: Removed.
13447         * string/bug-strchr1.c: Likewise.
13448         * string/bug-strstr1.c: Likewise.
13450         * elf/Makefile (dl-routines): Add hwcaps.
13451         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13452         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13453         (_dl_important_hwcaps): Moved to ...
13454         * elf/dl-hwcaps.c: Here.  New file.
13455         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13457         [BZ #14557]
13458         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13459         if IS_IN_rtld isn't defined.
13461         * elf/dl-support.c (_dl_sysinfo_map): New.
13462         Include "get-dynamic-info.h" and "setup-vdso.h".
13463         (_dl_non_dynamic_init): Call setup_vdso.
13464         * elf/dynamic-link.h: Don't include <assert.h>.
13465         (elf_get_dynamic_info): Moved to ...
13466         * elf/get-dynamic-info.h: Here.  New file.
13467         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13468         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13469         * elf/setup-vdso.h: Here.  New file.
13470         * elf/rtld.c: Include "setup-vdso.h".
13471         (dl_main): Call setup_vdso.
13473 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13475         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13476         creal in comment listing functions tested.  List finite, isinf,
13477         isnan, isless, islessequal, isgreater, isgreaterequal,
13478         islessgreater, isunordered, lgamma_r and pow10 as functions and
13479         macros not tested.  Mention which functions not tested are aliases
13480         for other functions.  Fix typo.  Note that signs of NaNs are not
13481         tested.
13483         * scripts/config.guess: Update from config.git.
13484         * scripts/config.sub: Likewise.
13486 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13488         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13489         * misc/madvise.c (madvise): Renamed to __madvise.
13490         Make madvise a weak alias.
13491         * include/sys/mman.h: Declare __madvise.
13492         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13493         * sysdeps/unix/syscalls.list
13494         (madvise): Make __madvise the strong name, and madvise a weak alias.
13495         * sysdeps/unix/sysv/linux/syscalls.list
13496         (madvise, mmap): Remove redundant entries.
13497         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13498         * malloc/malloc.c (mtrim): Likewise.
13499         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13501 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13503         * sysdeps/mach/hurd/dl-cache.c: File removed.
13504         * config.h.in (USE_LDCONFIG): New #undef.
13505         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13506         * configure: Regenerated.
13507         * elf/Makefile (dl-routines): Add dl-cache only under
13508         [$(use-ldconfig) = yes].
13509         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13510         cache on [USE_LDCONFIG].
13511         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13512         [USE_LDCONFIG].
13513         * elf/rtld.c (dl_main): Likewise.
13515 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13517         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13518         _SC_LEVEL4_CACHE_LINESIZE.
13520 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13522         * sysdeps/unix/bsd/confstr.h: File removed.
13524 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13526         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13527         sys/sdt-config.h.
13529 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13531         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13532         Make 'mapoff' field ElfW(Off) rather than off_t.
13534 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13536         * nscd/Makefile: Remove nscd-cflags and all its users.
13537         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13538         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13540         [BZ #10631]
13541         * malloc.c (malloc_printerr): Clarify error message.
13543 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13545         [BZ #14648]
13546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13547         Set bit_FMA_Usable if FMA is supported.
13548         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13549         macro.
13550         (bit_FMA4_Usable): Updated.
13551         (index_FMA_Usable): New macro.
13552         (CPUID_FMA): Likewise
13553         (HAS_FMA): Defined with bit_FMA_Usable.
13555 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13557         * bits/types.h (__swblk_t): Type removed.
13558         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13559         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13561         (__SWBLK_T_TYPE): Likewise.
13562         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13563         (__SWBLK_T_TYPE): Likewise.
13564         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13565         (__SWBLK_T_TYPE): Likewise.
13566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13567         (__SWBLK_T_TYPE): Likewise.
13569 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13570             Honza Horak <hhorak@redhat.com>
13572         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13573         (xdr_mapname): Use YPMAXMAP as maxsize.
13574         (xdr_peername): Use YPMAXPEER as maxsize.
13575         (xdr_keydat): Use YPAXRECORD as maxsize.
13576         (xdr_valdat): Use YPMAXRECORD as maxsize.
13578 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13580         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13582         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13583         * csu/init-first.c: ... here.
13584         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13585         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13586         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13587         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13588         * sysdeps/i386/init-first.c: File removed.
13589         * sysdeps/sh/init-first.c: File removed.
13591 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13593         [BZ #14645]
13594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13595         if x * y might underflow to zero and z is zero.
13596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13598         * math/libm-test.inc (min_subnorm_value): New variable.
13599         (fma_test): Add more tests.
13600         (fma_test_towardzero): Likewise.
13601         (fma_test_downward): Likewise
13602         (fma_test_upward): Likewise.
13603         (initialize): Set min_subnorm_value.
13605 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13607         [BZ #14638]
13608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13609         0 + 0.
13610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13611         mode for addition resulting in exact zero.
13612         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13614         exact 0 + 0.
13615         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13616         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13617         * math/libm-test.inc (fma_test): Add more tests.
13618         (fma_test_towardzero): New function.
13619         (fma_test_downward): Likewise.
13620         (fma_test_upward): Likewise.
13621         (main): Call the new functions.
13623 2012-09-28  David S. Miller  <davem@davemloft.net>
13625         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13627 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13629         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13630         instead of SIGALRM.
13632         * sysdeps/gnu/_G_config.h: Moved to ...
13633         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13634         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13635         * sysdeps/generic/_G_config.h: ... here.
13637         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13639         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13641         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13642         Conditionalize target on [libnss_test1.so-version].
13644         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13646         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13647         (elfobjdir): Move out of conditionals.
13649         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13650         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13651         (__nss_lookup_function): Conditionalize label remove_from_tree on
13652         [!DO_STATIC_NSS || SHARED], matching its only use.
13654 2012-09-28  David S. Miller  <davem@davemloft.net>
13656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13657         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13658         file.
13659         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13660         sysdep_routines.
13661         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13662         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13663         when HWCAP_SPARC_CRYPTO is present.
13665 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13667         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13669 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13671         [BZ #6530]
13672         * stdio-common/vfprintf.c (process_string_arg): Revert
13673         2000-07-22 change.
13675 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13677         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13678         for testcase.
13679         * stdio-common/tst-sprintf.c: Include <locale.h>
13680         (main): Test sprintf's handling of incomplete multibyte
13681         characters.
13683 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13685         * elf/dl-runtime.c (VERSYMIDX): Removed.
13686         * elf/dl-version.c (VERSYMIDX): Likewise.
13687         * elf/do-rel.h (VERSYMIDX): Likewise.
13688         (VALIDX): Likewise.
13689         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13690         * elf/rtld.c (VALIDX): Likewise.
13691         (ADDRIDX): Likewise.
13692         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13693         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13694         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13695         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13696         (VALIDX): Likewise.
13697         (ADDRIDX): Likewise.
13699 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13701         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13703 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
13705         [BZ #11438]
13706         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13707         to global scope.
13708         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13709         addresses are in the same scope as 192.0.2/24.
13710         * posix/gai.conf: Document new scope table defaults.
13712 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13714         [BZ #5298]
13715         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13716         for ftell.  Compute offsets from write pointers instead.
13717         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13719 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13721         [BZ #14543]
13722         * libio/Makefile (tests): New test case tst-fseek.
13723         * libio/tst-fseek.c: New test case to verify that fseek/ftell
13724         combination works in wide mode.
13725         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13726         state when the external buffer state changes.
13728 2012-09-27  David S. Miller  <davem@davemloft.net>
13730         [BZ #14376]
13731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13732         pass reloc->r_addend in as the 'high' argument to
13733         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13737 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13739         * rt/tst-aio2.c: Include <pthread.h>.
13740         * rt/tst-aio3.c: Likewise.
13742 2012-09-27  Steve Ellcey  <sellcey@mips.com>
13744         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13746 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13748         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13749         contents on [SHARED].
13751 2012-09-26  Marek Polacek  <polacek@redhat.com>
13753         [BZ #14530]
13754         [BZ #13741]
13755         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13756         for C++ and GCC <4.3 as well as for non GCC compilers.
13758 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13762 2012-09-25  Roland McGrath  <roland@hack.frob.com>
13764         * Makefile.in (all, install): Declare with .PHONY.
13765         Reported by Michael Hope <michael.hope@linaro.org>.
13767 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13769         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13770         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13771         system header.
13772         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13773         Likewise.
13774         (sydep_routines): Add the new and the internal functions.
13775         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13776         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13778         (GLIBC_2.17): Add the new function.
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13780         (GLIBC_2.17): Likewise.
13781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13782         (GLIBC_2.17): Likewise.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13784         (GLIBC_2.17): Likewise.
13785         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13787 2012-09-25  Alan Modra  <amodra@gmail.com>
13789         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13790         Add release barrier before setting once_control to say
13791         initialisation is done.  Add hints on lwarx.  Use macro in
13792         place of isync.
13793         (clear_once_control): Add release barrier.
13795 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13797         [BZ #13629]
13798         * math/s_clog.c (__clog): Handle more values close to |z| = 1
13799         specially.
13800         * math/s_clog10.c (__clog10): Likewise.
13801         * math/s_clog10f.c (__clog10f): Likewise.
13802         * math/s_clog10l.c (__clog10l): Likewise.
13803         * math/s_clogf.c (__clogf): Likewise.
13804         * math/s_clogl.c (__clogl): Likewise.
13805         * math/Makefile (libm-calls): Add x2y2m1.
13806         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13807         (__x2y2m1): Likewise.
13808         (__x2y2m1l): Likewise.
13809         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13810         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13811         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13812         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13813         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13814         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13815         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13816         * sysdeps/i386/fpu/libm-test-ulps: Update.
13817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13819         [BZ #14621]
13820         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13821         int as type of variable DEPTH.
13822         (glob): Use size_t instead of int as type of variables NEWCOUNT
13823         and OLD_PATHC.
13825 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13827         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13828         Add s_sincosf-sse2.
13829         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13830         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13831         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13832         macros for using routine as __sincosf_ia32.
13833         Use macro for function declaration and weak_alias.
13834         * sysdeps/i386/fpu/libm-test-ulps: Update.
13836         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13839         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13840         subnormal argument.
13841         * math/s_cexpf.c (__cexpf): Likewise.
13842         * math/s_csinf.c (__csinf): Likewise.
13843         * math/s_csinhf.c (__csinhf): Likewise.
13844         * math/s_ctanf.c (__ctanf): Likewise.
13845         * math/s_ctanhf.c (__ctanhf): Likewise.
13846         * math/s_ccosh.c (__ccoshf): Likewise.
13847         * math/s_cexp.c (__cexpl): Likewise.
13848         * math/s_csin.c (__csin): Likewise.
13849         * math/s_csinh.c (__csinh): Likewise.
13850         * math/s_ctan.c (__ctan): Likewise.
13851         * math/s_ctanh.c (ctanh): Likewise.
13852         * math/s_ccoshl.c (__ccoshl): Likewise.
13853         * math/s_cexpl.c (__cexpl): Likewise.
13854         * math/s_csinl.c (__csinl): Likewise.
13855         * math/s_csinhl.c (__csinhl): Likewise.
13856         * math/s_ctanl.c (__ctanl): Likewise.
13857         * math/s_ctanhl.c (__ctanhl): Likewise.
13859 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13861         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13862         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13863         (_IO_off_t): Define to __off_t, not _G_off_t.
13864         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13865         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13866         (_IO_wint_t): Define to wint_t, not _G_wint_t.
13867         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13868         type of __dummy and __dummy2 fields.
13869         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13870         (_G_ssize_t): Likewise.
13871         (_G_off_t): Likewise.
13872         (_G_pid_t): Likewise.
13873         (_G_uid_t): Likewise.
13874         (_G_wchar_t): Likewise.
13875         (_G_wint_t): Likewise.
13876         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13877         (_G_ssize_t): Likewise.
13878         (_G_off_t): Likewise.
13879         (_G_pid_t): Likewise.
13880         (_G_uid_t): Likewise.
13881         (_G_wchar_t): Likewise.
13882         (_G_wint_t): Likewise.
13883         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13884         (_G_ssize_t): Likewise.
13885         (_G_off_t): Likewise.
13886         (_G_pid_t): Likewise.
13887         (_G_uid_t): Likewise.
13888         (_G_wchar_t): Likewise.
13889         (_G_wint_t): Likewise.
13891 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13893         * malloc/arena.c: Include malloc-sysdep.h.
13894         (shrink_heap): Use check_may_shrink_heap to decide if madvise
13895         is sufficient to shrink the heap or an unmap is needed.
13896         * sysdeps/generic/malloc-sysdep.h: New file.  Define
13897         new function check_may_shrink_heap.
13898         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
13899         new function check_may_shrink_heap.
13901 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13903         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13904         comments.
13906 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
13908         * catgets/test-gencat.sh: Add "set -e".
13909         * elf/tst-pathopt.sh: Likewise.
13910         * grp/tst_fgetgrent.sh: Likewise.
13911         * iconvdata/run-iconv-test.sh: Likewise.
13912         * intl/tst-gettext.sh: Likewise.
13913         * intl/tst-gettext2.sh: Likewise.
13914         * intl/tst-gettext4.sh: Likewise.
13915         * intl/tst-gettext6.sh: Likewise.
13916         * intl/tst-translit.sh: Likewise.
13917         * io/ftwtest-sh: Likewise.
13918         * libio/test-freopen.sh: Likewise.
13919         * malloc/tst-mtrace.sh: Likewise.
13920         * posix/globtest.sh: Likewise.
13921         * posix/tst-getconf.sh: Likewise.
13922         * posix/wordexp-tst.sh: Likewise.
13923         * stdio-common/tst-printf.sh: Likewise.
13924         * stdio-common/tst-unbputc.sh: Likewise.
13925         * stdlib/tst-fmtmsg.sh: Likewise.
13926         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13927         * catgets/Makefile: Do not specify -e option when running
13928         testsuite shell scripts.
13929         * elf/Makefile: Likewise.
13930         * grp/Makefile: Likewise.
13931         * iconvdata/Makefile: Likewise.
13932         * intl/Makefile: Likewise.
13933         * io/Makefile: Likewise.
13934         * libio/Makefile: Likewise.
13935         * malloc/Makefile: Likewise.
13936         * posix/Makefile: Likewise.
13937         * stdio-common/Makefile: Likewise.
13938         * stdlib/Makefile: Likewise.
13939         * sysdeps/x86_64/Makefile: Likewise.
13941         * io/ftwtest-sh: Add copyright header.
13942         * posix/globtest.sh: Likewise.
13943         * posix/tst-getconf.sh: Likewise.
13944         * posix/wordexp-tst.sh: Likewise.
13945         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13947 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
13949         [BZ #13679]
13950         * Makeconfig (+link): Defined as $(+link-static) if
13951         $(build-shared) isn't yes.
13952         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13953         isn't yes.
13954         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13956         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13958         [BZ #14562]
13959         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13960         new chunk size with MALLOC_ALIGN_MASK.
13962 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
13964         [BZ #5044]
13965         * stdio-common/printf_fphex.c: Include <stdbool.h> and
13966         <rounding-mode.h>.
13967         (__printf_fphex): Determine rounding using get_rounding_mode and
13968         round_away.
13969         * stdio-common/tst-printf-round.c (struct hex_test): New
13970         structure.
13971         (hex_tests): New variable.
13972         (test_hex_in_one_mode): New function.
13973         (do_test): Also run tests for hex float output.
13975 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
13977         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13978         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13979         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13980         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13981         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13982         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13983         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13984         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13986 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
13988         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13989         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13990         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13991         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13993 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
13995         [BZ #14579]
13996         * elf/rtld.c (dl_main): Limit the check for self loading to normal
13997         mode only.
13998         * elf/tst-rtld-load-self.sh: New test.
13999         * elf/Makefile: Run it.
14001 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14003         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14004         (tst-writev-ENV): Remove.
14005         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14007 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14009         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14011 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14013         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14014         unconditional.
14015         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14016         Likewise.
14017         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14018         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14019         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14020         Likewise.
14022 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14024         [BZ #14587]
14025         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14026         * config.make.in (have-cpp-asm-debuginfo): Removed.
14027         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14028         * configure: Regenerated.
14030 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14032         [BZ #5044]
14033         * stdio-common/printf_fp.c: Include <stdbool.h> and
14034         <rounding-mode.h>.
14035         (___printf_fp): Determine rounding using get_rounding_mode and
14036         round_away.
14037         * stdio-common/tst-printf-round.c: New file.
14038         * stdio-common/Makefile (tests): Add tst-printf-round.
14039         (link-libm): New variable.
14040         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14042 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14044         [BZ #14576]
14045         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14046         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14047         Likewise.
14048         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14049         Likewise.
14051 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14053         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14054         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14055         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14056         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14058 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #14518]
14061         * include/rounding-mode.h: New file.
14062         * sysdeps/generic/get-rounding-mode.h: Likewise.
14063         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14064         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14065         (MAX_VALUE): New macro.
14066         (MIN_VALUE): Likewise.
14067         (overflow_value): New function.
14068         (underflow_value): Likewise.
14069         (round_and_return): Use overflow_value and underflow_value to
14070         determine return values in overflow and underflow cases.  Use
14071         round_away to determine rounding depending on rounding mode.
14072         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14073         determine return values in overflow and underflow cases.
14074         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14075         (struct test_results): New structure.
14076         (struct test): Use struct test_results to store expected results
14077         for all rounding modes.
14078         (TEST): Include expected results for all rounding modes.
14079         (test_in_one_mode): New function.
14080         (do_test): Use test_in_one_mode to compute and check results.
14081         Check results for all rounding modes.
14082         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14083         $(link-libm).
14085 2012-12-09  Allan McRae  <allan@archlinux.org>
14087         * sysdeps/i386/fpu/libm-test-ulps: Update
14089 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14091         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14092         (_G_int32_t): Likewise.
14093         (_G_uint16_t): Likewise.
14094         (_G_uint32_t): Likewise.
14095         (_G_HAVE_BOOL): Likewise.
14096         (_G_HAVE_ATEXIT): Likewise.
14097         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14098         (_G_HAVE_IO_FILE_OPEN): Likewise.
14099         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14100         (_G_int32_t): Likewise.
14101         (_G_uint16_t): Likewise.
14102         (_G_uint32_t): Likewise.
14103         (_G_HAVE_BOOL): Likewise.
14104         (_G_HAVE_ATEXIT): Likewise.
14105         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14106         (_G_HAVE_IO_FILE_OPEN): Likewise.
14107         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14108         (_G_int32_t): Likewise.
14109         (_G_uint16_t): Likewise.
14110         (_G_uint32_t): Likewise.
14111         (_G_HAVE_BOOL): Likewise.
14112         (_G_HAVE_ATEXIT): Likewise.
14113         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14114         (_G_HAVE_IO_FILE_OPEN): Likewise.
14116 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14118         * csu/libc-tls.c: Update copyright years.
14120 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14122         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14123         [!_G_USING_THUNKS]: Remove conditional code.
14124         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14125         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14127         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14128         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14129         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14130         (_G_VTABLE_LABEL_PREFIX): Likewise.
14131         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14132         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14133         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14134         (_G_VTABLE_LABEL_PREFIX): Likewise.
14135         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14136         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14137         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14138         (_G_VTABLE_LABEL_PREFIX): Likewise.
14139         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14141 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14143         * libio/Makefile: Include ../Makeconfig before tests.
14144         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14145         only if $(build-shared) is yes.
14147         * iconv/gconv_db.c: Update copyright years.
14149 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14151         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14152         unwind info if defined PIC. Fix special cases description.
14153         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14155         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14156         DP_HI_MASK entry.
14157         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14159 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14161         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14163         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14164         is NULL.
14166         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14167         (LDLIBS-tst-chk4): This.
14168         (LDFLAGS-tst-chk5): Renamed to ...
14169         (LDLIBS-tst-chk5): This.
14170         (LDFLAGS-tst-chk6): Renamed to ...
14171         (LDLIBS-tst-chk6): This.
14172         (LDFLAGS-tst-lfschk4): Renamed to ...
14173         (LDLIBS-tst-lfschk4): This.
14174         (LDFLAGS-tst-lfschk5): Renamed to ...
14175         (LDLIBS-tst-lfschk5): This.
14176         (LDFLAGS-tst-lfschk6): Renamed to ...
14177         (LDLIBS-tst-lfschk6): This.
14179         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14180         on $(common-objpfx)soversions.mk.
14182 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14184         [BZ #10014]
14185         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14186         example host name.
14188 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14190         * malloc/arena.c (arena_get_retry): New function that gets
14191         another arena for the caller to try its request on.
14192         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14193         current arena cannot fulfill the request.
14194         (__libc_memalign): Likewise.
14195         (__libc_memalign): Likewise.
14196         (__libc_pvalloc): Likewise.
14197         (__libc_calloc): Likewise.
14199 2012-09-05  John Tobey  <john.tobey@gmail.com>
14201         [BZ #13542]
14202         * manual/arith.texi (Operations on Complex): Fix description
14203         of carg branch cut.
14205 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14207         [BZ #10014]
14208         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14209         host name.
14211         [BZ #10038]
14212         * manual/memory.texi (Memory): Make order of menu items match
14213         order of sections.
14215 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14217         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14218         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14219         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14221 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14223         * csu/libc-tls.c (static_dtv): Renamed to ...
14224         (_dl_static_dtv): This.  Make it global.
14225         (_dl_initial_dtv): Removed.
14226         (__libc_setup_tls): Updated.
14227         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14228         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14229         DL_INITIAL_DTV.
14231 2012-09-06  Petr Machata  <pmachata@redhat.com>
14233         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14234         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14235         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14236         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14238 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14240         [BZ #14545]
14241         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14242         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14243         freeing dtv[-1].
14245 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14247         [BZ #14544]
14248         * Makeconfig (link-static-before-libc): Replace $(+prector)
14249         with $(+prectorT).
14250         (link-static-after-libc): Replace $(+postctor) with
14251         $(+postctorT).
14252         (link-bounded): Replace $(+prector)/$(+postctor) with
14253         $(+prectorT)/$(+postctorT).
14254         (+prectorT): New macro.
14255         (+postctorT): Likewise.
14257 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14259         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14260         (round_str): Handle values above the maximum for IBM long double
14261         as inexact.
14262         * stdlib/tst-strtod-round.c (tests): Regenerated.
14264 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14266         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14267         assembler flag.
14268         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14269         zarch_nohighgprs around the zarch optimized routines.
14270         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14271         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14272         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14273         for zarch.
14275 2012-09-05  David S. Miller  <davem@davemloft.net>
14277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14279         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14280         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14281         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14282         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14283         entries.
14285 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14287         * malloc/arena.c: Fold copyright years.
14288         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14290 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14292         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14294 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14296         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14298 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14300         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14301         change internal state upon failure.
14303 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14305         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14306         * malloc/memusage.c (mmap): Likewise.
14307         (mmap64, mremap): Likewise.  Adjust name in comment.
14309 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14311         * libio/fileops.c: Fix typos in comments.
14312         * libio/oldfileops.c: Likewise.
14313         * libio/wfileops.c: Likewise.
14315 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14317         [BZ #1349]
14318         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14319         (tst-malloc-usable-ENV): Set environment for test case.
14320         * malloc/hooks.c (malloc_check_get_size): New function to get
14321         requested size.
14322         * malloc/malloc.c (musable): Use malloc_check_get_size.
14323         * malloc/tst-malloc-usable.c: New test case.
14325 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14327         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14329 2012-09-05  Allan McRae  <allan@archlinux.org>
14331         [BZ #13966]
14332         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14333         determine header location.
14334         * configure: Regenerated.
14336 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14338         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14339         float format.
14340         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14341         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14342         format.
14343         (test): Regenerate.
14345 2012-09-04  David S. Miller  <davem@davemloft.net>
14347         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14348         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14349         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14351 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14353         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14354         failures.
14356         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14358 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14360         [BZ #9914]
14361         * libio/iogetdelim.c: Include <limits.h>.
14362         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14363         + len + 1 would overflow.
14365 2012-09-03  Andreas Jaeger  <aj@suse.de>
14367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14368         * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14372         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14373         Add s_sinf-sse2, s_conf-sse2.
14375         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14376         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14377         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14378         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14380         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14381         for using routine as __sinf_ia32.
14382         Use macro for function declaration and weak_alias.
14383         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14384         for using routine as __cosf_ia32.
14385         Use macro for function declaration and weak_alias.
14387         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14388         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14390         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14391         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14394         * math/libm-test.inc (cos_test): Add more test cases.
14395         (sin_test): Likewise.
14396         (sincos_test): Likewise.
14398 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14400         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14401         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14402         hidden.
14403         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14405 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14407         [BZ #14538]
14408         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14409         first element of the GOT.
14410         (elf_machine_load_address): Return the difference between
14411         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14413 2012-09-01  Allan McRae  <allan@archlinux.org>
14415         [BZ #13412]
14416         * configure.in (AWK): Require gawk version 3.0 or later.
14417         * configure: Regenerated.
14419 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14421         * sysdeps/unix/sysv/linux/kernel-features.h
14422         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14423         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14424         [__NR_clock_getres]: Make code unconditional.
14425         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14426         (clock_getcpuclockid): Remove code left unreachable by removal of
14427         conditionals.
14428         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14429         code unconditional.
14430         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14431         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14432         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14433         Make code unconditional.
14434         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14435         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14436         * sysdeps/unix/sysv/linux/clock_settime.c
14437         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14438         conditional code.
14439         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14440         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14442 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14444         [BZ #14476]
14445         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14446         scripts/test-installation.pl.
14448         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14449         and $ld_so_version if it is set.
14451 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14453         [BZ #14516]
14454         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14455         failure if reading from procfs failed.
14456         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14458 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14460         * sysdeps/unix/sysv/linux/kernel-features.h
14461         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14462         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14463         Remove conditional code.
14464         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14465         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14466         Remove conditional code.
14467         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14468         * sysdeps/unix/sysv/linux/i386/fxstat.c
14469         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14470         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14471         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14472         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14473         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14474         * sysdeps/unix/sysv/linux/i386/lxstat.c
14475         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14476         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14477         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14478         Remove conditional code.
14479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14480         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14481         Remove conditional code.
14482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14483         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14484         <kernel-features.h>.
14485         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14486         Remove.
14487         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14488         Remove conditional code.
14489         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14490         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14491         Remove conditional.
14493 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14495         [BZ #5400]
14496         * NEWS: Add fixed bug number.
14498 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14500         [BZ #14519]
14501         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14502         underflowing exponent in case of negative sign.
14503         * stdlib/tst-strtod-round-data: Add more tests.
14504         * stdlib/tst-strtod-round.c (tests): Regenerated.
14506         [BZ #3479]
14507         * stdlib/strtod_l.c (NDIG): Remove.
14508         (HEXNDIG): Likewise.
14509         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14510         smallest representable value.
14511         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14512         lie within an exact representation of 1/2 ulp of the result.
14513         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14514         unconditionally.
14515         (TENS_P9_IDX): Define unconditionally.
14516         (TENS_P9_SIZE): Likewise.
14517         (TENS_P10_IDX): Likewise.
14518         (TENS_P10_SIZE): Likewise.
14519         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14520         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14521         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14522         entries for 10^2^13 and 10^2^14.
14523         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14524         (TENS_P13_IDX): Define.
14525         (TENS_P13_SIZE): Likewise.
14526         (TENS_P14_IDX): Likewise.
14527         (TENS_P14_SIZE): Likewise.
14528         (_fpioconst_pow10): Change array size to
14529         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14530         unconditional.
14531         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14532         1024]: Add entries for 10^2^13 and 10^2^14.
14533         [LAST_POW10 > _LAST_POW10]: Remove #error.
14534         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14535         (_fpioconst_pow10): Change array size to
14536         FPIOCONST_POW10_ARRAY_SIZE.
14537         * stdlib/gen-fpioconst.c: New file.
14538         * stdlib/gen-tst-strtod-round.c: Likewise.
14539         * stdlib/tst-strtod-round-data: Likewise.
14540         * stdlib/tst-strtod-round.c: Likewise.
14541         * stdlib/Makefile (tests): Add tst-strtod-round.
14543         [BZ #14459]
14544         * stdlib/strtod_l.c: Include <stdint.h>.
14545         (NDEBUG): Do not define.
14546         (round_and_return): Change EXPONENT parameter to type intmax_t.
14547         Rearrange calculations to avoid internal overflow possibilities.
14548         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14549         Rearrange calculations to avoid internal overflow possibilities.
14550         Assert that number fits inside MPNSIZE limbs.
14551         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14552         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14553         calculations and add assertions to avoid internal overflow
14554         possibilities.  Add casts to avoid signed/unsigned operations.
14555         * stdlib/tst-strtod-overflow.c: New file.
14556         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14558 2012-08-25  Marek Polacek  <polacek@redhat.com>
14560         * time/time.h: Fix some typos in comments.
14562 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14564         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14565         * posix/tst-rfc3484-2.c: Likewise.
14566         * posix/tst-rfc3484-3.c: Likewise.
14568 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14570         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14571         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14573 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14575         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14576         #include of fxstatat64.c.
14578 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14580         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14581         * shadow/getspent_r.c: Likewise.
14582         * shadow/getspnam.c: Likewise.
14583         * shadow/getspnam_r.c: Likewise.
14584         * gshadow/getsgent.c: Likewise.
14585         * gshadow/getsgent_r.c: Likewise.
14586         * gshadow/getsgnam.c: Likewise.
14587         * gshadow/getsgnam_r.c: Likewise.
14588         * inet/getnetbyad.c: Likewise.
14589         * inet/getnetbyad_r.c: Likewise.
14590         * inet/getnetbynm.c: Likewise.
14591         * inet/getnetbynm_r.c: Likewise.
14592         * inet/getnetent.c: Likewise.
14593         * inet/getnetent_r.c: Likewise.
14594         * inet/getproto.c: Likewise.
14595         * inet/getproto_r.c: Likewise.
14596         * inet/getprtent.c: Likewise.
14597         * inet/getprtent_r.c: Likewise.
14598         * inet/getprtname.c: Likewise.
14599         * inet/getprtname_r.c: Likewise.
14600         * inet/getrpcbyname.c: Likewise.
14601         * inet/getrpcbyname_r.c: Likewise.
14602         * inet/getrpcbynumber.c: Likewise.
14603         * inet/getrpcbynumber_r.c: Likewise.
14604         * inet/getrpcent.c: Likewise.
14605         * inet/getrpcent_r.c: Likewise.
14606         * inet/getaliasent.c: Likewise.
14607         * inet/getaliasent_r.c: Likewise.
14608         * inet/getaliasname.c: Likewise.
14609         * inet/getaliasname_r.c: Likewise.
14610         * nscd/getgrgid_r.c: Likewise.
14611         * nscd/getgrnam_r.c: Likewise.
14612         * nscd/gethstbyad_r.c: Likewise.
14613         * nscd/gethstbynm3_r.c: Likewise.
14614         * nscd/getpwnam_r.c: Likewise.
14615         * nscd/getpwuid_r.c: Likewise.
14616         * nscd/getsrvbynm_r.c: Likewise.
14617         * nscd/getsrvbypt_r.c: Likewise.
14618         * nscd/gai.c: Likewise.
14620         * configure.in (build_nscd): New substituted variable, set
14621         by --disable-build-nscd and defaults to $use_nscd.
14622         * configure: Regenerated.
14623         * config.make.in (build-nscd): New substituted variable.
14624         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14625         Change conditional to require [$(build-nscd) = yes] as well.
14626         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14628         [BZ# 13696]
14629         * configure.in (use_nscd): New substituted variable, set by
14630         --disable-nscd.  If enabled, define USE_NSCD.
14631         * configure: Regenerated.
14632         * config.h.in: Add USE_NSCD.
14633         * config.make.in (use-nscd): New substituted variable.
14634         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14635         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14636         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14637         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14638         (CFLAGS-getgrnam_r.c): Likewise.
14639         (CFLAGS-initgroups.c): Likewise.
14640         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14641         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14642         Variables removed.
14643         * inet/getnetgrent_r.c
14644         (nscd_setnetgrent): New function, broken out of ...
14645         (setnetgrent): ... here.  Call it.
14646         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14647         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14648         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14649         * nscd/Makefile (routines, aux): Move definitions after include of
14650         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14651         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14652         Conditionalize on [USE_NSCD].
14653         (is_nscd, nscd_init_cb): Likewise.
14654         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14655         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14656         * nss/nss_db/db-init.c: Likewise.
14657         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14658         [USE_NSCD].
14659         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14660         (make_request): Use it.
14661         (cache_valid_p): New function.
14662         (__check_pf): Use it.
14663         * NEWS: Add item for --disable-nscd.
14665 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14667         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14668         to support sed >= 4.2.1-20-ga9bf076.
14669         * configure: Regenerated.
14671 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14673         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14674         Conditionalize whole body on [IREL].
14676 2012-08-22  Jeff Law <law@redhat.com>
14678         [BZ #14505]
14679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14680         if the family is PF_UNSPEC.
14682 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14684         * Makerules (lib-version): Rename from V.
14685         (install-lib-nosubdir): Change V to lib-version.
14687 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14689         [BZ #14252]
14690         * powerpc32/power6/wcschr.c: New file.
14691         * powerpc32/power6/wcscpy.c: New file.
14692         * powerpc32/power6/wcsrchr.c: New file.
14693         * powerpc64/power6/wcschr.c: New file.
14694         * powerpc64/power6/wcscpy.c: New file.
14695         * powerpc64/power6/wcsrchr.c: New file.
14697 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14699         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14700         (two_way_short_needle): Use it.
14701         * string/strstr.c (AVAILABLE1_USES_J): Define.
14702         * string/strcasestr.c: Likewise.
14704         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14705         array references.
14706         * string/strcasestr.c (TOLOWER): Make side-effect safe.
14708         [BZ #11607]
14709         * NEWS: Add an entry.
14710         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14711         define their defaults.
14712         (two_way_short_needle): Detect end-of-string on-the-fly.
14713         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14714         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14715         * string/bug-strcasestr1.c: New test.
14716         * string/Makefile: Run it.
14718 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14720         [BZ #11607]
14721         * string/str-two-way.h (two_way_short_needle): Optimize matching of
14722         the first character.
14724 2012-08-21  Roland McGrath  <roland@hack.frob.com>
14726         * csu/elf-init.c (__libc_csu_irel): Function removed.
14727         * csu/libc-start.c (apply_irel): New function.
14728         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14730 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
14732         * sysdeps/unix/sysv/linux/kernel-features.h
14733         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14734         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14735         <kernel-features.h>.
14736         [__NR_fadvise64_64]: Make code unconditional.
14737         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14738         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14739         !__NR_fadvise64_64)]: Likewise.
14740         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14741         !__NR_fadvise64_64))]: Likewise.
14742         [__NR_fadvise64]: Make code unconditional.
14743         [!__NR_fadvise64]: Remove conditional code.
14744         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14745         <kernel-features.h>.
14746         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14747         unconditional.
14748         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14749         conditional code.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14751         not include <kernel-features.h>.
14752         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14753         unconditional.
14754         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14755         conditional code.
14756         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14757         include <kernel-features.h>.
14758         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14759         unconditional.
14760         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14761         conditional code.
14763 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14765         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14766         slight instruction rearrangements per scrollpipe analysis.
14767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14769 2012-08-20  Roland McGrath  <roland@hack.frob.com>
14771         * manual/syslog.texi (syslog; vsyslog, closelog):
14772         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14773         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14775         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14776         DSOCAPS to match condition on defining it.
14778 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
14780         * sysdeps/unix/sysv/linux/kernel-features.h
14781         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14783         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14784         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14786         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14787         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14789         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14790         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14792         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14793         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14795         * sysdeps/unix/sysv/linux/kernel-features.h
14796         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14797         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14798         unconditional.
14799         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14800         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14801         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14802         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14803         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14804         Make code unconditional.
14805         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14806         (__mmap64) [!__NR_mmap2]: Likewise.
14807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14808         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14809         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14810         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14811         [__NR_mmap2]: Make code unconditional.
14812         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14813         (__mmap64) [!__NR_mmap2]: Likewise.
14815 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14817         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14819 2012-08-18  Andreas Jaeger  <aj@suse.de>
14821         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14823 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14825         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14826         * include/unistd.h (__have_sock_cloexec): Likewise.
14827         (__have_pipe2): Likewise.
14828         (__have_dup3): Likewise.
14830 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14832         [BZ #9685]
14833         * include/unistd.h (__have_pipe2): Change define into an extern int.
14834         (__have_dup3): Likewise.
14835         * socket/have_sock_cloexec.c: Include fcntl.h.
14836         (__have_pipe2): New variable.
14837         (__have_dup3): Likewise.
14839 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
14841         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14843 2012-08-17  Marek Polacek  <polacek@redhat.com>
14845         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14846         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14848 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14850         * configure.in: Add AC_SUBST for sysheaders.
14851         * configure: Regenerated.
14852         * config.make.in (sysheaders): New substituted variable.
14854         * sysdeps/unix/mkfifo.c: Moved ...
14855         * sysdeps/posix/mkfifo.c: ... here.
14856         * sysdeps/unix/mkfifoat.c: Moved ...
14857         * sysdeps/posix/mkfifoat.c: ... here.
14859         * sysdeps/unix/utime.c: Moved ...
14860         * sysdeps/posix/utime.c: ... here.
14862         * sysdeps/unix/time.c: Moved ...
14863         * sysdeps/posix/time.c: ... here.
14864         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14865         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14867         * sysdeps/unix/nice.c: Moved ...
14868         * sysdeps/posix/nice.c: ... here.
14870         * sysdeps/unix/alarm.c: Moved ...
14871         * sysdeps/posix/alarm.c: ... here.
14873         * intl/Makefile ($(codeset_mo)): Depend on the input file.
14875 2012-08-17  Jeff Law <law@redhat.com>
14877         * intl/Makefile (codeset_mo): New variable.
14878         ($(codeset_mo)): New target.
14879         (tst-codeset.out): Depend on that.  Remove explicit rule.
14880         (tst-gettext3.out, tst-gettext5.out): Likewise.
14881         (LOCPATH-ENV, tst-codeset-ENV): New variables.
14882         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14883         * intl/tst-codeset.sh: Remove.
14884         * intl/tst-gettext3.sh: Likewise.
14885         * intl/tst-gettext5.sh: Likewise.
14887 2012-08-17  Roland McGrath  <roland@hack.frob.com>
14889         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
14890         * sysdeps/unix/syscalls.list: ... here.
14892         * sysdeps/posix/getaddrinfo.c
14893         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14894         (gaiconf_init, gaiconf_reload): Use them.
14895         [!_STATBUF_ST_NSEC]
14896         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14897         Define using time_t rather than struct timespec.
14899         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14900         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14901         Macros removed.
14902         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14903         [!NO_THREADS].
14904         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14905         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14906         Likewise.
14908         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14909         __libc_cleanup_push argument.
14911         * bits/param.h: New file.
14912         * misc/sys/param.h: New file.
14913         * include/sys/param.h: New file.
14914         * misc/Makefile (headers): Add bits/param.h.
14915         * sysdeps/generic/sys/param.h: File removed.
14916         * sysdeps/unix/sysv/linux/bits/param.h: New file.
14917         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14918         * sysdeps/mach/hurd/bits/param.h: New file.
14919         * sysdeps/mach/hurd/sys/param.h: File removed.
14921         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14922         last change.
14924         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14925         [_IO_MTSAFE_IO].
14926         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14927         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14928         New macros.
14930         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14931         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14932         rather than -D_IO_MTSAFE_IO conditionally.
14933         * stdio-common/Makefile (CPPFLAGS): Likewise.
14934         * wcsmbs/Makefile (CPPFLAGS): Likewise.
14935         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14936         Use $(libio-mtsafe).
14937         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14938         of -D_IO_MTSAFE_IO.
14939         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14940         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14941         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14942         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14943         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14944         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14945         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14946         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14947         (CFLAGS-fread_u_chk.c): Likewise.
14948         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14949         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14950         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14951         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14952         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14953         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14954         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14955         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14956         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14958         * libio/Makefile: Test [$(libc-reentrant) = yes]
14959         instead of [$(filter %REENTRANT, $(defines)) nonempty].
14961         * Makeconfig
14962         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14963         * sysdeps/pthread/configure: File removed.
14964         * sysdeps/pthread/Makeconfig: New file.
14965         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14966         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14968 2012-08-16  Gary Benson  <gbenson@redhat.com>
14970         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14971         unmapping the first object in a namespace.
14973 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14975         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14976         (__internal_setnetgrent): ... this.  Add internal_function to
14977         definition.  Add libc_hidden_def.
14978         (setnetgrent): Update caller.
14979         (internal_endnetgrent): Renamed to ...
14980         (__internal_endnetgrent): ... this.  Add internal_function to
14981         definition.  Add libc_hidden_def.
14982         (endnetgrent): Update caller.
14983         (internal_getnetgrent_r): Renamed to ...
14984         (__internal_getnetgrent_r): ... this.  Add internal_function to
14985         definition.  Add libc_hidden_def.
14986         (__getnetgrent_r): Update caller.
14987         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
14989 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
14991         * stdlib/longlong.h: Update from GCC.
14993 2012-08-16  Roland McGrath  <roland@hack.frob.com>
14995         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14996         on _QL, which is set by umul_ppmm but never used.
14997         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14998         variables, which are set by GMP macros but never used.
14999         * stdio-common/_itowa.c (_itowa): Likewise.
15000         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15001         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15003 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15005         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15006         struct La_sh_regs is not constant.
15007         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15008         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15009         and struct La_sparc64_regs are not constant.
15011 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15013         * sysdeps/unix/sysv/linux/kernel-features.h
15014         (__ASSUME_POSIX_TIMERS): Remove.
15015         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15016         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15017         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15018         Make code unconditional.
15019         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15020         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15021         Make code unconditional.
15022         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15023         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15024         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15025         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15026         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15027         Make code unconditional.
15028         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15029         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15030         (__libc_missing_posix_timers): Remove.
15032 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15034         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15035         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15037         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15039         * elf/dl-sym.c: Include <stdlib.h>.
15041         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15042         constants, which avoids warnings in 32-bit builds.
15044         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15045         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15047         * misc/lseek.c: File moved to ...
15048         * io/lseek.c: ... here.
15050         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15052         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15053         shifting LEN more than 31 bits at once.
15055 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15057         [BZ #14195]
15058         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15059         segmentation fault for a case of two empty input strings.
15060         * string/test-strncasecmp.c (check1): Renamed to...
15061         (bz12205): ...this.
15062         (bz14195): Add new testcase for two empty input strings and N > 0.
15063         (test_main): Call new testcase, adapt for renamed function.
15065 2012-08-15  Andreas Jaeger  <aj@suse.de>
15067         [BZ #14090]
15068         * crypt/md5test2.c: New test, based on test supplied by Serge
15069         Belyshev <belyshev@depni.sinp.msu.ru>.
15070         * crypt/Makefile (xtests): Add md5test-giant..
15071         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15073 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15075         [BZ #14090]
15076         * crypt/md5.c (md5_process_block): Don't assume the buffer
15077         length is less than 2**32.
15078         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15079         length is less than 2**64.
15081 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15083         * string/str-two-way.h: Include <sys/param.h>.
15084         (MAX): Macro removed.
15086         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15087         Move #define and #undef of memmove to just before and after
15088         including <string.h>.
15090         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15091         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15092         and after including <string.h>.  Move declarations of
15093         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15094         to before #include "string/memmove.c".
15096         * include/dirent.h: Declare __getdirentries.
15098         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15099         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15101 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15103         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15104         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15105         * sysdeps/i386/configure: Regenerated.
15106         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15107         STABS_CURRENT_FILE, and STABS_FUN.
15108         (END): Remove call to STABS_FUN_END.
15109         (STABS_CURRENT_FILE1): Delete.
15110         (STABS_CURRENT_FILE): Likewise.
15111         (STABS_FUN): Likewise.
15112         (STABS_FUN_END): Likewise.
15113         (STABS_FUN2): Likewise.
15114         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15115         * sysdeps/x86_64/configure: Regenerated.
15117 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15119         * elf/dl-open.c: Include <atomic.h>.
15120         * elf/dl-lookup.c: Likewise.
15122 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15124         * sysdeps/unix/sysv/linux/kernel-features.h
15125         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15126         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15127         unconditionally.
15128         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15129         unconditionally.
15130         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15131         condition on __ASSUME_CLONE_THREAD_FLAGS.
15133 2012-08-14  Andreas Jaeger  <aj@suse.de>
15135         * sysdeps/i386/fpu/libm-test-ulps: Update.
15137 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15139         * include/atomic.h (atomic_exchange_and_add): Split into ...
15140         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15141         New atomic macros.
15143 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15147 2012-08-13  Jeff Law <law@redhat.com>
15149         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15150         null byte in the output string.
15152 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15154         * sysdeps/unix/sysv/linux/kernel-features.h
15155         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15156         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15157         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15158         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15159         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15160         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15161         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15163 2012-08-09  Jeff Law <law@redhat.com>
15165         [BZ #13939]
15166         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15167         When avoid_arena is set, don't retry in the that arena.  Pick the
15168         next one, whatever it might be.
15169         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15170         (arena_lock): Pass in new parameter to arena_get2.
15171         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15172         arena_get2.
15173         (__libc_malloc): Unify retrying after main arena failure with
15174         __libc_memalign version.
15175         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15177 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15179         [BZ #14166]
15180         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15181         to __redirect_strstr.
15182         (__strstr_sse42): Use typeof __redirect_strstr.
15183         (__strstr_ia32): Likewise.
15184         (__libc_strstr): New prototype.
15185         (strstr): Renamed to ...
15186         (__libc_strstr): This.
15187         (strstr): New strong alias of __libc_strstr.
15188         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15189         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15190         __redirect_time.
15191         Include <time.h>.
15192         (__libc_time): New prototype.
15193         (time_ifunc): Replace time with __libc_time.
15194         (time): New strong alias and hidden definition of __libc_time.
15195         (__GI_time): Remove strong alias.
15196         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15197         Include <stddef.h>.
15198         (memmove): Redefined to __redirect_memmove.
15199         (__memmove_sse2): Use typeof __redirect_memmove.
15200         (__memmove_ssse3): Likewise.
15201         (__memmove_ssse3_back): Likewise.
15202         (__libc_memmove): New prototype.
15203         (memmove): Renamed to ...
15204         (__libc_memmove): This.
15205         (memmove): New strong alias of __libc_memmove.
15207 2012-08-08  Mark Salter  <msalter@redhat.com>
15209         * elf/elf.h
15210         (R_MN10300_TLS_GD): Define.
15211         (R_MN10300_TLS_LD): Likewise.
15212         (R_MN10300_TLS_LDO): Likewise.
15213         (R_MN10300_TLS_GOTIE): Likewise.
15214         (R_MN10300_TLS_IE): Likewise.
15215         (R_MN10300_TLS_LE): Likewise.
15216         (R_MN10300_TLS_DTPMOD): Likewise.
15217         (R_MN10300_TLS_DTPOFF): Likewise.
15218         (R_MN10300_TLS_TPOFF): Likewise.
15219         (R_MN10300_SYM_DIFF): Likewise.
15220         (R_MN10300_ALIGN): Likewise.
15221         (R_MN10300_NUM): Update.
15223 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15226         Remove.
15228 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15230         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15232         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15233         sysdeps/unix -> sysdeps/posix move.
15234         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15236 2012-08-07      Allan McRae     <allan@archlinux.org>
15238         [BZ #14303]
15239         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15240         (SUNOS_CPP): Likewise.
15241         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15242         not found.
15243         (open_input): Call CPP using execvp.
15245 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15247         * sysdeps/unix/sysv/linux/kernel-features.h
15248         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15249         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15250         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15251         (__ASSUME_WAITID_SYSCALL): Likewise.
15252         * sysdeps/unix/sysv/linux/dl-execstack.c
15253         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15254         code unconditional.
15255         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15256         conditional code.
15257         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15258         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15259         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15260         code.
15261         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15262         unconditional.
15263         [__ASSUME_WAITID_SYSCALL]: Likewise.
15264         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15266 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15268         * sysdeps/unix/closedir.c: Renamed to ...
15269         * sysdeps/posix/closedir.c: ... here.
15270         * sysdeps/unix/dirfd.c: Renamed to ...
15271         * sysdeps/posix/dirfd.c: ... here.
15272         * sysdeps/unix/dirstream.h: Renamed to ...
15273         * sysdeps/posix/dirstream.h: ... here.
15274         * sysdeps/unix/fdopendir.c: Renamed to ...
15275         * sysdeps/posix/fdopendir.c: ... here.
15276         * sysdeps/unix/opendir.c: Renamed to ...
15277         * sysdeps/posix/opendir.c: ... here.
15278         * sysdeps/unix/readdir.c: Renamed to ...
15279         * sysdeps/posix/readdir.c: ... here.
15280         * sysdeps/unix/readdir_r.c: Renamed to ...
15281         * sysdeps/posix/readdir_r.c: ... here.
15282         * sysdeps/unix/rewinddir.c: Renamed to ...
15283         * sysdeps/posix/rewinddir.c: ... here.
15284         * sysdeps/unix/seekdir.c: Renamed to ...
15285         * sysdeps/posix/seekdir.c: ... here.
15286         * sysdeps/unix/telldir.c: Renamed to ...
15287         * sysdeps/posix/telldir.c: ... here.
15288         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15289         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15290         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15291         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15293         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15294         * bits/fcntl.h: ... here.
15296         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15297         not 0.
15298         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15299         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15300         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15301         (struct flock): Move l_start, l_len to the beginning.
15302         Use __pid_t for l_pid.
15303         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15304         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15305         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15306         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15307         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15308         [__USE_LARGEFILE64] (struct flock64): New type.
15309         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15311         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15312         * bits/dirent.h: ... here.
15314         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15315         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15317 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15319         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15320         Change from 2.6.0 to 2.6.16.
15321         * sysdeps/unix/sysv/linux/configure: Regenerated.
15322         * sysdeps/unix/sysv/linux/kernel-features.h
15323         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15324         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15325         version.
15326         (__ASSUME_UTIMES): Likewise.
15327         (__ASSUME_CLONE_STOPPED): Remove.
15328         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15329         architectures, not kernel version.
15330         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15331         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15332         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15333         (__ASSUME_WAITID_SYSCALL): Likewise.
15334         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15335         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15336         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15337         refer to older versions.
15339 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15341         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15342         Define alphasort64 as an alias.
15343         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15344         Define versionsort64 as an alias.
15345         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15346         Define scandir64 as an alias.
15347         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15348         Define scandirat64 as an alias.
15349         * dirent/alphasort64.c (alphasort64):
15350         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15351         * dirent/versionsort64.c: Likewise.
15352         * dirent/scandir64.c: Likewise.
15353         * dirent/scandirat64.c: Likewise.
15354         * sysdeps/wordsize-64/alphasort.c: File removed.
15355         * sysdeps/wordsize-64/alphasort64.c: File removed.
15356         * sysdeps/wordsize-64/scandir.c: File removed.
15357         * sysdeps/wordsize-64/scandir64.c: File removed.
15358         * sysdeps/wordsize-64/scandirat.c: File removed.
15359         * sysdeps/wordsize-64/scandirat64.c: File removed.
15360         * sysdeps/wordsize-64/versionsort.c: File removed.
15361         * sysdeps/wordsize-64/versionsort64.c: File removed.
15362         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15363         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15364         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15365         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15366         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15367         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15368         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15369         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15371         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15373         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15374         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15375         [defined __arch64__ || defined __sparcv9]
15376         (__INO_T_MATCHES_INO64_T): New macro.
15377         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15378         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15379         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15380         * sysdeps/unix/sysv/linux/bits/dirent.h
15381         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15382         (_DIRENT_MATCHES_DIRENT64): New macro.
15384         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15385         Define lockf64 as an alias.
15386         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15387         Define fseeko64 as an alias.
15388         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15389         Define ftello64 as an alias.
15390         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15391         Define _IO_fgetpos64 and fgetpos64 as aliases.
15392         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15393         Define _IO_fsetpos64 and fsetpos64 as aliases.
15394         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15395         Conditionalize body on this.
15396         * libio/fseeko64.c: Likewise.
15397         * libio/ftello64.c: Likewise.
15398         * libio/iofgetpos64.c: Likewise.
15399         * libio/iofsetpos64.c: Likewise.
15400         * sysdeps/wordsize-64/lockf.c: File removed.
15401         * sysdeps/wordsize-64/lockf64.c: File removed.
15402         * sysdeps/wordsize-64/fseeko.c: File removed.
15403         * sysdeps/wordsize-64/fseeko64.c: File removed.
15404         * sysdeps/wordsize-64/ftello.c: File removed.
15405         * sysdeps/wordsize-64/ftello64.c: File removed.
15406         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15407         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15408         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15409         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15410         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15411         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15412         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15413         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15414         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15415         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15416         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15417         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15418         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15419         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15421         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15423         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15425         [defined __arch64__ || defined __sparcv9]
15426         (__OFF_T_MATCHES_OFF64_T): New macro.
15427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15428         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15430         (__OFF_T_MATCHES_OFF64_T): New macro.
15432 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15434         * stdlib/secure-getenv.c (__secure_getenv): Replace
15435         GLIBC_2_16 with GLIBC_2_17.
15437 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15439         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15440         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15442 2012-08-03  David S. Miller  <davem@davemloft.net>
15444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15446 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15449         Remove.
15450         (__ASSUME_CORRECT_SI_PID): Likewise.
15451         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15452         (__ASSUME_TMPFS_NAME): Likewise.
15453         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15454         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15455         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15456         (HAVE_AUX_SECURE): Make definition unconditional.
15457         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15458         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15460 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15462         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15463         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15464         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15465         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15466         __eloop_threshold instead of SYMLOOP_MAX.
15468         * sysdeps/generic/eloop-threshold.h: New file.
15469         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15470         of MAXSYMLINKS.
15471         * elf/chroot_canon.c (chroot_canon): Likewise.
15473 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #13717]
15476         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15477         Change to 2.6.0 everywhere.
15478         * sysdeps/unix/sysv/linux/configure: Regenerated.
15479         * sysdeps/unix/sysv/linux/kernel-features.h
15480         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15481         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15482         kernel versions.
15483         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15484         (__ASSUME_FUTEX_REQUEUE): Remove.
15485         (__ASSUME_STATFS64): Define unconditionally.
15486         (__ASSUME_AT_SECURE): Likewise.
15487         (__ASSUME_CORRECT_SI_PID): Likewise.
15488         (__ASSUME_TGKILL): Define without depending on kernel version for
15489         i386.
15490         (__ASSUME_UTIMES): Likewise.
15491         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15492         kernel version.
15493         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15494         (__ASSUME_TMPFS_NAME): Likewise.
15495         * README: Update reference to Linux kernel versions.
15497 2012-08-02  Marek Polacek  <polacek@redhat.com>
15499         [BZ# 14150]
15500         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15501         libc_cv_asm_type_prefix with %.
15502         * configure: Regenerated.
15503         * include/libc-symbols.h: Remove comment about
15504         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15505         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15506         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15507         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15508         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15509         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15510         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15511         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15512         * elf/tst-unique2mod1.c: Likewise.
15513         * elf/tst-unique1mod2.c: Likewise.
15514         * elf/tst-unique1mod1.c: Likewise.
15515         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15516         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15517         Replace ASM_TYPE_DIRECTIVE with .type.
15518         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15519         * sysdeps/i386/sysdep.h: Likewise.
15520         * sysdeps/x86_64/sysdep.h: Likewise.
15521         * sysdeps/sh/sysdep.h: Likewise.
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15523         Do not define ASM_TYPE_DIRECTIVE.
15524         * sysdeps/powerpc/sysdep.h: Likewise.
15525         * sysdeps/powerpc/powerpc32/sysdep.h:
15526         Replace ASM_TYPE_DIRECTIVE with .type.
15527         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15528         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15529         * sysdeps/i386/fpu/e_powf.S: Likewise.
15530         * sysdeps/i386/fpu/e_expl.S: Likewise.
15531         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15532         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15533         * sysdeps/i386/fpu/e_pow.S: Likewise.
15534         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15535         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15536         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15537         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15538         * sysdeps/i386/fpu/e_log2.S: Likewise.
15539         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15540         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15541         * sysdeps/i386/fpu/e_powl.S: Likewise.
15542         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15543         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15544         * sysdeps/i386/fpu/e_logl.S: Likewise.
15545         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15546         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15547         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15548         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15549         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15550         * sysdeps/i386/fpu/e_log.S: Likewise.
15551         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15552         * sysdeps/i386/fpu/e_logf.S: Likewise.
15553         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15554         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15555         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15556         * sysdeps/i386/fpu/e_log10.S: Likewise.
15557         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15558         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15559         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15560         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15561         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15562         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15563         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15564         * sysdeps/i386/i686/strtok.S: Likewise.
15565         * sysdeps/i386/i386-mcount.S: Likewise.
15566         * sysdeps/i386/strtok.S: Likewise.
15567         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15568         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15569         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15570         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15571         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15572         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15573         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15574         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15575         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15576         * sysdeps/x86_64/_mcount.S: Likewise.
15577         * sysdeps/x86_64/strtok.S: Likewise.
15578         * sysdeps/sh/_mcount.S: Likewise.
15580 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15582         * libio/iofopen.c: Include <fcntl.h>.
15583         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15584         (_IO_fopen64, fopen64): Define as aliases.
15585         * libio/iofopen64.c: Include <fcntl.h>.
15586         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15587         Conditionalize body on this.
15588         * sysdeps/wordsize-64/iofopen.c: File removed.
15589         * sysdeps/wordsize-64/iofopen64.c: File removed.
15591 2012-08-01  Marek Polacek  <polacek@redhat.com>
15593         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15594         Use dlfcn directly instead of a variable.
15595         (binfmt-subdir): Do not define.
15596         (dlfcn): Likewise.
15598 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15601         Remove all definitions.
15602         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15603         <kernel-features.h>.
15604         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15605         (miss_F_GETOWN_EX): Remove all definitions.
15606         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15607         macro definition.
15608         [!__ASSUME_FCNTL64]: Remove conditional code.
15609         [__ASSUME_FCNTL64]: Make code unconditional.
15610         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15611         <kernel-features.h>.
15612         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15613         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15614         (lockf64) [__NR_fcntl64]: Make code unconditional.
15615         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15617         * sysdeps/unix/sysv/linux/kernel-features.h
15618         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15619         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15620         Make code unconditional.
15621         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15622         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15624         [__NR_vfork]: Make code unconditional.
15625         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15626         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15628         [__NR_vfork]: Make code unconditional.
15629         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15630         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15632 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15634         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15635         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15637         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15638         Define mkstemp64 as an alias.
15639         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15640         Define mkstemps64 as an alias.
15641         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15642         Define mkostemp64 as an alias.
15643         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15644         Define mkostemps64 as an alias.
15645         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15646         Conditionalize body on this.
15647         * misc/mkostemp64.c: Likewise.
15648         * misc/mkostemps64.c: Likewise.
15649         * misc/mkstemps64.c: Likewise.
15650         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15651         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15652         * sysdeps/wordsize-64/mkostemp.c: File removed.
15653         * sysdeps/wordsize-64/mkstemp.c: File removed.
15654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15655         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15656         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15657         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15659         [BZ #14138]
15660         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15661         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15662         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15663         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15665         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15666         compat_symbol macros from <shlib-compat.h> rather than the underlying
15667         default_symbol_version and symbol_version macros, so that DEFAULT
15668         lines in shlib-versions are respected.
15669         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15671 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15673         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15674         Declare with warn_unused_result.
15675         (setgid, setregid, setegid, setresgid): Likewise.
15676         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15677         Likewise.
15678         * WUR-REPORT: Remove set*id functions.
15680 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15682         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15684 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15686         [BZ #10191]
15687         * include/sys/socket.h (__libc_accept, __libc_accept4):
15688         Add attribute_hidden.
15689         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15691         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15692         use of PTR_MANGLE.
15693         * inet/getnetgrent_r.c (setup): Likewise.
15695         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15697 2012-07-31  David S. Miller  <davem@davemloft.net>
15699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15701 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
15703         [BZ #13629]
15704         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15705         value between 1.0 and 2.0 and smaller part has absolute value less
15706         than 1.0.
15707         * math/s_clog10.c (__clog10): Likewise.
15708         * math/s_clog10f.c (__clog10f): Likewise.
15709         * math/s_clog10l.c (__clog10l): Likewise.
15710         * math/s_clogf.c (__clogf): Likewise.
15711         * math/s_clogl.c (__clogl): Likewise.
15712         * math/libm-test.inc (clog_test): Add more tests.
15713         (clog10_test): Likewise.
15714         * sysdeps/i386/fpu/libm-test-ulps: Update.
15715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717 2012-07-31  Florian Weimer  <fweimer@redhat.com>
15719         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15720         Exit with zero in case no suitable GID is found, and write a
15721         message to standard error.
15723 2012-07-30  Roland McGrath  <roland@hack.frob.com>
15725         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15726         rather than to 1.
15727         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15728         (MAXPATHLEN): Removed.
15729         (NOGROUP, NODEV): New macros.
15730         (setbit, clrbit, isset, isclr): New macros.
15731         (howmany, roundup, powerof2): New macros.
15732         (DEV_BSIZE): New macro.
15734         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15735         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15737         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15738         definition on [!__NO_LONG_DOUBLE_MATH].
15740         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15741         PTR_MANGLE and PTR_DEMANGLE.
15743         * socket/accept4.c (accept4): Rename to __libc_accept4.
15744         Define accept4 as a weak alias.
15746         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15747         on [_DIRENT_HAVE_D_TYPE].
15748         * io/ftw.c (ftw_dir): Likewise.
15750         * io/xmknod.c (__xmknod): Don't check PATH for being null.
15752         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15754         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15755         Use the BSD numbers rather than the arbitrary ones we had.
15756         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15757         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15758         (SIGXCPU, SIGXFSZ): New macros.
15759         (_NSIG): Now 32.
15761         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15762         initializer on [_LIBC_REENTRANT].
15764         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15765         definitions inside [_POSIX_MAPPED_FILES].
15767         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15769         * dirent/opendir.c: Include <fcntl.h>.
15771         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15772         (__libc_getspecific): Likewise.
15773         (__libc_key_create): Likewise.
15775         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15776         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15777         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15778         (tmpfile64): Define as alias.
15779         * sysdeps/wordsize-64/tmpfile.c: File removed.
15780         * sysdeps/wordsize-64/tmpfile64.c: File removed.
15781         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15782         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15784         * stdio-common/vfscanf.c: Include <stdbool.h>.
15785         * nss/makedb.c: Likewise.
15786         * stdio-common/_i18n_number.h: Likewise.
15787         * argp/argp-help.c: Likewise.
15788         * posix/wordexp.c: Likewise.
15789         * sysdeps/posix/spawni.c: Likewise.
15790         * nss/nss_files/files-initgroups.c: Likewise.
15791         * stdio-common/reg-modifier.c: Include <stdlib.h>.
15792         * nss/nss_files/files-initgroups.c: Likewise.
15793         * nss/nss_db/db-netgrp.c: Likewise.
15794         * nss/nss_db/db-initgroups.c: Likewise.
15795         * io/fchmodat.c: Include <sys/stat.h>.
15797         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15798         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15800         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15801         [HAVE_MMAP].
15803         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15804         Add multiple inclusion protection.
15806 2012-07-27  David S. Miller  <davem@davemloft.net>
15808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810 2012-07-27  Gary Benson  <gbenson@redhat.com>
15812         [BZ #14298]
15813         * elf/rtld.c: Include <stap-probe.h>.
15814         (dl_main): Added static probes "init_start" and "init_complete".
15815         * elf/dl-load.c: Include <stap-probe.h>.
15816         (lose): Take new parameter "nsid".
15817         Added static probe "map_failed".
15818         (_dl_map_object_from_fd): Pass namespace id to lose.
15819         Added static probe "map_start".
15820         (open_verify): Pass namespace id to lose.
15821         * elf/dl-open.c: Include <stap-probe.h>.
15822         (dl_open_worker) Added static probes "map_complete", "reloc_start"
15823         and "reloc_complete".
15824         * elf/dl-close.c: Include <stap-probe.h>.
15825         (_dl_close_worker): Added static probes "unmap_start" and
15826         "unmap_complete".
15827         * elf/rtld-debugger-interface.txt: New file documenting the above.
15829 2012-07-26  Roland McGrath  <roland@hack.frob.com>
15831         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15832         rather than a string variable.
15833         * sunrpc/rpc_main.c (h_output): Likewise.
15834         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15836 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
15838         * inet/check_native.c: New file.
15840 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
15842         [BZ #13629]
15843         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15844         if larger part has absolute value 1.0.
15845         * math/s_clog10.c (__clog10): Likewise.
15846         * math/s_clog10f.c (__clog10f): Likewise.
15847         * math/s_clog10l.c (__clog10l): Likewise.
15848         * math/s_clogf.c (__clogf): Likewise.
15849         * math/s_clogl.c (__clogl): Likewise.
15850         * math/libm-test.inc (clog_test): Add more tests.
15851         (clog10_test): Likewise.
15852         * sysdeps/i386/fpu/libm-test-ulps: Update.
15853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15855         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15856         (pltexit): Likewise.
15857         (La_regs): Likewise.
15858         (La_retval): Likewise.
15859         (int_retval): Likewise.
15860         Update #error for removed macros to refer only to definitions in
15861         tst-audit.h.
15862         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15863         macro.
15864         (pltexit): Likewise.
15865         (La_regs): Likewise.
15866         (La_retval): Likewise.
15867         (int_retval): Likewise.
15868         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15869         macro.
15870         (pltexit): Likewise.
15871         (La_regs): Likewise.
15872         (La_retval): Likewise.
15873         (int_retval): Likewise.
15874         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15875         macro.
15876         (pltexit): Likewise.
15877         (La_regs): Likewise.
15878         (La_retval): Likewise.
15879         (int_retval): Likewise.
15880         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15881         macro.
15882         (pltexit): Likewise.
15883         (La_regs): Likewise.
15884         (La_retval): Likewise.
15885         (int_retval): Likewise.
15886         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15887         macro.
15888         (pltexit): Likewise.
15889         (La_regs): Likewise.
15890         (La_retval): Likewise.
15891         (int_retval): Likewise.
15892         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15893         macro.
15894         (pltexit): Likewise.
15895         (La_regs): Likewise.
15896         (La_retval): Likewise.
15897         (int_retval): Likewise.
15898         * sysdeps/generic/tst-audit.h: Update comment to refer only to
15899         macro definitions in tst-audit.h.
15900         * sysdeps/i386/tst-audit.h: New file.
15901         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15902         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15903         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15904         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15905         * sysdeps/sh/tst-audit.h: Likewise.
15906         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15907         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15908         * sysdeps/x86_64/tst-audit.h: Likewise.
15910 2012-07-26  Andreas Jaeger  <aj@suse.de>
15912         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15913         ptrace.
15915         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15916         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15917         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15918         PTRACE_O_MASK.
15919         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15920         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15921         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15923         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15924         value.
15926         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15927         _sigsys.
15928         (si_call_addr, si_syscall, si_arch): Define new macro.
15929         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15930         _sigsys.
15931         (si_call_addr, si_syscall, si_arch): Define new marcro.
15932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15933         _sigsys.
15934         (si_call_addr, si_syscall, si_arch): Define new macro.
15935         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15936         _sigsys.
15937         (si_call_addr, si_syscall, si_arch): Define new macro.
15939 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #13717]
15942         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15943         Change to 2.4.21 where previously 2.4.1.
15944         * sysdeps/unix/sysv/linux/configure: Regenerated.
15945         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15946         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15947         Linux kernel version.
15948         (__ASSUME_STD_AUXV): Remove.
15949         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15950         kernel version.
15951         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15952         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15953         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15954         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15955         (__ASSUME_NETLINK_SUPPORT): Likewise.
15956         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15957         (__no_netlink_support): Remove conditional definition.
15958         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15959         Remove.
15960         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15961         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15962         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15963         (if_nameindex_ioctl): Remove.
15964         (if_nameindex_netlink): Do not handle __no_netlink_support.
15965         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15966         code.
15967         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15968         Remove conditional code.
15969         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15970         code.
15971         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15972         unconditional.
15973         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15974         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15975         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15976         Remove.
15977         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15978         [!__ASSUME_STD_AUXV]: Remove conditional code.
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15980         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15981         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15983         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15984         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15985         code.
15986         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15988         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15989         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15990         conditional code.
15991         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15993         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15994         code.
15995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15996         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15997         conditional code.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15999         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16000         code unconditional.
16001         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16002         conditional code.
16003         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16004         unconditional.
16005         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16006         conditional code.
16007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16008         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16009         unconditional.
16010         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16011         conditional code.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16013         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16014         code unconditional.
16015         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16016         conditional code.
16017         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16018         unconditional.
16019         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16020         conditional code.
16021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16022         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16023         code unconditional.
16024         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16025         conditional code.
16026         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16027         unconditional.
16028         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16029         conditional code.
16031 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16033         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16034         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16035         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16036         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16037         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16038         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16039         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16040         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16041         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16042         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16043         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16044         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16045         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16046         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16047         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16048         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16049         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16050         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16051         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16053         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16054         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16055         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16057 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16059         * Versions.def: Add GLIBC_2.17.
16060         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16061         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16062         Introduce __libc_secure_getenv.
16063         * stdlib/Versions (2.17): Add secure_getenv
16064         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16065         * stdlib/secure-getenv.c: Rename __secure_getenv to
16066         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16067         symbol __secure_getenv for GLIBC_2.0.
16068         * stdlib/tst-secure-getenv.c: New.
16069         * stdlib/Makefile (tests): Add testcase.
16070         * manual/startup.texi (Environment Access): Document
16071         secure_getenv.
16072         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16073         __libc_secure_getenv.
16074         * inet/ruserpass.c (ruserpass): Likewise.
16075         * malloc/mtrace.c (mtrace): Likewise.
16076         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16077         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16078         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16079         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16080         HAVE_SECURE_GETENV.
16081         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16082         __secure_getenv to __libc_secure_getenv.
16083         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16085         Likewise.
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16087         Likewise.
16088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16096 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16098         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16099         (struct La_i86_retval): Likewise.
16100         (struct La_x86_64_regs): Likewise.
16101         (struct La_x86_64_retval): Likewise.
16102         (struct La_x32_regs): Likewise.
16103         (struct La_x32_retval): Likewise.
16104         (struct La_ppc32_regs): Likewise.
16105         (struct La_ppc32_retval): Likewise.
16106         (struct La_ppc64_regs): Likewise.
16107         (struct La_ppc64_retval): Likewise.
16108         (struct La_sh_regs): Likewise.
16109         (struct La_sh_retval): Likewise.
16110         (struct La_s390_32_regs): Likewise.
16111         (struct La_s390_32_retval): Likewise.
16112         (struct La_s390_64_regs): Likewise.
16113         (struct La_s390_64_retval): Likewise.
16114         (struct La_sparc32_regs): Likewise.
16115         (struct La_sparc32_retval): Likewise.
16116         (struct La_sparc64_regs): Likewise.
16117         (struct La_sparc64_retval): Likewise.
16118         (struct audit_ifaces): Remove architecture-specific pltenter and
16119         pltexit members.
16120         * sysdeps/i386/ldsodefs.h: New file.
16121         * sysdeps/powerpc/ldsodefs.h: Likewise.
16122         * sysdeps/s390/ldsodefs.h: Likewise.
16123         * sysdeps/sh/ldsodefs.h: Likewise.
16124         * sysdeps/sparc/ldsodefs.h: Likewise.
16125         * sysdeps/x86_64/ldsodefs.h: Likewise.
16127 2012-07-25  Marek Polacek  <polacek@redhat.com>
16129         [BZ #6808]
16130         * math/libm-test.inc (yn_test): Add another test.
16131         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16132         to ERANGE when the result is +-Inf.
16133         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16134         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16136         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16138 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16140         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16141         equal to 0.
16142         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16143         clock_t.
16144         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16146 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16148         * configure.in <sysdeps resolving>: Correct printing
16149         Implies_before.
16150         * configure: Regenerate.
16152 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16154         * math/w_ilogb.c: Include <limits.h>.
16155         * math/w_ilogbl.c: Likewise.
16157 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16159         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16160         va_copy.  Document allowing for unavailable va_copy only as
16161         pre-C99 compatibility.
16162         * manual/string.texi (Copying and Concatenation): Use va_copy
16163         instead of __va_copy in concat example.
16165 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16167         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16168         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16169         it if not null.
16171         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16172         with O_NOLINK passed to __file_name_lookup.
16174         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16175         with O_NOLINK passed to __file_name_lookup.
16177         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16178         negative N or less than NGIDS.
16180         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16181         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16182         enough.  Use memcpy instead of strncpy.
16184 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16186         * elf/Makefile (check-data): Remove.
16187         (localplt.data): New vpath directive.
16188         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16189         instead of $(check-data).
16190         * scripts/data/localplt-generic.data: Move to ...
16191         * sysdeps/generic/localplt.data: ... here.
16192         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16193         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16194         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16196         ... here.
16197         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16199         ... here.
16200         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16202         ... here.
16203         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16205         ... here.
16206         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16208         ... here.
16209         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16211         ... here.
16213 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16215         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16216         PPC32 and PPC64 files.
16217         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16218         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16220 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16222         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16223         __makecontext_ret to ...
16224         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16225         ... here and call exit if uc_link is NULL.  New file.
16226         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16227         __makecontext_ret.S.
16228         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16229         __makecontext_ret to ...
16230         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16231         ... here and call exit if uc_link is NULL.  New file.
16232         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16233         __makecontext_ret.S.
16235 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16237         * elf/elf.h (R_390_IRELATIVE): New definition.
16238         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16239         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16240         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16241         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16242         (elf_machine_lazy_rel): Likewise.
16243         * sysdeps/s390/dl-irel.h: New file.
16244         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16245         * sysdeps/s390/s390-64/memset.S: New asm code.
16246         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16247         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16248         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16249         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16250         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16251         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16253         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16254         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16255         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16256         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16257         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16258         * sysdeps/s390/s390-32/memset.S: New asm code.
16259         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16261 2012-07-17  Marek Polacek  <polacek@redhat.com>
16263         [BZ #14349]
16264         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16265         * sysdeps/s390/s390-64/configure.in: Likewise.
16266         * sysdeps/sparc/configure.in: Likewise.
16267         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16268         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16269         * sysdeps/i386/configure.in: Likewise.
16270         * sysdeps/x86_64/configure.in: Likewise.
16271         * sysdeps/sh/configure.in: Likewise.
16272         * sysdeps/s390/s390-32/configure: Regenerated.
16273         * sysdeps/s390/s390-64/configure: Likewise.
16274         * sysdeps/x86_64/configure: Likewise.
16275         * sysdeps/sh/configure: Likewise.
16276         * sysdeps/powerpc/powerpc64/configure: Likewise.
16277         * sysdeps/powerpc/powerpc32/configure: Likewise.
16278         * sysdeps/sparc/configure: Likwise.
16279         * sysdeps/i386/configure: Likewise.
16281         * elf/dl-open.c: Comment fixes.
16283 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16285         * Makefile [CXX] (check-data): Remove.
16286         [CXX] (c++-types.data): New vpath directive.
16287         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16288         vpath.  Do not allow for C++ type data being missing.
16289         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16290         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16291         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16292         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16293         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16294         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16295         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16297         ... here.
16298         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16300         ... here.
16301         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16303         ... here.
16304         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16306         ... here.
16307         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16309         ... here.
16310         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16312         ... here.
16313         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16315         ... here.
16316         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16319         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16320         definitions to architecture-specific files.
16321         (TLS_IE): Likewise.
16322         (TLS_LD): Likewise.
16323         (TLS_GD): Likewise.
16324         * sysdeps/i386/tls-macros.h: New file.
16325         * sysdeps/powerpc/tls-macros.h: Likewise.
16326         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16327         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16328         * sysdeps/sh/tls-macros.h: Likewise.
16329         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16330         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16331         * sysdeps/x86_64/tls-macros.h: Likewise.
16333 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16335         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16336         zero value for regular exit case.
16338         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16339         (__start_context): Preserve zero value for regular exit case.
16341 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16342             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16344         * manual/setjmp.texi (setcontext): Clarify normal process
16345         termination when uc_link is the null pointer.
16346         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16347         exit call.
16349 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16351         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16352         preprocessor.  Test for each exception mask separately.
16354 2012-07-16  Andreas Jaeger  <aj@suse.de>
16356         * po/ru.po: Update from translation team.
16358 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16360         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16361         equal to 0.
16362         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16363         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16364         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16365         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16368 2012-07-13  Andreas Jaeger  <aj@suse.de>
16370         * po/fr.po: Update from translation team.
16372 2012-07-12  Marek Polacek  <polacek@redhat.com>
16374         [BZ #14173]
16375         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16376         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16377         loop condition.
16379 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16381         [BZ #13717]
16382         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16383         Change to 2.4.1 where previously 2.4.0.
16384         * sysdeps/unix/sysv/linux/configure: Regenerated.
16385         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16386         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16387         version.
16388         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16389         (__ASSUME_AT_CLKTCK): Remove.
16390         (__ASSUME_AT_PAGESIZE): Likewise.
16391         (__ASSUME_AT_XID): Likewise.
16392         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16393         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16394         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16395         unconditionally.
16396         (HAVE_AUX_PAGESIZE): Likewise.
16397         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16398         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16399         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16401 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16403         [BZ #14307]
16404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16405         the temporary buffer used to invoke __gethostbyname2_r,
16406         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16407         host_data / struct gaih_addrtuple.
16408         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16409         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16410         header file nss/nsswitch.h.
16411         * nss/nsswitch.h (global scope): Add definition of implementation
16412         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16413         resolv/nss_dns/dns-host.c).
16415 2012-07-11  Andreas Jaeger  <aj@suse.de>
16417         * po/fr.po: Update from translation team.
16419         * po/sv.po: Update from translation team
16420         * po/fr.po: Another update from translation team.
16422 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16424         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16425         for subnormals or multiply small sinh result by itself.
16426         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16429 2012-07-11  David S. Miller  <davem@davemloft.net>
16431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16433 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16435         [BZ #14347]
16436         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16437         (INTERNAL_MARK): Shift it here.
16439 2012-07-10  Marek Polacek  <polacek@redhat.com>
16441         [BZ #14151]
16442         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16443         libc_cv_asm_global_directive with .globl.
16444         * configure: Regenerated.
16445         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16446         with .globl.
16447         * sysdeps/i386/configure: Regenerated.
16448         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16449         with .globl.
16450         * sysdeps/x86_64/configure: Regenerated.
16451         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16452         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16453         * elf/tst-unique2mod2.c: Likewise.
16454         * elf/tst-unique2mod1.c: Likewise.
16455         * elf/tst-unique1mod2.c: Likewise.
16456         * elf/tst-unique1mod1.c: Likewise.
16457         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16458         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16459         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16460         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16461         * sysdeps/mach/sysdep.h: Likewise.
16462         * sysdeps/i386/sysdep.h: Likewise.
16463         * sysdeps/i386/i386-mcount.S: Likewise.
16464         * sysdeps/x86_64/_mcount.S: Likewise.
16465         * sysdeps/x86_64/sysdep.h: Likewise.
16466         * sysdeps/sh/_mcount.S: Likewise.
16467         * sysdeps/sh/sysdep.h: Likewise.
16468         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16470         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16472         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16473         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16474         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16475         * locale/localeinfo.h: Likewise.
16476         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16477         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16479 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16481         [BZ #14336]
16482         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16483         system".
16484         * manual/message.texi (The Uniforum approach): Likewise.
16485         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16486         (glibc iconv Implementation): Likewise.
16488 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16490         [BZ #14337]
16491         * math/s_clog.c (__clog): Avoid scaling a value down where that
16492         could result in underflow.
16493         * math/s_clog10.c (__clog10): Likewise.
16494         * math/s_clog10f.c (__clog10f): Likewise.
16495         * math/s_clog10l.c (__clog10l): Likewise.
16496         * math/s_clogf.c (__clogf): Likewise.
16497         * math/s_clogl.c (__clogl): Likewise.
16498         * math/libm-test.inc (clog_test): Add more tests.
16499         (clog10_test): Likewise.
16500         * sysdeps/i386/fpu/libm-test-ulps: Update.
16501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16503 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16505         [BZ #14283]
16506         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16507         by 7 not 8 to examine high bit of fractional part.
16509         [BZ #14042]
16510         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16511         for call to __mcount_internal.
16512         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16513         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16514         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16516 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16518         [BZ #14154]
16519         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16520         approximation for values within 0x1p-13f of an odd multiple of
16521         pi/4.
16522         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16523         exception.  Add more tests.
16524         * sysdeps/i386/fpu/libm-test-ulps: Update.
16526         [BZ #6778]
16527         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16528         inputs and return -1 for them.  Do not check for +Inf in case not
16529         reachable for +Inf.
16530         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16531         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16532         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16533         and return -1 for them.  Do not check for +Inf in case not
16534         reachable for +Inf.
16535         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16536         define.
16537         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16538         and return -1 for them.  Do not check for +Inf in case not
16539         reachable for +Inf.
16540         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16541         spurious underflow.
16542         * sysdeps/i386/fpu/libm-test-ulps: Update.
16543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16545 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16547         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16549 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16551         [BZ #14157]
16552         [BZ #14331]
16553         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16554         could result in spurious underflow.  Scale down values above
16555         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16556         * math/s_csqrtf.c (__csqrtf): Likewise.
16557         * math/s_csqrtl.c (__csqrtl): Likewise.
16558         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16559         spurious underflow.
16560         * sysdeps/i386/fpu/libm-test-ulps: Update.
16561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16565         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16566         xopen-msg.sed.
16567         * catgets/xopen-msg.awk: New file.
16568         * catgets/xopen-msg.sed: Removed.
16570         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16571         po2text.sed.
16572         * intl/po2test.awk: New file.
16573         * intl/po2test.sed: Removed.
16575 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16577         [BZ #14328]
16578         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16579         or multiply small sinh result by itself.
16580         * math/s_ctanf.c (__ctanf): Likewise.
16581         * math/s_ctanh.c (__ctanh): Likewise.
16582         * math/s_ctanhf.c (__ctanhf): Likewise.
16583         * math/s_ctanhl.c (__ctanhl): Likewise.
16584         * math/s_ctanl.c (__ctanl): Likewise.
16585         * math/libm-test.inc (ctan_test_tonearest): New function.
16586         (ctan_test_towardzero): Likewise.
16587         (ctan_test_downward): Likewise.
16588         (ctan_test_upward): Likewise.
16589         (ctanh_test_tonearest): Likewise.
16590         (ctanh_test_towardzero): Likewise.
16591         (ctanh_test_downward): Likewise.
16592         (ctanh_test_upward): Likewise.
16593         (main): Call these new functions.
16594         * sysdeps/i386/fpu/libm-test-ulps: Update.
16595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16597 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16599         * .gitignore: Delete /ports entry.
16601 2012-07-03  Andreas Jaeger  <aj@suse.de>
16603         * po/bg.po: Update from translation team.
16604         * po/cs.po: Likewise.
16605         * po/de.po: Likewise.
16606         * po/hr.po: Likewise.
16607         * po/nl.pl: Likewise.
16608         * po/pl.po: Likewise.
16609         * po/vi.po: Likewise.
16611 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16613         * Makeconfig [!+link] (+link-before-libc): New variable.
16614         [!+link] (+link-after-libc): Likewise.
16615         [!+link] (+link-tests): Likewise.
16616         [!+link] (+link): Define in terms of $(+link-before-libc) and
16617         $(+link-after-libc).
16618         [!+link-static] (+link-static-before-libc): New variable.
16619         [!+link-static] (+link-static-after-libc): Likewise.
16620         [!+link-static] (+link-static-tests): Likewise.
16621         [!+link-static] (+link-static): Define in terms of
16622         $(+link-static-before-libc) and $(+link-static-after-libc).
16623         [build-shared] (link-libc-before-gnulib): New variable.
16624         [build-shared] (link-libc-tests): Likewise.
16625         [build-shared] (link-libc): Define in terms of
16626         $(link-libc-before-gnulib).
16627         [!build-shared] (link-libc-tests): New variable.
16628         (link-libc-static-tests): New variable.
16629         [!gnulib] (gnulib-arch): New variable.
16630         [!gnulib] (gnulib-tests): Likewise.
16631         [!gnulib] (static-gnulib-arch): Likewise.
16632         [!gnulib] (static-gnulib-tests): Likewise.
16633         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16634         Define with "=" instead of ":=".
16635         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16636         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16637         * Rules (binaries-all-notests): New variable.
16638         (binaries-all-tests): Likewise.
16639         (binaries-static-notests): Likewise.
16640         (binaries-static-tests): Likewise.
16641         (binaries-all): Define using $(binaries-all-notests) and
16642         $(binaries-all-tests).
16643         (binaries-static): Define using $(binaries-static-notests) and
16644         $(binaries-static-tests).
16645         (binaries-shared-tests): New variable.
16646         (binaries-shared-notests): Likewise.
16647         (binaries-shared): Remove variable.
16648         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16649         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16650         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16651         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16652         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16653         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16654         * elf/Makefile (sln-modules): New variable.
16655         (extra-objs): Add $(sln-modules:=.o).
16656         (ldconfig-modules): Add static-stubs.
16657         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16658         * elf/static-stubs.c: New file.
16660         [BZ #14283]
16661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16662         by 7 not 8 to examine high bit of fractional part.  Use volatile
16663         variables when splitting into final array of floats if
16664         __FLT_EVAL_METHOD__ != 0.
16665         * math/libm-test.inc (cos_test): Add another test.
16666         (sin_test): Likewise.
16667         * sysdeps/i386/fpu/libm-test-ulps: Update.
16669         [BZ #14273]
16670         * math/libm-test.inc (cosh_test): Add more tests.
16672         * version.h (RELEASE): Set to "development".
16673         (VERSION): Set to "2.16.90".
16675 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16677         * NEWS: Update copyright. Remove last-updated date.
16678         Mention math library bug fixes and timezone data changes.
16679         * README: Mention GNU/Hurd, x32, and HPPA support status.
16681 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16683         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16685 2012-06-27  Andreas Jaeger  <aj@suse.de>
16687         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16689 2012-06-25  Andreas Jaeger  <aj@suse.de>
16691         * sysdeps/s390/fpu/libm-test-ulps: Update.
16693 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
16694             Thomas Schwinge  <thomas@codesourcery.com>
16696         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16697         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16698         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16699         fanotify_mark.
16701 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
16703         * sysdeps/mach/start.c: Remove file.
16704         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16705         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16706         * sysdeps/sh/init-first.c: Likewise.
16708         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16709         registers for frame unwinding purposes, add CFI directives.
16710         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16711         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16712         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16713         Likewise.
16715         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16716         __fortify_fail returning.
16717         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16719         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16720         sysdeps/sh/____longjmp_chk.S.
16721         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16722         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16723         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16724         (gen-as-const-headers): Append sigaltstack-offsets.sym.
16726         * sysdeps/sh/abort-instr.h: New file.
16727         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16728         process in case exit returns.
16730         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16731         initialize the GOT register before use.
16733         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16734         calculation of ARGC > 4.
16736         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16737         meaningful names to some local labels.
16739 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16740             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16742         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16743         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16744         (__arch_compare_and_exchange_val_16_acq): Likewise.
16745         (__arch_compare_and_exchange_val_32_acq): Likewise.
16746         (atomic_exchange_and_add): Fix gUSA sequence.
16747         (atomic_add): Likewise.
16748         (atomic_add_negative): Likewise.
16749         (atomic_add_zero): Likewise.
16750         (atomic_bit_test_set): Likewise.
16752 2012-06-22  Andreas Schwab  <schwab@redhat.com>
16754         [BZ #13579]
16755         * include/link.h (struct link_map): Add l_free_initfini.
16756         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16757         l_initfini.
16758         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16759         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16760         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16761         set.
16763 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
16765         * configure.in: Use AC_LANG_SOURCE.
16766         * configure: Regenerate.
16768 2012-06-22  Roland McGrath  <roland@hack.frob.com>
16770         * configure.in (libc_cv_localstatedir): New substituted variable.
16771         * configure: Regenerated.
16772         * config.make.in (localstatedir): New variable, substituted from
16773         libc_cv_localstatedir.
16774         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16775         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16776         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16777         * sysdeps/gnu/configure: Regenerated.
16779 2012-06-21  Jeff Law  <law@redhat.com>
16781         [BZ #14277]
16782         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16783         free.  Simplify list management for _LIBC case.
16785 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
16787         [BZ #14273]
16788         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16789         Clear sign bit of 64-bit integer value before comparing against
16790         overflow value.
16792         * sysdeps/mach/configure: Regenerated.
16794 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
16796         [BZ #14278]
16797         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16799 2012-06-21  Jeff Law  <law@redhat.com>
16801         [BZ #13882]
16802         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
16803         uint16_t for elements in the "seen" array to avoid char overflows.
16804         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16805         * elf/dl-open.c (dl_open_worker): Likewise.
16807 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
16809         * scripts/list-sources.sh: Scan PORTS for translations.
16810         * po/libc.pot: Regenerated.
16812 2012-06-21  Andreas Jaeger  <aj@suse.de>
16814         [BZ #12194]
16815         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16816         warning.
16817         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16818         * bits/byteswap-16.h (__bswap_16): Likewise.
16819         * bits/byteswap.h (__bswap_constant_16): Likewise.
16821 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
16823         [BZ #14117]
16824         * sysdeps/i386/fpu_control.h: Removed.
16825         * sysdeps/x86_64/fpu_control.h: Moved to ...
16826         * sysdeps/x86/fpu_control.h: Here.
16828         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16829         (_FPU_SETCW): Likewise.
16831 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
16833         [BZ #14117]
16834         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16835         * sysdeps/x86/fpu/bits/mathinline.h: This.
16836         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16838         [BZ #14050]
16839         [BZ #14117]
16840         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16841         functions if __x86_64__ is defined.
16843 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
16845         * string/endian.h: Add !__ASSEMBLER__ condition for including
16846         conversion interfaces.
16848 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
16850         [BZ #14241]
16851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16852         of ABS(x) in calculating zero to negative powers other than odd
16853         integers.
16854         * math/libm-test.inc (pow_test): Add more tests.
16856 2012-06-15  Andreas Jaeger  <aj@suse.de>
16858         * manual/contrib.texi (Contributors): Update entry of Liubov
16859         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16860         Machado Filho.
16862 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
16864         * string/string.h: Add __wur to GNU version of strerror_r.
16866 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
16868         [BZ #14229]
16869         * string/Makefile (tests): Add tst-strtok_r.
16870         * string/tst-strtok_r.c: New file.
16871         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16872         RAX_LP/RDX_LP on SAVE_PTR.
16874 2012-06-14  Roland McGrath  <roland@hack.frob.com>
16876         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16878 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
16880         * libm_test.inc (csqrt_test): Allow more spurious underflow
16881         exceptions.
16882         (j0_test): Likewise.
16883         (j1_test): Likewise.
16884         (y0_test): Likewise.
16885         (y1_test): Likewise.
16887 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
16889         * po/Makefile (libc.pot): Use UTF-8 charset.
16891 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
16893         [BZ #14210]
16894         Suppress sign-conversion warning from FD_SET.
16895         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16896         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16897         not unsigned long int.
16898         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16900 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
16902         [BZ #14050]
16903         [BZ #14117]
16904         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16905         __extern_always_inline instead of __extern_inline.
16906         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16907         (__signbit): Likewise.
16908         (__signbitl): Support C++ namespace.
16909         (lrintf): New inline function.
16910         (lrint): Likewise.
16911         (llrintf): Likewise.
16912         (llrint): Likewise.
16913         (fmaxf): Likewise.
16914         (fmax): Likewise.
16915         (fminf): Likewise.
16916         (fmin): Likewise.
16917         (rint): Likewise.
16918         (rintf): Likewise.
16919         (ceil): Likewise.
16920         (ceilf): Likewise.
16921         (floor): Likewise.
16922         (floorf): Likewise.
16923         (nearbyint): Likewise.
16924         (nearbyintf): Likewise.
16926 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
16928         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16929         non-default versions.
16931 2012-06-11  Roland McGrath  <roland@hack.frob.com>
16933         [BZ #14218]
16934         * manual/argp.texi (Argp): Reword argp_parse description slightly.
16936 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
16938         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16939         (FE_UPWARD, FE_DOWNWARD): Don't define.
16940         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16941         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16943         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16944         reading it.
16945         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16946         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16948 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16950         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16951         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16952         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16953         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16955 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16957         [BZ #14117]
16958         * sysdeps/i386/fpu/bits/fenv.h: Removed.
16959         * sysdeps/i386/fpu/Implies: New file.
16960         * sysdeps/x86_64/fpu/Implies: Likewise.
16961         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16962         * sysdeps/x86/fpu/bits/fenv.h: This.
16964         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16965         __SSE_MATH__.
16967 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16969         [BZ #14134]
16970         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16971         character 0xffff that matches the last element of the
16972         conversion table.
16974 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16976         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16977         fmodl commit.
16979 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16981         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16982         values higher than 25.6283.
16984 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16986         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16987         subnormal exponent extraction and add some __builtin_expect.
16988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16989         Fix for subnormal mantissa calculation.
16991 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
16993         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16994         cpu2 is -1 and errno is not ENOSYS.
16996 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
16998         [BZ #14117]
16999         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17000         * sysdeps/x86/bits/string.h: This.
17001         * sysdeps/x86_64/bits/string.h: Removed.
17003         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17004         if not compiling for x86-64, but compiling for >= i486.
17006         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17007         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17009         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17010         New macro from Linux kernel 3.4.0.
17011         (FP_XSTATE_MAGIC2): Likewise.
17012         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17013         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17014         (struct _fpx_sw_bytes): New struct.
17015         (struct _xsave_hdr): Likewise.
17016         (struct _ymmh_state): Likewise.
17017         (struct _xstate): Likewise.
17019         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17020         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17021         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17022         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17023         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17024         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17026         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17027         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17028         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17029         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17030         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17031         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17033 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17035         [BZ #13743]
17036         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17037         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17038         (sysdep_headers): Include sys/platform/ppc.h.
17039         * sysdeps/powerpc/test-gettimebase.c: Test for
17040         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17041         * manual/Makefile (appendices): Include platform.texi.
17042         * manual/contrib.texi (Contributors): Update @node pointers.
17043         * manual/maint.texi (Maintenance): Likewise.
17044         (Platform): New node.
17045         * manual/platform.texi: New file.  Document the new features.
17047 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048             Jakub Jelinek  <jakub@redhat.com>
17050         [BZ #14188]
17051         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17052         where __builtin_expect is unavailable.
17054 2012-06-03  David S. Miller  <davem@davemloft.net>
17056         * stdlib/longlong.h: Updated from GCC.
17058 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17060         [BZ #14042]
17061         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17062         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17063         __mcount_internal.
17064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17065         (GLIBC_2.16): Likewise.
17067 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17069         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17071 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17074         (default-abi): New variable.
17075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17076         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17077         variable.
17078         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17079         Likewise.
17080         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17081         Likewise.
17082         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17083         Likewise.
17085         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17086         definition.  Document in comment.
17088 2012-06-01  David S. Miller  <davem@davemloft.net>
17090         * stdlib/longlong.h: Updated from GCC.
17092 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17094         [BZ #14117]
17095         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17096         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17097         sys/debugreg.h sys/io.h here.
17098         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17099         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17100         sys/io.h.
17101         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17102         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17103         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17104         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17105         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17106         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17108         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17109         Define only if __x86_64__ is defined.
17111 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17113         [BZ #14048]
17114         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17115         Use int64_t for variable i.
17116         * math/libm-test.inc (fmod_test): Add more tests.
17118         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17119         z computation is not scheduled after fetestexcept.
17120         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17121         Use math_force_eval instead of asm to ensure calculation scheduled
17122         before exception test.
17123         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17124         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17126 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17129         computation is not scheduled after fetestexcept.
17131 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17133         [BZ #14117]
17134         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17135         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17137 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17139         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17140         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17142 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17144         [BZ #14117]
17145         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17146         <bits/wordsize.h>.
17147         (__WCHAR_MIN): Support __WORDSIZE == 64.
17148         (__WCHAR_MAX): Likewise.
17150         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17151         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17153         [BZ #14183]
17154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17155         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17157         [BZ #14117]
17158         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17159         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17161         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17162         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17164         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17165         Defined to 1 if __x86_64__ isn't defined.
17166         (_STAT_VER_LINUX_OLD): New.
17167         (st_atime): Remove duplicate.
17168         (st_mtime): Likewise.
17169         (st_ctime): Likewise.
17171 2012-05-31  David S. Miller  <davem@davemloft.net>
17173         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17174         entries.
17176 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17178         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17179         gen-libm-test.pl.
17181         [BZ #14132]
17182         * elf/dl-reloc.c: Include <_itoa.h>.
17183         (_dl_reloc_bad_type): Remove use of INTUSE.
17184         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17185         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17186         * stdio-common/psiginfo.c (psiginfo): Likewise.
17187         * stdio-common/psignal.c (psignal): Likewise.
17188         * string/strsignal.c (strsignal): Likewise.
17189         * include/signal.h (_sys_siglist): Declare hidden proto.
17190         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17191         INTVARDEF with libc_hidden_data_def.
17192         * stdio-common/itoa-udigits.c: Likewise.
17193         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17194         (_itoa_lower_digits_internal): Remove declaration.
17195         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17196         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17197         (_sys_sigabbrev_internal): Remove aliases.
17198         (_sys_siglist): Define hidden alias.
17200 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17203         bits/sysctl.h.
17205 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17207         [BZ #14117]
17208         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17209         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17211         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17212         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17213         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17214         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17215         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17216         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17218         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17219         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17220         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17222         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17223         with __addr.
17224         (insw): Likewise.
17225         (insl): Likewise.
17226         (outsb): Likewise.
17227         (outsw): Likewise.
17228         (outsl): Likewise.
17230         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17231         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17232         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17234         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17235         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17236         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17237         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17238         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17239         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17241         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17242         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17244         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17245         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17247         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17249         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17251         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17252         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17253         to ...
17254         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17256         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17257         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17258         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17260         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17261         for x86-64.
17262         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17264 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17266         * math/math.h (M_El): Use two more decimal places.
17267         (M_LOG2El): Likewise.
17268         (M_LOG10El): Likewise.
17269         (M_LN2l): Likewise.
17270         (M_LN10l): Likewise.
17271         (M_PIl): Likewise.
17272         (M_PI_2l): Likewise.
17273         (M_PI_4l): Likewise.
17274         (M_1_PIl): Likewise.
17275         (M_2_PIl): Likewise.
17276         (M_2_SQRTPIl): Likewise.
17277         (M_SQRT2l): Likewise.
17278         (M_SQRT1_2l): Likewise.
17280 2012-05-31  David S. Miller  <davem@davemloft.net>
17282         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17283         values between float registers.
17284         * sysdeps/sparc/sparc64/memset.S: Likewise.
17285         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17287 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17289         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17290         -D_FORTIFY_SOURCE=1.
17291         (CPPFLAGS-tst-longjmp_chk.c): Define.
17292         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17293         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17294         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17295         CFLAGS-tst-wchar-h.c.
17297 2012-05-31  Marek Polacek  <polacek@redhat.com>
17299         [BZ #14132]
17300         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17301         __endmntent_internal): Remove declaration.
17302         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17303         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17304         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17306 2012-05-30  David S. Miller  <davem@davemloft.net>
17308         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17309         (___Q_simulate_exceptions): Use real FP ops rather than writing
17310         into the %fsr.
17311         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17312         Likewise.
17314 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17316         [BZ #14117]
17317         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17318         * sysdeps/x86/bits/xtitypes.h: This.
17320         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17321         * sysdeps/x86/bits/wordsize.h: This.
17323         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17324         * sysdeps/x86/bits/huge_vall.h: This.
17326         * sysdeps/i386/bits/select.h: Removed.
17327         * sysdeps/x86_64/bits/select.h: Renamed to ...
17328         * sysdeps/x86/bits/select.h: This.
17330         * sysdeps/i386/bits/setjmp.h: Removed.
17331         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17332         * sysdeps/x86/bits/setjmp.h: This.
17334         * sysdeps/i386/bits/mathdef.h: Removed.
17335         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17336         * sysdeps/x86/bits/mathdef.h: This.
17338 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17340         [BZ #14132]
17341         * include/sys/socket.h (__connect_internal)
17342         (__libc_sa_len_internal): Remove declaration.
17343         (__connect, __libc_sa_len): Declare hidden_proto.
17344         (SA_LEN): Remove use of INTUSE.
17345         * socket/connect.c: Add libc_hidden_def.
17346         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17347         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17348         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17349         alias.
17350         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17351         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17352         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17353         of adding _internal alias.
17355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17357         [BZ #14117]
17358         * sysdeps/i386/bits/link.h: Removed.
17359         * sysdeps/i386/bits/linkmap.h: Likewise.
17360         * sysdeps/x86_64/bits/link.h: Renamed to ...
17361         * sysdeps/x86/bits/link.h: This.
17362         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17363         * sysdeps/x86/bits/linkmap.h: This.
17365         * sysdeps/i386/bits/endian.h: Removed.
17366         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17367         * sysdeps/x86/bits/endian.h: This.
17369         * sysdeps/i386/bits/byteswap.h: Removed.
17370         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17371         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17372         * sysdeps/x86/bits/byteswap.h: This.
17373         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17374         * sysdeps/x86/bits/byteswap-16.h: This.
17375         * sysdeps/i386/Implies: Add x86.
17376         * sysdeps/x86_64/Implies: Likewise.
17378 2012-05-30  David S. Miller  <davem@davemloft.net>
17380         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17381         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17382         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17383         (FP_TRAPPING_EXCEPTIONS): Define.
17384         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17385         (FP_TRAPPING_EXCEPTIONS): Define.
17386         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17387         subnormals only when inexact has been signalled or underflow
17388         exceptions are enabled.
17389         (_FP_PACK_CANONICAL): Likewise.
17391 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17393         [BZ #14183]
17394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17395         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17397 2012-05-30  Richard Henderson  <rth@twiddle.net>
17399         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17400         with #ifndef NOT_IN_libc.
17402         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17403         marked to avoid plt entry.
17405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17407         [BZ #14112]
17408         * Makeconfig (default-abi): New macro.
17409         (abi-includes): Likewise.
17410         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17411         $(abi-$(default-abi)-lib-soname) for soname if defined.
17412         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17413         abi-variants.
17414         * Makefile (installed-stubs): Likewise.
17415         * include/stubs-biarch.h: Removed.
17416         * scripts/lib-names.awk: Only handle one library at a time.
17417         * scripts/soversions.awk: Remove WORDSIZE support.
17418         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17419         entries.
17420         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17421         Removed.
17422         (syscall-list-default-condition): Likewise.
17423         (syscall-list-default-condition): Likewise.
17424         (syscall-list-includes): Likewise.
17425         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17426         syscall-list-* with abi-*.  Handle undefined abi-variants.
17427         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17428         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17429         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17430         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17431         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17432         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17433         Removed.
17434         (syscall-list-32-options): Likewise.
17435         (syscall-list-32-condition): Likewise.
17436         (syscall-list-64-options): Likewise.
17437         (syscall-list-64-condition): Likewise.
17438         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17439         macro.
17440         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17441         Renamed to ...
17442         (abi-*): This.
17443         (abi-64-ld-soname): New macro.
17444         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17445         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17446         Renamed to ...
17447         (abi-*): This.
17448         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17449         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17451 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17453         * sysdeps/unix/sysv/linux/kernel-features.h
17454         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17455         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17456         include <kernel-features.h>.
17457         [!__NR_ftruncate64]: Remove conditional code.
17458         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17459         [__NR_ftruncate64]: Make code unconditional.
17460         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17461         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17462         include <kernel-features.h>.
17463         [!__NR_ftruncate64]: Remove conditional code.
17464         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17465         [__NR_ftruncate64]: Make code unconditional.
17466         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17468         include <kernel-features.h>.
17469         [!__NR_ftruncate64]: Remove conditional code.
17470         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17471         [__NR_ftruncate64]: Make code unconditional.
17472         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17474         include <kernel-features.h>.
17475         [!__NR_ftruncate64]: Remove conditional code.
17476         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17477         [__NR_ftruncate64]: Make code unconditional.
17478         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17480         * configure.in (libc_cv_fpie): Weaken to a compile test using
17481         LIBC_TRY_CC_OPTION.
17482         * configure: Regenerated.
17484 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17490         Refreshed.
17491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17497         Refreshed.
17499 2012-05-27  David S. Miller  <davem@davemloft.net>
17501         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17502         (___Q_zero): New.
17503         (__Q_simulate_exceptions): Return void.  Change to simulate
17504         exceptions by writing into the %fsr.
17505         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17506         (__Qp_handle_exceptions): Likewise.
17507         (numbers): Delete.
17508         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17509         __Qp_handle_exceptions.
17510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17511         __Qp_handle_exceptions.
17512         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17513         as unused and give dummy FP_RND_NEAREST initializer.
17514         (FP_INHIBIT_RESULTS): Define.
17515         (___Q_simulate_exceptions): Update declaration.
17516         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17517         formatting.
17518         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17519         as unused and give dummy FP_RND_NEAREST initializer.
17520         (__Qp_handle_exceptions): Update declaration.
17521         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17522         formatting.
17524 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17526         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17527         the temporary FPU control word.
17528         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17529         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17530         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17531         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17532         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17533         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17534         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17535         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17536         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17537         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17538         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17540 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17542         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17543         fields.
17545 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17547         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17548         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17549         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17550         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17551         Likewise.
17552         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17553         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17554         Likewise.
17556 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17558         * po/h.po: Update from translation team.
17560 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17562         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17564         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17565         handling of denormals.
17566         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17567         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17568         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17569         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17573         Likewise.
17575 2012-05-26  Marek Polacek  <polacek@redhat.com>
17577         [BZ #14152]
17578         * math/libm-test.inc (fma_test): Don't always expect underflow
17579         exception.
17581 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17583         [BZ #12416]
17584         * elf/tst-execstack.c: Include stackinfo.h.
17585         (do_test): Adjust test case to ensure that pthread_getattr_np
17586         behaviour remains the same after marking stack executable.
17588 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17590         * sysdeps/unix/sysv/linux/kernel-features.h
17591         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17592         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17593         kernel-features.h.
17594         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17595         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17596         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17597         kernel-features.h.
17598         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17599         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17601 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17603         * configure.in: Define the default includes to being none.
17604         * configure: Regenerated.
17606 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17608         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17609         * sysdeps/x86_64/setjmp.S: Likewise.
17610         * sysdeps/i386/bsd-setjmp.S: Likewise.
17611         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17612         * sysdeps/i386/setjmp.S: Likewise.
17613         * sysdeps/i386/__longjmp.S: Likewise.
17614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17615         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17617         * include/stap-probe.h: New file.
17618         * configure.in: Handle --enable-systemtap.
17619         * configure: Regenerated.
17620         * config.h.in (USE_STAP_PROBE): New #undef.
17621         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17622         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17623         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17625 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17627         [BZ #13717]
17628         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17629         to 2.4.0 where earlier.
17630         * sysdeps/unix/sysv/linux/configure: Regenerated.
17631         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17632         <kernel-features.h>.
17633         [__ASSUME_32BITUIDS]: Make code unconditional.
17634         [!__ASSUME_32BITUIDS]: Remove conditional code.
17635         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17636         <kernel-features.h>.
17637         [__ASSUME_32BITUIDS]: Make code unconditional.
17638         [!__ASSUME_32BITUIDS]: Remove conditional code.
17639         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17640         [__ASSUME_32BITUIDS]: Make code unconditional.
17641         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17642         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17643         <kernel-features.h>.
17644         [__ASSUME_32BITUIDS]: Make code unconditional.
17645         [!__ASSUME_32BITUIDS]: Remove conditional code.
17646         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17647         <kernel-features.h>.
17648         [__ASSUME_32BITUIDS]: Make code unconditional.
17649         [!__ASSUME_32BITUIDS]: Remove conditional code.
17650         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17651         <kernel-features.h>.
17652         [__ASSUME_32BITUIDS]: Make code unconditional.
17653         [!__ASSUME_32BITUIDS]: Remove conditional code.
17654         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17655         <kernel-features.h>.
17656         [__ASSUME_32BITUIDS]: Make code unconditional.
17657         [!__ASSUME_32BITUIDS]: Remove conditional code.
17658         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17659         <kernel-features.h>.
17660         [__ASSUME_32BITUIDS]: Make code unconditional.
17661         [!__ASSUME_32BITUIDS]: Remove conditional code.
17662         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17663         <kernel-features.h>.
17664         [__ASSUME_32BITUIDS]: Make code unconditional.
17665         [!__ASSUME_32BITUIDS]: Remove conditional code.
17666         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17667         <kernel-features.h>.
17668         [__ASSUME_32BITUIDS]: Make code unconditional.
17669         [!__ASSUME_32BITUIDS]: Remove conditional code.
17670         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17671         <kernel-features.h>.
17672         [__ASSUME_32BITUIDS]: Make code unconditional.
17673         [!__ASSUME_32BITUIDS]: Remove conditional code.
17674         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17675         <kernel-features.h>.
17676         [__ASSUME_32BITUIDS]: Make code unconditional.
17677         [!__ASSUME_32BITUIDS]: Remove conditional code.
17678         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17679         <kernel-features.h>.
17680         [__ASSUME_32BITUIDS]: Make code unconditional.
17681         [!__ASSUME_32BITUIDS]: Remove conditional code.
17682         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17683         <kernel-features.h>.
17684         [__NR_setresgid] (__setresgid): Do not declare.
17685         [__ASSUME_32BITUIDS]: Make code unconditional.
17686         [!__ASSUME_32BITUIDS]: Remove conditional code.
17687         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17688         <kernel-features.h>.
17689         [__NR_setresuid] (__setresuid): Do not declare.
17690         [__ASSUME_32BITUIDS]: Make code unconditional.
17691         [!__ASSUME_32BITUIDS]: Remove conditional code.
17692         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17693         <kernel-features.h>.
17694         [__ASSUME_32BITUIDS]: Make code unconditional.
17695         [!__ASSUME_32BITUIDS]: Remove conditional code.
17696         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17697         <kernel-features.h>.
17698         [__ASSUME_32BITUIDS]: Make code unconditional.
17699         [!__ASSUME_32BITUIDS]: Remove conditional code.
17700         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17701         <kernel-features.h>.
17702         [__ASSUME_32BITUIDS]: Make code unconditional.
17703         [!__ASSUME_32BITUIDS]: Remove conditional code.
17704         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17705         <kernel-features.h>.
17706         [__ASSUME_32BITUIDS]: Make code unconditional.
17707         [!__ASSUME_32BITUIDS]: Remove conditional code.
17708         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17709         <kernel-features.h>.
17710         [__ASSUME_32BITUIDS]: Make code unconditional.
17711         [!__ASSUME_32BITUIDS]: Remove conditional code.
17712         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17713         <kernel-features.h>.
17714         [__ASSUME_32BITUIDS]: Make code unconditional.
17715         [!__ASSUME_32BITUIDS]: Remove conditional code.
17716         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17717         <kernel-features.h>.
17718         [__ASSUME_32BITUIDS]: Make code unconditional.
17719         [!__ASSUME_32BITUIDS]: Remove conditional code.
17720         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17721         <kernel-features.h>.
17722         [__ASSUME_32BITUIDS]: Make code unconditional.
17723         [!__ASSUME_32BITUIDS]: Remove conditional code.
17724         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17725         <kernel-features.h>.
17726         [__ASSUME_32BITUIDS]: Make code unconditional.
17727         [!__ASSUME_32BITUIDS]: Remove conditional code.
17728         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17729         <kernel-features.h>.
17730         [__ASSUME_32BITUIDS]: Make code unconditional.
17731         [!__ASSUME_32BITUIDS]: Remove conditional code.
17732         * sysdeps/unix/sysv/linux/kernel-features.h
17733         (__ASSUME_SETRESUID_SYSCALL): Remove.
17734         (__ASSUME_SETRESGID_SYSCALL): Likewise.
17735         (__ASSUME_32BITUIDS): Likewise.
17736         (__ASSUME_LDT_WORKS): Likewise.
17737         (__ASSUME_O_DIRECTORY): Likewise.
17738         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17739         architecture but not kernel version.
17740         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17741         (__ASSUME_MMAP2_SYSCALL): Likewise.
17742         (__ASSUME_STAT64_SYSCALL): Likewise.
17743         (__ASSUME_IPC64): Likewise.
17744         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17745         <kernel-features.h>.
17746         [__ASSUME_32BITUIDS]: Make code unconditional.
17747         [!__ASSUME_32BITUIDS]: Remove conditional code.
17748         * sysdeps/unix/sysv/linux/opendir.c: Do not include
17749         <kernel-features.h>.
17750         [__ASSUME_O_DIRECTORY]: Make code unconditional.
17751         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17752         132096]: Remove conditional code.
17753         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17754         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17755         <kernel-features.h>.
17756         [__ASSUME_32BITUIDS]: Make code unconditional.
17757         [!__ASSUME_32BITUIDS]: Remove conditional code.
17758         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17759         <kernel-features.h>.
17760         [__ASSUME_32BITUIDS]: Make code unconditional.
17761         [!__ASSUME_32BITUIDS]: Remove conditional code.
17762         * sysdeps/unix/sysv/linux/setegid.c: Do not include
17763         <kernel-features.h>.
17764         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17765         unconditional.
17766         (__setresgid): Do not declare.
17767         [__ASSUME_32BITUIDS]: Make code unconditional.
17768         [!__ASSUME_32BITUIDS]: Remove conditional code.
17769         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17770         <kernel-features.h>.
17771         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17772         unconditional.
17773         (__setresuid): Do not declare.
17774         [__ASSUME_32BITUIDS]: Make code unconditional.
17775         [!__ASSUME_32BITUIDS]: Remove conditional code.
17776         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17777         <kernel-features.h>.
17778         [__ASSUME_32BITUIDS]: Make code unconditional.
17779         [!__ASSUME_32BITUIDS]: Remove conditional code.
17780         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17781         <kernel-features.h>.
17782         [__ASSUME_32BITUIDS]: Make code unconditional.
17783         [!__ASSUME_32BITUIDS]: Remove conditional code.
17785 2012-05-25  Richard Henderson  <rth@twiddle.net>
17787         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17788         dl_hwcap to ifunc resolver.
17789         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17790         elf_ifunc_invoke.
17791         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17792         dl_hwcap to ifunc resolver.
17793         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17795 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17797         [BZ #14153]
17798         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17799         for |x| <= 2**-26, not 2**-57.
17800         * math/libm-test.inc (acos_test): Do not allow spurious underflow
17801         exception.
17803 2012-05-24  Jeff Law  <law@redhat.com>
17805         * stdio-common/Makefile (tests): Add bug25.
17806         * stdio-common/bug25.c: New test.
17808 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17810         [BZ #13576]
17811         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17812         multiple of MALLOC_ALIGNMENT in size.
17813         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17815 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17817         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17818         Require >= 256.
17819         (FILENAME_MAX): Use macro-int-constant.
17820         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
17821         (_IOFBF): Use macro-int-constant.
17822         (_IOLBF): Likewise.
17823         (_IONBF): Likewise.
17824         (SEEK_CUR): Likewise.
17825         (SEEK_END): Likewise.
17826         (SEEK_SET): Likewise.
17827         (TMP_MAX): Likewise.
17828         (EOF): Use macro-int-constant.  Require < 0.
17829         (NULL): Use macro-constant.  Require == 0.
17830         (stdin): Require type to be FILE *.
17831         (stdout): Likewise.
17832         (stderr): Likewise.
17833         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17834         macro-int-constant.
17835         (EXIT_SUCCESS): Likewise.
17836         (NULL): Use macro-constant.  Require == 0.
17837         (RAND_MAX): Use macro-int-constant.
17838         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17839         [C99-based standards] (strtof): Require function.
17840         [C99-based standards] (strtold): Likewise.
17841         [C99-based standards] (strtoll): Likewise.
17842         [C99-based standards] (strtoull): Likewise.
17843         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17844         [ISO || ISO99 || ISO11] (limits.h): Likewise.
17845         [ISO || ISO99 || ISO11] (math.h): Likewise.
17846         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17847         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17850 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
17852         [BZ #14132]
17853         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17854         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17855         * intl/dgettext.c (DCGETTEXT): Likewise.
17856         * intl/gettext.c (DCGETTEXT): Likewise.
17857         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17858         * posix/regex_internal.h (gettext): Likewise.
17859         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17860         Remove declaration.
17861         * include/argz.h (__argz_count_internal)
17862         (__argz_stringify_internal): Remove declaration.
17863         (__argz_count, __argz_stringify): Declare hidden proto.
17864         * intl/dcgettext.c: Remove use of INTDEF.
17865         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17866         * string/argz-stringify.c: Likewise.
17867         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17868         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17869         Declare hidden proto.
17870         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17871         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17872         Declare hidden proto.
17873         * include/stdio.h (__asprintf_internal): Don't declare.
17874         (__asprintf): Don't define as macro.  Declare hidden proto.
17875         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17876         (__fsetlocking): Declare hidden proto.
17877         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17878         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17879         hidden proto.
17880         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17881         (_IO_setlinebuf): Remove use of INTUSE.
17882         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17883         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17884         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17885         Remove declaration.
17886         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17887         (_IO_do_flush): Remove use of INTUSE.
17888         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17889         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17890         (_IO_adjust_column, _IO_least_wmarker)
17891         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17892         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17893         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17894         (_IO_default_doallocate, _IO_wdefault_doallocate)
17895         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17896         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17897         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17898         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17899         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17900         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17901         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17902         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17903         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17904         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17905         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17906         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17907         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17908         proto.
17909         (_IO_flush_all_internal, _IO_adjust_column_internal)
17910         (_IO_default_uflow_internal, _IO_default_finish_internal)
17911         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17912         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17913         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17914         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17915         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17916         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17917         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17918         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17919         (_IO_file_close_internal, _IO_file_close_it_internal)
17920         (_IO_file_underflow_internal, _IO_file_overflow_internal)
17921         (_IO_file_init_internal, _IO_file_attach_internal)
17922         (_IO_file_fopen_internal, _IO_file_read_internal)
17923         (_IO_file_sync_internal, _IO_file_seek_internal)
17924         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17925         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17926         (_IO_str_underflow_internal, _IO_str_overflow_internal)
17927         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17928         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17929         (_IO_list_all_internal, _IO_link_in_internal)
17930         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17931         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17932         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17933         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17934         (_IO_do_write_internal, _IO_padn_internal)
17935         (_IO_getline_info_internal, _IO_getline_internal)
17936         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17937         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17938         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17939         (_IO_vfscanf_internal, _IO_vfprintf_internal)
17940         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17941         (_IO_init_internal, _IO_un_link_internal): Don't declare.
17942         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17943         with libc_hidden_ver, remove use of INTUSE.
17944         * libio/genops.c: Likewise.
17945         * libio/freopen.c: Likewise.
17946         * libio/freopen64.c: Likewise.
17947         * libio/iofclose.c: Likewise.
17948         * libio/iofdopen.c: Likewise.
17949         * libio/iofflush.c: Likewise.
17950         * libio/iofflush_u.c: Likewise.
17951         * libio/iofgets.c: Likewise.
17952         * libio/iofgets_u.c: Likewise.
17953         * libio/iofopen.c: Likewise.
17954         * libio/iofopncook.c: Likewise.
17955         * libio/iofread.c: Likewise.
17956         * libio/iofread_u.c: Likewise.
17957         * libio/ioftell.c: Likewise.
17958         * libio/iofwrite.c: Likewise.
17959         * libio/iogetline.c: Likewise.
17960         * libio/iogets.c: Likewise.
17961         * libio/iogetwline.c: Likewise.
17962         * libio/iopadn.c: Likewise.
17963         * libio/iopopen.c: Likewise.
17964         * libio/ioseekoff.c: Likewise.
17965         * libio/ioseekpos.c: Likewise.
17966         * libio/iosetbuffer.c: Likewise.
17967         * libio/iosetvbuf.c: Likewise.
17968         * libio/ioungetc.c: Likewise.
17969         * libio/ioungetwc.c: Likewise.
17970         * libio/iovdprintf.c: Likewise.
17971         * libio/iovsprintf.c: Likewise.
17972         * libio/iovsscanf.c: Likewise.
17973         * libio/memstream.c: Likewise.
17974         * libio/obprintf.c: Likewise.
17975         * libio/oldfileops.c: Likewise.
17976         * libio/oldiofclose.c: Likewise.
17977         * libio/oldiofdopen.c: Likewise.
17978         * libio/oldiofopen.c: Likewise.
17979         * libio/oldiopopen.c: Likewise.
17980         * libio/oldstdfiles.c: Likewise.
17981         * libio/putc.c: Likewise.
17982         * libio/setbuf.c: Likewise.
17983         * libio/setlinebuf.c: Likewise.
17984         * libio/stdfiles.c: Likewise.
17985         * libio/strops.c: Likewise.
17986         * libio/vasprintf.c: Likewise.
17987         * libio/vscanf.c: Likewise.
17988         * libio/vsnprintf.c: Likewise.
17989         * libio/vswprintf.c: Likewise.
17990         * libio/wfiledoalloc.c: Likewise.
17991         * libio/wfileops.c: Likewise.
17992         * libio/wgenops.c: Likewise.
17993         * libio/wmemstream.c: Likewise.
17994         * libio/wstrops.c: Likewise.
17995         * libio/__fpurge.c: Likewise.
17996         * libio/__fsetlocking.c: Likewise.
17997         * assert/assert.c: Likewise.
17998         * debug/fgets_chk.c: Likewise.
17999         * debug/fgets_u_chk.c: Likewise.
18000         * debug/fread_chk.c: Likewise.
18001         * debug/fread_u_chk.c: Likewise.
18002         * debug/gets_chk.c: Likewise.
18003         * debug/obprintf_chk.c: Likewise.
18004         * debug/vasprintf_chk.c: Likewise.
18005         * debug/vdprintf_chk.c: Likewise.
18006         * debug/vsnprintf_chk.c: Likewise.
18007         * debug/vsprintf_chk.c: Likewise.
18008         * malloc/mtrace.c: Likewise.
18009         * misc/error.c: Likewise.
18010         * misc/syslog.c: Likewise.
18011         * stdio-common/asprintf.c: Likewise.
18012         * stdio-common/fxprintf.c: Likewise.
18013         * stdio-common/getw.c: Likewise.
18014         * stdio-common/isoc99_fscanf.c: Likewise.
18015         * stdio-common/isoc99_scanf.c: Likewise.
18016         * stdio-common/isoc99_vfscanf.c: Likewise.
18017         * stdio-common/isoc99_vscanf.c: Likewise.
18018         * stdio-common/isoc99_vsscanf.c: Likewise.
18019         * stdio-common/printf-prs.c: Likewise.
18020         * stdio-common/printf_fp.c: Likewise.
18021         * stdio-common/printf_fphex.c: Likewise.
18022         * stdio-common/printf_size.c: Likewise.
18023         * stdio-common/putw.c: Likewise.
18024         * stdio-common/scanf.c: Likewise.
18025         * stdio-common/sprintf.c: Likewise.
18026         * stdio-common/tmpfile.c: Likewise.
18027         * stdio-common/vfprintf.c: Likewise.
18028         * stdio-common/vfscanf.c: Likewise.
18029         * stdlib/strfmon_l.c: Likewise.
18030         * sunrpc/openchild.c: Likewise.
18031         * sunrpc/xdr_stdio.c: Likewise.
18032         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18033         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18035 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18037         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18039         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18040         in the third column, to generate for the shared library an IFUNC
18041         that uses _dl_vdso_vsym.
18042         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18043         * Makeconfig (object-suffixes-noshared): New variable.
18045         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18046         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18047         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18048         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18050         [BZ #14132]
18051         * include/sys/time.h (__gettimeofday): Remove macro.
18052         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18053         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18054         Remove INTDEF.
18055         (__gettimeofday): Add libc_hidden_def.
18056         (gettimeofday): Add libc_hidden_weak.
18057         * sysdeps/mach/gettimeofday.c: Likewise.
18058         * sysdeps/posix/gettimeofday.c: Likewise.
18059         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18060         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18061         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18062         (__gettimeofday_internal): Remove strong_alias.
18063         (__gettimeofday): Add libc_hidden_def.
18064         (gettimeofday): Add libc_hidden_weak.
18065         * sysdeps/unix/syscalls.list (gettimeofday):
18066         Remove __gettimeofday_internal alias.
18068 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18069             H.J. Lu  <hongjiu.lu@intel.com>
18071         [BZ #12495]
18072         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18073         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18074         (largebin_index_32_big): New.
18075         (largebin_index): Use it for 16-byte alignment.
18076         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18077         correction with front_misalign.
18079 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18083         Likewise.
18084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18085         Likewise.
18086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18087         Likewise.
18088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18089         Likewise.
18090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18091         Likewise.
18092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18093         Likewise.
18094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18095         Likewise.
18096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18097         Likewise.
18098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18099         Likewise.
18100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18101         Likewise.
18102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18103         Likewise.
18104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18105         Likewise.
18107         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18108         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18110 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18112         [BZ #10846]
18113         [BZ #14036]
18114         * math/libm-test.inc (exp_test): Add test from bug 14036.
18115         (pow_test): Add test from bug 10846.
18117         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18118         and other flags.
18119         (special_function): Do not include flags in test name.
18120         (parse_args): Likewise.
18121         * sysdeps/i386/fpu/libm-test-ulps: Update.
18122         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18123         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18124         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18127         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18128         exceptions.
18129         * math/libm-test.inc ("Philosophy"): Update comment about
18130         exception testing.
18131         (UNDERFLOW_EXCEPTION): New macro.
18132         (UNDERFLOW_EXCEPTION_OK): Likewise.
18133         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18134         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18135         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18136         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18137         (INVALID_EXCEPTION_OK): Update value.
18138         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18139         (OVERFLOW_EXCEPTION_OK): Likewise.
18140         (IGNORE_ZERO_INF_SIGN): Likewise.
18141         (test_exceptions): Handle underflow exceptions.
18142         (acos_test): Update for underflow exception expectations.
18143         (cexp_test): Likewise.
18144         (clog_test): Likewise.
18145         (clog10_test): Likewise.
18146         (csqrt_test): Likewise.
18147         (ctan_test): Likewise.
18148         (ctanh_test): Likewise.
18149         (exp_test): Likewise.
18150         (exp10_test): Likewise.
18151         (exp2_test): Likewise.
18152         (expm1_test): Likewise.
18153         (fma_test): Likewise.
18154         (j0_test): Likewise.
18155         (jn_test): Likewise.
18156         (nexttoward_test): Likewise.
18157         (pow_test): Likewise.
18158         (scalbn_test): Likewise.
18159         (scalbln_test): Likewise.
18160         (tan_test): Likewise.
18161         (y1_test): Likewise.
18162         * sysdeps/i386/fpu/libm-test-ulps: Update.
18163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18165 2012-05-23  David S. Miller  <davem@davemloft.net>
18167         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18168         (__libc_sigaction): Remove unused local variables.
18170 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18172         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18174 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18176         mktime: avoid signed integer overflow
18177         * time/mktime.c (__mktime_internal): Do not mishandle the case
18178         where diff == INT_MIN.
18180         mktime: simplify computation of average
18181         * time/mktime.c (ranged_convert): Use new time_t_avg function
18182         instead of rolling our own (probably-slower) code.
18184         mktime: do not assume signed right shift propagates sign bit
18185         * time/mktime.c (isdst_differ): New static function.
18186         (__mktime_internal): No need to normalize tm_isdst now.
18187         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18188         tm_isdst values.
18190         mktime: merge another wrapv change from gnulib
18191         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18192         from some compilers.
18194         mktime: remove incorrect attempt at unusual arithmetics
18195         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18196         The code didn't really work on such machines anyway.
18197         (TYPE_MINIMUM): Assume two's complement.
18198         (twos_complement_arithmetic): Verify that long_int and time_t
18199         are two's complement (or unsigned, in the latter case).
18201         mktime: check signed shifts on long_int and time_t, too
18202         * time/mktime.c (SHR): Check that shifts work as desired
18203         on the types long_int and time_t too, as SHR is used on
18204         such types.
18206         mktime: do not assume 'long' is wide enough
18207         * time/mktime.c (verify): Move decl up.
18208         (long_int): New type.
18209         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18210         to remove assumption in the code that 'long' is wide enough to
18211         store year values.  This assumption is not true on x32 and on
18212         some non-glibc platforms.
18214         mktime: merge wrapv change from gnulib
18215         * time/mktime.c (WRAPV): New macro.
18216         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18217         (guess_time_tm, __mktime_internal): Do not assume that signed
18218         integer overflow wraps around; modern compilers generate code
18219         where this assumption is no longer valid.
18221 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18223         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18224         Replace "jmp L(pseudo_end)" with "ret".
18225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18226         Likewise.
18228 2012-05-23  Andreas Jaeger  <aj@suse.de>
18230         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18231         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18233 2012-05-23  Andreas Jaeger  <aj@suse.de>
18234             Maximilian Attems  <max@stro.at>
18236         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18237         New macros.
18239 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18241         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18242         code so that pseudo_end is just ret and the stack pointer is
18243         correct also for static library in error case.
18245 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18247         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18248         move to syscalls.list.
18249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18254         * manual/install.texi (Running make install): Do not mention Linux
18255         kernel version for which pt_chown is not needed.
18256         (Linux): Do not mention problems with nscd with 2.0 kernels.
18257         * INSTALL: Regenerated.
18259 2012-05-23  Andreas Jaeger  <aj@suse.de>
18261         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18262         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18263         macro.
18264         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18265         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18266         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18267         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18268         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18269         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18270         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18271         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18272         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18273         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18274         * sysdeps/unix/sysv/linux/bits/in.h
18275         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18277 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18279         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18280         (PREPARE_VERSION): Just use assert instead, it will be elided
18281         under [NDEBUG] anyway.
18283 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18285         * sysdeps/unix/sysv/linux/Makefile: Include
18286         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18287         (sysdep_routines): Remove sysctl.
18288         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18289         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18290         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18291         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18292         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18294 2012-05-22  Andreas Jaeger  <aj@suse.de>
18296         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18297         that pseudo_end is just ret and the stack pointer is correct also
18298         for static library in error case.
18300 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18302         [BZ #14122]
18303         * nss/nsswitch.c (defconfig_entries): New variable.
18304         (__nss_database_lookup): Don't leak defconfig entries.
18305         (nss_parse_service_list): Don't leak on error paths.
18306         (free_database_entries): New function.
18307         (free_defconfig): New function.
18308         (free_mem): Move common code to free_database_entries.
18310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18312         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18313         Add arch_prctl.
18314         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18317         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18319         New macro.
18320         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18321         (INTERNAL_SYSCALL_TYPES): Likewise.
18322         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18323         (LOAD_REGS_TYPES_[1-6]): Likewise.
18324         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18325         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18327 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18329         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18330         copysignl for GLIBC_2_0.
18331         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18332         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18334         logbl for GLIBC_2_0.
18335         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18336         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18338 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18340         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18341         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18343         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18344         Use "neg %eax".
18346         * time/mktime.c: Update copyright years.
18348 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18350         mktime: merge comment-quoting-style change from gnulib
18351         * time/mktime.c: Quote 'like this' in comments.
18352         The GNU coding standards suggest that we no longer quote `like this',
18353         as "`" and "'" are typically rendered asymmetrically nowadays.
18354         The typical gnulib style is to quote 'like this' when quoting
18355         code, and "like this" when quoting English.
18357         * time/mktime.c (compile-command): Add "-I.".
18359         mktime: merge mktime-internal.h change from gnulib
18360         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18362         mktime: merge time_r change from gnulib
18363         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18365         mktime: merge DEBUG change from gnulib
18366         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18367         case system <time.h> has a #define.
18369         mktime: merge <sys/types.h> change from gnulib
18370         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18371         since <time.t> is now guaranteed to define time_t.
18373         mktime: merge HAVE_CONFIG_H change from gnulib
18374         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18376 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18379         Use "neg %eax".
18381         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18382         __rlim_t cast.
18383         (struct rusage): Use anonymous union to pad each field to
18384         __syscall_slong_t.
18386 2012-05-21  David S. Miller  <davem@davemloft.net>
18388         * Makefules (o-iterator): Remove .s cases.
18389         (compile-command.s): Delete.
18390         (COMPILE.s): Delete.
18391         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18393 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18395         * configure.in (libc_cv_predef_stack_protector): Only consider
18396         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18397         * configure: Regenerated.
18399 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18402         New macro.  Use R*LP on int and pointer.
18403         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18404         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18405         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18406         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18408         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18409         [__WORDSIZE_TIME64_COMPAT32] instead of
18410         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18411         (struct utmp): Likewise.
18412         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18413         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18414         Renamed to ...
18415         (__WORDSIZE_TIME64_COMPAT32): This.
18416         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18417         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18418         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18419         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18420         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18421         (__WORDSIZE_TIME64_COMPAT32): New macro.
18423 2012-05-21  Andreas Jaeger  <aj@suse.de>
18425         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18426         only if [SHARED]. Add prototype for __wcschr_ia32.
18428 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18430         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18431         of %rbp unmolested in the jmp_buf while mangling the low bits.
18432         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18433         unmolested high bits of %rbp while demangling the low bits.
18434         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18436 2012-05-21  Andreas Jaeger  <aj@suse.de>
18438         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18439         * sunrpc/svc_simple.c: Use it for registerrpc.
18440         * sunrpc/xcrypt.c: Use it for passwd2des.
18442         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18444 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18446         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18447         Don't define if [__SYSCALL_WORDSIZE != 32].
18448         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18449         New macro.
18451 2012-05-21  Bruno Haible  <bruno@clisp.org>
18452             Andreas Jaeger  <aj@suse.de>
18454         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18455         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18456         inptr and inend for must_buffer_ch.
18457         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18458         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18459         * stdio-common/Makefile (tests): Remove bug15.
18460         (bug15-ENV): Remove macro.
18461         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18462         anymore.
18464 2012-05-19  Andreas Jaeger  <aj@suse.de>
18465             Roland McGrath  <roland@hack.frob.com>
18467         * manual/contrib.texi: Completely rewritten. It contains now an
18468         alphabetical list of contributors and their contributions.
18470 2012-05-21  Richard Henderson  <rth@twiddle.net>
18472         * misc/getauxval.c (__getauxval): Use unsigned long int.
18473         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18474         (getauxval): Use unsigned long int.
18476 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18478         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18480 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18482         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18483         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18484         __alignof__ (long double).
18486 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18490 2012-05-20  Richard Henderson  <rth@twiddle.net>
18492         * misc/getauxval.c: New file.
18493         * misc/sys/auxv.h: New file.
18494         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18495         (routines): Add getauxval.
18496         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18497         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18498         * elf/dl-sysdep.c (_dl_auxv): Remove.
18499         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18500         * elf/dl-support.c (_dl_auxv): New variable.
18501         (_dl_aux_init): Initialize it.
18502         * manual/startup.texi (Auxiliary Vector): New node.
18503         * sysdeps/generic/bits/hwcap.h: New file.
18504         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18505         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18506         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18507         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18508         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18509         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18511         Update.
18512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18515         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18521 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18525 2012-05-19  David S. Miller  <davem@davemloft.net>
18527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18529 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18531         [BZ #14123]
18532         * math/s_ccosh.c: Include <float.h>
18533         (__ccosh): Avoid internal overflow calculating sinh and cosh
18534         values before multiplying by sin and cos values.
18535         * math/s_ccoshf.c: Likewise.
18536         * math/s_ccoshl.c: Likewise.
18537         * math/s_csin.c: Likewise.
18538         * math/s_csinf.c: Likewise.
18539         * math/s_csinl.c: Likewise.
18540         * math/s_csinh.c: Likewise.
18541         * math/s_csinhf.c: Likewise.
18542         * math/s_csinhl.c: Likewise.
18543         * math/libm-test.inc (ccos_test): Add more tests.
18544         (ccosh_test): Likewise.
18545         (csin_test): Likewise.
18546         (csinh_test): Likewise.
18547         * sysdeps/i386/fpu/libm-test-ulps: Update.
18548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18550 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18552         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18553         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18555         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18557 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18559         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18560         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18561         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18562         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18563         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18564         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18565         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18566         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18567         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18568         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18569         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18570         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18571         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18572         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18573         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18574         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18575         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18576         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18577         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18578         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18579         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18580         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18581         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18582         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18583         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18584         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18585         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18586         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18587         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18588         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18589         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18591 2012-05-18  Andreas Jaeger  <aj@suse.de>
18593         * csu/.gitignore: Delete.
18595 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18597         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18598         (timex): Use __syscall_slong_t.
18600 2012-05-18  Andreas Jaeger  <aj@suse.de>
18601             Carlos O'Donell  <carlos_odonell@mentor.com>
18603         * manual/install.texi (Configuring and compiling): Update
18604         description about files modified in the source directory.
18605         * INSTALL: Regenerated.
18607 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18609         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18610         value.  Use "or" to set return value to -1.
18611         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18612         negate return value.
18614 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18616         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18617         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18618         failure if the compiler has Graphite support disabled.
18619         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18620         Likewise.
18621         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18622         CFLAGS-memmove.c): Likewise.
18623         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18624         Likewise.
18626 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18628         * sysdeps/x86_64/x32/_itoa.h: New file.
18630         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18631         getdents system call only if kernel and user dirents have the
18632         same d_ino and d_off.
18634         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18635         LLONG_MAX != LONG_MAX.
18636         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18637         (_fitoa_word): Likewise.
18639         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18640         years.
18641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18642         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18643         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18645         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18646         include <bits/wordsize.h>.  Check __x86_64__ instead of
18647         __WORDSIZE.
18648         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18649         if __x86_64__ is defined.  Use anonymous union on fpstate.
18651         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18652         anonymous union.
18654 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18656         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18657         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18658         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18659         Refer to _rtld_local_ro instead of _rtld_global_ro.
18660         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18661         Likewise.
18662         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18663         Likewise.
18664         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18665         Likewise.
18666         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18667         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18668         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18670         * sysdeps/powerpc/powerpc32/dl-machine.c
18671         (__elf_machine_runtime_setup) [PROF]: Don't reference
18672         _dl_prof_resolve.
18674 2012-05-18  Andreas Jaeger  <aj@suse.de>
18676         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18677         function only available for GCCs before 3.4 since GCC 3.4
18678         introduced a builtin.
18679         (lrint): Likewise.
18680         (llrintf): Likewise.
18681         (llrint): Likewise.
18682         (fmaxf): Likewise.
18683         (fmax): Likewise.
18684         (fminf): Likewise.
18685         (fmin): Likewise.
18686         (rint): Likewise.
18687         (rintf): Likewise.
18688         (nearbyint): Likewise.
18689         (nearbyintf): Likewise.
18690         (ceil): Likewise.
18691         (ceilf): Likewise.
18692         (floor): Likewise.
18693         (floorf): Likewise.
18695 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18697         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18698         on both fields and cast pointer to __syscall_ulong_t.
18700         * bits/types.h (__fsword_t): New type.
18701         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18702         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18703         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18704         (__FSWORD_T_TYPE): Likewise.
18705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18706         (__FSWORD_T_TYPE): Likewise.
18707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18708         (__FSWORD_T_TYPE): Likewise.
18709         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18710         (__FSWORD_T_TYPE): Likewise.
18711         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18712         __SWORD_TYPE with __fsword_t.
18713         (statfs64): Likewise.
18715 2012-05-17  David S. Miller  <davem@davemloft.net>
18717         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18719 2012-05-17  Andreas Jaeger  <aj@suse.de>
18721         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18722         warning.
18724 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18726         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18728 2012-05-17  Andreas Jaeger  <aj@suse.de>
18730         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18731         when it is used.
18733 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18735         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18737 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18739         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18740         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18742 2012-05-17  Andreas Jaeger  <aj@suse.de>
18743             Carlos O'Donell  <carlos_odonell@mentor.com>
18745         [BZ #14059]
18746         * sysdeps/x86_64/multiarch/init-arch.h
18747         (bit_YMM_Usable): Rename to...
18748         (bit_AVX_Usable): ... this.
18749         (bit_FMA4_Usable): New macro.
18750         (bit_XMM_state): New macro.
18751         (bit_YMM_state): New macro.
18752         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18753         [__ASSEMBLER__] (index_AVX_Usable): ... this.
18754         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18755         (CPUID_OSXSAVE): New macro.
18756         (CPUID_AVX): New macro.
18757         (CPUID_FMA4): New macro.
18758         (index_YMM_Usable): Rename to...
18759         (index_AVX_Usable): ... this.
18760         (HAS_AVX): Use HAS_ARCH_FEATURE.
18761         (HAS_FMA4): Likewise.
18762         (HAS_YMM_USABLE): Remove.
18763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18764         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18765         are present.
18766         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18767         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18768         * sysdeps/x86_64/multiarch/Makefile: Likewise.
18769         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18770         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18772 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18774         * math/libm-test.c: Support platforms without multiple rounding modes.
18775         * math/bug-nextafter.c: Support platforms without FP exceptions.
18776         * math/bug-nexttoward.c: Likewise.
18777         * math/test-fenv.c: Likewise.
18778         * math/test-misc.c: Likewise.
18779         * stdlib/bug-getcontext.c: Likewise.
18781 2012-05-17  Andreas Jaeger  <aj@suse.de>
18783         * manual/examples/search.c (critter_cmp): Change signature to
18784         avoid warnings.
18785         * manual/string.texi (Collation Functions): Likewise.
18787 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18789         * bits/types.h: Fold copyright years.
18790         * bits/typesizes.h: Likewise.
18791         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18793         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18795         * time/time.h: Likewise.
18797 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
18799         [BZ #208]
18800         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18801         in instead of returning them.  Return void.
18802         (__libc_mallinfo): Accumulate over all arenas.
18803         (__malloc_stats): Adjust for change in int_mallinfo interface.
18805 2012-05-16  Roland McGrath  <roland@hack.frob.com>
18807         [BZ #10375]
18808         * configure.in (NM): Add AC_CHECK_TOOL for it.
18809         (libc_extra_cflags): New substituted variable.
18810         Check for -fstack-protector being used implicitly.
18811         * configure: Regenerated.
18812         * config.make.in (config-extra-cflags): New variable,
18813         gets @libc_extra_cflags@.
18814         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18816         [BZ #10375]
18817         * configure.in: Check for _FORTIFY_SOURCE being predefined.
18818         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18819         * configure: Regenerated.
18820         * config.make.in (CPPUNDEFS): New substituted variable.
18821         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18822         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18823         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18827         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18828         (mq_attr): Use __syscall_slong_t.
18830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18832         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18833         Check __x86_64__ instead of __WORDSIZE.
18834         (_STAT_VER_LINUX): Likewise.
18835         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
18836         __syscall_ulong_t and __syscall_slong_t.
18837         (stat64): Likewise.
18839 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18841         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18843 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18845         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18849         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18850         __syscall_ulong_t.
18852         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18853         include <bits/wordsize.h>.  Check __x86_64__ instead of
18854         __WORDSIZE.
18855         (greg_t): Use "__extension__ long long int" if __x86_64__ is
18856         defined.
18857         (mcontext_t): Replace "unsigned long" with "unsigned long long".
18859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18860         include <bits/wordsize.h>.  Check __x86_64__ instead of
18861         __WORDSIZE.
18862         (user_regs_struct): Use "__extension__ unsigned long long"
18863         instead of "unsigned long" if __x86_64__ is defined.
18864         (user): Likewise.  Pad after pointer field if __ILP32__ is
18865         defined.
18867 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
18869         * configure.in (makeinfo): Require version 4.5 or later.  Allow
18870         versions 5 to 9.
18871         * configure: Regenerated.
18872         * manual/install.texi (texinfo): Increase version requirement to
18873         4.5 or later.
18874         * INSTALL: Regenerated.
18876         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18880         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18882         * sysdeps/x86_64/x32/ffs.c: New file.
18884         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18885         __syscall_ulong_t.
18886         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18887         defined.  Use __syscall_ulong_t.
18888         (shminfo): Use __syscall_ulong_t.
18889         (shm_info): Likewise.
18891         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18892         __syscall_ulong_t.
18894         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18895         <bits/wordsize.h>.
18896         (msgqnum_t): Use __syscall_ulong_t.
18897         (msglen_t): Likewise.
18898         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
18899         __syscall_ulong_t.
18901         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18902         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18904         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18906         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18907         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18909         * sysvipc/sys/msg.h (msgbuf): Replace long int with
18910         __syscall_slong_t.
18912         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18913         include <bits/wordsize.h>.  Check __x86_64__ instead of
18914         __WORDSIZE.
18916         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18917         "unsigned long long int" if __x86_64__ is defined.
18918         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18921         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18922         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18924         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18925         <stdint.h>.
18926         (GET_PC): Cast to uintptr_t first.
18927         (GET_FRAME): Likewise.
18928         (GET_STACK): Likewise.
18930         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18931         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18932         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18933         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18934         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18935         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18936         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18937         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18938         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18939         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18940         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18941         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18942         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18943         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18944         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18945         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18946         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18947         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18948         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18949         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18950         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18951         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18952         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18953         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18954         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18955         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18956         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18957         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18958         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18960 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
18962         * Makerules (+depfiles): Also collect depfiles from .oS in
18963         $(extra-objs).
18964         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18965         .oS, $(libnldbl-routines)).
18967         * Makerules (native-compile-mkdep-flags): Define.
18968         * sunrpc/Makefile (extra-objs): Add $(addprefix
18969         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18970         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18971         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
18972         calling $(make-target-directory).
18974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18976         * bits/types.h (__snseconds_t): Removed.
18977         * time/time.h (struct timespec): Replace __snseconds_t with
18978         __syscall_slong_t.
18979         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18980         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18981         Likewise.
18982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18983         (__SNSECONDS_T_TYPE): Likewise.
18984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18985         (__SNSECONDS_T_TYPE): Likewise.
18986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18987         (__SNSECONDS_T_TYPE): Likewise.
18989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18991         * sysdeps/mach/hurd/bits/typesizes.h
18992         (__SYSCALL_SLONG_TYPE): New macro.
18993         (__SYSCALL_ULONG_TYPE): Likewise.
18995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18997         * bits/types.h (__syscall_slong_t): New type.
18998         (__syscall_ulong_t): Likewise.
19000         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19001         (__SYSCALL_ULONG_TYPE): Likewise.
19002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19003         (__SYSCALL_SLONG_TYPE): Likewise.
19004         (__SYSCALL_ULONG_TYPE): Likewise.
19005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19006         (__SYSCALL_SLONG_TYPE): Likewise.
19007         (__SYSCALL_ULONG_TYPE): Likewise.
19008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19009         (__SYSCALL_SLONG_TYPE): Likewise.
19010         (__SYSCALL_ULONG_TYPE): Likewise.
19012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19014         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19015         Add sigaltstack-offsets.sym.
19016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19017         <sigaltstack-offsets.h>.
19018         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19019         longjmp_msg pointer.
19020         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19021         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19022         signal stack.
19023         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19025 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19027         * elf/stackguard-macros.h: Remove file.
19028         * sysdeps/generic/stackguard-macros.h: New file.
19029         * sysdeps/i386/stackguard-macros.h: Likewise.
19030         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19031         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19032         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19033         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19034         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19035         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19036         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19037         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19038         <elf/stackguard-macros.h>.
19040         [BZ #14109]
19041         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19042         __aligned__ in attribute.
19043         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19044         (gregset_t): Likewise.
19046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19048         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19049         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19050         * sysdeps/x86_64/x32/Implies-after: New file.
19052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19054         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19055         and access return value for _dl_profile_fixup.  Use R10_LP to
19056         load frame size.
19058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19060         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19064         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19065         * sysdeps/x86_64/x32/sysdep.h: New file.
19067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19069         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19070         * sysdeps/x86_64/setjmp.S: Likewise.
19072 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19074         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19075         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19076         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19077         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19078         remove unused global constant.
19080 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19082         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19083         include of <not-cancel.h>.
19085 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19087         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19089 2012-05-15  Jeff Law  <law@redhat.com>
19090             Andreas Jaeger  <aj@suse.de>
19092         [BZ #13594]
19093         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19094         out from...
19095         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19096         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19097         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19098         code changing __hst_map_handle.map.
19100 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19102         * configure.in (sysnames): Look for Implies-before and Implies-after
19103         files.
19104         * configure: Regenerated.
19106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19108         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19109         8-byte data alignment with LP_SIZE alignment.
19111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19113         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19114         into R10_LP.
19116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19118         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19122         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19123         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19125         Likewise.
19126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19130         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19131         (stackinfo_sub_sp): Likewise.
19133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19135         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19136         RAX_LP.
19138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19141         into R*_LP.
19143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19146         sizes into R*_LP.
19148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19150         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19154         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19155         into R11_LP and load __x86_64_shared_cache_size_half into
19156         R8_LP.
19158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19160         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19161         R8_LP.
19163 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19166         logb for POWER7.
19167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19168         logbf for POWER7.
19169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19170         logbl for POWER7.
19171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19172         powerpc32/power7/fpu/s_logb.c via #include.
19173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19174         powerpc32/power7/fpu/s_logbf.c via #include.
19175         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19176         powerpc32/power7/fpu/s_logbl.c via #include.
19178 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19180         * README.libm: Remove file.
19182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19184         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19185         count for x32.  Use R*_LP and omit operand-size suffix.
19187 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19189         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19190         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19191         * sysdeps/x86_64/x32/shlib-versions: New file.
19193 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19195         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19196         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19197         Use _dl_fatal_printf instead.
19199 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19201         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19202         set if not set by the user.  Do not allow for being unset.
19203         * sysdeps/unix/sysv/linux/configure: Regenerated.
19205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19207         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19208         the `q' suffix from lea and replace .quad with ASM_ADDR.
19210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19213         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19214         instead of $17.
19215         (PTR_DEMANGLE): Likewise.
19217 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19219         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19220         (LP_OP): Likewise.
19221         (ASM_ADDR): Likewise.
19222         (RAX_LP): Likewise.
19223         (RBP_LP): Likewise.
19224         (RBX_LP): Likewise.
19225         (RCX_LP): Likewise.
19226         (RDI_LP): Likewise.
19227         (RSI_LP): Likewise.
19228         (RSP_LP): Likewise.
19229         (R8_LP): Likewise.
19230         (R9_LP): Likewise.
19231         (R10_LP): Likewise.
19232         (R10_LP): Likewise.
19233         (R11_LP): Likewise.
19234         (R12_LP): Likewise.
19235         (R13_LP): Likewise.
19236         (R14_LP): Likewise.
19237         (R15_LP): Likewise.
19239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19241         * sysdeps/x86_64/x32/dl-machine.h: New file.
19243 2012-05-14  Andreas Jaeger  <aj@suse.de>
19245         * manual/Makefile (subdir): Remove export of subdir.
19246         (all): Remove target.
19247         (.PHONY): Remove all from list.
19248         (mkinstalldirs): Remove.
19249         (.PHONY): Remove installdirs from list.
19250         ($(inst_infodir)/libc.info): Use make-target-directory.
19251         (installdirs): Remove.
19252         (subdir_%): Remove.
19253         (glibc-targets): Remove.
19254         (lib): Remove.
19255         (stubs): Remove.
19256         ($(objpfx)stubs ../po/manual.pot): Remove.
19257         ($(objpfx)stamp%): Remove.
19258         (make-target-directory): Remove.
19259         (subdir_install): Remove.
19260         (routines): Remove.
19261         (aux): Remove.
19262         (sources): Remove.
19263         (objects): Remove.
19264         (headers): Remove.
19266         [BZ #13750]
19267         * manual/.gitignore: Remove, it's not needed anymore.
19268         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19269         all files in it.
19270         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19271         directory.
19272         (texis): Renamed to $(objpfx)texis.
19273         (texis-path): New, contains path to generated files.
19274         (chapters.%): Use texis-path for complete path, add extra argument
19275         libc-texinfo.sh.
19276         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19277         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19278         (summary,texi, stamp-summary): Use complete path of
19279         files. Generate files in build dir.
19280         (dir-add.texi): Build in build dir.
19281         (libm-err.texi,stamp-libm-err): Likewise.
19282         (version.texi, stamp-version): Likewise.
19283         (.%c.texi): Likewise.
19284         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19285         (mostlyclean): Remove target.
19286         (realclean): Remove target.
19287         (generated): Add new variable with contents from mostlyclean and
19288         realclean, remove entries duplicated in common-mostlyclean, add
19289         stamp-libm-err and stamp-version.
19290         (generated-dirs): Add libc directory.
19291         ($(inst_infodir)/libc.info): Install files from build dir.
19293         * manual/install.texi (Configuring and compiling): Adjust since
19294         the info files are not part of the tar ball anymore.
19296 2012-05-14  Andreas Jaeger  <aj@suse.de>
19298         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19299         variable.
19301 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19303         [BZ #13717]
19304         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19305         to 2.2.0 where earlier.
19306         * sysdeps/unix/sysv/linux/configure: Regenerated.
19307         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19308         Remove conditional code.
19309         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19310         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19311         Remove conditional code.
19312         [!__NR_lchown]: Likewise.
19313         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19314         [__NR_lchown]: Likewise.
19315         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19316         comment referencing __ASSUME_LCHOWN_SYSCALL.
19317         * sysdeps/unix/sysv/linux/i386/sigaction.c
19318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19320         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19321         Remove conditional code.
19322         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19323         (__protocol_available): Remove #if 0 code.
19324         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19325         conditional code.
19326         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19327         * sysdeps/unix/sysv/linux/kernel-features.h
19328         (__ASSUME_GETCWD_SYSCALL): Don't define.
19329         (__ASSUME_REALTIME_SIGNALS): Likewise.
19330         (__ASSUME_PREAD_SYSCALL): Likewise.
19331         (__ASSUME_PWRITE_SYSCALL): Likewise.
19332         (__ASSUME_POLL_SYSCALL): Likewise.
19333         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19334         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19335         non-SPARC.
19336         (__ASSUME_SIOCGIFNAME): Don't define.
19337         (__ASSUME_MSG_NOSIGNAL): Likewise.
19338         (__ASSUME_SENDFILE): Define unconditionally.
19339         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19340         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19341         conditional code.
19342         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19343         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19344         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19345         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19346         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19347         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19348         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19350         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19351         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19353         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19354         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19356         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19357         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19359         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19360         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19362         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19363         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19365         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19368         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19369         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19371         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19373         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19374         Remove conditional code.
19375         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19376         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19377         Remove conditional code.
19378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19379         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19380         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19381         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19382         Remove conditional code.
19383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19384         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19385         Remove conditional code.
19386         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19387         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19388         Remove conditional code.
19389         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19390         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19391         Remove conditional code.
19392         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19393         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19394         Remove conditional code.
19395         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19396         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19397         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19399         * sysdeps/unix/sysv/linux/sigaction.c
19400         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19401         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19402         * sysdeps/unix/sysv/linux/sigpending.c
19403         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19404         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19405         * sysdeps/unix/sysv/linux/sigprocmask.c
19406         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19407         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19408         * sysdeps/unix/sysv/linux/sigsuspend.c
19409         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19410         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19411         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19412         (__libc_missing_rt_sigs): Remove.
19413         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19414         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19415         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19416         Remove conditional code.
19417         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19418         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19419         return 1.
19420         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19421         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19422         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19423         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19425 2012-05-14  Andreas Jaeger  <aj@suse.de>
19427         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19428         it's not used in glibc.
19429         (__coshm1): Likewise.
19430         (__acosh1p): Likewise.
19431         (__sgn): Likewise.
19433         * manual/string.texi (Copying and Concatenation): Add missing
19434         variable in concat example.
19435         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19437 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19439         [BZ #14103]
19440         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19441         __builtin_clzl with __builtin_clzll.
19443 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19445         [BZ #14104]
19446         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19447         libc_freeres_ptr.
19449 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19451         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19452         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19453         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19456 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19458         * NEWS: Update ia64 info.
19460 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19462         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19463         used as bcopy.
19465 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19467         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19468         * sysdeps/unix/syscalls.list (dup3): Likewise.
19469         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19470         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19472 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19474         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19475         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19477 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19479         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19480         thread pointer.
19481         (TLS_IE): Use mov/add instead of movq/addq to load thread
19482         pointer.
19483         (TLS_GD_PREFIX): New.
19484         (TLS_GD): Use it.
19486 2012-05-11  David S. Miller  <davem@davemloft.net>
19488         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19489         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19490         (_FPU_SETCW): Likewise.
19492 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19494         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19495         is 32-byte aligned.
19497 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19499         [BZ #11837]
19500         * iconvdata/gb18030.c: Update tables.
19501         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19502         characters specially.
19503         (BODY for TO_LOOP): Add encoding of missing ranges.
19505 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19507         [BZ #13673]
19508         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19509         * sysdeps/mach/hurd/dup3.c: Likewise.
19510         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19511         * sysdeps/powerpc/memmove.c:: Likewise.
19513 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19516         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19518 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19520         * elf/elf.h (R_X86_64_RELATIVE64): New.
19521         (R_X86_64_NUM): Updated.
19522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19523         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19524         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19525         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19526         tst-quad1pie tst-quad2pie
19527         (modules-names): Add tst-quadmod1 tst-quadmod2.
19528         ($(objpfx)tst-quad1): New dependency.
19529         ($(objpfx)tst-quad2): Likewise.
19530         ($(objpfx)tst-quad1pie): Likewise.
19531         ($(objpfx)tst-quad2pie): Likewise.
19532         * sysdeps/x86_64/tst-quad1.c: New file.
19533         * sysdeps/x86_64/tst-quad1pie.c: New file.
19534         * sysdeps/x86_64/tst-quad2.c: Likewise.
19535         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19536         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19537         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19538         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19539         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19543         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19544         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19545         * streams/stropts.h (t_scalar_t): Define type.
19547         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19548         (_PATH_PRESERVE): Set to "/var/lib".
19549         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19551         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19552         instead of int.
19554         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19555         if __dir_mkfile succeeded.
19557         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19558         checking for _hurd_dtablesize.  Unlock it right after having
19559         finished _hurd_dtable allocation.
19561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19563         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19564         * sysdeps/mach/hurd/configure: Regenerated.
19565         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19566         special-casing to...
19567         * sysdeps/gnu/configure.in: ... this new file.
19568         * sysdeps/unix/sysv/linux/configure: Regenerated.
19569         * sysdeps/gnu/configure: New generated file.
19571         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19572         for Linux: use nsec instead of usec, as well as:
19573         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19574         members of type struct timespec.
19575         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19576         New macros.
19577         (struct stat64): Likewise.
19578         (_STATBUF_ST_NSEC): New macro.
19579         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19581         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19582         __strtoul_internal rather than strtoul.
19584 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19586         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19587         and reject them.
19589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19591         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19592         which preserves existing values.
19593         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19595 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19597         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19598         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19599         greater than FD_SETSIZE.
19601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19603         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19604         allocated, call __vm_protect to finish enabling the existing space, and
19605         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19606         allocate the remainder.
19608 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19610         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19611         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19615         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19616         sysdeps/mach/hurd/readlink.c.
19618         * posix/tst-sysconf.c (posix_options): Only use
19619         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19620         _POSIX_SYNCHRONIZED_IO when they are defined
19621         * sysdeps/mach/hurd/bits/posix_opt.h:
19622         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19623         (_XOPEN_REALTIME): Undefine macro.
19624         (_XOPEN_REALTIME_THREADS): Undefine macro.
19625         (_XOPEN_SHM): Undefine macro.
19626         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19627         macro to -1.
19628         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19629         macro to -1.
19630         (_POSIX_ASYNC_IO): Undefine macro.
19631         (_POSIX_PRIORITIZED_IO): Undefine macro.
19632         (_POSIX_SPIN_LOCKS): Define macro to -1.
19634         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19635         SA_NODEFER, SA_RESETHAND.
19636         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19637         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19638         F_DUPFD_CLOEXEC.
19640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19642         * elf/Makefile (pldd-modules): Define unconditionally.
19644 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19646         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19650         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19651         Return ENOENT when name is empty.
19652         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19656         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19658         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19662         Fix mlock in all cases except non-readable pages.
19663         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19664         instead of VM_PROT_ALL as parameter to __vm_wire function.
19666         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19667         (__mkdir): When path is `/', just fail with EEXIST.
19668         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19672         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19673         <sys/uio.h> (for writev).
19674         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19675         and <sys/param.h> (for MIN).
19677 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19679         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19680         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19681         if interrupted.
19683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19685         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19686         Depend on against $(link-rpcuserlibs).
19688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19690         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19691         (__libc_stack_end): Do not use attribute_relro.
19692         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19693         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19694         to libthread-provided value.
19695         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19696         attribute_relro.
19698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19700         [BZ #3748]
19701         * bits/libc-lock.h (__libc_once_get): New macro.
19702         * sysdeps/mach/bits/libc-lock.h: Likewise.
19703         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19704         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19705         instead of using implementation details.
19707         * libio/fileops.c: Unconditionally include <kernel-features.h>.
19708         * libio/freopen.c: Likewise.
19709         * libio/freopen64.c: Likewise.
19710         * misc/syslog.c: Likewise.
19711         * nscd/connections.c: Likewise.
19712         * nscd/netgroupcache.c: Likewise.
19713         * sysdeps/posix/getcwd.c: Likewise.
19715 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19717         * math/w_ilogbf.c: Add #include <limits.h>.
19719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19721         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19722         path instead of returning without unlocking.
19724         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19725         immediate-write ioctls.
19726         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19730         * sysdeps/mach/hurd/i386/init-first.c (init): Use
19731         __builtin_frame_address instead of making assumptions about the
19732         location of the return address relative to DATA.  Force early load of
19733         the return address.
19734         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19735         __builtin_frame_address.
19737         dup3 for GNU Hurd.
19738         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19739         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
19740         implement dup3 and do some further code clean-ups.
19741         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19742         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19746         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19748         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19749         HURD_CRITICAL_END around holding _hurd_dtable_lock.
19750         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19751         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19752         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19753         d->port.lock.
19755         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19756         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
19757         when handler == SIG_ERR, not when handler != SIG_ERR.
19759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19761         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19762         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19763         definitions.
19765         accept4 for GNU Hurd.
19766         * include/sys/socket.h (__libc_accept4): New prototype.
19767         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
19768         to implement __libc_accept4.
19769         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19770         __libc_accept4.
19771         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19773         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19774         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19775         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19776         signal-defines.sym.
19778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19780         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19784         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19785         assertion on O_CLOEXEC flag.
19786         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19787         * hurd/intern-fd.c: Likewise.
19788         * hurd/port2fd.c: Likewise.
19790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19792         [BZ #3906]
19793         * bits/in.h (IPV6_PKTINFO): Define new macro.
19794         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19796 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19798         [BZ #13954]
19799         [BZ #13955]
19800         [BZ #13956]
19801         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19802         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19803         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19804         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19806         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19807         * math/libm-test.inc (logb_test) : Additional logb tests.
19809 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
19810             Andreas Jaeger  <aj@suse.de>
19812         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19813         * configure: Regenerated.
19814         * config.h.in (LINK_OBSOLETE_RPC): New macro.
19815         * config.make.in (link-obsolete-rpc): New substituted variable.
19816         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19817         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19818         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19819         (shared-only-routines): Don't set it under [link-obsolete-rpc],
19820         so that libc.a contains the symbols.
19821         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19822         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19823         * sunrpc/auth_none.c: Likewise.
19824         * sunrpc/auth_unix.c: Likewise.
19825         * sunrpc/authdes_prot.c: Likewise.
19826         * sunrpc/authuxprot.c: Likewise.
19827         * sunrpc/clnt_gen.c: Likewise.
19828         * sunrpc/clnt_perr.c: Likewise.
19829         * sunrpc/clnt_raw.c: Likewise.
19830         * sunrpc/clnt_simp.c: Likewise.
19831         * sunrpc/clnt_tcp.c: Likewise.
19832         * sunrpc/clnt_udp.c: Likewise.
19833         * sunrpc/clnt_unix.c: Likewise.
19834         * sunrpc/des_crypt.c: Likewise.
19835         * sunrpc/des_soft.c: Likewise.
19836         * sunrpc/get_myaddr.c: Likewise.
19837         * sunrpc/key_call.c: Likewise.
19838         * sunrpc/key_prot.c: Likewise.
19839         * sunrpc/netname.c: Likewise.
19840         * sunrpc/pm_getmaps.c: Likewise.
19841         * sunrpc/pm_getport.c: Likewise.
19842         * sunrpc/pmap_clnt.c: Likewise.
19843         * sunrpc/pmap_prot.c: Likewise.
19844         * sunrpc/pmap_prot2.c: Likewise.
19845         * sunrpc/pmap_rmt.c: Likewise.
19846         * sunrpc/publickey.c: Likewise.
19847         * sunrpc/rpc_cmsg.c: Likewise.
19848         * sunrpc/rpc_common.c: Likewise.
19849         * sunrpc/rpc_dtable.c: Likewise.
19850         * sunrpc/rpc_prot.c: Likewise.
19851         * sunrpc/rpc_thread.c: Likewise.
19852         * sunrpc/rtime.c: Likewise.
19853         * sunrpc/svc.c: Likewise.
19854         * sunrpc/svc_auth.c: Likewise.
19855         * sunrpc/svc_raw.c: Likewise.
19856         * sunrpc/svc_run.c: Likewise.
19857         * sunrpc/svc_tcp.c: Likewise.
19858         * sunrpc/svc_udp.c: Likewise.
19859         * sunrpc/svc_unix.c: Likewise.
19860         * sunrpc/svcauth_des.c: Likewise.
19861         * sunrpc/xcrypt.c: Likewise.
19862         * sunrpc/xdr.c: Likewise.
19863         * sunrpc/xdr_array.c: Likewise.
19864         * sunrpc/xdr_float.c: Likewise.
19865         * sunrpc/xdr_intXX_t.c: Likewise.
19866         * sunrpc/xdr_mem.c: Likewise.
19867         * sunrpc/xdr_rec.c: Likewise.
19868         * sunrpc/xdr_ref.c: Likewise.
19869         * sunrpc/xdr_sizeof.c: Likewise.
19870         * sunrpc/xdr_stdio.c: Likewise.
19872 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19874         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19875         change.  Update copyright years.
19877 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19879         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19881 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
19882             Joseph Myers  <joseph@codesourcery.com>
19883             Paul Pluzhnikov  <ppluzhnikov@google.com>
19885         [BZ #14012]
19886         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19887         requiring rpcgen.
19888         [cross-compiling] (extra-libs): Likewise.
19889         [cross-compiling] (extra-libs-others): Likewise.
19890         [cross-compiling] (librpcsvc-routines): Likewise.
19891         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19892         [cross-compiling] (omit-deps): Likewise.
19893         (sunrpc-CPPFLAGS): New variable.
19894         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19895         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19896         (cross-rpcgen-objs): New variable.
19897         (extra-objs): Append $(cross-rpcgen-objs).
19898         ($(cross-rpcgen-objs)): New rule.
19899         ($(objpfx)cross-rpcgen): Likewise.
19900         (rpcgen-cmd): Define to use $(built-program-file).  Expand
19901         comment.
19902         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19903         ($(objpfx)x%.stmp): Likewise.
19904         * sunrpc/proto.h [IS_IN_build] (_): Define.
19905         [IS_IN_build] (_libc_intl_domainname): Likewise.
19907 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19910         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19911         and R_X86_64_TPOFF64.
19913 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
19915         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19916         sysdeps/unix/sysv/syscalls.list.
19917         (stime): Likewise.
19918         (utime): Likewise.
19919         * sysdeps/unix/sysv/syscalls.list: Remove file.
19921 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
19923         [BZ #3440]
19924         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19925         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19926         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19927         (__LC_IDENTIFICATION): Make these macros useful in #if
19928         expressions, as required by C99.
19930 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
19932         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19933         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
19934         after this.
19936 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
19938         * stdlib/longlong.h: Updated from GCC.
19940 2012-05-09  Andreas Jaeger  <aj@suse.de>
19942         * nscd/nscd.c (run_modes): Make named enum, reorder so that
19943         default is first entry.
19944         (run_mode): Set type.
19945         (main): Remove informal message about syslog.
19946         (options): Fix typo.
19948         [BZ #14053]
19949         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19950         to asm.
19951         (lrint): Likewise.
19952         (llrintf): Likewise.
19953         (llrint): Likewise.
19954         (rint): Likewise.
19955         (rintf): Likewise.
19956         (nearbyint): Likewise.
19957         (nearbyintf): Likewise.
19959 2012-05-09  Andreas Jaeger  <aj@suse.de>
19960             Pedro Alves  <palves@redhat.com>
19962         * nscd/nscd.c (run_mode): Use enum.
19963         (main): Cleanup coding style issue.
19965 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
19966             Andreas Jaeger  <aj@suse.de>
19968         * nscd/nscd.c (go_background): Replaced with...
19969         (run_mode): ... this.
19970         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19971         (options): Add -F --foreground.
19972         (main): Implement it.
19973         (parse_opt): Parse it.
19975 2012-05-09  Andreas Jaeger  <aj@suse.de>
19977         [BZ #14083]
19978         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19979         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19980         -Wconversion warning.
19981         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19982         Likewise.
19984 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
19986         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
19987         == 0.
19988         (LC_ALL): Use macro-int-constant.
19989         (LC_COLLATE): Likewise.
19990         (LC_CTYPE): Likewise.
19991         (LC_MESSAGES): Likewise.
19992         (LC_MONETARY): Likewise.
19993         (LC_NUMERIC): Likewise.
19994         (LC_TIME): Likewise.
19995         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19996         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19998         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19999         Specify type.
20000         [C99-based standards] (float_t): Expect type.
20001         [C99-based standards] (double_t): Expect type.
20002         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20003         type.
20004         [C99-based standards] (HUGE_VALL): Likewise.
20005         [C99-based standards] (INFINITY): Likewise.
20006         [C99-based standards] (NAN): Likewise.
20007         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20008         [C99-based standards] (FP_NAN): Likewise.
20009         [C99-based standards] (FP_NORMAL): Likewise.
20010         [C99-based standards] (FP_SUBNORMAL): Likewise.
20011         [C99-based standards] (FP_ZERO): Likewise.
20012         [C99-based standards] (FP_FAST_FMA): Use
20013         optional-macro-int-constant.  Specify type.  Require == 1.
20014         [C99-based standards] (FP_FAST_FMAF): Likewise.
20015         [C99-based standards] (FP_FAST_FMAL): Likewise.
20016         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20017         [C99-based standards] (FP_ILOGBNAN): Likewise.
20018         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20019         Specify type.
20020         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20021         [C99-based standards] (math_errhandling): Specify type.
20022         [ISO99 || ISO11] (signgam): Do not allow.
20023         [non-C99-based standards] (copysignf): Do not allow.
20024         [non-C99-based standards] (exp2f): Likewise.
20025         [non-C99-based standards] (log2f): Likewise.
20026         [non-C99-based standards] (modff): Allow.
20027         [non-C99-based standards] (erff): Do not allow.
20028         [non-C99-based standards] (erfcf): Likewise.
20029         [non-C99-based standards] (gammaf): Likewise.
20030         [non-C99-based standards] (hypotf): Likewise.
20031         [non-C99-based standards] (j0f): Likewise.
20032         [non-C99-based standards] (j1f): Likewise.
20033         [non-C99-based standards] (jnf): Likewise.
20034         [non-C99-based standards] (lgammaf): Likewise.
20035         [non-C99-based standards] (tgammaf): Likewise.
20036         [non-C99-based standards] (y0f): Likewise.
20037         [non-C99-based standards] (y1f): Likewise.
20038         [non-C99-based standards] (ynf): Likewise.
20039         [non-C99-based standards] (isnanf): Likewise.
20040         [non-C99-based standards] (acoshf): Likewise.
20041         [non-C99-based standards] (asinhf): Likewise.
20042         [non-C99-based standards] (atanhf): Likewise.
20043         [non-C99-based standards] (cbrtf): Likewise.
20044         [non-C99-based standards] (expm1f): Likewise.
20045         [non-C99-based standards] (ilogbf): Likewise.
20046         [non-C99-based standards] (log1pf): Likewise.
20047         [non-C99-based standards] (logbf): Likewise.
20048         [non-C99-based standards] (nextafterf): Likewise.
20049         [non-C99-based standards] (remainderf): Likewise.
20050         [non-C99-based standards] (rintf): Likewise.
20051         [non-C99-based standards] (scalbf): Likewise.
20052         [non-C99-based standards] (copysignl): Likewise.
20053         [non-C99-based standards] (exp2l): Likewise.
20054         [non-C99-based standards] (log2l): Likewise.
20055         [non-C99-based standards] (modfl): Allow.
20056         [non-C99-based standards] (erfl): Do not allow.
20057         [non-C99-based standards] (erfcl): Likewise.
20058         [non-C99-based standards] (gammal): Likewise.
20059         [non-C99-based standards] (hypotl): Likewise.
20060         [non-C99-based standards] (j0l): Likewise.
20061         [non-C99-based standards] (j1l): Likewise.
20062         [non-C99-based standards] (jnl): Likewise.
20063         [non-C99-based standards] (lgammal): Likewise.
20064         [non-C99-based standards] (tgammal): Likewise.
20065         [non-C99-based standards] (y0l): Likewise.
20066         [non-C99-based standards] (y1l): Likewise.
20067         [non-C99-based standards] (ynl): Likewise.
20068         [non-C99-based standards] (isnanl): Likewise.
20069         [non-C99-based standards] (acoshl): Likewise.
20070         [non-C99-based standards] (asinhl): Likewise.
20071         [non-C99-based standards] (atanhl): Likewise.
20072         [non-C99-based standards] (cbrtl): Likewise.
20073         [non-C99-based standards] (expm1l): Likewise.
20074         [non-C99-based standards] (ilogbl): Likewise.
20075         [non-C99-based standards] (log1pl): Likewise.
20076         [non-C99-based standards] (logbl): Likewise.
20077         [non-C99-based standards] (nextafterl): Likewise.
20078         [non-C99-based standards] (remainderl): Likewise.
20079         [non-C99-based standards] (rintl): Likewise.
20080         [non-C99-based standards] (scalbl): Likewise.
20081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20082         [non-C99-based standards] (FP_*): Do not allow.
20083         [C99-based standards] (FP_*): Change to
20084         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20085         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20086         allow.
20087         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20088         (SIG_ERR): Likewise.
20089         [X/Open-based standards] (SIG_HOLD): Likewise.
20090         (SIG_IGN): Likewise.
20091         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20092         positive value.
20093         (SIGFPE): Likewise.
20094         (SIGILL): Likewise.
20095         (SIGINT): Likewise.
20096         (SIGSEGV): Likewise.
20097         (SIGTER): Likewise.
20098         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20099         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20100         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20101         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20102         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20103         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20104         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20105         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20106         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20107         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20108         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20109         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20110         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20111         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20112         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20113         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20114         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20115         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20116         [X/Open-based standards] (SIGTRAP): Likewise.
20117         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20118         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20119         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20120         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20121         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20122         allow.
20124 2012-05-08  Ian Wienand  <ianw@vmware.com>
20126         [BZ #14080]
20127         * time/tzset.c (__tzset_parse_tz): Update default rules for
20128         daylight time changes in the Energy Policy Act of 2005.
20130 2012-05-09  Andreas Jaeger  <aj@suse.de>
20132         [BZ #13983]
20133         * elf/ldconfig.c (parse_conf): Change string to make clear that
20134         ldconfig only issued a warning if ld.so.conf does not exist.
20136 2012-05-08  David S. Miller  <davem@davemloft.net>
20138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20139         movxtod instead of popping the value on the stack.
20141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20143 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20145         * config.h.in: Add HAVE_ARM_PCS_VFP.
20147 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20149         [BZ #13979]
20150         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20151         checking but the checks are disabled for any reason.
20153 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20155         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20156         and ELF64_R_TYPE with ELFW(R_TYPE).
20158 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20160         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20161         (ulimit): Likewise.
20163         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20164         (settimeofday): Likewise.
20166 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20168         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20169         a struct th_u2 inside the union, and move tu_block/tu_code into
20170         a new th_u3 union of tu_block/tu_code inside of that.  Move
20171         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20172         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20173         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20174         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20175         (th_stuff): Change to th_u1.tu_stuff.
20176         (th_data): Define.
20177         (th_msg): Change to th_u1.th_u2.tu_data.
20179 2012-05-07  David S. Miller  <davem@davemloft.net>
20181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20183         [BZ #14074]
20184         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20185         (SETUP_PIC_REG): Use it.
20186         (SETUP_PIC_REG_LEAF): Use it.
20188 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20190         [BZ #13885]
20191         [BZ #13923]
20192         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20193         USE_AS_EXPM1L.
20194         (EXPL_FINITE): Likewise.
20195         (FLDLOG): Likewise.
20196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20197         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20198         e_expl.S.
20199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20200         USE_AS_EXPM1L.
20201         (EXPL_FINITE): Likewise.
20202         (FLDLOG): Likewise.
20203         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20204         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20205         e_expl.S.
20206         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20207         test of -max_value argument for long double.
20208         * sysdeps/i386/fpu/libm-test-ulps: Update.
20209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20211 2012-05-06  David S. Miller  <davem@davemloft.net>
20213         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20214         quad soft-float symbols whose references which are compiler
20215         generated.
20216         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20218 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20220         [BZ #13884]
20221         [BZ #13914]
20222         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20223         USE_AS_EXP10L.
20224         (EXPL_FINITE): Likewise.
20225         (FLDLOG): Likewise.
20226         (c0): Likewise.
20227         (c1): Likewise.
20228         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20229         Adjust comments for base varying.
20230         (__expl_finite): Change alias to EXPL_FINITE.
20231         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20232         e_expl.S.
20233         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20234         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20235         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20236         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20238         USE_AS_EXP10L.
20239         (EXPL_FINITE): Likewise.
20240         (FLDLOG): Likewise.
20241         (c0): Likewise.
20242         (c1): Likewise.
20243         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20244         Adjust comments for base varying.
20245         (__expl_finite): Change alias to EXPL_FINITE.
20246         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20247         tests for bugs.
20248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20250         [BZ #14064]
20251         * math/libm-test.inc (check_float_internal): Correct ulp
20252         calculation for subnormal expected results.
20254 2012-05-06  Andreas Jaeger  <aj@suse.de>
20256         * Makeconfig (+math-flags): New, set to -frounding-math.
20257         (+cflags): Add +math-flags so that all of glibc gets compiled with
20258         it.
20260         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20262 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20264         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20265         Disable one test.
20267         [BZ #13787]
20268         [BZ #13922]
20269         [BZ #14036]
20270         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20271         (__ieee754_expl): Allow for and saturate large arguments.
20272         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20273         (u_threshold): Likewise.
20274         (__exp): Call __ieee754_exp before checking for overflow and
20275         underflow.
20276         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20277         (u_threshold): Likewise.
20278         (__expf): Call __ieee754_expf before checking for overflow and
20279         underflow.
20280         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20281         (u_threshold): Likewise.
20282         (__expl): Call __ieee754_expl before checking for overflow and
20283         underflow.
20284         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20285         (__ieee754_expl): Allow for and saturate large arguments.
20286         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20287         missing overflow exception on overflow.
20288         (expm1_test): Do not allow missing overflow exception on overflow.
20290         * sysdeps/i386/fpu/e_expl.c: Move to ...
20291         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20292         rather than using inline asm.
20293         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20294         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20295         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20297         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20298         (nice): Likewise.
20299         (poll): Likewise.
20300         (signal): Likewise.
20301         (time): Likewise.
20302         (times): Likewise.
20304 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20306         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20307         sysdeps/unix/common/syscalls.list.
20308         (fchmod): Likewise.
20309         (fchown): Likewise.
20310         (ftruncate): Likewise.
20311         (getrusage): Likewise.
20312         (gettimeofday): Likewise.
20313         (setpgid): Likewise.
20314         (setregid): Likewise.
20315         (setreuid): Likewise.
20316         (sigaction): Likewise.
20317         (truncate): Likewise.
20318         (vhangup): Likewise.
20319         * sysdeps/unix/common/syscalls.list: Remove file.
20320         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20321         * sysdeps/unix/sysv/linux/Implies: Likewise.
20323 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20325         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20327         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20328         Moved to ...
20329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20330         Here.
20331         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20332         to ...
20333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20334         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20335         to ...
20336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20337         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20338         to ...
20339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20340         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20341         to ...
20342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20343         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20344         to ...
20345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20346         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20347         to ...
20348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20349         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20350         to ...
20351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20352         Here.
20353         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20354         to ...
20355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20356         Here.
20357         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20358         to ...
20359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20360         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20361         Moved to ...
20362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20363         Here.
20364         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20365         to ...
20366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20368 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20370         * sysdeps/unix/common/bits/dirent.h: Remove file.
20371         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20373         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20374         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20375         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20376         * sysdeps/unix/bsd/isatty.c: Likewise.
20377         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20378         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20379         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20381 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20383         [BZ #13563]
20384         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20385         long double comparison inaccuracies.
20386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20389 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20391         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20392         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20394 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20396         [BZ #14049]
20397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20398         nonzero digits before rounding a hex value.
20399         * stdlib/tst-strtod.c (tests): Add another test.
20401 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20403         * sysdeps/s390/fpu/libm-test-ulps: Update.
20405 2012-05-03  Andreas Jaeger  <aj@suse.de>
20407         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20408         does not get optimized out.
20409         (malloc_opt_barrier): New.
20411 2012-05-03  Andreas Jaeger  <aj@suse.de>
20412             Roland McGrath  <roland@hack.frob.com>
20414         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20415         intermediate file deletion.
20416         (generated): Add .symlist files.
20418 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20420         [BZ #13775]
20421         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20422         Redirect under this condition.
20423         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20424         [__USE_GNU] (__dprintf_chk): Not under this condition.
20425         [__USE_GNU] (__vdprintf_chk): Likewise.
20426         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20427         under this condition.
20428         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20429         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20430         [__USE_XOPEN2K8] (vdprintf): Likewise.
20431         [__USE_GNU] (__dprintf_chk): Not under this condition.
20432         [__USE_GNU] (__vdprintf_chk): Likewise.
20433         [__USE_GNU] (dprintf): Likewise.
20434         [__USE_GNU] (vdprintf): Likewise.
20436 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20438         * elf/Makefile (common-generated): Set this instead of generated for
20439         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20440         $(all-built-dso)-derived lists.
20442 2012-05-03  Andreas Jaeger  <aj@suse.de>
20444         * sysdeps/i386/fpu/libm-test-ulps: Update.
20446         * FAQ: Removed.
20447         * FAQ.in: Likewise.
20448         * scripts/gen-FAQ.pl: Likewise.
20449         * manual/install.texi (Installation): Point to online location of
20450         FAQ.
20451         * Makefile (files-for-dist): Remove FAQ.
20452         (FAQ): Remove.
20454 2012-05-02  Allan McRae  <allan@archlinux.org>
20456         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20457         (LDFLAGS-reldepmod5.so): Likewise.
20458         (LDFLAGS-reldep6mod1.so): Likewise.
20459         (LDFLAGS-reldep6mod4.so): Likewise.
20460         (LDFLAGS-reldep8mod3.so): Likewise.
20461         (LDFLAGS-unload4mod1.so): Likewise.
20462         (LDFLAGS-unload4mod2.so): Likewise.
20463         (LDFLAGS-tst-initorder): Likewise.
20464         (LDFLAGS-tst-initordera2.so): Likewise.
20465         (LDFLAGS-tst-initordera3.so): Likewise.
20466         (LDFLAGS-tst-initordera4.so): Likewise.
20467         (LDFLAGS-tst-initorderb2.so): Likewise.
20468         (LDFLAGS-noload): Likewise.
20469         (LDFLAGS-next): Likewise.
20470         (LDFLAGS-order2mod1.so): Likewise.
20471         (LDFLAGS-order2mod2.so): Likewise.
20472         (LDFLAGS-tst-initorder2): Likewise.
20473         (LDFLAGS-tst-initorder2a.so): Likewise.
20474         (LDFLAGS-tst-initorder2b.so): Likewise.
20475         (LDFLAGS-tst-initorder2c.so): Likewise.
20476         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20478 2012-05-02  David S. Miller  <davem@davemloft.net>
20480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20482 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20484         [BZ #14055]
20485         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20487 2012-05-02  Andreas Jaeger  <aj@suse.de>
20489         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20490         since we manipulate rounding mode.
20491         (CPPFLAGS-test-idouble.c): Likewise.
20492         (CPPFLAGS-test-ifloat.c): Likewise.
20493         (CFLAGS-test-ldouble.c): Likewise.
20494         (CFLAGS-test-double.c): Likewise.
20495         (CFLAGS-test-float.c): Likewise.
20496         (CFLAGS-test-misc.c): Likewise.
20497         (CFLAGS-test-test-fenv.c): Likewise.
20499 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20501         [BZ #2550]
20502         [BZ #2570]
20503         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20504         comparisons to determine direction to adjust input.
20506 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20508         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20509         output to the target.
20511         * scripts/localplt.awk: New file.
20512         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20513         (check-localplt-CFLAGS): Variable removed.
20514         ($(all-built-dso:=.jmprel)): New static pattern rule.
20515         (generated): Add those targets.
20516         (localplt-built-dso): New variable.
20517         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20519         * elf/check-localplt.c: File removed.
20521         * scripts/check-execstack.awk: New file.
20522         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20523         (check-execstack-CFLAGS): Variable removed.
20524         ($(objpfx)check-execstack.h): Target removed.
20525         ($(objpfx)execstack-default): New target.
20526         (generated): Add that instead of check-execstack.h.
20527         ($(all-built-dso:=.phdr)): New static pattern rule.
20528         (generated): Add those targets.
20529         * elf/check-execstack.c: File removed.
20531         * scripts/check-textrel.awk: New file.
20532         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20533         (check-textrel-CFLAGS): Variable removed.
20534         (all-built-dso): Use := to define.o
20535         ($(all-built-dso:=.dyn)): New static pattern rule.
20536         (generated): Add those targets.
20537         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20538         * config.make.in (READELF): New substituted variable.
20539         * elf/check-textrel.c: File removed.
20541 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20543         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20544         allow.
20545         * conform/data/ctype.h-data [C99-based standards] (isblank):
20546         Expect function.
20547         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20548         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20549         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20550         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20551         Specify type.  Require positive value.
20552         (EILSEQ): Likewise.
20553         (ERANGE): Likewise.
20554         [ISO || POSIX] (EILSEQ): Do not expect.
20555         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20556         Specify type.  Require positive value.
20557         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20558         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20559         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20560         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20561         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20562         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20563         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20564         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20565         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20566         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20567         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20568         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20569         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20570         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20571         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20572         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20573         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20574         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20575         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20576         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20577         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20578         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20579         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20580         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20581         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20582         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20583         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20584         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20585         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20586         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20587         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20588         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20589         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20590         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20591         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20592         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20593         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20594         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20595         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20596         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20597         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20598         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20599         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20600         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20601         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20602         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20603         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20604         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20605         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20606         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20607         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20608         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20609         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20610         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20611         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20612         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20613         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20614         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20615         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20616         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20617         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20618         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20619         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20620         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20621         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20622         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20623         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20624         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20625         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20626         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20627         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20628         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20629         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20630         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20631         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20632         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20633         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20634         Require >= 2.
20635         (FLT_ROUNDS): Expect as macro, not constant.
20636         (FLT_MANT_DIG): Use macro-int-constant.
20637         (DBL_MANT_DIG): Likewise.
20638         (LDBL_MANT_DIG): Likewise.
20639         (FLT_DIG): Likewise.
20640         (DBL_DIG): Likewise.
20641         (LDBL_DIG): Likewise.
20642         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20643         (DBL_MIN_EXP): Likewise.
20644         (LDBL_MIN_EXP): Likewise.
20645         (FLT_MAX_EXP): Use macro-int-constant.
20646         (DBL_MAX_EXP): Likewise.
20647         (LDBL_MAX_EXP): Likewise.
20648         (FLT_MAX_10_EXP): Likewise.
20649         (DBL_MAX_10_EXP): Likewise.
20650         (LDBL_MAX_10_EXP): Likewise.
20651         (FLT_MAX): Use macro-constant.
20652         (DBL_MAX): Likewise.
20653         (LDBL_MAX): Likewise.
20654         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20655         (DBL_EPSILON): Likewise.
20656         (LDBL_EPSILON): Likewise.
20657         (FLT_MIN): Likewise.
20658         (DBL_MIN): Likewise.
20659         (LDBL_MIN): Likewise.
20660         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20661         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20662         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20663         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20664         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20665         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20666         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20667         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20668         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20669         [ISO11] (FLT_TRUE_MIN): Likewise.
20670         [ISO11] (LDBL_TRUE_MIN): Likewise.
20671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20672         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20673         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20674         (SCHAR_MAX): Likewise.
20675         (UCHAR_MAX): Likewise.
20676         (CHAR_MIN): Likewise.
20677         (CHAR_MAX): Likewise.
20678         (MB_LEN_MAX): Use macro-int-constant.
20679         (SHRT_MIN): Use macro-int-constant.  Specify type.
20680         (SHRT_MAX): Likewise.
20681         (USHRT_MAX): Likewise.
20682         (INT_MAX): Likewise.
20683         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20684         bound negative.
20685         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20686         bound with "U".
20687         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20688         bound with "L".
20689         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20690         bound negative.  Suffix upper bound with "L".
20691         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20692         bound with "UL".
20693         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20694         Specify type.
20695         [C99-based standards] (LLONG_MAX): Likewise.
20696         [C99-based standards] (ULLONG_MAX): Likewise.
20697         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
20698         == 0.
20699         [ISO11] (max_align_t): Require type.
20700         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20702         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20703         from $CFLAGS, without defining away __attribute__ calls.
20704         (checknamespace): Use $CFLAGS_namespace.
20706         * conform/conformtest.pl (@keywords): Only include C99 keywords
20707         for standards based on C99 or C11.
20709         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20710         Disable tests.
20711         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20712         UNIX98]: Likewise.
20714         * conform/conformtest.pl: Handle "macro-int-constant" and test for
20715         usability of symbols in #if.
20717         * conform/conformtest.pl: If macro or constant types start
20718         "promoted:", expect the symbol to be of the following type
20719         promoted by the integer promotions.
20721         * conform/conformtest.pl: Parse all "constant" and "macro" lines
20722         in one place.  Also handle "macro-constant".
20724         * conform/conformtest.pl: Only accept expected macro values with
20725         "==".  Parse all "macro" lines in one place.
20726         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20728         * conform/conformtest.pl: Handle braced types on "constant" lines
20729         instead of handling "typed-constant".
20730         * conform/data/signal.h-data: Use "constant" instead of
20731         "typed-constant".
20733         * conform/conformtest.pl: Handle "optional-" at start of lines in
20734         one place rather than duplicating several cases.  Handle each
20735         format of "macro" line with initial "optional-".
20737         * conform/conformtest.pl: Only accept expected constant or
20738         optional-constant values with "==".  Parse all "constant" lines in
20739         one place.  Parse all "optional-constant" lines in one place.
20740         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20741         * conform/data/fmtmsg.h-data: Likewise.
20742         * conform/data/netinet/in.h-data: Likewise.
20743         * conform/data/tar.h-data: Likewise.
20744         * conform/data/limits.h-data: Use "==" form on "constant" and
20745         "optional-constant" lines.
20747         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20748         Use -std=c99 for XOPEN2K.
20749         (@knownproblems): Remove.
20750         (newtoken): Don't check %isknown.
20752         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20753         Do not expect macro.
20754         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20755         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20756         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20757         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20758         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20759         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20760         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20761         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20762         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20763         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20764         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20765         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20766         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20767         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20768         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20769         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20770         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20771         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20772         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20773         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20774         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20775         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20776         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20777         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20778         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20779         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20780         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20781         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20782         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20783         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20784         [XPG3] (acosh): Likewise.
20785         [XPG3] (asinh): Likewise.
20786         [XPG3] (atanh): Likewise.
20787         [XPG3] (cbrt): Likewise.
20788         [XPG3] (expm1): Likewise.
20789         [XPG3] (ilogb): Likewise.
20790         [XPG3] (log1p): Likewise.
20791         [XPG3] (logb): Likewise.
20792         [XPG3] (nextafter): Likewise.
20793         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20794         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20795         [XPG3] (remainder): Likewise.
20796         [XPG3] (rint): Likewise.
20797         [XPG3 || XPG4 || UNIX98] (round): Likewise.
20798         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20799         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20800         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20801         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20802         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20803         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20804         [UNIX98 || XOPEN2K] (scalb): Expect.
20805         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20806         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20807         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20808         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20809         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20810         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20811         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20812         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20813         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20814         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20815         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20816         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20817         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20818         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20819         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20820         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20821         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20822         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20823         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20824         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20825         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20826         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20827         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20828         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20829         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20830         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20831         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20832         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20833         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20834         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20835         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20836         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20837         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20838         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20839         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20840         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20841         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20842         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20843         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20844         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20845         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20846         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20847         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20848         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20849         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20850         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20851         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20852         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20853         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20854         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20855         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20856         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20857         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20858         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20859         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20860         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20861         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20862         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20863         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20864         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20865         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20866         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20867         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20868         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20869         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20870         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20871         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20872         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20873         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20874         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20875         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20876         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20877         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20878         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20879         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20880         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20881         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20882         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20883         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20884         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20885         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20886         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20887         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20888         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20889         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20890         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20891         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20892         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20893         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20894         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20895         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20896         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20897         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20898         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20899         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20900         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20901         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20902         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20903         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20904         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20905         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20906         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20907         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20908         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20909         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20910         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20911         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20912         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20913         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20914         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20915         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20916         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20917         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20918         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20919         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20920         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20921         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20922         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20923         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20924         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20925         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20926         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20927         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20928         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20929         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20930         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20931         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20932         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20933         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20934         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20935         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20936         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20937         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20938         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20939         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20940         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20941         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20943         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20944         _XOPEN_SOURCE_EXTENDED for XPG4.
20946         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20948         * Makeconfig (localtime): Remove variable.
20949         (inst_localtime-file): Likewise.
20951 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20954         Update.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20956         Update.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20958         Update.
20959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20960         Update.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20962         Update.
20963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20964         Update.
20965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20966         Update.
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20968         Update.
20969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20970         Update.
20972 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20974         [BZ #2550]
20975         [BZ #2570]
20976         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20977         comparisons to determine direction to adjust input.
20978         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20979         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20980         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20981         Likewise.
20982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20983         Likewise.
20984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20985         Likewise.
20986         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20987         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20988         Likewise.
20989         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20990         Likewise.
20991         * math/libm-test.inc (nexttoward_test): Add more tests.
20993 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20995         [BZ #14040]
20996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20997         in version GLIBC_2.1, not GLIBC_2.0.
20998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20999         Likewise.
21001 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #13942]
21004         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21005         (1 - x) * (1 + x).
21006         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21007         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21008         * math/libm-test.inc (acos_test): Add more tests.
21009         (asin_test): Likewise.
21010         * sysdeps/i386/fpu/libm-test-ulps: Update.
21011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21013         [BZ #14034]
21014         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21015         of square root.
21016         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21017         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21018         * math/libm-test.inc (acos_test_tonearest): New function.
21019         (acos_test_towardzero): Likewise.
21020         (acos_test_downward): Likewise.
21021         (acos_test_upward): Likewise.
21022         (asin_test_tonearest): Likewise.
21023         (asin_test_towardzero): Likewise.
21024         (asin_test_downward): Likewise.
21025         (asin_test_upward): Likewise.
21026         (main): Call the new functions.
21027         * sysdeps/i386/fpu/libm-test-ulps: Update.
21028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21030         [BZ #13884]
21031         [BZ #13924]
21032         * math/e_exp10.c: Include <float.h>.
21033         (__ieee754_exp10): Handle underflow here rather than multiplying
21034         large negative argument by M_LN10.
21035         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21036         of __ieee754_expf.
21037         * math/e_exp10l.c: Include <float.h>.
21038         (__ieee754_exp10l): Handle underflow here rather than multiplying
21039         large negative argument by M_LN10l.
21040         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21041         spurious overflow exception on underflow.
21043 2012-04-29  Marek Polacek  <polacek@redhat.com>
21045         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21046         (__fortify_function): New macro.
21047         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21048         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21049         __extern_always_inline.
21050         * libio/bits/stdio2.h: Likewise.
21051         * libio/bits/stdio.h: Likewise.
21052         * string/string.h: Likewise.
21053         * string/bits/string3.h: Likewise.
21054         * include/stdio.h: Likewise.
21055         * stdlib/bits/stdlib.h: Likewise.
21056         * stdlib/stdlib.h: Likewise.
21057         * rt/bits/mqueue2.h: Likewise.
21058         * rt/mqueue.h: Likewise.
21059         * posix/bits/unistd.h: Likewise.
21060         * posix/unistd.h: Likewise.
21061         * io/bits/poll2.h: Likewise.
21062         * io/bits/fcntl2.h: Likewise.
21063         * io/fcntl.h: Likewise.
21064         * io/sys/poll.h: Likewise.
21065         * misc/bits/syslog.h: Likewise.
21066         * misc/bits/syslog-ldbl.h: Likewise.
21067         * misc/sys/syslog.h: Likewise.
21068         * socket/bits/socket2.h: Likewise.
21069         * socket/sys/socket.h: Likewise.
21070         * debug/tst-chk1.c: Likewise.
21071         * wcsmbs/bits/wchar2.h: Likewise.
21072         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21073         * wcsmbs/wchar.h: Likewise.
21075 2012-04-29  Andreas Jaeger  <aj@suse.de>
21077         * Makerules (tests): Remove enable-check-abi protection.
21078         (check-abi-warn): Remove.
21079         (check-abi-%): Remove check-abi-warn usage.
21081         * configure.in: Remove check-abi configure option.
21082         * configure: Regenerated.
21083         * config.make.in (enable-check-abi): Remove.
21085 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21087         [BZ #14033]
21088         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21089         double functions to double *_finite functions.
21091         [BZ #13941]
21092         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21093         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21094         LDBL_MIN_EXP.
21095         * stdio-common/Makefile (tests): Add tst-sprintf3.
21096         * stdio-common/tst-sprintf3.c: New file.
21098         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21099         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21101 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21103         * conform/conformtest.pl: Remove duplicate typed-constant
21104         handling.
21106 2012-04-28  David S. Miller  <davem@davemloft.net>
21108         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21109         (check-abi-%): Remove AWK script prerequisite and explicit
21110         abilist directory.
21111         (check-abi): Rewrite to just diff the symlist with the abilist.
21112         (config-tls, config-abi-config): Delete, no longer used.
21113         (update-abi-%): Remove AWK script and explicit abilist directory.
21114         (update-abi): Rewrite to simply compare and conditionally copy the
21115         symlist and the sysdep abilist file.  Remove update-abi-config
21116         checks.
21117         * abilist/ld.abilist: Remove.
21118         * abilist/libBrokenLocale.abilist: Remove.
21119         * abilist/libanl.abilist: Remove.
21120         * abilist/libcrypt.abilist: Remove.
21121         * abilist/libdl.abilist: Remove.
21122         * abilist/librt.abilist: Remove.
21123         * abilist/libthread_db.abilist: Remove.
21124         * abilist/libutil.abilist: Remove.
21125         * scripts/extract-abilist.awk: Remove.
21126         * scripts/merge-abilist.awk: Remove.
21127         * sysdeps/generic/libcidn.abilist: New file.
21128         * sysdeps/generic/libnss_compat.abilist: New file.
21129         * sysdeps/generic/libnss_db.abilist: New file.
21130         * sysdeps/generic/libnss_dns.abilist: New file.
21131         * sysdeps/generic/libnss_files.abilist: New file.
21132         * sysdeps/generic/libnss_hesiod.abilist: New file.
21133         * sysdeps/generic/libnss_nis.abilist: New file.
21134         * sysdeps/generic/libnss_nisplus.abilist: New file.
21135         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21136         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21137         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21138         file.
21139         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21140         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21141         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21142         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21143         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21144         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21145         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21146         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21147         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21148         file.
21149         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21150         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21151         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21152         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21153         file.
21154         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21155         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21156         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21157         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21158         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21159         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21160         file.
21161         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21162         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21163         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21164         file.
21165         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21167         New file.
21168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21169         New file.
21170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21171         New file.
21172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21173         New file.
21174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21175         New file.
21176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21177         New file.
21178         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21179         New file.
21180         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21181         New file.
21182         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21183         New file.
21184         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21185         New file.
21186         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21187         New file.
21188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21189         New file.
21190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21191         New file.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21193         file.
21194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21195         New file.
21196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21197         New file.
21198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21199         file.
21200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21201         New file.
21202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21203         New file.
21204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21205         file.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21207         New file.
21208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21209         New file.
21210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21211         New file.
21212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21213         New file.
21214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21215         New file.
21216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21217         New file.
21218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21220         file.
21221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21222         New file.
21223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21224         file.
21225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21226         file.
21227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21228         file.
21229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21230         file.
21231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21232         file.
21233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21234         New file.
21235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21236         file.
21237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21238         file.
21239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21240         New file.
21241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21242         file.
21243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21245         file.
21246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21247         New file.
21248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21249         file.
21250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21251         file.
21252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21253         file.
21254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21255         file.
21256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21257         file.
21258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21259         New file.
21260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21261         file.
21262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21263         file.
21264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21265         New file.
21266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21267         file.
21268         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21269         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21270         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21271         file.
21272         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21273         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21274         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21275         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21276         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21277         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21278         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21279         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21280         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21281         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21284         file.
21285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21286         New file.
21287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21288         file.
21289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21290         file.
21291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21292         file.
21293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21294         file.
21295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21296         file.
21297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21298         New file.
21299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21300         New file.
21301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21302         file.
21303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21304         New file.
21305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21306         file.
21307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21309         file.
21310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21311         New file.
21312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21313         file.
21314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21315         file.
21316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21317         file.
21318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21319         file.
21320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21321         file.
21322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21323         New file.
21324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21325         New file.
21326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21327         file.
21328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21329         New file.
21330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21331         file.
21333 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21335         * conform/conformtest.pl: Fix typo in handling typed-constant from
21336         allow-header.
21338 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21340         * README: Cut down references to pre-2.6 Linux kernels and
21341         Linuxthreads.  Update lists of configurations in libc and ports
21342         and sort alphabetically.  Say "or newer" with Linux kernel version
21343         requirements.
21345         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21347 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21349         [BZ #887]
21350         * math/libm-test.inc (logb_test_downward): New test to expose
21351         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21352         rounding mode.
21354 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21356         [BZ #14027]
21357         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21358         to be done.
21359         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21360         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21362 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21364         * sysdeps/unix/i386/brk.S: Remove file.
21365         * sysdeps/unix/i386/dl-brk.S: Likewise.
21366         * sysdeps/unix/i386/pipe.S: Likewise.
21367         * sysdeps/unix/i386/sigreturn.S: Likewise.
21368         * sysdeps/unix/i386/syscall.S: Likewise.
21369         * sysdeps/unix/i386/vfork.S: Likewise.
21370         * sysdeps/unix/i386/wait.S: Likewise.
21372         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21373         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21375         * configure.in (arm*-none*): Do not allow without
21376         --enable-hacker-mode.
21377         (netbsd*): Remove case setting base_os.
21378         (386bsd*): Likewise.
21379         (freebsd*): Likewise.
21380         (bsdi*): Likewise.
21381         (osf*): Likewise.
21382         (sunos*): Likewise.
21383         (ultrix*): Likewise.
21384         (newsos*): Likewise.
21385         (dynix*): Likewise.
21386         (*bsd*): Likewise.
21387         (sysv*): Likewise.
21388         (isc*): Likewise.
21389         (esix*): Likewise.
21390         (sco*): Likewise.
21391         (minix*): Likewise.
21392         (irix4*): Likewise.
21393         (irix6*): Likewise.
21394         (solaris[2-9]*): Likewise.
21395         (none): Likewise.
21396         * configure: Regenerated.
21398 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21400         [BZ #11521]
21401         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21402         overflow or cancellation in calculating denominator.
21403         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21404         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21405         down expression to avoid unexpected rounding in newer GCCs.
21406         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21408 2012-04-26  David S. Miller  <davem@davemloft.net>
21410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21411         long-double compat symbols.
21412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21426 2012-04-25  David S. Miller  <davem@davemloft.net>
21428         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21429         HWCAP_* values only after the memory barriers have been defined.
21430         (atomic_full_barrier): Define.
21431         (atomic_read_barrier): Define.
21432         (atomic_write_barrier): Define.
21434 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21436         * shlib-versions: Add libgcc_s version information.
21437         * sysdeps/generic/libgcc_s.h: Remove.
21438         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21439         libgcc_s.h.
21440         * sysdeps/gnu/unwind-resume.c: Likewise.
21441         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21443 2012-04-25  David S. Miller  <davem@davemloft.net>
21445         * sysdeps/unix/sparc/brk.S: Delete.
21446         * sysdeps/unix/sparc/dl-brk.S: Delete.
21447         * sysdeps/unix/sparc/pipe.S: Delete.
21448         * sysdeps/unix/sparc/sysdep.S: Delete.
21449         * sysdeps/unix/sparc/sysdep.h: Delete.
21450         * sysdeps/unix/sparc/vfork.S: Delete.
21451         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21452         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21454         ret_ERRVAL, r0, r1, MOVE): Define.
21455         (JUMPTARGET): Remove.
21456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21457         sysdeps/unix/sparc/sysdep.h
21458         (ENTRY, END): Remove.
21459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21461 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21463         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21464         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21465         -DIS_IN_build.
21467         * timezone/README: Update upstream location and email address for
21468         tzcode and tzdata.
21469         * timezone/zdump.c: Update from tzcode 2012b.
21470         * timezone/zic.c: Likewise.
21472         * configure.in (libc_cv_as_needed): Remove test.
21473         * configure: Regenerated.
21474         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21475         conditional definition.
21476         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21477         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21478         * config.make.in (have-as-needed): Remove variable.
21480 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21481             Paul Pluzhnikov  <ppluzhnikov@google.com>
21483         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21484         strings correctly.
21486 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21488         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21489         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21490         * sysdeps/sh/strlen.S: Likewise.
21492 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21494         * sysdeps/unix/fork.S: Remove file.
21495         * sysdeps/unix/i386/fork.S: Likewise.
21496         * sysdeps/unix/sparc/fork.S: Likewise.
21498         * sysdeps/unix/system.c: Remove file.
21499         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21501         * sysdeps/unix/getegid.S: Remove file.
21502         * sysdeps/unix/geteuid.S: Likewise.
21504 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21506         * scripts/check-localplt.awk: New file.
21507         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21508         of diff.
21509         * scripts/data/localplt-generic.data: Add a comment.
21511         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21512         NODE when __dir_mkfile failed.
21513         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21514         Reported by Ludovic Courtès <ludo@gnu.org>.
21516 2012-04-24  Andreas Jaeger  <aj@suse.de>
21518         * Makerules (common-clean): Also remove gen-as-const-headers
21519         files.
21521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21523         * Makerules (native-compile): Do not change working directory for
21524         build.  Use $(OUTPUT_OPTION) in command.
21525         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21527 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21529         [BZ #13886]
21530         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21531         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21532         * math/libm-test.inc (floor_test): Add more tests.
21533         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21535 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21537         * sysdeps/unix/getdents.c: Remove file.
21538         * sysdeps/unix/sysv/getdents.c: Likewise.
21539         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21541         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21542         sysdeps/unix/mman/syscalls.list.
21543         (mmap): Likewise.
21544         (mprotect): Likewise.
21545         (msync): Likewise.
21546         (munmap): Likewise.
21547         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21548         * sysdeps/unix/mman/syscalls.list: Remove.
21549         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21551         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21552         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21553         * configure: Regenerated.
21554         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21555         $(libgcc_s_suffix).
21556         * config.make.in (libgcc_s_suffix): Remove variable.
21558 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21560         * sysdeps/unix/sysv/gethostname.c: Move to ...
21561         * sysdeps/posix/gethostname.c: ... here.
21563         * sysdeps/unix/execve.S: Remove file.
21565         * sysdeps/unix/_exit.S: Remove file.
21567 2012-04-23  Andreas Jaeger  <aj@suse.de>
21569         [BZ #13739]
21570         * manual/Makefile: Remove make dist support, there's no
21571         need for a stand-alone documentation tar ball.
21572         (TEXI2DVI): Define always, it's not in Makeconfig.
21573         (dist): Removed.
21574         (tar-it): Removed.
21575         (edition): Removed.
21576         (glibc-doc-$(edition).tar): Removed
21577         (%.Z): Removed.
21578         (%.gz): Removed.
21579         (%.uu): Removed.
21580         (ETAGS): Remove, it's in Makeconfig.
21581         (move-if-change): Remove, it's in Makeconfig.
21583 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21585         [BZ #13970]
21586         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21587         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21588         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21589         (strtod_l, strtof_l, strtold_l): Remove __wur.
21590         It is not necessarily an error to ignore strtol's return value.
21591         One can reliably look at the stored endptr to decide whether
21592         the number had valid syntax.
21594 2012-04-21  Andreas Jaeger  <aj@suse.de>
21596         [BZ #13739]
21597         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21599 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21601         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21602         * sysdeps/unix/sysv/Versions: Remove file.
21604 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21606         [BZ #13927]
21607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21609 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21611         [BZ #7064]
21612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21613         version from __vm86.
21615 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21617         * sysdeps/unix/common/lxstat.c: Remove file.
21618         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21620         * sysdeps/unix/sysv/Makefile: Remove file.
21622         * sysdeps/unix/sysv/direct.h: Remove file.
21624         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21625         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21626         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21627         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21628         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21629         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21630         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21632         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21634         * sysdeps/unix/xmknod.c: Remove file.
21635         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21637         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21639         * sysdeps/unix/sysv/i386/time.S: Remove file.
21641         * sysdeps/unix/fxstat.c: Remove file.
21642         * sysdeps/unix/xstat.c: Likewise.
21643         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21645         * sysdeps/unix/sysv/sigaction.c: Remove file.
21647         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21648         (sysdep_headers): Remove variable.
21649         [termio.h not in sysdep_headers] (generated): Likewise.
21650         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21651         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21652         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21653         * sysdeps/unix/sysv/tcflow.c: Likewise.
21654         * sysdeps/unix/sysv/tcflush.c: Likewise.
21655         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21656         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21657         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21658         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21659         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21661         * sysdeps/unix/siglist.c: Remove file.
21663         * sysdeps/unix/getppid.S: Remove file.
21665         * sysdeps/unix/mkdir.c: Remove file.
21666         * sysdeps/unix/rmdir.c: Likewise.
21668 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21670         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21671         ERR_MAX value.
21672         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21673         errlist-compat value.
21675 2012-04-18  David S. Miller  <davem@davemloft.net>
21677         * sysdeps/generic/memcopy.h (reg_char): Delete.
21678         * debug/strcat_chk.c: Use char, not reg_char.
21679         * debug/strcpy_chk.c: Likewise.
21680         * debug/strncat_chk.c: Likewise.
21681         * debug/strncpy_chk.c: Likewise.
21682         * string/memchr.c: Likewise.
21683         * string/memrchr.c: Likewise.
21684         * string/rawmemchr.c: Likewise.
21685         * string/strcat.c: Likewise.
21686         * string/strchr.c: Likewise.
21687         * string/strchrnul.c: Likewise.
21688         * string/strcmp.c: Likewise.
21689         * string/strcpy.c: Likewise.
21690         * string/strncat.c: Likewise.
21691         * string/strncmp.c: Likewise.
21692         * string/strncpy.c: Likewise.
21694 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21696         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21697         __builtin_memcopy is called when src and dest ranges are known to not
21698         overlap.
21700 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21702         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21703         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21704         fwd_align_merge macro call.
21705         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21706         bwd_align_merge macro call.
21707         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21709 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21711         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21712         bwd_align_merge macros.
21713         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21714         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21715         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21717 2012-04-18  David S. Miller  <davem@davemloft.net>
21719         * sysdeps/sparc/sparc64/memcopy.h: Delete.
21721 2012-04-18  Andreas Jaeger  <aj@suse.de>
21723         [BZ# 6794]
21724         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21725         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21726         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21728         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21729         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21730         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21732         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21733         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21734         Adjust for changed ldbl-128 files.
21736         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21737         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21738         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21740 2012-04-17  David S. Miller  <davem@davemloft.net>
21742         * sysdeps/sparc/sparc32/memcopy.h: Delete.
21744 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
21746         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21747         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21748         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21749         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21750         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21751         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21753 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21755         [BZ #6794]
21756         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21757         * math/libm-test.inc: Add ilogb errno and exception tests.
21758         * math/w_ilogb.c: New file: ilogb wrapper.
21759         * math/w_ilogbf.c: New file: ilogbf wrapper.
21760         * math/w_ilogbl.c: New file: ilogbl wrapper.
21761         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21762         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21763         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21764         exception being thrown with 0.0 as argument.
21765         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21766         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21767         exception being thrown with 0.0 as argument.
21768         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21769         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21770         exception being thrown with 0.0 as argument.
21771         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21772         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21773         exception being thrown with 0.0 as argument.
21774         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21775         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21777         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21778         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21779         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21780         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21781         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21782         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21784 2012-04-17  Petr Baudis  <pasky@ucw.cz>
21786         * include/sys/uio.h: Change __vector to __iovec to avoid clash
21787         with altivec.
21789 2012-04-16  Marek Polacek  <polacek@redhat.com>
21791         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21793 2012-04-16  Marek Polacek  <polacek@redhat.com>
21795         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21796         operands of fdivp instruction.
21798 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21800         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21801         * elf/tst-auditmod3b.c: Likewise.
21802         * elf/tst-auditmod4b.c: Likewise.
21803         * elf/tst-auditmod5b.c: Likewise.
21804         * elf/tst-auditmod6b.c: Likewise.
21805         * elf/tst-auditmod6c.c: Likewise.
21806         * elf/tst-auditmod7b.c: Likewise.
21807         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21808         * sysdeps/x86_64/preconfigure.in: Likewise.
21809         * sysdeps/x86_64/preconfigure: Regenerated.
21811 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21813         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21814         __ILP32__.
21816 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
21818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21819         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21821 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
21823         [BZ #13973]
21824         * locale/iso-639.def: Fix gl language name. Spotted by
21825         Yaron Shahrabani.
21827 2012-04-12  Roland McGrath  <roland@hack.frob.com>
21829         [BZ #2074]
21830         * libio/libio.h (__io_write_fn): Update comment.
21832 2012-04-12  Petr Baudis  <pasky@ucw.cz>
21834         [BZ #2074]
21835         * stdio.texi (Hook Functions): The user provided writer function
21836         is not allowed to return -1.
21838 2012-04-11  David S. Miller  <davem@davemloft.net>
21840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21842 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
21844         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21845         Add a leading slash to rtkaio.
21847 2012-04-11  Jim Meyering  <meyering@redhat.com>
21849         [BZ #11959]
21850         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21851         It is not necessarily an error to ignore fwrite's return
21852         value.  One can reliably use ferror to test for errors after
21853         the fact.
21855 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21857         * bits/types.h (__snseconds_t): New type.
21858         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21860         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21862         (__SNSECONDS_T_TYPE): Likewise.
21863         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21864         (__SNSECONDS_T_TYPE): Likewise.
21865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21866         (__SNSECONDS_T_TYPE): Likewise.
21868 2012-04-10  Andreas Jaeger  <aj@suse.de>
21870         [BZ #2636]
21871         * manual/time.texi (Processor Time): Return type of times is
21872         elapsed real time since an arbitrary point in the past.
21873         (CPU Time): Move CLK_TCK from here...
21874         (Processor Time): ...to here.  Correct description.
21875         * manual/conf.texi (Constants for Sysconf): Correct description of
21876         _SC_CLK_TCK.
21878 2012-04-10  David S. Miller  <davem@davemloft.net>
21880         [BZ #13967]
21881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21882         where the is a gap between DT_REL(A) and DT_JMPREL.
21884 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
21886         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21887         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21888         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21890 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21892         * elf/dl-support.c (_dl_inhibit_cache): New variable.
21893         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21894         (dl_main): Handle --inhibit-cache.
21895         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21896         _dl_inhibit_cache.
21897         * elf/dl-load.c (_dl_map_object): Use it.
21898         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21900 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21902         [BZ #13872]
21903         * sysdeps/i386/fpu/e_powl.S (p78): New object.
21904         (__ieee754_powl): Saturate large exponents rather than testing for
21905         overflow of y*log2(x).
21906         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21907         * math/libm-test.inc (pow_test): Do not permit spurious overflow
21908         exceptions.
21910         [BZ #11521]
21911         * math/s_ctan.c: Include <float.h>.
21912         (__ctan): Avoid internal overflow or cancellation in calculating
21913         denominator.
21914         * math/s_ctanf.c: Likewise.
21915         * math/s_ctanl.c: Likewise.
21916         * math/s_ctanh.c: Likewise.
21917         * math/s_ctanhf.c: Likewise.
21918         * math/s_ctanhl.c: Likewise.
21919         * math/libm-test.inc (ctan_test): Add more tests.
21920         (ctanh_test): Likewise.
21921         * sysdeps/i386/fpu/libm-test-ulps: Update.
21922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924 2012-04-09  Andreas Jaeger  <aj@suse.de>
21926         [BZ #6894]
21927         * manual/filesys.texi (Directory Entries): Mention that d_namlen
21928         is an optional BSD extension.
21930         [BZ #10254]
21931         * manual/stdio.texi (Opening Streams): Document additional fopen
21932         parameters.
21934 2012-04-09  Roland McGrath  <roland@hack.frob.com>
21936         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21937         %eax without telling the compiler.
21939 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
21941         [BZ # 13963]
21942         * manual/install.texi: Use sourceware.org.
21944 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
21946         [BZ #13873]
21947         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21948         (__ieee754_pow): Generate overflow and underflow using huge*huge
21949         and tiny*tiny rather than just returning constant infinity or zero
21950         for large exponents.
21951         * math/libm-test.inc (pow_test): Require overflow exceptions for
21952         applicable cases of large exponents.
21954         [BZ #706]
21955         * sysdeps/i386/fpu/e_pow.S (p10): New object.
21956         (__ieee754_pow): Use iterative multiplication algorithm only for
21957         integer exponents with absolute value below 1024.  Check for odd
21958         integer exponents when using algorithm for real exponents.
21959         * math/libm-test.inc (pow_test): Add more tests.
21960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21962 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
21964         [BZ #13705]
21965         * math/libm-test.inc (exp_test): Do not allow overflow exception
21966         on underflow test.
21968 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
21970         [BZ #13705]
21971         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21972         instead of __kernel_standard_f.
21974 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
21976         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21977         * sysdeps/x86_64/memset_chk.S: Likewise.
21979 2012-04-08  Andreas Jaeger  <aj@suse.de>
21981         [BZ #10153]
21982         * manual/startup.texi (Environment Access): Describe return value
21983         for putenv and setenv.
21985         [BZ #6895]
21986         * manual/filesys.texi (Directory Entries): Add description for
21987         DT_LNK.
21989         [BZ #6890]
21990         * manual/filesys.texi (Directory Entries): Clarify that it's file
21991         system not operating system in the description of DT_UNKNOWN.
21993         [BZ #6578]
21994         * manual/syslog.texi (closelog): Fix reference, it's openlog.
21996 2012-04-08  Stephen Compall  <s11@member.fsf.org>
21998         [BZ #6649]
21999         * manual/llio.texi (Opening and Closing Files): Add cross
22000         reference to explain mode argument.
22002 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22004         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22005         * sysdeps/x86_64/memset_chk.S: Likewise.
22007 2012-04-07  David S. Miller  <davem@davemloft.net>
22009         * elf/elf.h (R_SPARC_WDISP10): Define.
22010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22011         R_SPARC_SIZE32.
22012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22013         R_SPARC_SIZE64 and R_SPARC_H34.
22015 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22017         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22018         conditions and remove no longer applicable assertion.
22020 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22022         * bits/byteswap.h: Include <features.h>.
22023         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22024         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22026 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22028         * bits/byteswap.h (__bswap_16): Removed.
22029         Include <bits/byteswap-16.h> to get __bswap_16.
22030         * sysdeps/i386/bits/byteswap.h: Likewise.
22031         * sysdeps/s390/bits/byteswap.h: Likewise.
22032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22033         * bits/byteswap-16.h: New file.
22034         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22035         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22036         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22037         * string/Makefile (headers): Add bits/byteswap-16.h.
22039 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22041         [BZ #13895]
22042         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22043         extra indirection.
22044         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22045         * nss/tst-nss-static.c: New.
22047 2012-04-06  Robert Millan  <rmh@gnu.org>
22049         [BZ #6486]
22050         * manual/llio.texi (File Position Primitive): lseek
22051         refers to WHENCE when it really means OFFSET.
22053 2012-04-06  Andreas Jaeger  <aj@suse.de>
22055         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22056         strncmp declarations.
22058         * abilist/libc.abilist: Add __poll and __ppoll.
22060 2012-04-05  David S. Miller  <davem@davemloft.net>
22062         * scripts/check-local-headers.sh: Accept a host triplet in the
22063         path matched by the exclude regexp.
22065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22066         definition.
22067         * sysdeps/powerpc/powerpc32/dl-machine.h
22068         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22069         * sysdeps/s390/s390-32/dl-machine.h
22070         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22071         * sysdeps/sparc/sparc32/dl-machine.h
22072         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22073         * sysdeps/sparc/sparc64/dl-machine.h
22074         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22076         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22077         lazy binding.
22078         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22079         undefined symbol errors.
22081         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22082         DT_NEEDED entries.
22084 2012-04-05  Michael Matz  <matz@suse.de>
22086         [BZ #13592]
22087         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22089 2012-04-05  Andreas Jaeger  <aj@suse.de>
22091         [BZ #13908]
22092         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22093         comment.
22095 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22097         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22098         which ROUND is no valid rounding mode.
22100 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22103         read again.
22104         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22106 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22108         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22109         an exception using FPU order intentionally.
22111 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22113         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22114         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22115         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22116         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22118 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22120         [BZ #12340]
22121         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22122         EINVAL when BUFLEN is too smal.
22124 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22126         [BZ #13553]
22127         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22128         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22130 2012-04-03  Andreas Jaeger  <aj@suse.de>
22132         [BZ #13938]
22133         * manual/setjmp.texi (System V contexts): Fix sentence.
22135         [BZ #13926]
22136         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22137         New macro for this case.
22138         [!__GNUC__] (__bswap_64): New inline function for this case.
22139         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22140         * bits/byteswap.h: Likewise.
22141         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22142         ull, guard with __GLIBC_HAVE_LONG_LONG.
22144         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22145         __GLIBC_HAVE_LONG_LONG.
22147         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22148         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22150 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22152         [BZ #13691]
22153         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22154         inptr and inend, rather than using last_ch.
22156 2012-04-02  David S. Miller  <davem@davemloft.net>
22158         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22159         * stdio-common/printf-parse.h (read_int): Change return type to
22160         'int', return -1 on INT_MAX overflow.
22161         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22162         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22163         overflows INT_MAX.  Check for overflow of in-format-string precision
22164         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22165         SIZE_MAX not INT_MAX for integer overflow test.
22166         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22167         skip the construct in the format string but do not record anything.
22168         * stdio-common/bug22.c: Adjust to test both width/prevision
22169         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22170         explicitly for proper errno values.
22172 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22174         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22175         CHAR_MAX.
22176         * string/test-strcmp.c [! WIDE]: Likewise.
22177         * time/tst-mktime2.c: Likewise for INT_MAX.
22178         * string/test-string.h: #include <sys/param.h> for MIN.
22180         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22181         * sysdeps/i386/init-first.c (init): Likewise.
22182         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22183         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22184         * sysdeps/sh/init-first.c (init): Likewise.
22186 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22188         * po/ru.po: Update from translation team.
22189         * po/vi.po: Likewise.
22191 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193         * resolv/nss_dns/dns-host.c: Merge copyright years.
22195 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22197         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22198         Optimize memcpy with prefetch if
22199         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22200         src, dst pointers have unequal 16 byte alignments.
22202 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22204         [BZ #13928]
22205         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22206         from a CNAME entry and return the minimum ttl for the query.
22207         (gaih_getanswer_slice): Likewise.
22209 2012-03-30  Jeff Law  <law@redhat.com>
22211         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22212         due to long keys.
22213         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22214         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22216         * resolv/nss_dns/dns-host.c: Update copyright year.
22218 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22220         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22221         requests to save a system call.  Fix check that all bytes are sent.
22223         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22224         comments for sendmmsg.
22226 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22228         [BZ #13691]
22229         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22230         with only 1 character between 0x0041 and 0x01b0.
22231         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22232         * wcsmbs/tst-mbsnrtowcs.c: New file.
22234 2012-03-29  David S. Miller  <davem@davemloft.net>
22236         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22237         small copies by hand.
22239 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22241         [BZ #13761]
22242         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22243         _nss_compat_initgroups_dyn): Fall back to malloc/free
22244         for large group memberships.
22246 2012-03-28  David S. Miller  <davem@davemloft.net>
22248         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22249         that branches into memcpy.
22250         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22253         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22254         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22255         bits.
22256         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22257         implementation too.
22258         * sysdeps/sparc/mempcpy.S: New file.
22260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22261         the IFUNC routine in the libc case.
22262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22264         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22265         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22266         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22267         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22268         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22269         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22270         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22271         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22273         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22274         loop to 256 bytes instead of 64 bytes and fix test signedness.
22276         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22277         * sysdeps/sparc/sparc32/Makefile: rather than here...
22278         * sysdeps/sparc/sparc64/Makefile: and here.
22280 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22282         * malloc/mallocbug.c: Avoid warnings about unused variables.
22284 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         [BZ #13760]
22287         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22288         in the right place. Discard and retry query if response is
22289         larger than input buffer size.
22291 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22293         [BZ #369]
22294         [BZ #2678]
22295         [BZ #3866]
22296         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22297         x for large integer exponent.
22298         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22299         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22300         sign of result as needed afterwards.
22301         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22302         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22303         result for underflowing pow the same as for overflow.
22304         (__kernel_standard_l): Handle powl overflow and underflow here
22305         rather than calling __kernel_standard.
22306         * math/libm-test.inc (pow_test): Add more tests.
22308         [BZ #3868]
22309         [BZ #13879]
22310         [BZ #13910]
22311         [BZ #13911]
22312         [BZ #13912]
22313         [BZ #13913]
22314         [BZ #13915]
22315         [BZ #13916]
22316         [BZ #13917]
22317         [BZ #13918]
22318         [BZ #13919]
22319         [BZ #13920]
22320         [BZ #13921]
22321         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22322         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22323         (__kernel_standard_l): New function.
22324         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22325         __kernel_standard.
22326         * math/w_acosl.c (__acosl): Likewise.
22327         * math/w_asinl.c (__asinl): Likewise.
22328         * math/w_atan2l.c (__atan2l): Likewise.
22329         * math/w_atanhl.c (__atanhl): Likewise.
22330         * math/w_coshl.c (__coshl): Likewise.
22331         * math/w_exp10l.c (__exp10l): Likewise.
22332         * math/w_exp2l.c (__exp2l): Likewise.
22333         * math/w_fmodl.c (__fmodl): Likewise.
22334         * math/w_hypotl.c (__hypotl): Likewise.
22335         * math/w_j0l.c (__j0l, __y0l): Likewise.
22336         * math/w_j1l.c (__j1l, __y1l): Likewise.
22337         * math/w_jnl.c (__jnl, __ynl): Likewise.
22338         * math/w_lgammal.c (__lgammal): Likewise.
22339         * math/w_log10l.c (__log10l): Likewise.
22340         * math/w_log2l.c (__log2l): Likewise.
22341         * math/w_logl.c (__logl): Likewise.
22342         * math/w_powl.c (__powl): Likewise.
22343         * math/w_remainderl.c (__remainderl): Likewise.
22344         * math/w_scalbl.c (sysv_scalbl): Likewise.
22345         * math/w_sinhl.c (__sinhl): Likewise.
22346         * math/w_sqrtl.c (__sqrtl): Likewise.
22347         * math/w_tgammal.c (__tgammal): Likewise.
22348         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22349         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22350         * math/libm-test.inc (acos_test): Add more tests.
22351         (acosh_test): Likewise.
22352         (asin_test): Likewise.
22353         (atanh_test): Likewise.
22354         (exp_test): Likewise.
22355         (exp10_test): Likewise.
22356         (exp2_test): Likewise.
22357         (expm1_test): Likewise.
22358         (lgamma_test): Likewise.
22359         (log_test): Likewise.
22360         (log10_test): Likewise.
22361         (log1p_test): Likewise.
22362         (log2_test): Likewise.
22363         (pow_test): Do not allow some spurious overflow exceptions.
22364         (sqrt_test): Add more tests.
22365         (tgamma_test): Likewise.
22366         (y0_test): Likewise.
22367         (y1_test): Likewise.
22368         (yn_test): Likewise.
22370 2012-03-27  Anton Blanchard  <anton@samba.org>
22372         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22373         MAP_HUGETLB.
22374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22378 2012-03-27  David S. Miller  <davem@davemloft.net>
22380         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22382         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22383         have-as-vis3 check.
22385 2012-03-27  Andreas Jaeger  <aj@suse.de>
22387         * sysdeps/x86_64/elf/configure.in: Moved to ...
22388         * sysdeps/x86_64/configure.in: ... here.
22389         * sysdeps/x86_64/elf/start.S: Moved to ...
22390         * sysdeps/x86_64/start.S: ... here.
22391         * sysdeps/x86_64/elf/configure: Delete.
22393         * sysdeps/x86_64/configure.in: Merge contents from
22394         sysdeps/i386/configure.in (without i686 check).
22396         * sysdeps/i386/elf/Versions: Merge into ...
22397         * sysdeps/i386/Versions: ... this.
22398         * sysdeps/i386/elf/Versions: Delete file.
22399         * sysdeps/i386/elf/start.S: Moved to ...
22400         * sysdeps/i386/start.S: ...here.
22401         * sysdeps/i386/elf/configure.in: Merge into...
22402         * sysdeps/i386/configure.in: ...here.
22403         * sysdeps/i386/elf/configure.in: Delete file.
22404         * sysdeps/i386/elf/configure: Delete file.
22406         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22407         * debug/backtracesyms.c: ... here.
22408         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22409         * debug/backtracesymsfd.c: ... here.
22410         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22411         * sysdeps/generic/ifunc-sel.h: ... here.
22413         * sysdeps/unix/i386/start.c: Delete file.
22414         * sysdeps/unix/sparc/start.c: Delete file.
22415         * sysdeps/unix/start.c: Delete file.
22417         * sysdeps/sh/elf/configure.in: Moved to ...
22418         * sysdeps/sh/configure.in: ... here.
22419         * sysdeps/sh/elf/start.S: Moved to ...
22420         * sysdeps/sh/start.S: ... here.
22421         * sysdeps/sh/elf/configure: Delete file.
22423         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22424         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22425         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22426         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22427         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22428         * sysdeps/powerpc/powerpc64/start.S: here.
22429         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22430         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22431         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22432         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22433         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22435         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22436         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22437         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22438         * sysdeps/powerpc/powerpc32/start.S: ... here.
22439         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22440         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22441         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22443         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22444         * sysdeps/powerpc/ifunc-sel.h: ... here.
22445         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22446         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22448         * sysdeps/sparc/elf/configure.in: Moved to ...
22449         * sysdeps/sparc/configure.in: ... here.
22450         * sysdeps/sparc/elf/configure: Delete file.
22451         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22452         * sysdeps/sparc/sparc32/start.S: ... here.
22453         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22454         * sysdeps/sparc/sparc64/start.S: ... here.
22455         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22456         * sysdeps/sparc/sparc32/Makefile: ... this.
22457         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22458         * sysdeps/sparc/sparc64/Makefile: ... this.
22460         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22461         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22462         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22463         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22464         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22465         * sysdeps/s390/s390-32/setjmp.S: ... here.
22466         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22467         * sysdeps/s390/s390-32/configure.in: ... here.
22468         * sysdeps/s390/s390-32/elf/configure: Delete file.
22469         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22470         * sysdeps/s390/s390-32/start.S: ... here.
22472         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22473         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22474         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22475         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22476         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22477         * sysdeps/s390/s390-64/setjmp.S: ... here.
22478         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22479         * sysdeps/s390/s390-64/configure.in: ... here
22480         * sysdeps/s390/s390-64/elf/configure: Delete file.
22481         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22482         * sysdeps/s390/s390-64/start.S: ... here.
22483         * sysdeps/s390/s390-64/elf/configure: Delete.
22485         * configure.in: Remove support for elf directories in sysdeps.
22487         * configure: Regenerated.
22488         * sysdeps/i386/configure: Regenerated.
22489         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22490         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22491         * sysdeps/s390/s390-32/configure: Regenerated.
22492         * sysdeps/s390/s390-64/configure: Regenerated.
22493         * sysdeps/sh/configure: Regenerated.
22494         * sysdeps/sparc/configure: Regenerated.
22495         * sysdeps/x86_64/configure: Regenerated.
22497 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22501         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22502         denormal result into account.
22504 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22506         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22507         Reported by Allan McRae <allan@archlinux.org>.
22509 2012-03-23  Jeff Law  <law@redhat.com>
22511         * nss/getnssent.c (__nss_getent): Fix typo.
22513 2012-03-23  David S. Miller  <davem@davemloft.net>
22515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22517 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22519         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22520         to pad to uint64_t for each field.
22521         (dl_tls_index): Replace unsigned long with uint64_t.
22523 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22524         Paul Pluzhnikov  <ppluzhnikov@google.com>
22526         [BZ #6528]
22527         * grp/Makefile (otherlibs): Don't set it.
22528         * inet/Makefile (otherlibs): Likewise.
22529         * login/Makefile (otherlibs): Likewise.
22530         * nscd/Makefile (otherlibs): Likewise.
22531         * posix/Makefile (otherlibs): Likewise.
22532         * pwd/Makefile (otherlibs): Likewise.
22533         * rt/Makefile (otherlibs): Likewise.
22534         * sunrpc/Makefile (otherlibs): Likewise.
22535         * nss/Makefile (otherlibs): Likewise.
22536         Add libnss_files to routines and static-only-routines.
22537         ($(objpfx)getent): Remove rule.
22538         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22539         static-only-routines.
22541 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22543         [BZ #13892]
22544         * math/s_cexp.c: Include <float.h>.
22545         (__cexp): Handle exp result overflowing not necessarily
22546         overflowing both real and imaginary parts of result.
22547         * math/s_cexpf.c: Likewise.
22548         * math/s_cexpl.c: Likewise.
22549         * math/libm-test.inc (cexp_test): Add more tests.
22550         * sysdeps/i386/fpu/libm-test-ulps: Update.
22551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22555         * include/link.h (ELFW): New macro.
22556         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22557         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22559 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22561         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22562         with uint64_t.
22564 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22566         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22567         declaration.
22568         (struct La_x32_retval): Likewise.
22570 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22572         * sysdeps/x86_64/preconfigure.in: New file.
22573         * sysdeps/x86_64/preconfigure: New generated file.
22575 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22577         [BZ #13824]
22578         * math/e_exp2l.c: Include <float.h>.
22579         (__ieee754_exp2l): Handle overflow and underflow cases
22580         separately.  Only pass fractional part of argument to
22581         __ieee754_expl.
22582         * math/libm-test.inc (exp2_test): Add more tests.
22584         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22585         negating x to take absolute value.
22586         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22587         Likewise.
22588         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22589         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22590         Likewise.
22591         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22592         computing low part if x was negated.
22593         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22595 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22597         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22598         la_x32_gnu_pltexit.
22599         (pltexit): Cast int_retval to ptrdiff_t.
22600         * elf/tst-auditmod3b.c: Likewise.
22601         * elf/tst-auditmod4b.c: Likewise.
22602         * elf/tst-auditmod5b.c: Likewise.
22603         * elf/tst-auditmod6b.c: Likewise.
22604         * elf/tst-auditmod6c.c: Likewise.
22605         * elf/tst-auditmod7b.c: Likewise.
22607         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22608         and x32_gnu_pltexit.
22610         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22611         __ELF_NATIVE_CLASS.
22612         (La_x32_regs): New macro.
22613         (La_x32_retval): Likewise.
22614         (la_x32_gnu_pltenter): New function prototype.
22615         (la_x32_gnu_pltexit): Likewise.
22617 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22620         exponent.
22622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22624         * configure.in (libc_cv_cc_nofma): Check for option to disable
22625         generation of FMA instructions.
22626         * configure: Regenerate.
22627         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22628         * sysdeps/ieee754/dbl-64/Makefile: New file.
22629         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22630         Remove brandred-fma4.
22631         (CFLAGS-brandred-fma4.c): Remove.
22632         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22633         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22634         define.
22635         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22636         define.
22638 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22640         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22641         LLONG_MAX != LONG_MAX.
22642         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22643         (_fitoa_word): Likewise.
22644         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22645         LLONG_MAX != LONG_MAX.
22646         * stdio-common/_itowa.h: Include <_itoa.h>.
22647         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22648         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22649         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22650         only if not defined.
22651         (_ITOA_WORD_TYPE): Likewise.
22652         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22653         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22655 2012-03-21  David S. Miller  <davem@davemloft.net>
22657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22659 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22661         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22662         of x86_64 when setting libc_cv_slibdir, libdir and
22663         libc_cv_localedir.
22664         * sysdeps/unix/sysv/linux/configure: Regenerated.
22666 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22668         * manual/lang.texi (Old Varargs): Remove section.
22669         (How Variadic): Update menu.
22670         (va_start): Do not mention varargs.h.
22672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22673             Joseph Myers  <joseph@codesourcery.com>
22675         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22676         link test.
22677         * configure: Regenerated.
22679 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22681         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22682         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22683         conformtest.pl
22685 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22687         * NOTES: Remove.
22688         * Makefile (files-for-dist): Remove NOTES.
22689         (NOTES): Remove rule.
22690         * README: Don't refer to NOTES.
22691         * manual/creature.texi: Don't include macros.texi.
22692         * manual/intro.texi (creature.texi): Remove comment referring to
22693         NOTES.
22695         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22696         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22697         * configure: Regenerated.
22698         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22699         LIBC_TRY_CC_OPTION.
22700         (libc_cv_as_i686): Likewise.
22701         (libc_cv_cc_avx): Likewise.
22702         (libc_cv_cc_sse2avx): Likewise.
22703         (libc_cv_cc_fma4): Likewise.
22704         (libc_cv_cc_novzeroupper): Likewise.
22705         * sysdeps/i386/configure: Regenerated.
22707         [BZ #13883]
22708         * sysdeps/i386/fpu/s_cexp.S: Remove.
22709         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22710         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22711         * math/libm-test.inc (cexp_test): Add more tests.
22712         * sysdeps/i386/fpu/libm-test-ulps: Update.
22713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22715 2012-03-21  Allan McRae  <allan@archlinux.org>
22717         * timezone/Makefile: Do not install iso3166.tab and zone.tab
22719 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22721         [BZ #13871]
22722         * math/w_exp2.c: Do not include <float.h>.
22723         (o_threshold, u_threshold): Remove.
22724         (__exp2): Calculate result before checking finiteness and calling
22725         __kernel_standard.
22726         * math/w_exp2f.c: Likewise.
22727         * math/w_exp2l.c: Likewise.
22728         * math/libm-test.inc (exp2_test): Require overflow exception for
22729         1e6 input.
22731         [BZ #3866]
22732         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22733         range of signed 64-bit integers before using fistpll.  Remove
22734         checks for whether integers fit in mantissa bits.
22735         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22736         the range of signed 32-bit integers before using fistpl.  Remove
22737         checks for whether integers fit in mantissa bits.
22738         * sysdeps/i386/fpu/e_powl.S (p64): New object.
22739         (__ieee754_powl): Test for y outside the range of signed 64-bit
22740         integers before using fistpll.  Reduce 64-bit values to 63-bit
22741         ones as needed.
22742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22743         divide-by-zero is raised for zero to large negative powers.
22744         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22745         (__ieee754_powl): Test for y outside the range of signed 64-bit
22746         integers before using fistpll.  Reduce 64-bit values to 63-bit
22747         ones as needed.
22748         * math/libm-test.inc (pow_test): Add more tests.
22750 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22752         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22753         <stdio-common/_itoa.h>.
22754         * debug/segfault.c: Likewise.
22755         * elf/dl-cache.c: Likewise.
22756         * elf/dl-minimal.c: Likewise.
22757         * elf/dl-misc.c: Likewise.
22758         * elf/dl-sysdep.c: Likewise.
22759         * elf/dl-version.c: Likewise.
22760         * elf/rtld.c: Likewise.
22761         * hurd/hurdsock.c: Likewise.
22762         * hurd/lookup-retry.c: Likewise.
22763         * malloc/malloc.c: Likewise.
22764         * malloc/mtrace.c: Likewise.
22765         * nscd/nscd_getgr_r.c: Likewise.
22766         * nscd/nscd_getpw_r.c: Likewise.
22767         * nscd/nscd_getserv_r.c: Likewise.
22768         * posix/getopt_init.c: Likewise.
22769         * posix/wordexp.c: Likewise.
22770         * stdio-common/_itoa.c: Likewise.
22771         * stdio-common/printf_fphex.c: Likewise.
22772         * stdio-common/vfprintf.c: Likewise.
22773         * string/_strerror.c: Likewise.
22774         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22775         * sysdeps/i386/i686/hp-timing.h: Likewise.
22776         * sysdeps/mach/_strerror.c: Likewise.
22777         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22778         * sysdeps/mach/hurd/sethostid.c: Likewise.
22779         * sysdeps/mach/hurd/xmknodat.c: Likewise.
22780         * sysdeps/mach/xpg-strerror.c: Likewise.
22781         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22783         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22784         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22785         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22786         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22787         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22788         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22789         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22790         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22791         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22792         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22793         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22794         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22795         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22796         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22797         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22798         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22799         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22800         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22801         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22803         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22805         * stdio-common/_itoa.h: Moved to ...
22806         * sysdeps/generic/_itoa.h: Here.
22808         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22810         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22811         instead of "_itoa.h" and "_itowa.h".
22812         * stdio-common/vfprintf.: Likewise.
22814 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22816         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22817         <bits/wordsize.h>.
22818         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22819         (__signbit): Likwise.
22820         (llrintf): Likwise.
22821         (llrint): Likwise.
22823 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22825         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22826         __WORDSIZE != 64.
22828 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
22830         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22831         OVERFLOW_EXCEPTION_OK.
22832         * math/libm-test.inc ("Philosophy"): Update comment about
22833         exception testing.
22834         (OVERFLOW_EXCEPTION): Define.
22835         (OVERFLOW_EXCEPTION_OK): Likewise.
22836         (INVALID_EXCEPTION_OK): Renumber.
22837         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22838         (IGNORE_ZERO_INF_SIGN): Likewise.
22839         (test_exceptions): Handle FE_OVERFLOW.
22840         (exp10_test): Expect overflow exceptions.
22841         (exp2_test): Likewise.
22842         (expm1_test): Likewise.
22843         (nextafter_test): Likewise.
22844         (pow_test): Likewise.
22845         (scalbn_test): Likewise.
22846         (scalbln_test): Likewise.
22848 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22850         * sysdeps/x86_64/bits/atomic.h
22851         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22852         64bit integer.
22853         (atomic_exchange_acq): Likewise.
22854         (__arch_exchange_and_add_body): Likewise.
22855         (__arch_add_body): Likewise.
22856         (atomic_add_negative): Likewise.
22857         (atomic_add_zero): Likewise.
22859 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22861         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22862         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22864 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22866         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22867         Check __x86_64__ instead of __WORDSIZE.
22869 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22871         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22873 2012-03-19  David S. Miller  <davem@davemloft.net>
22875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22877         * sysdeps/sparc/fpu/fenv_private.h: New file.
22878         * sysdeps/sparc/fpu/math_private.h: Use it.
22879         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22880         Remove.
22881         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22882         (libc_feholdexcept_setroundl): Remove.
22883         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22884         Remove.
22885         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22886         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22890         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22891         int64_t instead of long int.
22892         (INSERT_WORDS64): Likwise.
22894 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
22896         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22897         _Unwind_GetCFA return to _Unwind_Ptr first.
22899 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
22901         [BZ #13629]
22902         * math/s_clog.c: Include <float.h>.
22903         (__clog): Scale large or subnormal inputs.
22904         * math/s_clogf.c: Likewise.
22905         * math/s_clogl.c: Likewise.
22906         * math/s_clog10.c: Include <float.h>.
22907         (M_LOG10_2): Define.
22908         (__clog10): Scale large or subnormal inputs.
22909         * math/s_clog10f.c: Likewise.
22910         * math/s_clog10l.c: Likewise.
22911         * math/libm-test.inc (clog_test): Add more tests.
22912         (clog10_test): Likewise.
22913         * sysdeps/i386/fpu/libm-test-ulps: Update.
22914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916         [BZ #11451]
22917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22918         x and y.
22919         * math/libm-test.inc (atan2_test): Add another test.
22921         * Makerules (common-objdir-compile): Remove.
22922         * sysdeps/unix/Makefile (config-generated): Do not add
22923         $(unix-generated) to variable.
22924         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22925         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22926         Remove rule.
22927         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22928         Likewise.
22929         [generic bits/local_lim.h] (before-compile): Do not append to
22930         variable.
22931         [generic bits/local_lim.h] (common-generated): Likewise.
22932         [generic sys/param.h] (before-compile): Do not append to variable.
22933         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22934         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22935         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22936         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22937         include.
22938         [generic sys/param.h] (sys/param.h-includes): Remove variable.
22939         [generic sys/param.h] (sys/param.h-includes): Remove rule.
22940         [generic sys/param.h] ($(addprefix
22941         $(common-objpfx),$(sys/param.h-includes))): Likewise.
22942         [generic sys/param.h] (common-generated): Do not append to
22943         variable.
22944         [generic sys/param.h] (sysdep_headers): Likewise.
22945         [generic bits/errno.h] (before-compile): Do not append to
22946         variable.
22947         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22948         rule.
22949         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22950         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22951         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22952         [generic bits/errno.h] (common-generated): Do not append to
22953         variable.
22954         [generic bits/ioctls.h] (before-compile): Do not append to
22955         variable.
22956         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22957         rule.
22958         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22959         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22960         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22961         rule.
22962         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22963         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22964         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22965         [generic bits/ioctls.h] (common-generated): Do not append to
22966         variable.
22967         [generic sys/syscall.h] (syscall.h): Remove variable.
22968         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22969         rule.
22970         [generic sys/syscall.h] (before-compile): Do not append to
22971         variable.
22972         [generic sys/syscall.h] (common-generated): Likewise.
22973         * sysdeps/unix/errnos-tmpl.c: Remove file.
22974         * sysdeps/unix/errnos.awk: Likewise.
22975         * sysdeps/unix/ioctls-tmpl.c: Likewise.
22976         * sysdeps/unix/ioctls.awk: Likewise.
22977         * sysdeps/unix/mk-local_lim.c: Likewise.
22978         * sysdeps/unix/snarf-ioctls: Likewise.
22980 2012-03-19  Richard Henderson  <rth@twiddle.net>
22982         * sysdeps/i386/fpu/fenv_private.h: New file.
22983         * sysdeps/i386/fpu/math_private.h: Use it.
22984         (math_opt_barrier, math_force_eval): Remove.
22985         (libc_feholdexcept_setround_53bit): Remove.
22986         (libc_feupdateenv_53bit): Remove.
22987         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22988         (math_opt_barrier, math_force_eval): Remove.
22989         (libc_feholdexcept): Remove.
22990         (libc_feholdexcept_setround): Remove.
22991         (libc_fetestexcept, libc_fesetenv): Remove.
22992         (libc_feupdateenv_test): Remove.
22993         (libc_feupdateenv, libc_feholdsetround): Remove.
22994         (libc_feresetround): Remove.
22996         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22997         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22999         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23000         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23001         (libc_feupdateenv_testl): New.
23002         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23003         (libc_feupdateenv_testf): New.
23004         (libc_feupdateenv): Use libc_feupdateenv_test.
23005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23006         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23008         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23009         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23010         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23011         (libc_feresetround_noex): New.
23012         (libc_feresetround_noexf): New.
23013         (libc_feresetround_noexl): New.
23014         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23015         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23016         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23017         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23018         SET_RESTORE_ROUND.
23019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23021         (__cos): Likewise.
23022         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23024         SET_RESTORE_ROUND_NOEX.
23025         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23026         SET_RESTORE_ROUND_NOEXF.
23027         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23028         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23029         (libc_feholdsetroundf): New.
23030         (libc_feresetround, libc_feresetroundf): New.
23032         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23033         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23034         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23036         * sysdeps/generic/math_private.h: Include <fenv.h>.
23037         (default_libc_feholdexcept): New.
23038         (default_libc_feholdexcept_setround): New.
23039         (default_libc_fesetenv, default_libc_feupdateenv): New.
23040         (libc_feholdexcept): Only define if undefined.
23041         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23042         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23043         (libc_feholdexcept_setroundl): Likewise.
23044         (libc_feholdexcept_setround_53bit): Likewise.
23045         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23046         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23047         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23048         (libc_feupdateenv_53bit): Likewise.
23049         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23050         (libc_feholdexcept): Convert from macro to inline function.
23051         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23052         (libc_fesetenv, libc_feupdateenv): Likewise.
23054         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23055         not previously defined.
23056         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23057         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23058         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23059         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23060         * sysdeps/ieee754/flt-32/math_private.h: New file.
23061         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23062         math_private.h below SET_FLOAT_WORD.
23063         (__isnan, __isinf_ns, __finite): Remove.
23064         (__isnanf, __isinf_nsf, __finitef): Remove.
23066 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23070 2012-03-17  David S. Miller  <davem@davemloft.net>
23072         [BZ #6471]
23073         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23074         for 2.16.
23076 2012-03-16  David S. Miller  <davem@davemloft.net>
23078         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23079         warnings.
23081         [BZ #6471]
23082         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23083         properly.
23084         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23085         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23086         sysdep_routines when subdir is sysvipc.
23087         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23088         __getshmlba helper.
23090         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23092 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23094         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23095         [__LP64__].
23097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23099         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23100         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23101         (__lround): Renamed to ...
23102         (__llround): This.  Replace long int with long long int.
23103         Define lround functions as aliases of llround functions.
23104         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23108         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23109         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23110         adresses to uintptr_t.  Replace "long int" and "unsigned long
23111         int" with "greg_t" on va_arg.
23113 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23116         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23118         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23119         Move e_machine check before EI_CLASS check.  Handle x32
23120         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23121         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23122         SKIP_EM_IA_64 and include
23123         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23125         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23126         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23127         (add_system_dir): New macro.
23129         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23130         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23132 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #2551]
23135         [BZ #2552]
23136         [BZ #2553]
23137         [BZ #2554]
23138         [BZ #2562]
23139         [BZ #2563]
23140         [BZ #2565]
23141         [BZ #2566]
23142         [BZ #2576]
23143         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23144         (y0): Likewise.
23145         * math/w_j0f.c (j0f): Likewise.
23146         (y0f): Likewise.
23147         * math/w_j0l.c (__j0l): Likewise.
23148         (__y0l): Likewise.
23149         * math/w_j1.c (j1): Likewise.
23150         (y1): Likewise.
23151         * math/w_j1f.c (j1f): Likewise.
23152         (y1f): Likewise.
23153         * math/w_j1l.c (__j1l): Likewise.
23154         (__y1l): Likewise.
23155         * math/w_jn.c (jn): Likewise.
23156         (yn): Likewise.
23157         * math/w_jnf.c (jnf): Likewise.
23158         (ynf): Likewise.
23159         * math/w_jnl.c (__jnl): Likewise.
23160         (__ynl): Likewise.
23161         * math/libm-test.inc (j0_test): Add more tests.
23162         (j1_test): Likewise.
23163         (jn_test): Likewise.  Add trailing semicolon to existing test.
23164         (y0_test): Likewise.
23165         (y1_test): Likewise.
23166         * sysdeps/i386/fpu/libm-test-ulps: Update.
23167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169         [BZ #13851]
23170         [BZ #13854]
23171         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23172         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23173         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23174         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23175         (__tanl): Set errno for infinite argument.
23176         * sysdeps/i386/fpu/mptan.c: Remove.
23177         * sysdeps/i386/fpu/s_tan.S: Likewise.
23178         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23179         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23180         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23181         * math/libm-test.inc (tan_test): Add more tests and enable more
23182         tests for double and long double.
23183         * sysdeps/i386/fpu/libm-test-ulps: Update.
23184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23186 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23188         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23189         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23191 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23193         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23194         * configure.in: Use it for both main tree and add-ons.
23195         * configure: Regenerated.
23197 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23199         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23201 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23204         in comment.
23206         [BZ #13851]
23207         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23208         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23209         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23210         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23211         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23212         infinite argument.
23213         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23214         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23215         != 0 for prec == 2.
23216         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23217         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23218         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23219         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23220         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23221         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23222         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23223         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23224         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23225         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23226         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23227         * math/libm-test.inc (cos_test): Add more tests and enable more
23228         tests for long double.
23229         (sin_test): Likewise.
23230         (sincos_test): Likewise.
23231         * sysdeps/i386/fpu/libm-test-ulps: Update.
23232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23234 2012-03-16  David S. Miller  <davem@davemloft.net>
23236         * sysdeps/sparc/fpu/math_private.h: New file.
23238 2012-03-15  David S. Miller  <davem@davemloft.net>
23240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23241         file.
23242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23244         file.
23245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23250         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23251         sysdep routines.
23252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23254         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23255         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23257         * sysdeps/sparc/sparc-ifunc.h: New file.
23258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23259         sparc-ifunc.h
23260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23262         Likewise.
23263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23264         Likewise.
23265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23269         Likewise.
23270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23275         Likewise.
23276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23277         Likewise.
23278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23303 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23305         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23306         scaling.
23307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23309 2012-03-15  Andreas Jaeger  <aj@suse.de>
23311         [BZ #13852]
23312         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23313         ieee754/flt-32 implementation for sin, cos and sincos.
23314         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23315         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23316         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23317         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23318         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23319         ieee754/flt-32 implementation for tan.
23321         * math/libm-test.inc (cos_test): Enable some large input tests for
23322         float as well
23323         (sin_test): Likewise.
23324         (sincos_test): Likewise.
23325         (tan_test): Add tests for large input.
23327         * sysdeps/i386/fpu/libm-test-ulps: Update.
23329 2012-03-15  Andreas Jaeger  <aj@suse.de>
23331         [BZ #13658]
23332         * math/libm-test.inc (cos_test): Add more test cases.
23333         (sin_test): Likewise.
23334         (sincos_test): Likewise.
23336 2012-03-15  Andreas Jaeger  <aj@suse.de>
23338         [BZ #13837]
23339         * math/libm-test.inc (cos_test): Add a test case for large input
23340         value.
23341         (sin_test): Likewise.
23342         (sincos_test): Likewise.
23344 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23345         Joseph Myers  <joseph@codesourcery.com>
23347         [BZ #13658]
23348         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23349         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23350         * sysdeps/i386/fpu/branred.c: Likewise.
23351         * sysdeps/i386/fpu/dosincos.c: Likewise.
23352         * sysdeps/i386/fpu/mpa.c: Likewise.
23353         * sysdeps/i386/fpu/s_cos.S: Likewise.
23354         * sysdeps/i386/fpu/s_sin.S: Likewise.
23355         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23356         * sysdeps/i386/fpu/sincos32.c: Likewise.
23358         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23359         Define.
23360         (libc_feupdateenv_53bit): Define.
23361         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23362         Define.
23363         (libc_feupdateenv_53bit): Define.
23365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23366         53 bit (without extend i386 double precision).
23368         * math/libm-test.inc (sincos_test): Add tests for large input.
23369         (sin): Likewise.
23370         (cos): Likewise.
23372         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23374 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23378 2012-03-15  David S. Miller  <davem@davemloft.net>
23380         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23381         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23382         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23383         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23396         file.
23397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23399         file.
23400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23402         file.
23403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23405         file.
23406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23408         fmin/fmax sysdep routines.
23409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23411 2012-03-14  David S. Miller  <davem@davemloft.net>
23413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23417         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23420         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23423         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23433         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23436         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23438         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23439         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23442         routines.
23443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23444         file.
23445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23447         file.
23448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23450         file.
23451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23453         file.
23454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23456         file.
23457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23459         file.
23460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23461         file.
23462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23463         file.
23464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23465         file.
23466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23467         New file.
23468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23469         file.
23470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23471         file.
23472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23474         file.
23475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23477         file.
23478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23480         file.
23481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23483         VIS3 routines.
23485         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23486         New file.
23488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23490         * sysdeps/sparc/configure.in: New file.
23491         * sysdeps/sparc/configure: Generate.
23492         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23493         * configure: Regenerate.
23494         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23495         * config.make.in (have-as-vis3): New.
23496         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23497         available use -Av9d instead of -Av9a.
23498         * sysdeps/sparc/sparc64/Makefile: Likewise.
23499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23501         New file.
23502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23503         file.
23504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23505         New file.
23506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23507         file.
23508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23509         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23514         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23515         fzeros/fnegs to load 0x80000000 into a float register instead of
23516         using the stack.
23517         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23519 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23522         bits/syscall.h.
23523         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23524         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23525         ($(inst_includedir)/bits/syscall.h): Remove rule.
23526         ($(objpfx)bits/syscall.d): Include instead of
23527         $(objpfx)syscall-list.d.
23528         (generated): Change syscall-list.h and syscall-list.d to
23529         bits/syscall.h and bits/syscall.d.
23531 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23533         [BZ #13846]
23534         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23536 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23538         [BZ #13841]
23539         * math/s_csqrt.c: Include <float.h>.
23540         (__csqrt): Scale large or subnormal inputs.
23541         * math/s_csqrtf.c: Likewise.
23542         * math/s_csqrtl.c: Likewise.
23543         * math/libm-test.inc (csqrt_test): Add more tests.
23544         * sysdeps/i386/fpu/libm-test-ulps: Update.
23545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23547         [BZ #13840]
23548         * math/libm-test.inc (hypot_test): Add more tests.
23550 2012-03-13  David S. Miller  <davem@davemloft.net>
23552         [BZ #13840]
23553         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23554         double-precision for the calculation instead of scaling.
23556 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23558         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23559         manipulate bits before adding and subtracting TWO52[sx].
23560         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23561         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23562         Likewise.
23563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23565 2012-03-13  David S. Miller  <davem@davemloft.net>
23567         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23568         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23570         rtld-global-offsets.h
23571         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23573         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23574         large parameters.
23576         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23578         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23579         'err' in the ifdef scope in which it is actually used.
23581         * nss/nss_db/db-init.c: Include string.h
23583 2012-03-12  David S. Miller  <davem@davemloft.net>
23585         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23586         masking out of the most significant byte of random value used.
23587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23588         Fix coding style in previous change.
23590         * sysdeps/unix/sysv/linux/kernel-features.h
23591         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23592         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23593         expression.
23594         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23595         later.
23597 2012-03-11  David S. Miller  <davem@davemloft.net>
23599         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23600         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23601         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23602         for 'resultvar' otherwise things get truncated on 64-bit.
23604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23605         Fix masking out of the most significant byte of random value used.
23607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23609 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23613 2012-03-09  David S. Miller  <davem@davemloft.net>
23615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23616         variables with appropriate CPP guards.
23617         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23618         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23619         on resulting framesize and the management of the outregs buffer for pltexit.
23620         Preserve floating point return values across _dl_call_pltexit call.
23621         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23622         framesize and the management of the outregs buffer for pltexit.
23623         Preserve floating point return values across _dl_call_pltexit
23624         call.
23625         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23626         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23627         (print_exit): Fix format string for return register value.
23629 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23631         * sunrpc/Makefile (others): Add rpcgen.
23632         ($(objpfx)rpcgen): Remove special build rule and dependency on
23633         libc.
23634         * sunrpc/rpcgen.c: New file.
23636 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23638         [BZ #13673]
23639         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23640         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23641         * sysdeps/i386/crti.S: Likewise.
23642         * sysdeps/i386/crtn.S: Likewise.
23643         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23644         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23645         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23646         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23647         * sysdeps/sh/crti.S: Likewise.
23648         * sysdeps/sh/crtn.S: Likewise.
23649         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23651         [BZ #13673]
23652         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23653         with URL.
23654         * locale/programs/locfile-kw.gperf: Likewise.
23655         * locale/programs/charmap-kw.h: Regenerated.
23656         * locale/programs/locfile-kw.h: Likewise.
23658         [BZ #13673]
23659         * intl/plural.y: Replace FSF snail mail address with URL.
23660         * intl/plural.c: Regenerated.
23662 2012-03-09  Richard Henderson  <rth@twiddle.net>
23664         * include/math_private.h: Remove file.
23665         * math/math_private.h: Move file ...
23666         * sysdeps/generic/math_private.h: ... here.
23668         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23669         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23670         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23672         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23673         and <math_private.h>.
23674         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23675         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23676         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23677         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23678         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23679         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23680         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23682         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23683         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23684         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23685         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23686         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23688         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23689         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23690         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23691         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23692         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23695         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23696         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23697         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23698         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23699         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23700         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23701         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23702         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23703         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23704         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23705         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23706         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23707         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23710         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23714         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23717         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23719         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23720         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23721         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23722         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23723         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23724         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23725         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23726         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23727         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23728         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23729         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23730         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23731         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23732         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23733         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23734         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23735         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23736         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23737         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23738         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23739         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23740         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23741         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23742         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23743         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23747         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23748         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23754         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23755         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23756         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23757         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23758         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23759         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23761         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23762         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23763         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23764         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23765         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23766         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23767         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23768         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23769         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23770         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23771         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23772         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23774         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23775         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23776         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23777         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23778         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23779         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23780         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23781         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23782         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23784         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23785         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23786         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23787         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23788         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23790         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23791         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23792         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23793         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23794         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23795         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23797         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23798         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23799         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23801         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23802         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23803         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23804         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23805         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23806         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23807         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23808         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23809         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23810         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23811         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23812         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23813         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23814         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23815         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23816         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23817         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23818         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23819         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23820         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23821         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23822         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23823         * sysdeps/ieee754/k_standard.c: Likewise.
23824         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23825         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23826         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23827         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23828         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23829         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23830         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23831         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23832         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23834         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23836         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23837         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23838         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23839         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23840         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23841         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23842         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23843         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23844         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23845         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23846         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23847         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23848         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23849         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23850         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23851         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23852         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23853         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23854         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23855         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23856         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23857         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23858         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23859         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23861         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23862         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23863         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23864         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23865         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23866         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23867         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23868         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23869         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23870         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23872         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23873         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23875         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23876         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23877         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23878         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23879         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23880         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23881         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23882         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23883         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23884         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23885         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23886         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23891         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23892         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23901         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23902         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23903         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23904         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23906         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23907         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23908         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23909         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23910         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23911         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23912         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23914         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23915         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23916         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23917         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23921         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23922         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23923         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23928         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23931         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23932         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23933         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23935         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23936         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23937         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23938         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23939         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23940         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23941         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23943         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23944         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23945         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23946         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23947         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23948         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23949         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23950         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23951         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23952         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23953         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23954         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23955         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23956         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23957         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23958         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23959         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23960         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23961         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23962         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23963         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23964         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23965         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23966         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23967         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23968         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23973         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23975         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23978         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23979         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23980         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23981         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23982         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23983         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23984         * sysdeps/ieee754/s_lib_version.c: Likewise.
23985         * sysdeps/ieee754/s_matherr.c: Likewise.
23986         * sysdeps/ieee754/s_signgam.c: Likewise.
23987         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23988         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23989         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23990         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23991         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23992         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23993         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23994         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23995         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23996         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23997         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23998         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23999         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24000         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24001         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24002         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24003         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24004         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24005         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24009 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24011         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24012         * sunrpc/rpc_main.c: Likewise.
24013         * sunrpc/rpc_svcout.c: Likewise.
24015 2012-03-09  David S. Miller  <davem@davemloft.net>
24017         * include/math_private.h: New file.
24019 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24021         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24022         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24023         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24024         from <bits/socket_type.h>.
24025         (enum __socket_type): Don't define here.
24026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24028         bits/socket_type.h.
24030         [BZ #13566]
24031         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24032         checking __USE_GNU.
24034         * Makerules ($(inst_includedir)/%.h): New rule.
24035         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24036         (install-others): Remove variable setting.
24037         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24039 2012-03-08  Richard Henderson  <rth@twiddle.net>
24041         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24042         from macro to inline function; merge with the
24043         !__LIBC_INTERNAL_MATH_INLINES version.
24044         (__ieee754_sqrtf): Likewise.
24046         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24047         to inline function.
24048         (__rintf, __floor, __floorf): Likewise.
24050         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24051         macro to inline function.
24052         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24054         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24055         not <math/math_private.h>.
24057 2012-03-08  David S. Miller  <davem@davemloft.net>
24059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24060         copyright year.
24061         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24063 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24065         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24066         normalization.
24067         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24068         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24070 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24072         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24073         be defined individually, they must be defined as a block.  Define
24074         S for printing a string instead of hidint the different by using a
24075         macro for adding the 'l'.
24076         * stdio-common/tst-fphex-wide.c: Adjust.
24078 2012-03-07  Marek Polacek  <polacek@redhat.com>
24080         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24082 2012-03-08  Marek Polacek  <polacek@redhat.com>
24084         [BZ #13806]
24085         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24086         * stdio-common/tst-fphex.c: Define a few macros to make the
24087         test reusable.  Use them.
24088         * stdio-common/tst-fphex-wide.c: New file.
24090 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24092         [BZ #6911]
24093         * manual/macros.texi (gnusystems): New macro.
24094         (nongnusystems): Likewise.
24095         (gnulinuxhurdsystems): Likewise.
24096         (gnuhurdsystems): Likewise..
24097         (gnulinuxsystems): Likewise.
24098         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24099         variants of the GNU system, not "GNU system".
24100         * manual/conf.texi: Likewise.
24101         * manual/errno.texi: Likewise.  Update example of errno macro
24102         expansion.
24103         * manual/filesys.texi: Likewise.
24104         (getumask): Document as specific to GNU/Hurd.
24105         * manual/install.texi: Likewise.  Reword some references to
24106         GNU/Linux.
24107         * manual/intro.texi: Likewise.
24108         * manual/io.texi: Likewise.
24109         (File Name Portability): Detail which constraints are inapplicable
24110         to all GNU systems and which are only inapplicable to GNU/Hurd.
24111         * manual/job.texi: Likewise.
24112         * manual/llio.texi: Likewise.
24113         (O_NOCTTY): Document as present on GNU/Linux.
24114         * manual/maint.texi: Likewise.
24115         * manual/memory.texi: Likewise.
24116         * manual/pattern.texi: Likewise.
24117         * manual/pipe.texi: Likewise.
24118         * manual/process.texi: Likewise.
24119         * manual/resource.texi: Likewise.
24120         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24121         child on GNU/Hurd.
24122         * manual/setjmp.texi: Likewise.
24123         * manual/signal.texi: Likewise.
24124         * manual/startup.texi: Likewise.
24125         * manual/stdio.texi: Likewise.
24126         * manual/terminal.texi: Likewise.
24127         (ONLCR): Document as POSIX.
24128         (OXTABS): Document availability on GNU/Linux as XTABS.
24129         (ONOEOT): Document availability separately from other bits.
24130         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24131         * manual/time.texi: Likewise.
24132         * manual/users.texi: Likewise.
24133         * INSTALL: Regenerated.
24134         * sysdeps/gnu/errlist.c: Regenerated.
24136         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24137         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24138         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24139         puts.
24140         * configure: Regenerated.
24142 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24144         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24145         default includes instead of AC_HEADER_CHECK.
24146         * sysdeps/i386/configure: Regenerated.
24148         [BZ #10716]
24149         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24150         * math/s_cacoshf.c (__cacoshf): Likewise.
24151         * math/s_cacoshl.c (__cacoshl): Likewise.
24152         * math/s_casinh.c (__casinh): Set signs of result from argument.
24153         * math/s_casinhf.c (__casinhf): Likewise.
24154         * math/s_casinhl.c (__casinhl): Likewise.
24155         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24156         (casinh_test): Add more tests.
24157         * sysdeps/i386/fpu/libm-test-ulps: Update.
24158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24160 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24162         * po/zh_TW.po: Update from translation team.
24164         * login/Makefile (distribute): Remove variable.
24165         * catgets/Makefile: Likewise.
24166         * mach/Makefile: Likewise.
24167         * malloc/Makefile: Likewise.
24168         * misc/Makefile: Likewise.
24169         * iconv/Makefile: Likewise.
24170         * nscd/Makefile: Likewise.
24171         * hurd/Makefile: Likewise.
24172         * manual/Makefile: Likewise.
24173         * locale/Makefile: Likewise.
24174         * intl/Makefile: Likewise.
24175         * conform/Makefile: Likewise.
24176         * nss/Makefile: Likewise.
24177         * time/Makefile: Likewise.
24178         * soft-fp/Makefile: Likewise.
24179         * dirent/Makefile: Likewise.
24180         * gmon/Makefile: Likewise.
24181         * po/Makefile: Likewise.
24182         * rt/Makefile: Likewise.
24183         * socket/Makefile: Likewise.
24184         * math/Makefile: Likewise.
24185         * signal/Makefile: Likewise.
24186         * debug/Makefile: Likewise.
24187         * elf/Makefile: Likewise.
24188         * timezone/Makefile: Likewise.
24189         * stdlib/Makefile: Likewise.
24190         * iconvdata/Makefile: Likewise.
24191         * sunrpc/Makefile: Likewise.
24192         * io/Makefile: Likewise.
24193         * argp/Makefile: Likewise.
24194         * inet/Makefile: Likewise.
24195         * hesiod/Makefile: Likewise.
24196         * grp/Makefile: Likewise.
24197         * csu/Makefile: Likewise.
24198         * wctype/Makefile: Likewise.
24199         * crypt/Makefile: Likewise.
24200         * libio/Makefile: Likewise.
24201         * string/Makefile: Likewise.
24202         * nis/Makefile: Likewise.
24203         * resolv/Makefile: Likewise.
24204         * stdio-common/Makefile: Likewise.
24205         * wcsmbs/Makefile: Likewise.
24206         * dlfcn/Makefile: Likewise.
24207         * posix/Makefile: Likewise.
24209         [BZ #6959]
24210         * timezone/Makefile: Don't install timezone files, just the programs
24211         and scripts.
24213 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24215         * nss/databases.def: Add missing gshadow entry.
24217         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24219 2012-03-06  Marek Polacek  <polacek@redhat.com>
24221         [BZ #13726]
24222         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24223         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24224         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24225         * stdio-common/tst-long-dbl-fphex.c: New file.
24227 2012-03-06  David S. Miller  <davem@davemloft.net>
24229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24230         (set_obp_int): New function.
24231         (get_obp_int): New function.
24232         (__get_clockfreq_via_dev_openprom): Likewise.
24233         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24234         Avoid unused variable warnings on 'val' and use builtin_expect.
24235         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24236         __builtin_expect.
24237         (INLINE_CLONE_SYSCALL): Likewise.
24239 2012-03-05  David S. Miller  <davem@davemloft.net>
24241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24243 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24247         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24248         only for |x| >= 40.
24249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24251 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24254         Replace gettimeofday with __vdso_gettimeofday.
24256         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24257         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24258         __vdso_clock_gettime and __vdso_getcpu.
24260         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24261         time with __vdso_time.
24263 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24265         * manual/lang.texi (size_t): Note types to which size_t may be
24266         equivalent with the GNU C Library, but do not describe when
24267         differences between them are significant.
24269 2012-03-05  Andreas Jaeger  <aj@suse.de>
24271         * sysdeps/i386/fpu/libm-test-ulps: Update.
24273 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24275         [BZ #3976]
24276         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24277         (__ieee754_pow): Save and restore rounding mode and use
24278         round-to-nearest for main computations.
24279         * math/libm-test.inc (pow_test_tonearest): New function.
24280         (pow_test_towardzero): Likewise.
24281         (pow_test_downward): Likewise.
24282         (pow_test_upward): Likewise.
24283         (main): Call the new functions.
24284         * sysdeps/i386/fpu/libm-test-ulps: Update.
24285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24287         [BZ #3976]
24288         * math/libm-test.inc (cosh_test_tonearest): New function.
24289         (cosh_test_towardzero): Likewise.
24290         (cosh_test_downward): Likewise.
24291         (cosh_test_upward): Likewise.
24292         (sinh_test_tonearest): Likewise.
24293         (sinh_test_towardzero): Likewise.
24294         (sinh_test_downward): Likewise.
24295         (sinh_test_upward): Likewise.
24296         (main): Call the new functions.
24297         * sysdeps/i386/fpu/libm-test-ulps: Update.
24298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24300 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24302         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24303         default stack guard is set in last bytes.
24304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24306 2012-03-05  Kees Cook  <keescook@chromium.org>
24308         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24310         [BZ #13656]
24311         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24312         possibly allocate from heap instead of stack.
24313         * stdio-common/bug-vfprintf-nargs.c: New file.
24314         * stdio-common/Makefile (tests): Add nargs overflow test.
24316 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24320 2012-03-03  Marek Polacek  <polacek@redhat.com>
24322         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24323         * math/math_private.h: Likewise.
24324         * stdlib/tst-strtod.c: Likewise.
24325         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24326         * sysdeps/x86_64/bits/atomic.h: Likewise.
24328 2012-03-02  David S. Miller  <davem@davemloft.net>
24330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24334         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24335         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24336         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24337         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24339 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24341         [BZ #13792]
24342         * manual/examples/README: New file, says the example source files
24343         can be used under GPL>=2.
24344         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24345         line containing just "*/".
24346         * manual/examples/add.c: Add copyright header (GPL>=2).
24347         * manual/examples/argp-ex1.c: Likewise.
24348         * manual/examples/argp-ex2.c: Likewise.
24349         * manual/examples/argp-ex3.c: Likewise.
24350         * manual/examples/argp-ex4.c: Likewise.
24351         * manual/examples/atexit.c: Likewise.
24352         * manual/examples/db.c: Likewise.
24353         * manual/examples/dir.c: Likewise.
24354         * manual/examples/dir2.c: Likewise.
24355         * manual/examples/execinfo.c: Likewise.
24356         * manual/examples/filecli.c: Likewise.
24357         * manual/examples/filesrv.c: Likewise.
24358         * manual/examples/fmtmsgexpl.c: Likewise.
24359         * manual/examples/genpass.c: Likewise.
24360         * manual/examples/inetcli.c: Likewise.
24361         * manual/examples/inetsrv.c: Likewise.
24362         * manual/examples/isockad.c: Likewise.
24363         * manual/examples/longopt.c: Likewise.
24364         * manual/examples/memopen.c: Likewise.
24365         * manual/examples/memstrm.c: Likewise.
24366         * manual/examples/mkfsock.c: Likewise.
24367         * manual/examples/mkisock.c: Likewise.
24368         * manual/examples/mygetpass.c: Likewise.
24369         * manual/examples/pipe.c: Likewise.
24370         * manual/examples/popen.c: Likewise.
24371         * manual/examples/rprintf.c: Likewise.
24372         * manual/examples/search.c: Likewise.
24373         * manual/examples/select.c: Likewise.
24374         * manual/examples/setjmp.c: Likewise.
24375         * manual/examples/sigh1.c: Likewise.
24376         * manual/examples/sigusr.c: Likewise.
24377         * manual/examples/stpcpy.c: Likewise.
24378         * manual/examples/strdupa.c: Likewise.
24379         * manual/examples/strftim.c: Likewise.
24380         * manual/examples/strncat.c: Likewise.
24381         * manual/examples/subopt.c: Likewise.
24382         * manual/examples/swapcontext.c: Likewise.
24383         * manual/examples/termios.c: Likewise.
24384         * manual/examples/testopt.c: Likewise.
24385         * manual/examples/testpass.c: Likewise.
24386         * manual/examples/timeval_subtract.c: Likewise.
24388         [BZ #13792]
24389         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24390         function to ...
24391         * manual/timeval_subtract.c.texi: ... here, new file.
24393 2012-03-02  David S. Miller  <davem@davemloft.net>
24395         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24397 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24399         [BZ #3976]
24400         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24401         (__sin): Save and restore rounding mode and use round-to-nearest
24402         for all computations.
24403         (__cos): Save and restore rounding mode and use round-to-nearest
24404         for all computations.
24405         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24406         <fenv.h>.
24407         (tan): Save and restore rounding mode and use round-to-nearest for
24408         all computations.
24409         * math/libm-test.inc (cos_test_tonearest): New function.
24410         (cos_test_towardzero): Likewise.
24411         (cos_test_downward): Likewise.
24412         (cos_test_upward): Likewise.
24413         (sin_test_tonearest): Likewise.
24414         (sin_test_towardzero): Likewise.
24415         (sin_test_downward): Likewise.
24416         (sin_test_upward): Likewise.
24417         (tan_test_tonearest): Likewise.
24418         (tan_test_towardzero): Likewise.
24419         (tan_test_downward): Likewise.
24420         (tan_test_upward): Likewise.
24421         (main): Call the new functions.
24422         * sysdeps/i386/fpu/libm-test-ulps: Update.
24423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24425         [BZ #10135]
24426         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24427         small n, then large n, before computing and testing k+n.
24428         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24430         Likewise.
24431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24432         Likewise.
24433         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24434         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24435         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24436         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24439         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24440         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24441         * math/libm-test.inc (scalbn_test): Add more tests.
24442         (scalbln_test): Likewise.
24444         * manual/filesys.texi (mode_t): Describe constraints on size and
24445         signedness, not exact equivalence to a particular type.
24446         (ino_t): Likewise.
24447         (ino64_t): Likewise.
24448         (dev_t): Likewise.
24449         (nlink_t): Likewise.
24450         (blkcnt_t): Likewise.
24451         (blkcnt64_t): Likewise.
24452         * manual/llio.texi (off_t): Likewise.
24454         [BZ #3976]
24455         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24456         (__ieee754_exp): Save and restore rounding mode and use
24457         round-to-nearest for all computations.
24458         * math/libm-test.inc (exp_test_tonearest): New function.
24459         (exp_test_towardzero): Likewise.
24460         (exp_test_downward): Likewise.
24461         (exp_test_upward): Likewise.
24462         (main): Call the new functions.
24463         * sysdeps/i386/fpu/libm-test-ulps: Update.
24464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24466 2012-03-01  Chris Demetriou  <cgd@google.com>
24468         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24469         have predictable order.
24471 2012-03-01  David S. Miller  <davem@davemloft.net>
24473         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24475         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24476         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24477         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24478         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24480         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24481         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24482         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24484         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24485         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24486         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24487         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24488         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24493         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24494         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24496         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24497         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24498         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24499         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24500         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24501         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24502         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24503         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24504         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24505         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24506         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24507         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24509         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24510         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24512         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24513         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24514         * sysdeps/sparc/elf/configure: Regenerated.
24516 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24518         * configure.in (AS, LD): Require binutils 2.20 or later.
24519         * configure: Regenerated.
24520         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24521         as required minimum version.
24522         * INSTALL: Regenerated.
24524         [BZ #2541]
24525         [BZ #4108]
24526         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24527         before squaring exponent.
24528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24529         bottom long double and 27 bits of top long double before squaring
24530         exponent.
24531         * math/libm-test.inc (erfc_test): Add more tests.
24532         * sysdeps/i386/fpu/libm-test-ulps: Update.
24533         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24536 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24538         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24539         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24540         containing bit-fields.
24541         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24542         * soft-fp/single.h (_FP_UNION_S): Likewise.
24543         * soft-fp/double.h (_FP_UNION_D): Likewise.
24545 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24547         [BZ #13786]
24548         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24549         not include ../strcmp.S.
24550         [USE_AS_STRNCASECMP_L]: Likewise.
24551         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24552         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24553         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24554         (__strncasecmp_l_ia32): Define as alias to
24555         __strncasecmp_l_nonascii.
24557         [BZ #5794]
24558         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24559         * sysdeps/i386/fpu/libm-test-ulps: Update.
24560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24562         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24565 2012-02-29  Jeff Law  <law@redhat.com>
24567         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24568         out of bounds read.
24570 2012-02-29  Marek Polacek  <polacek@redhat.com>
24572         [BZ #13706]
24573         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24574         * elf/Makefile: Add rules to run tst-unused-dep.out.
24576 2012-02-28  David S. Miller  <davem@davemloft.net>
24578         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24579         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24580         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24581         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24582         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24583         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24585 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24587         * math/libm-test.inc (llround_test): Move one test from
24588         lround_test.  Use TEST_f_L in moved test.
24589         (lround_test): Move misplaced test to llround_test.  Add testcase
24590         from bug 2561.
24592 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24594         * sysdeps/x86_64/fpu/e_expf.S: New file.
24595         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24597 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24599         [BZ #13637]
24600         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24601         of remain_len that may cause incomplete multi-byte character and
24602         false match.
24603         * posix/bug-regex33.c: New file.
24604         * posix/Makefile (tests): Add bug-regex33.
24606 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24608         * manual/macros.texi: New file.
24609         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24610         * manual/libc.texinfo: Include macros.texi.
24611         * manual/creatute.texi: Likewise.
24612         * manual/install.texi: Likewise.
24613         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24614         @glibcadj{} in references to the GNU C Library.
24615         * manual/charset.texi: Likewise.
24616         * manual/conf.texi: Likewise.
24617         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24618         when not using those macros.
24619         * manual/creature.texi: Likewise.
24620         * manual/crypt.texi: Likewise.
24621         * manual/errno.texi: Likewise.
24622         * manual/filesys.texi: Likewise.
24623         * manual/header.texi: Likewise.
24624         * manual/install.texi: Likewise.
24625         * manual/intro.texi: Likewise.
24626         * manual/io.texi: Likewise.
24627         * manual/job.texi: Likewise.
24628         * manual/lang.texi: Likewise.
24629         * manual/libc.texiinfo: Likewise.
24630         * manual/llio.texi: Likewise.
24631         * manual/locale.texi: Likewise.
24632         * manual/maint.texi: Likewise.
24633         * manual/math.texi: Likewise.
24634         * manual/memory.texi: Likewise.
24635         * manual/message.texi: Likewise.
24636         * manual/nss.texi: Likewise.
24637         * manual/pattern.texi: Likewise.
24638         * manual/process.texi: Likewise.
24639         * manual/resource.texi: Likewise.
24640         * manual/search.texi: Likewise.
24641         * manual/setjmp.texi: Likewise.
24642         * manual/signal.texi: Likewise.
24643         * manual/socket.texi: Likewise.
24644         * manual/startup.texi: Likewise.
24645         * manual/stdio.texi: Likewise.
24646         * manual/string.texi: Likewise.
24647         * manual/sysinfo.texi: Likewise.
24648         * manual/syslog.texi: Likewise.
24649         * manual/terminal.texi: Likewise.
24650         * manual/time.texi: Likewise.
24651         * manual/users.texi: Likewise.
24652         * INSTALL: Regenerated.
24653         * NOTES: Regenerated.
24654         * sysdeps/gnu/errlist.c: Regenerated.
24656 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24658         * include/dirent.h: Include <dirstream.h> before
24659         <dirent/dirent.h>.
24661 2012-02-28  David S. Miller  <davem@davemloft.net>
24663         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24664         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24665         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24666         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24668 2012-02-27  David S. Miller  <davem@davemloft.net>
24670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24672         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24673         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24676         frame pointer instead of stack pointer relative arg slot.
24677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24678         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24679         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24681 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24683         [BZ #3992]
24684         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24686 2012-02-27  David S. Miller  <davem@davemloft.net>
24688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24692         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24693         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24694         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24695         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24697 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24699         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24700         later.  Allow versions 5-9.
24701         * configure: Regenerated.
24702         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24703         required minimum version and 4.6 as recommended version.  Do not
24704         mention bugs in GCC 2.7 and 2.8.
24705         * INSTALL: Regenerated.
24707 2012-02-27  David S. Miller  <davem@davemloft.net>
24709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24713         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24714         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24715         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24716         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24719         manipulate bits before adding and subtracting TWO112[sx].
24720         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24722 2012-02-27  Roland McGrath  <roland@hack.frob.com>
24724         [BZ #13775]
24725         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24726         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24727         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24728         being in POSIX, because they are in 1003.1-2008.
24730         * rt/tst-aio.c: Include <fcntl.h>.
24731         * rt/tst-aio7.c: Likewise.
24732         * rt/tst-aio64.c: Likewise.
24734         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24736 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24738         * manual/install.texi (--with-headers): Describe headers as
24739         interface headers, not private headers.
24740         (Specific advice for GNU/Linux systems): Describe use of headers
24741         from "make headers_install", not private headers from older
24742         kernels.
24743         * INSTALL: Regenerated.
24744         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24745         Change to 2.6.19.
24746         * sysdeps/unix/sysv/linux/configure: Regenerated.
24748         * manual/llio.texi (fclean): Remove documentation.
24750         * manual/Makefile (libc-texi-generated): New variable.  Include
24751         version.texi.
24752         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24753         $(libc-texi-generated), not duplicated list of files.
24754         (version.texi, stamp-version): New rules.
24755         (realclean): Remove $(libc-texi-generated), not individual files
24756         from that list.  Do not remove dir-add.texinfo.
24757         * manual/libc.texinfo: Comment out uses of edition numbers and
24758         references to printed manual.  Remove last-updated dates.
24759         (EDITION): Comment out.
24760         (ISBN): Likewise.
24761         (VERSION, UPDATED): Remove.
24762         (version.texi): Include.
24764 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
24766         * sysdeps/posix/spawni.c: Include <signal.h>.
24767         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24768         * sysdeps/pthread/aio_fsync.c: Likewise.
24770 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
24772         * conform/Makefile (tests): Run only when not cross-compiling and
24773         when fast-check is not defined.
24775         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24776         * conform/data/limits.h-data: Fixes for POSIX2008.
24777         * conform/run-conformtest.sh: Run all tests.
24778         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24779         headers.
24780         * include/bits/dlfcn.h: Likewise.
24781         * include/langinfo.h: Likewise.
24782         * include/monetary.h: Likewise.
24783         * include/sys/poll.h: Likewise.
24785         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24786         for __USE_GNU.
24787         * posix/spawn.h: Define __need_sigset_t.
24788         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24789         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24790         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
24791         to get sigevent_t only.
24792         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24793         only for __USE_GNU.
24794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24795         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24796         process_vm_writev only for __USE_GNU.
24797         * termios/termios.h: Declare tcgetsid also for POSIX2008.
24799         * conform/Makefile: For now ignore errors from run-conformtest.
24800         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
24801         POSIX to avoid namespace pollution.  Don't prepend headers.
24802         * conform/data/aio.h-data: Fixes for POSIX testing.
24803         * conform/data/fcntl.h-data: Likewise.
24804         * conform/data/glob.h-data: Likewise.
24805         * conform/data/grp.h-data: Likewise.
24806         * conform/data/pthread.h-data: Likewise.
24807         * conform/data/pwd.h-data: Likewise.
24808         * conform/data/signal.h-data: Likewise.
24809         * conform/data/spawn.h-data: Likewise.
24810         * conform/data/stdio.h-data: Likewise.
24811         * conform/data/stdlib.h-data: Likewise.
24812         * conform/data/stropts.h-data: Likewise.
24813         * conform/data/sys/mman.h-data: Likewise.
24814         * conform/data/sys/stat.h-data: Likewise.
24815         * conform/data/sys/types.h-data: Likewise.
24816         * conform/data/sys/wait.h-data: Likewise.
24817         * conform/data/time.h-data: Likewise.
24818         * conform/data/unistd.h-data: Likewise.
24819         * conform/data/utime.h-data: Likewise.
24821         * io/sys/stat.h: fchmod was always in POSIX.
24822         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24823         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24824         * rt/aio.h: Define __need_timespec before including <time.h>.
24825         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24826         struct.  Add forward declaration of pthread_attr_t and use it in
24827         sigevent.
24828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24829         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24830         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24831         always remove CLK_TCK definition.
24833 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
24835         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24837 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
24839         * conform/run-conformtest.sh: New file.
24840         * conform/Makefile: Run run-conformtest for tests.
24841         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
24842         support.
24844         * conform/data/uchar.h-data: New file.
24845         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24846         * conform/data/arpa/inet.h-data: Likewise.
24847         * conform/data/assert.h-data: Likewise.
24848         * conform/data/complex.h-data: Likewise.
24849         * conform/data/cpio.h-data: Likewise.
24850         * conform/data/ctype.h-data: Likewise.
24851         * conform/data/dirent.h-data: Likewise.
24852         * conform/data/dlfcn.h-data: Likewise.
24853         * conform/data/errno.h-data: Likewise.
24854         * conform/data/fcntl.h-data: Likewise.
24855         * conform/data/float.h-data: Likewise.
24856         * conform/data/fmtmsg.h-data: Likewise.
24857         * conform/data/fnmatch.h-data: Likewise.
24858         * conform/data/ftw.h-data: Likewise.
24859         * conform/data/glob.h-data: Likewise.
24860         * conform/data/grp.h-data: Likewise.
24861         * conform/data/iconv.h-data: Likewise.
24862         * conform/data/inttypes.h-data: Likewise.
24863         * conform/data/langinfo.h-data: Likewise.
24864         * conform/data/libgen.h-data: Likewise.
24865         * conform/data/limits.h-data: Likewise.
24866         * conform/data/locale.h-data: Likewise.
24867         * conform/data/math.h-data: Likewise.
24868         * conform/data/monetary.h-data: Likewise.
24869         * conform/data/mqueue.h-data: Likewise.
24870         * conform/data/ndbm.h-data: Likewise.
24871         * conform/data/net/if.h-data: Likewise.
24872         * conform/data/netdb.h-data: Likewise.
24873         * conform/data/netinet/in.h-data: Likewise.
24874         * conform/data/nl_types.h-data: Likewise.
24875         * conform/data/poll.h-data: Likewise.
24876         * conform/data/pthread.h-data: Likewise.
24877         * conform/data/pwd.h-data: Likewise.
24878         * conform/data/regex.h-data: Likewise.
24879         * conform/data/sched.h-data: Likewise.
24880         * conform/data/search.h-data: Likewise.
24881         * conform/data/semaphore.h-data: Likewise.
24882         * conform/data/setjmp.h-data: Likewise.
24883         * conform/data/signal.h-data: Likewise.
24884         * conform/data/spawn.h-data: Likewise.
24885         * conform/data/stdarg.h-data: Likewise.
24886         * conform/data/stdio.h-data: Likewise.
24887         * conform/data/stdlib.h-data: Likewise.
24888         * conform/data/string.h-data: Likewise.
24889         * conform/data/strings.h-data: Likewise.
24890         * conform/data/stropts.h-data: Likewise.
24891         * conform/data/sys/ipc.h-data: Likewise.
24892         * conform/data/sys/mman.h-data: Likewise.
24893         * conform/data/sys/msg.h-data: Likewise.
24894         * conform/data/sys/resource.h-data: Likewise.
24895         * conform/data/sys/select.h-data: Likewise.
24896         * conform/data/sys/sem.h-data: Likewise.
24897         * conform/data/sys/shm.h-data: Likewise.
24898         * conform/data/sys/socket.h-data: Likewise.
24899         * conform/data/sys/stat.h-data: Likewise.
24900         * conform/data/sys/statvfs.h-data: Likewise.
24901         * conform/data/sys/time.h-data: Likewise.
24902         * conform/data/sys/timeb.h-data: Likewise.
24903         * conform/data/sys/times.h-data: Likewise.
24904         * conform/data/sys/types.h-data: Likewise.
24905         * conform/data/sys/uio.h-data: Likewise.
24906         * conform/data/sys/un.h-data: Likewise.
24907         * conform/data/sys/utsname.h-data: Likewise.
24908         * conform/data/sys/wait.h-data: Likewise.
24909         * conform/data/syslog.h-data: Likewise.
24910         * conform/data/tar.h-data: Likewise.
24911         * conform/data/termios.h-data: Likewise.
24912         * conform/data/utime.h-data: Likewise.
24913         * conform/data/utmpx.h-data: Likewise.
24914         * conform/data/varargs.h-data: Likewise.
24915         * conform/data/wchar.h-data: Likewise.
24916         * conform/data/wctype.h-data: Likewise.
24917         * conform/data/wordexp.h-data: Likewise.
24919         * include/stropts.h: New file.
24920         * include/uchar.h: New file.
24921         * include/aio.h: Changes to allow conformtest.pl to use the headers.
24922         * include/assert.h: Likewise.
24923         * include/ctype.h: Likewise.
24924         * include/dirent.h: Likewise.
24925         * include/dlfcn.h: Likewise.
24926         * include/fcntl.h: Likewise.
24927         * include/fnmatch.h: Likewise.
24928         * include/glob.h: Likewise.
24929         * include/grp.h: Likewise.
24930         * include/libio.h: Likewise.
24931         * include/locale.h: Likewise.
24932         * include/math.h: Likewise.
24933         * include/net/if.h: Likewise.
24934         * include/netdb.h: Likewise.
24935         * include/netinet/in.h: Likewise.
24936         * include/pthread.h: Likewise.
24937         * include/pwd.h: Likewise.
24938         * include/regex.h: Likewise.
24939         * include/sched.h: Likewise.
24940         * include/search.h: Likewise.
24941         * include/setjmp.h: Likewise.
24942         * include/signal.h: Likewise.
24943         * include/stdio.h: Likewise.
24944         * include/stdlib.h: Likewise.
24945         * include/string.h: Likewise.
24946         * include/sys/cdefs.h: Likewise.
24947         * include/sys/mman.h: Likewise.
24948         * include/sys/msg.h: Likewise.
24949         * include/sys/resource.h: Likewise.
24950         * include/sys/select.h: Likewise.
24951         * include/sys/socket.h: Likewise.
24952         * include/sys/stat.h: Likewise.
24953         * include/sys/statvfs.h: Likewise.
24954         * include/sys/time.h: Likewise.
24955         * include/sys/times.h: Likewise.
24956         * include/sys/uio.h: Likewise.
24957         * include/sys/utsname.h: Likewise.
24958         * include/sys/wait.h: Likewise.
24959         * include/termios.h: Likewise.
24960         * include/time.h: Likewise.
24961         * include/ulimit.h: Likewise.
24962         * include/unistd.h: Likewise.
24963         * include/utime.h: Likewise.
24964         * include/wchar.h: Likewise.
24965         * include/wctype.h: Likewise.
24966         * include/wordexp.h: Likewise.
24968         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24970         * time/time.h: TIME_UTC must be a macro.
24971         Make timespec_get available for ISO C11 only as well.
24973 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
24975         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24976         Reported by Peng Haitao <penght@cn.fujitsu.com>.
24978 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24980         * configure.in: Use -o not -a in test for unsupported multi-arch.
24982 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24984         * manual/texinfo.tex: Update to version 2012-01-19.16.
24986 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
24988         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24990 2012-02-24  Roland McGrath  <roland@hack.frob.com>
24992         [BZ #13738]
24993         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24994         * manual/fdl-1.3.texi: New file.
24995         * manual/fdl-1.1.texi: File removed.
24997         [BZ #13738]
24998         * manual/libc.texinfo (FDL_VERSION): New @set.
24999         Use it for mention of FDL in cover text.
25000         (Documentation License): Use it in @include file name.
25002 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25003             Roland McGrath  <roland@hack.frob.com>
25005         [BZ #5461]
25006         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25007         not LONG_LONG_MAX and LONG_LONG_MIN.
25008         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25009         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25010         name.
25011         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25015         [BZ #2547]
25016         [BZ #11365]
25017         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25018         manipulate bits before adding and subtracting TWO23[sx].
25019         * math/libm-test.inc (nearbyint_test): Add more tests.
25021 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25023         [BZ #2548]
25024         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25025         bits before adding and subtracting TWO23[sx].
25026         * math/libm-test.inc (rint_test): Add more tests.
25027         (rint_test_tonearest): Likewise.
25028         (rint_test_towardzero): Likewise.
25029         (rint_test_downward): Likewise.
25030         (rint_test_upward: Likewise.
25032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25034         [BZ #10110]
25035         * include/stdc-predef.h: New file.  Extracted from features.h.
25036         * include/features.h: Include stdc-predef.h.
25037         * Makefile (headers): Add stdc-predef.h.
25038         * CONFORMANCE (Compiler limitations): Update.
25040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25042         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25044 2012-02-21  David S. Miller  <davem@davemloft.net>
25046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25047         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25049 2012-02-20  David S. Miller  <davem@davemloft.net>
25051         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25052         using a normal save/restore sequence, rather than allocating a
25053         dummy stack frame just to store a frame pointer and restore.
25054         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25058         * manual/install.texi: Fix stray word in line-wrapped comment.
25060 2012-02-20  David S. Miller  <davem@davemloft.net>
25062         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25063         both binutils and gcc support GOTDATA.
25065         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25066         "rd %pc" in the PIC register setup sequences.
25068         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25069         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25070         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25071         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25072         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25074         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25075         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25077         (SYSCALL_ERROR_HANDLER): Likewise.
25078         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25079         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25081         (SYSCALL_ERROR_HANDLER): Likewise.
25083         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25084         (HAVE_GCC_GOTDATA): New.
25085         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25086         relocation support in both binutils and gcc.
25087         * sysdeps/sparc/elf/configure: Regenerate.
25089         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25090         * sysdeps/sparc/sparc32/elf/configure: Delete.
25091         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25092         * sysdeps/sparc/sparc64/elf/configure: Delete.
25093         * sysdeps/sparc/elf/configure.in: New file.
25094         * sysdeps/sparc/elf/configure: Generate.
25096         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25097         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25098         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25099         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25100         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25102 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25104         * manual/install.texi: Do not mention specific glibc version
25105         numbers.
25106         * manual/libc.texinfo (VERSION, UPDATED): Update.
25107         (@copying): Use @copyright{} and range of years.
25109 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25111         [BZ #13695]
25112         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25113         [crti.S not in sysdirs] (generated): Do not append.
25114         [crti.S not in sysdirs] (omit-deps): Likewise.
25115         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25116         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25117         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25118         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25119         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25120         Likewise.
25121         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25122         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25123         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25124         * csu/defs.awk: Remove file.
25125         * sysdeps/generic/initfini.c: Likewise.
25126         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25127         variable.
25128         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25129         Likewise.
25131 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25133         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25134         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25135         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25136         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25137         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25138         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25139         <bits/epoll.h>.
25140         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25141         (__EPOLL_PACKED): Define to empty if not defined by
25142         <bits/epoll.h>.
25143         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25145         bits/epoll.h.
25147 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25149         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25150         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25151         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25152         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25153         <bits/timerfd.h>.
25154         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25156         bits/timerfd.h.
25158 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25160         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25161         in C locale.
25162         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25163         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25169         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25170         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25172 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25174         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25175         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25176         defined.
25177         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25178         Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25180         entry for 2.16.
25182 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25184         * math/w_acos.c: Use non-signaling floating-point comparisons.
25185         * math/w_acosf.c: Likewise.
25186         * math/w_acosh.c: Likewise.
25187         * math/w_acoshf.c: Likewise.
25188         * math/w_acoshl.c: Likewise.
25189         * math/w_acosl.c: Likewise.
25190         * math/w_asin.c: Likewise.
25191         * math/w_asinf.c: Likewise.
25192         * math/w_asinl.c: Likewise.
25193         * math/w_atanh.c: Likewise.
25194         * math/w_atanhf.c: Likewise.
25195         * math/w_atanhl.c: Likewise.
25196         * math/w_exp2.c: Likewise.
25197         * math/w_exp2f.c: Likewise.
25198         * math/w_exp2l.c: Likewise.
25199         * math/w_j0.c: Likewise.
25200         * math/w_j0f.c: Likewise.
25201         * math/w_j0l.c: Likewise.
25202         * math/w_j1.c: Likewise.
25203         * math/w_j1f.c: Likewise.
25204         * math/w_j1l.c: Likewise.
25205         * math/w_jn.c: Likewise.
25206         * math/w_jnf.c: Likewise.
25207         * math/w_log.c: Likewise.
25208         * math/w_log10.c: Likewise.
25209         * math/w_log10f.c: Likewise.
25210         * math/w_log10l.c: Likewise.
25211         * math/w_log2.c: Likewise.
25212         * math/w_log2f.c: Likewise.
25213         * math/w_log2l.c: Likewise.
25214         * math/w_logf.c: Likewise.
25215         * math/w_logl.c: Likewise.
25216         * math/w_sqrt.c: Likewise.
25217         * math/w_sqrtf.c: Likewise.
25218         * math/w_sqrtl.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25221         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25222         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25223         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25225 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25227         [BZ #9739]
25228         * manual/string.texi (strnlen): Use correct parameter name in
25229         equivalent expression.
25231 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25233         [BZ #11174]
25234         * manual/users.texi (seteuid): Consistently use neweuid for
25235         argument name.
25237 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25239         [BZ #13704]
25240         * manual/nss.texi (Services in the NSS configuration): Correct
25241         list of services in example configuration file.
25243 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25245         [BZ #11322]
25246         * manual/arith.texi: Remove statements about negative zero
25247         behaving identically to zero.
25249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25251         [BZ #5993]
25252         * manual/install.texi: Do not document upgrading from libc5.
25254 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25256         [BZ #4596]
25257         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25259 2012-02-18  David S. Miller  <davem@davemloft.net>
25261         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25262         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25263         %o7 across the call.
25264         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25265         instead.
25266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25267         SETUP_PIC_REG_LEAF.
25268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25269         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25270         * sysdeps/sparc/crtn.S: Likewise.
25272 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25274         * aout/Makefile: Remove.
25276 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25278         [BZ #13058]
25279         * manual/examples/argp-ex1.c (main): Format definition in GNU
25280         style.
25281         * manual/examples/argp-ex2.c (main): Likewise.
25282         * manual/examples/argp-ex3.c (main): Likewise.
25283         * manual/examples/argp-ex4.c (main): Likewise.
25284         * manual/examples/longopt.c (main): Use new-style prototype
25285         definition.
25286         * manual/examples/strncat.c (main): Specify return type and use
25287         (void) for arguments.
25288         * manual/examples/subopt.c (main): Use char **argv argument.
25290 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25292         [BZ #5077]
25293         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25294         rounding modes.
25296 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25298         [BZ #6907]
25299         * manual/string.texi (strchr): Change when strchrnul is
25300         recommended.
25302 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25304         [BZ #174]
25305         * manual/locale.texi (setlocale): Document LOCPATH.
25307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25309         [BZ #10210]
25310         * manual/process.texi (execle): Move @dots{} before last argument.
25312 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25314         [BZ #12047]
25315         * manual/charset.texi (Generic Charset Conversion): Fix typo
25316         (LC_TYPE -> LC_CTYPE).
25318 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25320         [BZ #5805]
25321         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25322         (scalbnf): Likewise.
25323         (scalbnl): Likewise.
25324         (scalbln): Likewise.
25325         (scalblnf): Likewise.
25326         (scalblnl): Likewise.
25327         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25328         (vwarnx): Likewise.
25329         (verr): Likewise.
25330         (verrx): Likewise.
25331         * manual/filesys.texi (telldir): Use braces around return type.
25332         * manual/llio.texi (mmap): Add space after comma.
25333         (mmap64): Likewise.
25334         * manual/math.texi (jn): Use @var{} on parameter names.
25335         (jnf): Likewise.
25336         (jnl): Likewise.
25337         (yn): Likewise.
25338         (ynf): Likewise.
25339         (ynl): Likewise.
25340         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25341         line.
25342         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25343         "...".
25344         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25345         (sched_get_priority_max): Likewise.
25346         * manual/signal.texi (sigvec): Add space after comma.
25347         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25348         names.
25349         (if_indextoname): Likewise.
25350         (if_freenameindex): Likewise.
25351         (sendto): Use ',' instead of '.' in prototype.
25352         * manual/startup.texi (syscall): Use @dots{} instead of literal
25353         "...".
25354         * manual/stdio.texi (__fpending): Separate initial words of
25355         paragraph from @deftypefun line.
25356         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25357         "...".
25358         (vsyslog): Use @var{} on parameter names.
25359         * manual/terminal.texi (stty): Use @var{} on parameter names.
25360         * manual/users.texi (getutmp): Use @var{} on parameter names.
25361         (getutmpx): Likewise.
25363 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #6884]
25366         * manual/stdio.texi (fopen): Fix typos in description of
25367         ",ccs=STRING".
25369 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25371         [BZ #4026]
25372         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25373         get clock_id definition.
25375 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25377         [BZ #4822]
25378         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25379         (madvise): Cast every argument to void on its own.
25381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25383         [BZ #9902]
25384         * manual/startup.texi (Exit Status): Fix typo.
25386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25388         [BZ #10140]
25389         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25390         * manual/examples/argp-ex2.c: Likewise.
25391         * manual/examples/argp-ex3.c: Likewise.
25393 2012-02-16  Richard Henderson  <rth@redhat.com>
25395         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25396         * sysdeps/s390/s390-32/initfini.c: Remove.
25397         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25398         * sysdeps/s390/s390-64/initfini.c: Remove.
25400 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25402         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25403         compiler output for sysdeps/generic/initfini.c.
25404         * sysdeps/sh/elf/initfini.c: Remove file.
25406 2012-02-16  David S. Miller  <davem@davemloft.net>
25408         [BZ #11494]
25409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25411         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25412         * sysdeps/sparc/crti.S: New file.
25413         * sysdeps/sparc/crtn.S: New file.
25414         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25415         * sysdeps/sparc/sparc64/Makefile: Likewise.
25417 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25419         [BZ #3335]
25420         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25422 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25424         [BZ #4822]
25425         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25427         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25428         (write, read, close): Likewise.
25429         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25431 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25433         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25434         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25435         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25436         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25437         <bits/signalfd.h>.
25438         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25440         bits/signalfd.h.
25442 2012-02-14  Marek Polacek  <polacek@redhat.com>
25444         * sysdeps/x86_64/crti.S: New file.
25445         * sysdeps/x86_64/crtn.S: New file.
25446         * sysdeps/x86_64/elf/initfini.c: Remove file.
25448 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25450         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25451         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25452         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25453         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25454         <bits/inotify.h>.
25455         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25457         bits/inotify.h.
25459 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25461         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25462         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25463         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25464         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25465         <bits/eventfd.h>.
25466         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25468         bits/eventfd.h.
25470 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25472         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25473         __feraiseexcept instead of feraiseexcept.
25475         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25476         nanosleep invocations.
25477         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25478         strings, and add error checking for a nanosleep invocations.
25480 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25482         Replace FSF snail mail address with URLs, as per GNU coding standards.
25483         Most of the snail mail addresses were wrong anyway, and omitting
25484         them makes the source code easier to maintain.  Almost all of the
25485         changes are to license notices and to locale LC_IDENTIFICATION
25486         addresses, except for this one:
25487         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25488         not its snail mail address.
25490 2012-02-09  Richard Henderson  <rth@twiddle.net>
25492         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25493         of kernel-features.h.
25495         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25497 2012-02-08  Marek Polacek  <polacek@redhat.com>
25499         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25500         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25501         * sysdeps/gnu/_G_config.h: Likewise.
25502         * sysdeps/generic/_G_config.h: Likewise.
25504 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25506         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25507         tests.
25508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25510         * sysdeps/powerpc/powerpc32/crti.S: New file.
25511         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25512         * sysdeps/powerpc/powerpc64/crti.S: New file.
25513         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25515         * Makeconfig (have-initfini): Don't set.
25516         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25517         * configure.in (nopic_initfini): Don't substitute.
25518         * config.h.in (HAVE_INITFINI): Don't #undef.
25519         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25520         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25522 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25524         Support crti.S and crtn.S provided directly by architectures.
25525         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25526         [crti.S in sysdirs] (omit-deps): Likewise.
25527         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25528         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25529         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25530         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25531         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25532         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25533         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25534         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25535         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25536         compiler output for sysdeps/generic/initfini.c.
25537         * sysdeps/i386/elf/Makefile: Remove file.
25538         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25540 2012-02-07  Marek Polacek  <polacek@redhat.com>
25542         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25543         * sysdeps/gnu/_G_config.h: Likewise.
25544         * sysdeps/mach/hurd/_G_config.h: Likewise.
25546 2012-02-07  Marek Polacek  <polacek@redhat.com>
25548         * math/Makefile (tests): Add tst-CMPLX2.
25549         * math/tst-CMPLX2.c: New file.
25551 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25553         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25555         * math/libm-test.inc (jn_test): Add missing L suffix.
25557 2012-02-06  Marek Polacek  <polacek@redhat.com>
25559         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25560         * sysdeps/i386/fpu/e_powf.S: Likewise.
25561         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25563         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25564         * sysdeps/i386/fpu/e_pow.S: Likewise.
25565         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25566         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25567         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25568         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25569         * sysdeps/i386/fpu/e_log2.S: Likewise.
25570         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25571         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25572         * sysdeps/i386/fpu/e_powl.S: Likewise.
25573         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25574         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25575         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25576         * sysdeps/i386/fpu/e_logl.S: Likewise.
25577         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25578         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25579         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25580         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25581         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25582         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25583         * sysdeps/i386/fpu/e_log.S: Likewise.
25584         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25585         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25586         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25587         * sysdeps/i386/fpu/e_logf.S: Likewise.
25588         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25590         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25591         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25592         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25593         * sysdeps/i386/fpu/e_log10.S: Likewise.
25594         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25596         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25597         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25598         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25599         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25600         * sysdeps/i386/asm-syntax.h: Likewise.
25601         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25602         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25603         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25604         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25605         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25606         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25607         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25608         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25609         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25610         * sysdeps/powerpc/sysdep.h: Likewise.
25611         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25612         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25616         [BZ #411]
25617         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25619 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25621         * sysdeps/i386/sysdep.h: Include <features.h>.
25622         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25623         version.
25625 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25627         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25628         Define.
25629         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25630         LOAD_PIC_REG_STR.
25632 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25634         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25635         (SETUP_PIC_REG): Use GET_PC_THUNK.
25636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25637         macro.
25639 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25641         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25642         for non-PIC compilation.
25643         (SETUP_PIC_REG): Add .p2align directive.
25644         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25645         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25647         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25648         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25649         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25650         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25651         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25652         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25653         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25654         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25655         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25656         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25658         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25659         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25660         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25661         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25662         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25663         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25665         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25666         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25667         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25668         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25670         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25671         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25672         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25673         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25674         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25675         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25676         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25677         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25678         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25679         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25680         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25681         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25682         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25683         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25684         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25686 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25688         * math/tst-CMPLX.c: Include <stdio.h>.
25690 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25692         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25693         float.
25694         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25695         * sysdeps/sparc/bits/mathdef.h: Likewise.
25697 2012-01-31  Marek Polacek  <polacek@redhat.com>
25699         * libio/libio.h: Don't define _PARAMS.
25700         * locale/programs/config.h: Don't define PARAMS.
25701         * stdlib/strtol_l.c: Likewise.
25702         (__strtol_l): Remove PARAMS from the prototype.
25704 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
25706         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
25707         names.  Just use the correct names.  Remove unnecessary wrapper
25708         functions.
25709         * malloc/arena.c: Likewise.
25710         * malloc/hooks.c: Likewise.
25712         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25713         ARENA_TEST says not to.  Simplify test for creation of a new arena.
25714         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25716 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
25718         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25719         into tail calls.
25720         (update_get_addr): New function.
25721         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25722         GET_ADDR_MODULE parameter.
25724 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25726         * crypt/cert.c: Remove __STDC__ conditionals.
25727         * crypt/crypt-entry.c: Likewise.
25728         * crypt/crypt_util.c: Likewise.
25729         * libio/filedoalloc.c: Likewise.
25730         * libio/fileops.c: Likewise.
25731         * libio/genops.c: Likewise.
25732         * libio/iofclose.c: Likewise.
25733         * libio/iofdopen.c: Likewise.
25734         * libio/iofopen.c: Likewise.
25735         * libio/iofopen64.c: Likewise.
25736         * libio/iogetdelim.c: Likewise.
25737         * libio/iopopen.c: Likewise.
25738         * libio/obprintf.c: Likewise.
25739         * libio/oldfileops.c: Likewise.
25740         * libio/oldiofclose.c: Likewise.
25741         * libio/oldiofdopen.c: Likewise.
25742         * libio/oldiofopen.c: Likewise.
25743         * libio/oldiopopen.c: Likewise.
25744         * libio/wfiledoalloc.c: Likewise.
25745         * libio/wgenops.c: Likewise.
25746         * locale/programs/xmalloc.c: Likewise.
25747         * misc/syslog.c: Likewise.
25748         * stdio-common/xbug.c: Likewise.
25749         * string/memchr.c: Likewise.
25750         * string/memcmp.c: Likewise.
25751         * string/memrchr.c: Likewise.
25752         * string/rawmemchr.c: Likewise.
25753         * sysdeps/posix/getcwd.c: Likewise.
25754         * time/strftime_l.c: Likewise.
25756 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25758         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25759         * config.make.in (config-cflags-sse2avx): Define.
25760         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25761         Fix typo.
25763 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
25765         * scripts/config.guess: Update from upstream config git repository.
25766         * scripts/config.sub: Likewise.
25768 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
25770         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25771         (EM_NUM): Update.
25772         (R_TILEPRO_*, R_TILEGX_*): New macros.
25774         * scripts/firstversions.awk: Fix bug in version range handling.
25776         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25778         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25780         * include/sys/epoll.h: New file.
25781         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25782         libc_hidden_def.
25784 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
25786         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25787         Avoid unnecessary __WORDSIZE == 64 test.
25788         (fmaxf): Use VEX format if possible.
25789         (fmax): Likewise.
25790         (fminf): Likewise.
25791         (fmin): Likewise.
25793         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25794         * math/math_private.h: Remove libc_fegetround* and
25795         libc_fesetround*.
25796         * sysdeps/i386/configure.in: Check for -msse2avx.
25797         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25798         also if SSE2AVX is defined.
25799         Remove libc_fegetround* and libc_fesetround*.
25800         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25801         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
25802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25803         of HAS_YMM_USABLE.
25804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25810         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25812 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25814         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25815         size is not set.
25816         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25818 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
25820         [BZ #13618]
25821         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25822         relocation.
25823         * Makeconfig (libm): Define.
25824         * elf/Makefile: Add rules to build and run tst-relsort1.
25825         * elf/tst-relsort1.c: New file.
25826         * elf/tst-relsort1mod1.c: New file.
25827         * elf/tst-relsort1mod2.c: New file.
25829 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
25831         * math/s_ldexp.c: Remove __STDC__ conditionals.
25832         * math/s_ldexpf.c: Likewise.
25833         * math/s_ldexpl.c: Likewise.
25834         * math/s_nextafter.c: Likewise.
25835         * math/s_nexttowardf.c: Likewise.
25836         * math/s_significand.c: Likewise.
25837         * math/s_significandf.c: Likewise.
25838         * math/s_significandl.c: Likewise.
25839         * math/w_jnl.c: Likewise.
25840         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25841         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25842         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25843         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25844         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25846         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25849         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25850         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25851         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25852         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25853         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25855         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25856         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25862         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25864         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25865         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25866         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25867         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25868         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25869         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25872         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25873         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25874         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25876         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25877         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25878         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25879         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25880         * sysdeps/ieee754/k_standard.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25885         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25889         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25890         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25891         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25894         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25899         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25900         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25901         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25910         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25912         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25913         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25916         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25917         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25918         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25923         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25924         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25931         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25934         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25935         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25936         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25937         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25939         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25940         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25941         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25942         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25943         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25944         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25945         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25946         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25947         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25948         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25949         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25950         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25951         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25952         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25953         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25955         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25956         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25957         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25958         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25959         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25960         * sysdeps/ieee754/s_matherr.c: Likewise.
25961         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25962         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25966 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25968         * crypt/md5.h: Remove __STDC__ conditionals.
25969         * libio/libioP.h: Likewise.
25970         * locale/programs/config.h: Likewise.
25971         * sysdeps/generic/sysdep.h: Likewise.
25972         * sysdeps/i386/asm-syntax.h: Likewise.
25973         * sysdeps/s390/asm-syntax.h: Likewise.
25974         * sysdeps/unix/sysdep.h: Likewise.
25975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25978 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
25980         * libio/libio.h: Remove __STDC__ conditionals.
25981         * malloc/obstack.h: Likewise.
25982         * math/complex.h: Likewise.
25983         * math/math.h: Likewise.
25984         * sysdeps/generic/_G_config.h: Likewise.
25985         * sysdeps/gnu/_G_config.h: Likewise.
25986         * sysdeps/mach/hurd/_G_config.h: Likewise.
25987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25988         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25989         * sysdeps/sparc/bits/mathdef.h: Likewise.
25991 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
25993         [BZ #13583]
25994         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25995         Clean up HAS_* macros.
25996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25997         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25998         possible.
25999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26000         HAS_AVX.
26001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26002         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26003         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26004         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26005         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26007 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26009         * elf/tst-unique3.cc (gets): Remove declaration.
26010         * elf/tst-unique3lib.cc (gets): Likewise.
26011         * elf/tst-unique3lib2.cc (gets): Likewise.
26012         * elf/tst-unique4.cc (gets): Likewise.
26014 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26016         * include/stdio.h: Add C++ protection.  Add gets declarations and
26017         definitions.
26018         * debug/tst-chk1.c: Don't declare gets here.
26019         * stdio-common/tst-gets.c: Likewise.
26021 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26023         * posix/glob: Remove directory.
26025 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26027         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26029 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26031         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26032         of the non-standard EPFNOSUPPORT.
26034 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26036         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26037         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26038         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26040 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26042         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26044 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26046         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26047         transient errors.
26048         * nscd/grpcache.c (cache_addgr): Likewise.
26049         * nscd/hstcache.c (cache_addhst): Likewise.
26050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26051         * nscd/pwdcache.c (cache_addpw): Likewise.
26052         * nscd/servicescache.c (cache_addserv): Likewise.
26054 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26056         * malloc/malloc.c: Various cleanups.
26057         * malloc/hooks.c: Likewise.
26059         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26060         * stdlib/bug-fmtmsg1.c: New file.
26062         * stdlib/fmtmsg.c (init): Add missing unlock.
26063         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26065 2012-01-12  Marek Polacek  <polacek@redhat.com>
26067         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26068         and _GNU_SOURCE.
26070 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26072         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26073         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26074         macro to ensure uniqueness of label name.
26075         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26076         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26078 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26080         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26082         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26083         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26085         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26087 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26089         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26091         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26092         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26095         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26097         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26098         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26099         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26102         * math/bits/math-finite.h: Add ldexp support.
26104 2012-01-10  Marek Polacek  <polacek@redhat.com>
26106         * locale/programs/localedef.h (show_archive_content): Add noreturn
26107         attribute.
26109 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26111         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26113 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26115         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26117         * io/Makefile (headers): Add bits/poll2.h.
26119 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26122         typo #include statement.
26124 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26126         * include/sys/cdefs.h: Define __attribute_alloc_size.
26127         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26128         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26129         * elf/pldd.c: Likewise.
26130         * iconv/iconv_charmap.c: Likewise.
26131         * iconv/iconvconfig.c: Likewise.
26132         * iconv/strtab.c: Likewise.
26133         * locale/programs/locale.c: Likewise.
26134         * locale/programs/localedef.h: Likewise.
26135         * locale/programs/simple-hash.c: Likewise.
26136         * nscd/nscd.h: Likewise.
26137         * nss/makedb.c: Likewise.
26138         * sysdeps/generic/ldconfig.h: Likewise.
26139         * locale/programs/localedef.c: Remove xmalloc prototype.
26140         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26142 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26144         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26145         appropriate.
26147 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26149         * math/Makefile (tests): Add tst-CMPLX.
26150         * math/tst-CMPLX.c: New file.
26152         * math/complex.h (CMPLXL): Fix typo.
26154         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26155         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26156         GLIBC_2.16.
26157         * debug/tst-chk1.c: Add poll and ppoll tests.
26158         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26159         * include/sys/poll.h: Add hidden proto for ppoll.
26160         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26161         * sysdeps/mach/hurd/ppoll.c: Likewise.
26162         * io/ppoll.c: Likewise.
26163         * debug/poll_chk.c: New file.
26164         * debug/ppoll_chk.c: New file.
26165         * include/bits/poll2.h: New file.
26166         * io/bits/poll2.h: New file.
26168         [BZ #1350]
26169         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26171         * configure.in: static is always set to yes.  Remove.
26172         * config.make.in: Don't set build-static.
26173         * Makeconfig: Remove use of build-static.
26174         * dlfcn/Makefile: Likewise.
26175         * elf/Makefile: Likewise.
26176         * math/Makefile: Likewise.
26177         * misc/Makefile: Likewise.
26178         * nptl/Makefile: Likewise.
26179         * sysdeps/mach/hurd/Makefile: Likewise.
26181         * configure.in: PWD_P is not used anymore.
26182         * config.make.in: Remove PWD_P entry.
26184         * configure.in: Remove last remnants of RANLIB.
26185         No need to check for signed size_t anymore.
26186         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26187         and IA-64.
26188         Remove __builtin_expect test because we require at least gcc 3.4.
26189         * aclocal.m4: Likewise.
26191         * wcsmbs/mbrtoc16.c: Implement using towc function.
26192         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26193         * wcsmbs/wcsmbsload.c: Likewise.
26194         * iconv/gconv_simple.c: Likewise.
26195         * iconv/gconv_int.h: Likewise.
26196         * iconv/gconv_builtin.h: Likewise.
26197         * iconv/iconv_prog.c: Remove CHAR16 handling.
26199         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26201         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26203         * configure.in: Remove --with-elf and --enable-bounded options.
26204         Dont set base_machine for ia64.  More non-ELF conditions removed.
26205         Remove testing and setting of leading underscore information.
26206         * config.make.in (build-bounded): Set to no.
26207         * config.h.in: Remove NO_UNDERSCORES entry.
26208         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26209         them.
26210         * csu/start.c: Remove !NO_UNDERSCORE code.
26211         * locale/localeinfo.h: Likewise.
26212         * sysdeps/generic/machine-gmon.h: Likewise.
26213         * sysdeps/generic/sysdep.h: Likewise.
26214         * sysdeps/i386/sysdep.h: Likewise.
26215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26216         * sysdeps/mach/sysdep.h: Likewise.
26217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26218         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26219         * sysdeps/sh/sysdep.h: Likewise.
26220         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26221         * sysdeps/unix/i386/sysdep.S: Likewise.
26222         * sysdeps/unix/sparc/start.c: Likewise.
26223         * sysdeps/unix/sparc/sysdep.S: Likewise.
26224         * sysdeps/unix/sparc/sysdep.h: Likewise.
26225         * sysdeps/unix/start.c: Likewise.
26226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26227         * sysdeps/x86_64/sysdep.h: Likewise.
26229 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26231         [BZ #13553]
26232         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26233         for non-gcc.
26234         * argp/argp-fmtstream.h: Use const instead __const.
26235         * argp/argp.h: Likewise.
26236         * assert/assert.h: Likewise.
26237         * bits/fenv.h: Likewise.
26238         * bits/sched.h: Likewise.
26239         * bits/sigset.h: Likewise.
26240         * bits/sigthread.h: Likewise.
26241         * catgets/nl_types.h: Likewise.
26242         * conform/data/pthread.h-data: Likewise.
26243         * crypt/crypt-private.h: Likewise.
26244         * crypt/crypt.h: Likewise.
26245         * crypt/crypt_util.c: Likewise.
26246         * ctype/ctype.h: Likewise.
26247         * debug/execinfo.h: Likewise.
26248         * debug/mbsnrtowcs_chk.c: Likewise.
26249         * debug/mbsrtowcs_chk.c: Likewise.
26250         * debug/wcsnrtombs_chk.c: Likewise.
26251         * debug/wcsrtombs_chk.c: Likewise.
26252         * debug/wcstombs_chk.c: Likewise.
26253         * dirent/dirent.h: Likewise.
26254         * dlfcn/dlfcn.h: Likewise.
26255         * elf/neededtest4.c: Likewise.
26256         * grp/grp.h: Likewise.
26257         * gshadow/gshadow.h: Likewise.
26258         * iconv/gconv.h: Likewise.
26259         * iconv/gconv_int.h: Likewise.
26260         * iconv/gconv_simple.c: Likewise.
26261         * iconv/iconv.h: Likewise.
26262         * iconv/loop.c: Likewise.
26263         * iconv/skeleton.c: Likewise.
26264         * include/aio.h: Likewise.
26265         * include/aliases.h: Likewise.
26266         * include/argz.h: Likewise.
26267         * include/arpa/inet.h: Likewise.
26268         * include/assert.h: Likewise.
26269         * include/dirent.h: Likewise.
26270         * include/dlfcn.h: Likewise.
26271         * include/execinfo.h: Likewise.
26272         * include/fcntl.h: Likewise.
26273         * include/fenv.h: Likewise.
26274         * include/glob.h: Likewise.
26275         * include/grp.h: Likewise.
26276         * include/libintl.h: Likewise.
26277         * include/mntent.h: Likewise.
26278         * include/netdb.h: Likewise.
26279         * include/pwd.h: Likewise.
26280         * include/rpc/netdb.h: Likewise.
26281         * include/sched.h: Likewise.
26282         * include/search.h: Likewise.
26283         * include/shadow.h: Likewise.
26284         * include/signal.h: Likewise.
26285         * include/stdio.h: Likewise.
26286         * include/stdlib.h: Likewise.
26287         * include/string.h: Likewise.
26288         * include/sys/socket.h: Likewise.
26289         * include/sys/stat.h: Likewise.
26290         * include/sys/statfs.h: Likewise.
26291         * include/sys/statvfs.h: Likewise.
26292         * include/sys/syslog.h: Likewise.
26293         * include/sys/time.h: Likewise.
26294         * include/sys/uio.h: Likewise.
26295         * include/time.h: Likewise.
26296         * include/unistd.h: Likewise.
26297         * include/utmp.h: Likewise.
26298         * include/wchar.h: Likewise.
26299         * include/wctype.h: Likewise.
26300         * inet/aliases.h: Likewise.
26301         * inet/arpa/inet.h: Likewise.
26302         * inet/netinet/ether.h: Likewise.
26303         * inet/netinet/in.h: Likewise.
26304         * intl/libintl.h: Likewise.
26305         * io/bits/fcntl2.h: Likewise.
26306         * io/fcntl.h: Likewise.
26307         * io/ftw.h: Likewise.
26308         * io/sys/poll.h: Likewise.
26309         * io/sys/stat.h: Likewise.
26310         * io/sys/statfs.h: Likewise.
26311         * io/sys/statvfs.h: Likewise.
26312         * io/utime.h: Likewise.
26313         * libio/bits/stdio.h: Likewise.
26314         * libio/bits/stdio2.h: Likewise.
26315         * libio/libio.h: Likewise.
26316         * libio/libioP.h: Likewise.
26317         * libio/stdio.h: Likewise.
26318         * locale/lc-ctype.c: Likewise.
26319         * locale/locale.h: Likewise.
26320         * login/utmp.h: Likewise.
26321         * malloc/arena.c: Likewise.
26322         * malloc/malloc.c: Likewise.
26323         * malloc/malloc.h: Likewise.
26324         * malloc/mcheck.c: Likewise.
26325         * malloc/mtrace.c: Likewise.
26326         * math/bits/mathcalls.h: Likewise.
26327         * math/fenv.h: Likewise.
26328         * math/math_private.h: Likewise.
26329         * misc/bits/error.h: Likewise.
26330         * misc/bits/syslog.h: Likewise.
26331         * misc/err.h: Likewise.
26332         * misc/error.h: Likewise.
26333         * misc/fstab.h: Likewise.
26334         * misc/mntent.h: Likewise.
26335         * misc/regexp.h: Likewise.
26336         * misc/search.h: Likewise.
26337         * misc/sgtty.h: Likewise.
26338         * misc/sys/mman.h: Likewise.
26339         * misc/sys/syslog.h: Likewise.
26340         * misc/sys/uio.h: Likewise.
26341         * misc/sys/xattr.h: Likewise.
26342         * misc/ttyent.h: Likewise.
26343         * nis/rpcsvc/ypclnt.h: Likewise.
26344         * nss/nss.h: Likewise.
26345         * posix/bits/unistd.h: Likewise.
26346         * posix/fnmatch.h: Likewise.
26347         * posix/glob.h: Likewise.
26348         * posix/sched.h: Likewise.
26349         * posix/spawn.h: Likewise.
26350         * posix/sys/wait.h: Likewise.
26351         * posix/unistd.h: Likewise.
26352         * posix/wordexp.h: Likewise.
26353         * pwd/pwd.h: Likewise.
26354         * resolv/netdb.h: Likewise.
26355         * resource/sys/resource.h: Likewise.
26356         * rt/aio.h: Likewise.
26357         * rt/bits/mqueue2.h: Likewise.
26358         * rt/mqueue.h: Likewise.
26359         * shadow/shadow.h: Likewise.
26360         * signal/signal.h: Likewise.
26361         * socket/send.c: Likewise.
26362         * socket/sendto.c: Likewise.
26363         * socket/sys/socket.h: Likewise.
26364         * stdio-common/printf.h: Likewise.
26365         * stdlib/bits/stdlib.h: Likewise.
26366         * stdlib/fmtmsg.h: Likewise.
26367         * stdlib/monetary.h: Likewise.
26368         * stdlib/stdlib.h: Likewise.
26369         * stdlib/ucontext.h: Likewise.
26370         * streams/stropts.h: Likewise.
26371         * string/argz.h: Likewise.
26372         * string/bits/string2.h: Likewise.
26373         * string/string.h: Likewise.
26374         * string/strings.h: Likewise.
26375         * sunrpc/rpc/auth.h: Likewise.
26376         * sunrpc/rpc/auth_des.h: Likewise.
26377         * sunrpc/rpc/clnt.h: Likewise.
26378         * sunrpc/rpc/netdb.h: Likewise.
26379         * sunrpc/rpc/pmap_clnt.h: Likewise.
26380         * sunrpc/rpc/xdr.h: Likewise.
26381         * sysdeps/generic/inttypes.h: Likewise.
26382         * sysdeps/generic/net/if.h: Likewise.
26383         * sysdeps/generic/sys/swap.h: Likewise.
26384         * sysdeps/gnu/net/if.h: Likewise.
26385         * sysdeps/gnu/utmpx.h: Likewise.
26386         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26387         * sysdeps/i386/i486/bits/string.h: Likewise.
26388         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26389         * sysdeps/s390/bits/string.h: Likewise.
26390         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26391         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26392         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26393         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26394         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26395         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26396         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26397         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26398         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26399         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26400         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26401         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26402         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26403         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26404         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26405         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26411         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26412         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26413         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26414         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26415         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26416         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26417         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26418         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26419         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26420         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26421         * sysvipc/sys/ipc.h: Likewise.
26422         * sysvipc/sys/msg.h: Likewise.
26423         * sysvipc/sys/sem.h: Likewise.
26424         * sysvipc/sys/shm.h: Likewise.
26425         * termios/termios.h: Likewise.
26426         * time/sys/time.h: Likewise.
26427         * time/time.h: Likewise.
26428         * wcsmbs/bits/wchar2.h: Likewise.
26429         * wcsmbs/uchar.h: Likewise.
26430         * wcsmbs/wchar.h: Likewise.
26431         * wctype/wctype.h: Likewise.
26433         [BZ #13551]
26434         * Makeconfig: Remove all but ELF support including AIX support.
26435         * Makerules: Likewise.
26436         * config.h.in: Likewise.
26437         * config.make.in: Likewise.
26438         * configure: Likewise.
26439         * configure.in: Likewise.
26440         * csu/Makefile: Likewise.
26441         * csu/version.c: Likewise.
26442         * debug/Makefile: Likewise.
26443         * dlfcn/Makefile: Likewise.
26444         * elf/Makefile: Likewise.
26445         * extra-lib.mk: Likewise.
26446         * iconv/Makefile: Likewise.
26447         * include/libc-symbols.h: Likewise.
26448         * include/shlib-compat.h: Likewise.
26449         * resolv/Makefile: Likewise.
26450         * resolv/res_libc.c: Likewise.
26451         * rt/Makefile: Likewise.
26452         * sysdeps/i386/asm-syntax.h: Likewise.
26453         * sysdeps/i386/sysdep.h: Likewise.
26454         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26455         * sysdeps/mach/sysdep.h: Likewise.
26456         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26457         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26458         * sysdeps/s390/asm-syntax.h: Likewise.
26459         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26460         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26461         * sysdeps/sh/sysdep.h: Likewise.
26462         * sysdeps/unix/sparc/sysdep.h: Likewise.
26463         * sysdeps/wordsize-32/divdi3.c: Likewise.
26464         * sysdeps/x86_64/sysdep.h: Likewise.
26466         * argp/Versions: Remove _argp_unlock_xxx.
26468         [BZ #13559]
26469         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26470         * abilist/libBrokenLocale.abilist: Likewise.
26471         * abilist/libanl.abilist: Likewise.
26472         * abilist/libc.abilist: Likewise.
26473         * abilist/libcrypt.abilist: Likewise.
26474         * abilist/libdl.abilist: Likewise.
26475         * abilist/libm.abilist: Likewise.
26476         * abilist/libnsl.abilist: Likewise.
26477         * abilist/libpthread.abilist: Likewise.
26478         * abilist/libresolv.abilist: Likewise.
26479         * abilist/librt.abilist: Likewise.
26480         * abilist/libthread_db.abilist: Likewise.
26481         * abilist/libutil.abilist: Likewise.
26482         * abilist/libnss_db.abilist: New file.
26484         * scripts/abilist.awk: Add support for indirect functions.
26486         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26488         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26490         * shlib-versions: Remove entries for ports architectures.
26492         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26493         files in ports.
26494         * elf/stackguard-macros.h: Remove support for IA-64.
26495         * elf/tst-auditmod1.c: Likewise.
26496         * sysdeps/generic/ldsodefs.h: Likewise.
26498         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26499         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26500         configure files.
26502         [BZ #13552]
26503         * configure.in: Remove --enable-omitfp support.
26504         * FAQ.in: Adjust.
26505         * config.make.in: Likewise.
26506         * Makeconfig: Likewise.
26507         * manual/install.texi: Likewise.
26509         In case anyone cares, the IA-64 architecture could move to ports.
26510         * sysdeps/ia64/*: Removed.
26511         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26512         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26514         [BZ #13555]
26515         * configure.in: Remove entries for unsupported architectures.
26517         [BZ #13533]
26518         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26519         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26520         routines.
26521         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26522         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26523         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26524         fall back to using wcrtomb.
26525         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26526         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26527         renaming.
26528         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26529         * wcsmbs/tst-c16c32-1.c: New file.
26531         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26532         local variable.
26534         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26536         * elf/tst-unique3.cc: Add explicit declaration of gets.
26537         * elf/tst-unique3lib.cc: Likewise.
26538         * elf/tst-unique3lib2.cc: Likewise.
26539         * elf/tst-unique4.cc: Likewise.
26541         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26543 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26545         [BZ #13566]
26546         * assert/assert.h (static_assert): Don't define for C++.
26547         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26548         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26550 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26552         * iconv/loop.c (single loop): Fix assertion in storing of
26553         remaining bytes.
26555         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26557 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26559         * posix/getconf.c: Update copyright year.
26560         * nss/getent.c: Likewise.
26561         * nss/makedb.c: Likewise.
26562         * iconv/iconvconfig.c: Likewise.
26563         * iconv/iconv_prog.c: Likewise.
26564         * elf/ldconfig.c: Likewise.
26565         * elf/pldd.c: Likewise.
26566         * elf/sotruss.ksh: Likewise.
26567         * catgets/gencat.c: Likewise.
26568         * csu/version.c: Likewise.
26569         * elf/ldd.bash.in: Likewise.
26570         * elf/sprof.c (print_version): Likewise.
26571         * locale/programs/locale.c: Likewise.
26572         * locale/programs/localedef.c: Likewise.
26573         * login/programs/pt_chown.c: Likewise.
26574         * nscd/nscd.c (print_version): Likewise.
26575         * debug/xtrace.sh: Likewise.
26576         * malloc/memusage.sh: Likewise.
26577         * malloc/mtrace.pl: Likewise.
26578         * debug/catchsegv.sh: Likewise.
26580 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26582         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26583         pure attribute.
26585 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26587         [BZ #13533]
26588         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26589         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26590         transformations.
26591         * iconv/gconv_int.h: Likewise.
26592         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26593         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26594         from libc for GLIBC_2.16.
26595         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26596         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26597         * wcsmbs/uchar.h: Really define mbstate_t.
26598         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26599         * wcsmbs/c16rtomb.c: New file.
26600         * wcsmbs/mbrtoc16.c: New file.
26601         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26602         for C/POSIX locale.
26603         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26604         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26606         * wcsmbs/wchar.h: Add missing __restrict.
26608 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26610         [BZ #13532]
26611         * time/Makefile (routines): Add timespec_get.
26612         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26613         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26614         timespec for ISO C11.
26615         * time/timespec_get.c: New file.
26616         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26617         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26619         [BZ #13531]
26620         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26621         * stdlib/stdlib.h: Declare aligned_alloc.
26622         * Versions.def: Add GLIBC_2.16 for libc.
26623         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26625         [BZ 13527]
26626         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26627         ISO C11.
26629         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26630         code.
26632         [BZ #13528]
26633         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26635         [BZ #13529]
26636         * assert/assert.h (static_assert): Define.
26638         * version.h: Update for 2.16 development version.
26640         [BZ #13526]
26641         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26642         _ISOC11_SOURCE.
26644         * version.h (RELEASE): Bump for 2.15 release.
26645         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26647         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26648         Patch by Marek Polacek <mpolacek@redhat.com>.
26650         * bits/byteswap.h: Protect long long constants with __extension__.
26651         * sysdeps/i386/bits/byteswap.h: Likewise.
26652         * sysdeps/ia64/bits/byteswap.h: Likewise.
26653         * sysdeps/s390/bits/byteswap.h: Likewise.
26654         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26656 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26658         [BZ #13540]
26659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26660         destination buffer.
26661         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26663 2011-12-23  Marek Polacek  <polacek@redhat.com>
26665         * elf/dl-addr.c (determine_info): Add inline keyword.
26666         * elf/tst-auditmod4b.c (check_avx): Likewise.
26667         * elf/tst-auditmod6b.c (check_avx): Likewise.
26668         * elf/tst-auditmod6c.c (check_avx): Likewise.
26669         * elf/tst-auditmod7b.c (check_avx): Likewise.
26671 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26673         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26674         !__SSE_MATH__.
26676 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26678         [BZ #13540]
26679         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26680         processing for last bytes.
26682 2011-08-06  Bruno Haible  <bruno@clisp.org>
26684         [BZ #13061]
26685         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26686         U+0385, not to U+1FEE.
26688         [BZ #13062]
26689         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26690         entry for U+00A5 U+0301.
26692 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26694         [BZ #13166]
26695         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26696         buffer for the output is too small.
26698         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26699         optimization.
26701         [BZ #13185]
26702         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26703         SSE flags if possible.
26705 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26707         [BZ #13540]
26708         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26709         processing for last bytes.
26711 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
26713         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26714         (syscall-list-default-options, syscall-list-default-condition)
26715         (syscall-list-includes): Define.
26716         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26717         list of ABIs and options and #if conditions for each ABI.  Do not
26718         handle common syscalls between ABIs specially.
26719         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26720         Remove.
26721         (syscall-list-variants, syscall-list-32bit-options)
26722         (syscall-list-32bit-condition, syscall-list-64bit-options)
26723         (syscall-list-64bit-condition): Define.
26724         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26725         (syscall-list-variants, syscall-list-32bit-options)
26726         (syscall-list-32bit-condition, syscall-list-64bit-options)
26727         (syscall-list-64bit-condition): Define.
26728         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26729         Remove.
26730         (syscall-list-variants, syscall-list-32bit-options)
26731         (syscall-list-32bit-condition, syscall-list-64bit-options)
26732         (syscall-list-64bit-condition): Define.
26733         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26734         Remove.
26735         (syscall-list-variants, syscall-list-32bit-options)
26736         (syscall-list-32bit-condition, syscall-list-64bit-options)
26737         (syscall-list-64bit-condition): Define.
26739 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26741         * locale/iso-639.def: Add brx entry.
26743         [BZ #13328]
26744         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26745         Proposed by Mariusz_Cukr <marcukr@op.pl>.
26747         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26748         __feraiseexcept_renamed.
26750 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26752         [BZ #13538]
26753         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26754         EPOLLET with unsigned values.
26755         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26756         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26758         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26759         to large cancellation.
26760         * math/s_cacoshf.c: Likewise.
26761         * math/s_cacoshl.c: Likewise.
26763 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
26765         [BZ #13305]
26766         [BZ #12786]
26767         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26768         * math/s_cacoshf.c: Likewise.
26769         * math/s_cacoshl.c: Likewise.
26771 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26773         [BZ #13439]
26774         * iconv/gconv.h: Define __GCONV_SWAP.
26775         * iconvdata/unicode.c: The swap bit must be stored in __flags.
26776         * iconvdata/utf-16.c: Likewise.
26777         * iconvdata/utf-32.c: Likewise.
26779 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26781         [BZ #13524]
26782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26783         numerator after shifting it by one limb.
26785 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
26787         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26788         under [__USE_EXTERN_INLINES].
26790 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26792         [BZ #13446]
26793         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26795 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26797         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26798         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26799         optimized code.
26800         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26802         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26803         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26804         for strncasecmp/strncasecmp_l compilation.
26805         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26806         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26808 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
26810         [BZ #13484]
26811         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26812         of __asm__.
26814 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26816         [BZ #13506]
26817         * time/tzfile.c (__tzfile_read): Check values from file header.
26819 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26821         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26822         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26823         * powerpc/powerpc32/dl-start.S: Likewise.
26824         * powerpc/powerpc32/elf/start.S: Likewise.
26825         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26826         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26827         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26828         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26829         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26830         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26831         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26832         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26833         * powerpc/powerpc32/fpu/s_round.S: Likewise.
26834         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26835         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26836         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26837         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26838         * powerpc/powerpc32/memset.S: Likewise.
26839         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26840         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26841         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26842         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26843         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26844         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26845         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26846         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26847         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26848         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26849         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26850         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26851         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26853 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26855         * math/libm-test.inc: Added more nearbyint tests.
26856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26861 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
26863         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26864         FD_CLOEXEC.
26866 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26868         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26869         Add wcscpy-ssse3 wcscpy-c.
26870         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26871         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26872         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26873         * sysdeps/x86_64/wcschr.S: New file.
26874         * sysdeps/x86_64/wcsrchr.S: New file.
26875         * string/test-strcmp.c: Remove checking of wcscmp function for
26876         wrong alignments.
26877         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26878         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26879         wcsrchr-sse2 wcsrchr-c.
26880         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26881         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26882         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26883         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26884         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26885         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26886         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26887         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26888         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26889         * wcsmbc/wcschr.c (WCSCHR): New macro.
26891 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26893         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26894         * wcsmbs/test-wcsrchr.c: New file.
26895         * string/test-strrchr.c: Add wcsrchr support.
26896         (WIDE): New macro.
26897         * wcsmbs/test-wcscpy.c: New file.
26898         * string/test-strcpy.c: Add wcscpy support.
26899         (WIDE): New macro.
26901 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
26903         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26904         the inner loop.
26906 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
26908         [BZ #13472]
26909         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26911 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
26913         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26914         Minor optimizations.
26916         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26917         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26918         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26920 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
26922         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26923         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26924         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26925         for gcc to avoid warnings.
26926         * inet/Makefile (tests): Add tst-checks.
26927         * inet/tst-checks.c: New file.
26929         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26930         warning.
26932         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26933         __wmemcmp_sse2.
26935         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26936         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26938         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26940 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
26942         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26943         problem.
26945         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26947 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
26949         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26950         conditional on GCC version.
26951         (__arch_compare_and_exchange_val_8_acq)
26952         (__arch_compare_and_exchange_val_16_acq)
26953         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26954         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26955         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26957 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
26959         * sysdeps/sh/backtrace.c: New file.
26961 2011-12-02  Andreas Schwab  <schwab@redhat.com>
26963         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
26964         parenthesis.
26966 2011-12-01  Andreas Schwab  <schwab@redhat.com>
26968         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26969         falling back to utime.
26971 2011-11-30  Andreas Schwab  <schwab@redhat.com>
26973         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26974         expectations for float.
26976 2011-11-29  Andreas Schwab  <schwab@redhat.com>
26978         * locale/weight.h (findidx): Add parameter len.
26979         * locale/weightwc.h (findidx): Likewise.
26980         * posix/fnmatch_loop.c (FCT): Adjust caller.
26981         * posix/regcomp.c (build_equiv_class): Likewise.
26982         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26983         * posix/regexec.c (check_node_accept_bytes): Likewise.
26984         * string/strcoll_l.c (STRCOLL): Likewise.
26985         * string/strxfrm_l.c (STRXFRM): Likewise.
26987 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
26989         * Makefile.in: Remove CVSOPT handling.
26990         * configure.in: Remove use of AC_REVISION.
26991         * iconvdata/Makefile (distribute): No need to filter out CVS.
26992         * scripts/list-sources.sh: Remove CVS, subversion and monotone
26993         handling.
26995 2011-11-16  Andreas Schwab  <schwab@redhat.com>
26997         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26998         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26999         [USE_AS_STRNCASECMP_L]: Likewise.
27000         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27001         NO_TLS_DIRECT_SEG_REFS.
27002         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27003         Fix argument offsets for non-PIC.
27004         [USE_AS_STRNCASECMP_L]: Likewise.
27005         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27006         NO_TLS_DIRECT_SEG_REFS.
27008 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27010         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27011         O_CLOEXEC.
27012         * locale/loadlocale.c (_nl_load_locale): Likewise.
27014 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27016         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27017         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27018         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27019         (SYSCALL_GETTIME): Set errno on error.
27021         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27022         count references to noai6ai_cached.
27024 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27026         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27028         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27029         FD_CLOEXEC for /proc/self/maps.
27031         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27032         FD_CLOEXEC for /proc/meminfo.
27034         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27035         gai.conf.
27037         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27038         FD_CLOEXEC for given file.
27040         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27042         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27043         FD_CLOEXEC for /etc/hosts.
27044         (_gethtent): Likewise.
27046         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27048         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27049         cancellation and set FD_CLOEXEC for /etc/netgroup.
27051         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27052         reading /etc/publickey.
27054         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27055         allow cancellation when reading /etc/group.
27057         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27058         cancellation.
27059         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27061         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27062         when using data file.
27064         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27066         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27067         (write_nis_obj): Use "c" and "e" in fopen.
27069         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27071         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27073         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27075         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27077         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27078         locale.alias.
27080         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27082         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27084         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27086         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27087         file parsing and set FD_CLOEXEC.
27089 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27091         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27093 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27095         * malloc/arena.c (arena_get2): Don't call reused_arena when
27096         _int_new_arena failed.
27098 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27100         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27101         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27102         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27103         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27105         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27106         to compile strcasecmp and strncasecmp.
27107         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27108         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27112 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27114         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27115         locale-defines.sym to gen-as-const-headers.
27116         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27117         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27119         to compile strcasecmp and strncasecmp.
27120         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27121         strcasecmp_l and strncasecmp_l.
27122         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27123         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27124         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27125         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27126         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27127         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27128         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27129         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27130         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27131         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27132         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27134 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27136         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27137         result of SYSDEP_GETTIME_CPU to retval.
27138         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27139         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27141         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27142         variable.
27144         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27145         mantissa words.
27146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27149         from unused variable.
27151         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27152         DWARF definitions.
27153         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27154         for assembling.
27156         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27157         over namespaces.
27159         * sunrpc/rpc_prot.c (rejected): Fix case value.
27161         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27162         unsigned long long int to avoid warnings in shift.
27164         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27165         of use of trans.
27166         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27167         variable tmp.
27169         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27170         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27171         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27173         * nis/nis_table.c (nis_list): Use variable of correct type for
27174         result of __follow_path call.
27176 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27178         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27179         of math functions ceil, trunc, floor, round, and sqrt, when
27180         avaliable on the platform.
27181         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27182         name clash.
27183         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27184         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27185         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27187 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27189         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27190         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27192 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27194         * include/unistd.h: Fix __readlink return type.
27195         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27197 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27199         * stdlib/ucontext.h: Undo last change for makecontext.
27201 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27203         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27205         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27206         * setjmp/setjmp.h: Mark functions as non-leaf.
27207         * setjmp/bits/setjmp2.h: Likewise.
27208         * stdlib/ucontext.h: Likewise.
27210 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27212         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27213         (reused_arena): Don't check arena limit.
27214         (arena_get2): Atomically check arena limit.
27216 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27218         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27219         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27221         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27222         instructions.
27224 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27226         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27227         handler when locking.
27229         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27230         Fix size of allocated buffer.
27232 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27234         [BZ #10103]
27235         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27236         declarations for long double functions.
27237         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27239         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27241 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27243         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27244         installed.
27246         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27247         is disabled.
27249 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27251         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27253 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27255         * include/alloca.h (stackinfo_alloca_round): Define.
27256         (extend_alloca): Use it.
27257         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27258         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27259         here.
27261         * scripts/check-local-headers.sh: Ignore libaudit.h.
27263         * nscd/Makefile (extra-objs): Make recursively expanded.
27265 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27267         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27270         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27271         * posix/tst-rfc3484-2.c: Likewise.
27272         * posix/tst-rfc3484-3.c: Likewise.
27274         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27275         process_vm_writev.
27276         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27277         process_vm_writev.
27278         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27279         process_vm_writev from libc using GLIBC_2.15 version.
27281         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27283 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27285         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27286         stack usage.
27288 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27290         [BZ #13367]
27291         * nss/getent.c (initgroups_keys): Show error message in case no group
27292         names are given.
27294         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27295         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27296         __bump_nl_timestamp.
27297         * nscd/connections (nscd_init): When host database is served open
27298         netlink socket and request notification about configuration changes.
27299         (main_loop_poll): Track netlink file descriptor and bump timestamp
27300         in case data becomes available.
27301         (main_loop_epoll): Likewise.
27302         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27303         (database_pers_head): Add extra_data fileds.
27304         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27305         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27306         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27307         Adjust caller.
27308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27309         in6ai data, call __free_in6ai.
27310         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27311         Add -DHAVE_NETLINK.
27312         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27313         interface information.  Reuse previous data if netlink timestamp
27314         is not changed.
27315         (__bump_nl_timestamp): New function.
27316         (__free_in6ai): New function.
27318 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27320         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27321         close_not_cancel_no_status here.
27322         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27324 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27326         [BZ #13276]
27327         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27328         return value.
27330         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27331         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27332         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27334 2011-07-03  Andreas Jaeger  <aj@suse.de>
27336         [BZ #10709]
27337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27338         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27339         * math/libm-test.inc (sin_test): Add test case.
27341 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27343         [BZ #13337]
27344         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27345         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27347         * elf/chroot_canon.c (chroot_canon): Cleanups.
27349         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27351         [BZ #13335]
27352         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27353         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27355         * string/test-strchr.c: Make usable for strchrnul testing.
27356         * string/test-strchrnul.c: New file.
27357         * string/Makefile (strop-tests): Add strchrnul.
27359         * po/it.po: Update from translation team.
27360         * po/es.po: Likewise.
27362 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27365         the three constants needed as parameters.  Drop the others.
27366         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27367         __m128i_strloadu_tolower.
27368         Create and initialize variable zero and use it in all the places
27369         where _mm_setzero_si128 was used.
27371         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27372         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27373         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27374         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27375         anymore.
27376         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27377         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27378         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27379         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27380         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27381         __mpranred, __mptan.
27382         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27383         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27384         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27385         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27386         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27387         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27389         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27390         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27392 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27394         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27395         redefine if SHARED.
27396         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27399         wide char related routines to wcsmbs subdir.
27401 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27403         [BZ #13344]
27404         * misc/sys/cdefs.h (__THROWNL): Define.
27405         * posix/unistd.h: Use __THREADNL instead of __THREAD
27406         for memory synchronization functions.
27408 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27410         [BZ #13349]
27411         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27412         doesn't exist.
27413         * manual/stdio.texi (Obstack Streams): Node removed.
27415 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27417         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27418         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27419         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27421         * math/math_private.h (math_force_eval): Allow non-addressable
27422         arguments.
27423         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27425 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27427         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27428         file is not needed.
27430         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27432         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27433         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27434         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27435         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27436         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27437         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27438         Add AVX variants.
27439         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27440         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27441         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27442         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27443         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27444         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27445         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27446         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27447         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27448         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27449         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27450         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27451         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27452         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27455         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27456         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27457         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27459         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27460         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27462         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27463         place.  Use VEX encoding when compiling for AVX.
27465 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27467         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27468         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27470         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27474         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27475         useless if() expression.
27476         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27477         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27478         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27479         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27480         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27481         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27482         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27483         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27485         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27486         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27487         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27488         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27489         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27490         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27491         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27492         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27494         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27496         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27498 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27500         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27501         condition.
27502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27504 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27506         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27507         .text section.  Avoid duplicate constants.
27508         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27510         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27512         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27516         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27517         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27518         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27519         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27520         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27521         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27522         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27523         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27525         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27526         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27527         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27528         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27529         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27530         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27532         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27533         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27534         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27535         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27536         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27537         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27538         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27539         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27540         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27541         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27542         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27543         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27544         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27545         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27546         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27547         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27549         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27550         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27551         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27552         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27554 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27556         * sysdeps/x86_64/dla.h: Move to ...
27557         * sysdeps/x86_64/fpu/dla.h: ...here.
27558         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27559         situations.  Use __builtin_fma only for gcc 4.6 and up.
27561         * config.make.in: Add have-mfma4 entry.
27562         * configure.in: Substitute libc_cv_cc_fma4.
27563         * math/Makefile (dbl-only-routines): Add sincostab.
27564         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27565         Use __sincostab not sincos.
27566         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27567         name is a macro.
27568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27572         using __copysign.
27573         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27574         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27575         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27576         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27577         and __inv.
27578         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27579         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27580         __copysign.
27581         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27582         define aliases when function name is a macro.
27583         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27584         sysdeps/ieee754/dbl-64/sincos.tbl.
27585         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27586         fma4-enabled routines.
27587         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27588         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27589         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27590         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27592         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27594         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27595         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27596         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27597         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27598         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27599         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27600         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27602         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27603         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27604         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27605         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27606         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27607         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27608         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27610         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27612         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27613         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27614         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27615         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27616         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27618         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27619         rename.
27620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27623         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27625         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27626         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27629 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27631         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27633 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27637         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27638         prediction.
27639         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27641         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27642         Remove unused variable magic_bits.
27643         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27645         * string/strnlen.c: Define and use STRNLEN macro.
27646         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27647         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27649         * wcsmbs/wcslen.c: Define and use WCSLEN.
27650         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27651         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27652         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27653         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27654         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27655         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27656         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27658 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27661         strnlen-sse2-no-bsf.
27662         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27664         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27665         Add strnlen support.
27666         (USE_AS_STRNLEN): New macro.
27667         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27668         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27669         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27670         * sysdeps/x86_64/wcslen.S: New file.
27672 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27674         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27675         XMM-moves are used for copying on small sizes.
27677 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27679         * wcsmbs/Makefile (strop-tests): Add wcschr.
27680         * wcsmbs/test-wcschr.c: New file.
27681         * string/test-strchr.c: Update.
27682         Add wcschr support.
27683         (WIDE): New macro.
27685 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27687         * wcsmbs/Makefile (strop-tests): Add wcslen.
27688         * wcsmbs/test-wcslen.c: New file.
27689         * string/test-strlen.c: Update.
27690         Add wcslen support.
27691         (WIDE): New macro.
27693 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27695         * po/it.po: Update from translation team.
27697 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27699         * sysdeps/x86_64/wcscmp.S: Update.
27700         Fix wrong comparison semantics.
27701         wcscmp shall use signed comparison not unsigned.
27702         Don't use substraction to avoid overflow bug.
27703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27704         * wcsmbc/wcscmp.c: Likewise.
27705         * string/test-strcmp.c: Likewise.
27706         Add new tests to check cases with negative values.
27708 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27710         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27711         * sysdeps/x86_64/dla.h: ...here.  New file.
27712         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27713         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27717         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27719         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27722 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
27724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27725         __ynl_finite aliases.
27727 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27731         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27732         define DLA_FMA.
27733         [DLA_FMA] (EMULV): Use DLA_FMA.
27734         [DLA_FMA] (MUL12): Use EMULV.
27735         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27736         that are not needed.
27737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27742         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27743         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27745 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
27747         * math/s_nan.c: Undef __nan.
27748         * math/s_nanf.c: Undef __nanf.
27749         * math/s_nanl.c: Undef __nanl.
27750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27751         "math_private.h".
27753 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27755         * math/s_catan.c: Add branch predictions.
27756         * math/s_catanf.c: Likewise.
27757         * math/s_catanh.c: Likewise.
27758         * math/s_catanhf.c: Likewise.
27759         * math/s_catanhl.c: Likewise.
27760         * math/s_catanl.c: Likewise.
27761         * math/s_cexp.c: Likewise.
27762         * math/s_cexpf.c: Likewise.
27763         * math/s_cexpl.c: Likewise.
27764         * math/s_clog.c: Likewise.
27765         * math/s_clog10.c: Likewise.
27766         * math/s_clog10f.c: Likewise.
27767         * math/s_clog10l.c: Likewise.
27768         * math/s_clogf.c: Likewise.
27769         * math/s_clogl.c: Likewise.
27770         * math/s_csqrt.c: Likewise.
27771         * math/s_csqrtf.c: Likewise.
27772         * math/s_csqrtl.c: Likewise.
27773         * math/s_ctanf.c: Likewise.
27774         * math/s_ctanh.c: Likewise.
27775         * math/s_ctanhf.c: Likewise.
27776         * math/s_ctanhl.c: Likewise.
27777         * math/s_ctanl.c: Likewise.
27779         * math/math_private.h: Define __nan, __nanf, __nanl.
27780         * math/s_cacosh.c: Include <math_private.h>.
27781         * math/s_cacoshl.c: Likewise.
27782         * math/s_casinh.c: Likewise.
27783         * math/s_casinhf.c: Likewise.
27784         * math/s_casinhl.c: Likewise.
27785         * math/s_ccos.c: Rely entire on ccosh.
27786         * math/s_ccosf.c: Rely entire on ccoshf.
27787         * math/s_ccosl.c: Rely entirely on ccoshl.
27788         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
27789         Remove tests for FE_INVALID.
27790         * math/s_ccoshf.c: Likewise.
27791         * math/s_ccoshl.c: Likewise.
27792         * math/s_csin.c: Likewise.
27793         * math/s_csinf.c: Likewise.
27794         * math/s_csinh.c Likewise.
27795         * math/s_csinhf.c: Likewise.
27796         * math/s_csinhl.c: Likewise.
27797         * math/s_csinl.c: Likewise.
27798         * math/s_ctan.c: Likewise.
27799         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27800         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27801         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27803 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
27805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27806         compilation problems.
27808         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27809         __builtin_expect.
27811 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
27813         * sysdeps/i386/configure.in: Test for -mfma4 option.
27814         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27815         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27816         COMMON_CPUID_INDEX_80000001.
27817         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27818         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27819         use it if FMA3 is not supported.
27820         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27822         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27823         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27825 2011-10-20  Andreas Schwab  <schwab@redhat.com>
27827         [BZ #12892]
27828         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27829         it would create a cycle with a link time dependency.
27831 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
27833         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27834         instruction.
27835         * string/Makefile (strop-tests): Add rawmemchr.
27836         * string/test-rawmemchr.c: New file.
27838         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
27840         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
27841         when compiling str{,n}casecmp and when AVX is available.  Hook up
27842         new optimized code in initializers.
27844 2011-10-19  Andreas Schwab  <schwab@redhat.com>
27846         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27847         __feraiseexcept instead of feraiseexcept.
27849 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
27851         * math/math_private.h: Define defaults for libc_fetestexcept and
27852         libc_feupdateenv.
27853         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27854         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27855         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27856         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27857         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27858         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27859         libc_fetestexcept and libc_feupdateenv.
27861         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27862         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27863         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27864         * sysdeps/x86_64/fpu/math_private.h: Define special version of
27865         libc_feholdexcept_setround.
27867         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27868         Add s_nearbyint-c and s_nearbyintf-c.
27869         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27870         nearbyintf inlines.
27871         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27872         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27873         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27874         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27876         * math/math_private.h: Define defaults for libc_fegetround,
27877         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27878         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27879         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27881         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27882         standard functions.
27883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27884         Remove comments and hacks for old compiler versions.
27885         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27886         libc_fegetround, libc_fesetround, libc_feholdexcept, and
27887         libc_feholdexceptl.
27889 2011-10-18  Andreas Schwab  <schwab@redhat.com>
27891         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27892         (__feraiseexcept_renamed): Add __NTH.
27893         (feraiseexcept): Add __NTH.  Rename local variables to fix
27894         namespace violations.
27896 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
27898         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27900         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27902         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27903         recently added interfaces.
27904         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27906         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27907         about macro parameter expansion.
27909         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27910         __NO_MATH_INLINES is defined.  Cleanups.
27912         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27913         and __floorf is target has SSE4.1.
27914         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27915         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27916         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27917         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27919         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27920         name.
27921         (floorf): Likewise.
27923         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27925 2011-10-17  Andreas Schwab  <schwab@redhat.com>
27927         * misc/sys/cdefs.h: Fix last change.
27929         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27930         database lookup.
27932 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
27934         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27936         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27937         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27938         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27939         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27940         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27941         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27942         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27943         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27944         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27945         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27946         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27947         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27948         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27949         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27950         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27951         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27952         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27953         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27954         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27955         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27956         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27957         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27959         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27960         ceil, ceilf, floor, floorf.
27962         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27963         Perform IRELATIVE relocations last.
27965         * elf/do-rel.h: Add another parameter nrelative, replacing the
27966         local variable with the same name.  Change name of the function
27967         to end in Rel or Rela (uppercase).
27968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27969         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
27970         elf_dynamic_do_##reloc function.
27972 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
27974         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27975         is sufficient, at least on modern CPUs.
27977         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27979         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27980         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27982         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27983         __expl_finite.
27984         * math/bits/math-finite.h: Add entries for exp.
27985         * math/e_expl.c: Add __*_finite alias.
27986         * sysdeps/i386/fpu/e_exp.S: Likewise.
27987         * sysdeps/i386/fpu/e_expf.S: Likewise.
27988         * sysdeps/i386/fpu/e_expl.c: Likewise.
27989         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27990         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27991         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27992         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27993         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27994         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27995         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27997         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27998         is sufficient, at least on modern CPUs.
28000         * ctype/ctype-info.c (__ctype_init): Define.
28001         * include/ctype.h (__ctype_init): Declare.
28002         (__ctype_b_loc): The variable is always initialized.
28003         (__ctype_toupper_loc): Likewise.
28004         (__ctype_tolower_loc): Likewise.
28005         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28006         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28008 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28010         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28012         * configure.in: Also look in $cxxmachine/include for C++ system
28013         headers.
28015 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28017         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28018         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28019         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28020         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28021         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28022         (USE_AS_WMEMCMP): New macro.
28023         Fixing indents.
28024         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28025         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28026         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28027         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28029         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28030         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28031         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28032         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28033         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28034         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28035         (USE_AS_WMEMCMP): New macro.
28036         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28037         * sysdeps/string/test-memcmp.c: Update.
28038         Fix simple_wmemcmp.
28039         Add new tests.
28040         * wcsmbs/wmemcmp.c: Update.
28041         (WMEMCMP): New macro.
28042         Fix overflow bug.
28044 2011-10-12  Andreas Jaeger  <aj@suse.de>
28046         [BZ #13268]
28047         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28049 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28051         * libio/iofwide.c (do_length): Avoid warning.
28053         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28055 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28057         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28059         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28060         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28061         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28062         * sysdeps/i386/i686/fpu/e_log.S: New file.
28063         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28064         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28066         * ctype/ctype.h: Add support for inlined isXXX functions when
28067         compiling C++ code.
28069 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28071         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28073         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28075 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28077         [BZ #13291]
28078         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28080 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28082         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28083         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28084         feraiseexcept.
28086         * sysdeps/x86_64/memrchr.S: Check for zero size.
28088         * string/stratcliff.c: Add memrchr tests.
28090 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28092         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28093         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28094         rawmemchr-sse2 rawmemchr-sse2-bsf.
28095         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28096         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28097         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28098         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28099         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28100         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28101         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28102         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28103         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28104         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28105         * string/memrchr.c (MEMRCHR): New macro.
28107 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28109         Add integration with gcc's -ffinite-math-only and optimize wrapper
28110         functions in libm.
28111         * Versions.def: Define GLIBC_2.15 version for libm.
28112         * math/Makefile (headers): Add bits/math-finite.h.
28113         * math/bits/math-finite.h: New file.
28114         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28115         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28116         * math/e_acoshl.c: Add __*_finite alias.
28117         * math/e_acosl.c: Likewise.
28118         * math/e_asinl.c: Likewise.
28119         * math/e_atan2l.c: Likewise.
28120         * math/e_atanhl.c: Likewise.
28121         * math/e_coshl.c: Likewise.
28122         * math/e_exp10.c: Likewise.
28123         * math/e_exp10f.c: Likewise.
28124         * math/e_exp10l.c: Likewise.
28125         * math/e_exp2l.c: Likewise.
28126         * math/e_fmodl.c: Likewise.
28127         * math/e_gammal_r.c: Likewise.
28128         * math/e_hypotl.c: Likewise.
28129         * math/e_j0l.c: Likewise.
28130         * math/e_j1l.c: Likewise.
28131         * math/e_jnl.c: Likewise.
28132         * math/e_lgammal_r.c: Likewise.
28133         * math/e_log10l.c: Likewise.
28134         * math/e_log2l.c: Likewise.
28135         * math/e_logl.c: Likewise.
28136         * math/e_powl.c: Likewise.
28137         * math/e_sinhl.c: Likewise.
28138         * math/e_sqrtl.c: Likewise.
28139         * math/e_scalb.c: Completely rewritten and optimized.
28140         * math/e_scalbf.c: Likewise.
28141         * math/e_scalbl.c: Likewise.
28142         * math/w_acos.c: Likewise.
28143         * math/w_acosf.c: Likewise.
28144         * math/w_acosl.c: Likewise.
28145         * math/w_acosh.c: Likewise.
28146         * math/w_acoshf.c: Likewise.
28147         * math/w_acoshl.c: Likewise.
28148         * math/w_asin.c: Likewise.
28149         * math/w_asinf.c: Likewise.
28150         * math/w_asinl.c: Likewise.
28151         * math/w_atan2.c: Likewise.
28152         * math/w_atan2f.c: Likewise.
28153         * math/w_atan2l.c: Likewise.
28154         * math/w_atanh.c: Likewise.
28155         * math/w_atanhf.c: Likewise.
28156         * math/w_atanhl.c: Likewise.
28157         * math/w_exp10.c: Likewise.
28158         * math/w_exp10f.c: Likewise.
28159         * math/w_exp10l.c: Likewise.
28160         * math/w_fmod.c: Likewise.
28161         * math/w_fmodf.c: Likewise.
28162         * math/w_fmodl.c: Likewise.
28163         * math/w_j0.c: Likewise.
28164         * math/w_j0f.c: Likewise.
28165         * math/w_j0l.c: Likewise.
28166         * math/w_j1.c: Likewise.
28167         * math/w_j1f.c: Likewise.
28168         * math/w_j1l.c: Likewise.
28169         * math/w_jn.c: Likewise.
28170         * math/w_jnf.c: Likewise.
28171         * math/w_log.c: Likewise.
28172         * math/w_logf.c: Likewise.
28173         * math/w_logl.c: Likewise.
28174         * math/w_log10.c: Likewise.
28175         * math/w_log10f.c: Likewise.
28176         * math/w_log10l.c: Likewise.
28177         * math/w_log2.c: Likewise.
28178         * math/w_log2f.c: Likewise.
28179         * math/w_log2l.c: Likewise.
28180         * math/w_pow.c: Likewise.
28181         * math/w_powf.c: Likewise.
28182         * math/w_powl.c: Likewise.
28183         * math/w_remainder.c: Likewise.
28184         * math/w_remainderf.c: Likewise.
28185         * math/w_remainderl.c: Likewise.
28186         * math/w_scalb.c: Likewise.
28187         * math/w_scalbf.c: Likewise.
28188         * math/w_scalbl.c: Likewise.
28189         * math/w_sqrt.c: Likewise.
28190         * math/w_sqrtf.c: Likewise.
28191         * math/w_sqrtl.c: Likewise.
28192         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28193         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28194         used.
28195         * math/math_private.h: Declare __kernel_standard_f.
28196         * math/w_cosh.c: Remove cruft and optimize a bit.
28197         * math/w_coshf.c: Likewise.
28198         * math/w_coshl.c: Likewise.
28199         * math/w_exp2.c: Likewise.
28200         * math/w_exp2f.c: Likewise.
28201         * math/w_exp2l.c: Likewise.
28202         * math/w_hypot.c: Likewise.
28203         * math/w_hypotf.c: Likewise.
28204         * math/w_hypotl.c: Likewise.
28205         * math/w_lgamma.c: Likewise.
28206         * math/w_lgamma_r.c: Likewise.
28207         * math/w_lgammaf.c: Likewise.
28208         * math/w_lgammaf_r.c: Likewise.
28209         * math/w_lgammal.c: Likewise.
28210         * math/w_lgammal_r.c: Likewise.
28211         * math/w_sinh.c: Likewise.
28212         * math/w_sinhf.c: Likewise.
28213         * math/w_sinhl.c: Likewise.
28214         * math/w_tgamma.c: Likewise.
28215         * math/w_tgammaf.c: Likewise.
28216         * math/w_tgammal.c: Likewise.
28217         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28219         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28220         Minor optimizations.  Pretty printing.  Remove cruft.
28221         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28223         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28224         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28225         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28226         * sysdeps/i386/fpu/e_asin.S: Likewise.
28227         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28228         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28229         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28230         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28231         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28233         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28234         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28235         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28236         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28237         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28238         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28239         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28240         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28241         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28242         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28243         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28244         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28245         * sysdeps/i386/fpu/e_log.S: Likewise.
28246         * sysdeps/i386/fpu/e_log10.S: Likewise.
28247         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28248         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28249         * sysdeps/i386/fpu/e_log2.S: Likewise.
28250         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28251         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28252         * sysdeps/i386/fpu/e_logf.S: Likewise.
28253         * sysdeps/i386/fpu/e_logl.S: Likewise.
28254         * sysdeps/i386/fpu/e_pow.S: Likewise.
28255         * sysdeps/i386/fpu/e_powf.S: Likewise.
28256         * sysdeps/i386/fpu/e_powl.S: Likewise.
28257         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28258         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28259         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28260         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28261         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28262         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28263         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28264         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28265         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28266         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28267         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28269         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28270         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28271         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28272         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28273         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28274         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28276         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28277         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28279         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28280         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28282         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28283         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28286         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28287         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28288         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28289         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28290         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28291         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28292         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28293         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28294         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28295         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28296         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28297         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28298         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28300         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28301         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28302         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28303         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28304         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28305         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28306         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28307         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28308         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28311         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28312         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28313         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28317         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28318         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28319         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28321         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28322         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28323         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28324         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28325         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28326         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28327         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28328         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28331         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28332         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28334         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28335         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28336         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28337         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28338         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28342         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28343         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28345         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28347         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28348         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28349         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28350         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28351         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28352         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28353         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28354         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28355         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28356         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28359         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28360         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28361         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28362         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28363         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28364         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28365         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28366         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28367         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28368         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28369         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28370         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28371         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28372         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28374         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28375         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28376         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28377         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28378         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28379         (__isnanf): Likewise.
28380         (__isinf_ns): Likewise.
28381         (__isinf_nsf): Likewise.
28382         (__finite): Likewise.
28383         (__finitef): Likewise.
28384         (__ieee754_sqrt): Define as macro.
28385         (__ieee754_sqrtf): Define as macro.
28386         (__ieee754_sqrtl): Define as macro.
28387         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28388         inlined copy.
28389         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28390         __FINITE_MATH_ONLY__ consistent.
28391         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28393 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28395         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28396         of rawmemchr.
28398         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28400 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28402         * po/ja.po: Update from translation team.
28404 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28406         * locale/programs/locarchive.c (prepare_address_space): New function.
28407         (create_archive, enlarge_archive, open_archive): Use it.
28409         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28410         inside [SHARED], where it is used.
28412         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28414         * nss/getent.c (netgroup_keys): Remove unused variable.
28415         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28417 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28419         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28420         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28424         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28425         * math/Makefile (libm-calls): Add s_isinf_ns.
28426         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28427         * math/multc3.c: Likewise.
28428         * math/s_casin.c: Likewise.
28429         * math/s_casinf.c: Likewise.
28430         * math/s_casinl.c: Likewise.
28431         * math/s_ccos.c: Likewise.
28432         * math/s_ccosf.c: Likewise.
28433         * math/s_ccosl.c: Likewise.
28434         * math/s_ctan.c: Likewise.
28435         * math/s_ctanf.c: Likewise.
28436         * math/s_ctanh.c: Likewise.
28437         * math/s_ctanhf.c: Likewise.
28438         * math/s_ctanhl.c: Likewise.
28439         * math/s_ctanl.c: Likewise.
28440         * math/w_fmod.c: Likewise.
28441         * math/w_fmodf.c: Likewise.
28442         * math/w_fmodl.c: Likewise.
28443         * math/w_remainder.c: Likewise.
28444         * math/w_remainderf.c: Likewise.
28445         * math/w_remainderl.c: Likewise.
28446         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28447         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28450         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28451         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28452         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28453         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28455         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28456         of the number.
28457         * stdio-common/printf_fphex.c: Likewise.
28458         * stdio-common/printf_size.c: Likewise.
28460         * math/e_exp10.c: Include math_private.h using <...> not "...".
28461         * math/e_exp10f.c: Likewise.
28462         * math/e_exp10l.c: Likewise.
28463         * math/e_exp2l.c: Likewise.
28464         * math/e_j0l.c: Likewise.
28465         * math/e_j1l.c: Likewise.
28466         * math/e_jnl.c: Likewise.
28467         * math/e_lgammal_r.c: Likewise.
28468         * math/e_rem_pio2l.c: Likewise.
28469         * math/e_scalb.c: Likewise.
28470         * math/e_scalbf.c: Likewise.
28471         * math/e_scalbl.c: Likewise.
28472         * math/k_cosl.c: Likewise.
28473         * math/k_sinl.c: Likewise.
28474         * math/k_tanl.c: Likewise.
28475         * math/s_cacoshf.c: Likewise.
28476         * math/s_catan.c: Likewise.
28477         * math/s_catanf.c: Likewise.
28478         * math/s_catanh.c: Likewise.
28479         * math/s_catanhf.c: Likewise.
28480         * math/s_catanhl.c: Likewise.
28481         * math/s_catanl.c: Likewise.
28482         * math/s_ccosh.c: Likewise.
28483         * math/s_ccoshf.c: Likewise.
28484         * math/s_ccoshl.c: Likewise.
28485         * math/s_cexp.c: Likewise.
28486         * math/s_cexpf.c: Likewise.
28487         * math/s_cexpl.c: Likewise.
28488         * math/s_clog.c: Likewise.
28489         * math/s_clog10.c: Likewise.
28490         * math/s_clog10f.c: Likewise.
28491         * math/s_clog10l.c: Likewise.
28492         * math/s_clogf.c: Likewise.
28493         * math/s_clogl.c: Likewise.
28494         * math/s_csin.c: Likewise.
28495         * math/s_csinf.c: Likewise.
28496         * math/s_csinh.c: Likewise.
28497         * math/s_csinhf.c: Likewise.
28498         * math/s_csinhl.c: Likewise.
28499         * math/s_csinl.c: Likewise.
28500         * math/s_csqrt.c: Likewise.
28501         * math/s_csqrtf.c: Likewise.
28502         * math/s_csqrtl.c: Likewise.
28503         * math/s_ctan.c: Likewise.
28504         * math/s_ctanf.c: Likewise.
28505         * math/s_ctanh.c: Likewise.
28506         * math/s_ctanhf.c: Likewise.
28507         * math/s_ctanhl.c: Likewise.
28508         * math/s_ctanl.c: Likewise.
28509         * math/s_ldexp.c: Likewise.
28510         * math/s_ldexpf.c: Likewise.
28511         * math/s_ldexpl.c: Likewise.
28512         * math/s_significand.c: Likewise.
28513         * math/s_significandf.c: Likewise.
28514         * math/s_significandl.c: Likewise.
28515         * math/w_acos.c: Likewise.
28516         * math/w_acosf.c: Likewise.
28517         * math/w_acosh.c: Likewise.
28518         * math/w_acoshf.c: Likewise.
28519         * math/w_acoshl.c: Likewise.
28520         * math/w_acosl.c: Likewise.
28521         * math/w_asin.c: Likewise.
28522         * math/w_asinf.c: Likewise.
28523         * math/w_asinl.c: Likewise.
28524         * math/w_atan2.c: Likewise.
28525         * math/w_atan2f.c: Likewise.
28526         * math/w_atan2l.c: Likewise.
28527         * math/w_atanh.c: Likewise.
28528         * math/w_atanhf.c: Likewise.
28529         * math/w_atanhl.c: Likewise.
28530         * math/w_cosh.c: Likewise.
28531         * math/w_coshf.c: Likewise.
28532         * math/w_coshl.c: Likewise.
28533         * math/w_dremf.c: Likewise.
28534         * math/w_exp10.c: Likewise.
28535         * math/w_exp10f.c: Likewise.
28536         * math/w_exp10l.c: Likewise.
28537         * math/w_exp2.c: Likewise.
28538         * math/w_exp2f.c: Likewise.
28539         * math/w_fmod.c: Likewise.
28540         * math/w_fmodf.c: Likewise.
28541         * math/w_fmodl.c: Likewise.
28542         * math/w_hypot.c: Likewise.
28543         * math/w_hypotf.c: Likewise.
28544         * math/w_hypotl.c: Likewise.
28545         * math/w_j0.c: Likewise.
28546         * math/w_j0f.c: Likewise.
28547         * math/w_j0l.c: Likewise.
28548         * math/w_j1.c: Likewise.
28549         * math/w_j1f.c: Likewise.
28550         * math/w_j1l.c: Likewise.
28551         * math/w_jn.c: Likewise.
28552         * math/w_jnf.c: Likewise.
28553         * math/w_jnl.c: Likewise.
28554         * math/w_lgamma.c: Likewise.
28555         * math/w_lgamma_r.c: Likewise.
28556         * math/w_lgammaf.c: Likewise.
28557         * math/w_lgammaf_r.c: Likewise.
28558         * math/w_lgammal.c: Likewise.
28559         * math/w_lgammal_r.c: Likewise.
28560         * math/w_log.c: Likewise.
28561         * math/w_log10.c: Likewise.
28562         * math/w_log10f.c: Likewise.
28563         * math/w_log10l.c: Likewise.
28564         * math/w_log2.c: Likewise.
28565         * math/w_log2f.c: Likewise.
28566         * math/w_log2l.c: Likewise.
28567         * math/w_logf.c: Likewise.
28568         * math/w_logl.c: Likewise.
28569         * math/w_pow.c: Likewise.
28570         * math/w_powf.c: Likewise.
28571         * math/w_powl.c: Likewise.
28572         * math/w_remainder.c: Likewise.
28573         * math/w_remainderf.c: Likewise.
28574         * math/w_remainderl.c: Likewise.
28575         * math/w_scalb.c: Likewise.
28576         * math/w_scalbf.c: Likewise.
28577         * math/w_scalbl.c: Likewise.
28578         * math/w_sinh.c: Likewise.
28579         * math/w_sinhf.c: Likewise.
28580         * math/w_sinhl.c: Likewise.
28581         * math/w_sqrt.c: Likewise.
28582         * math/w_sqrtf.c: Likewise.
28583         * math/w_sqrtl.c: Likewise.
28584         * math/w_tgamma.c: Likewise.
28585         * math/w_tgammaf.c: Likewise.
28586         * math/w_tgammal.c: Likewise.
28588         * po/ja.po: Update from translation team.
28590 2011-09-29  Andreas Jaeger  <aj@suse.de>
28592         [BZ #13179]
28593         * sunrpc/netname.c (netname2host): Fix logic.
28595         [BZ #6779]
28596         [BZ #6783]
28597         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28598         correctly.
28599         * math/w_remainder.c (__remainder): Likewise.
28600         * math/w_remainderf.c (__remainderf): Likewise.
28601         * math/libm-test.inc (remainder_test): Add test cases.
28603 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28605         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28606         sdiv_qrnnd.
28608 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28610         * string/test-memcmp.c: Avoid unncessary #defines.
28611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28613 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28615         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28616         Use new sse2 version for core i3 - i7 as it's faster
28617         than sse42 version.
28618         (bit_Prefer_PMINUB_for_stringop): New.
28619         * sysdeps/x86_64/rawmemchr.S: Update.
28620         Replace with faster SSE2 version.
28621         * sysdeps/x86_64/memrchr.S: New file.
28622         * sysdeps/x86_64/memchr.S: Update.
28623         Replace with faster SSE2 version.
28625 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28627         * elf/dl-load.c (lose): Add cast to avoid warning.
28629 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28631         * po/ca.po: Update from translation team.
28633         * inet/getnetgrent_r.c: Hook up nscd.
28634         * nscd/Makefile (routines): Add nscd_netgroup.
28635         (nscd-modules): Add netgroupcache.
28636         (CFLAGS-netgroupcache.c): Define.
28637         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28638         (cache_search): Add const to second parameter.
28639         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28640         INNETGR.
28641         (dbs): Add netgrdb entry.
28642         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28643         (verify_persistent_db): Handle netgrdb.
28644         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28645         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28646         GETFDNETGR.
28647         (netgroup_response_header): Define.
28648         (innetgroup_response_header): Define.
28649         (datahead): Add netgroup_response_header and innetgroup_response_header
28650         elements.
28651         * nscd/nscd.conf: Add entries for netgroup cache.
28652         * nscd/nscd.h (dbtype): Add netgrdb.
28653         (_PATH_NSCD_NETGROUP_DB): Define.
28654         (netgroup_iov_disabled): Declare.
28655         (xmalloc, xcalloc, xrealloc): Move declarations here.
28656         (cache_search): Adjust prototype.
28657         Add netgroup-related prototypes.
28658         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28659         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28660         (__nscd_innetgr): Declare.
28661         * nscd/selinux.c (perms): Use access_vector_t as element type and
28662         add netgroup-related initializers.
28663         * nscd/netgroupcache.c: New file.
28664         * nscd/nscd_netgroup.c: New file.
28665         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28666         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28667         For four parameters use innetgr.
28668         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28669         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28670         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28671         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28673         * nscd/connections.c (register_traced_file): Don't register file
28674         for disabled databases.
28676 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28678         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28680         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28681         from tree and freeing node.
28683 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28685         * nss/nsswitch.c (__nss_database_lookup): Handle
28686         nss_parse_service_list out of memory case.
28688 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28690         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28691         out of memory case.
28693 2011-10-04  Andreas Schwab  <schwab@redhat.com>
28695         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28696         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28697         pass it down.
28698         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28699         elf_machine_rela, elf_machine_lazy_rel.
28700         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28701         (ELF_DYNAMIC_DO_REL): Likewise.
28702         (ELF_DYNAMIC_DO_RELA): Likewise.
28703         (ELF_DYNAMIC_RELOCATE): Likewise.
28704         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28705         to ELF_DYNAMIC_DO_REL.
28706         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28707         (dl_main): In trace mode always set __RTLD_NOIFUNC.
28708         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28709         elf_machine_rela.
28710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28711         skip_ifunc, don't call ifunc function if non-zero.
28712         (elf_machine_rela): Likewise.
28713         (elf_machine_lazy_rel): Likewise.
28714         (elf_machine_lazy_rela): Likewise.
28715         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28716         (elf_machine_lazy_rel): Likewise.
28717         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28718         Likewise.
28719         (elf_machine_lazy_rel): Likewise.
28720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28721         Likewise.
28722         (elf_machine_lazy_rel): Likewise.
28723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28724         (elf_machine_lazy_rel): Likewise.
28725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28726         (elf_machine_lazy_rel): Likewise.
28727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28728         (elf_machine_lazy_rel): Likewise.
28729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28730         (elf_machine_lazy_rel): Likewise.
28731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28732         (elf_machine_lazy_rel): Likewise.
28733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28734         (elf_machine_lazy_rel): Likewise.
28736 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
28738         * nss/nss_files/files-init.c (_nss_files_init): Use static
28739         initialization for all the *_traced_file variables.
28741 2011-09-28  Andreas Schwab  <schwab@redhat.com>
28743         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28745 2011-09-27  Roland McGrath  <roland@hack.frob.com>
28747         [BZ #13226]
28748         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28750 2011-09-27  Andreas Schwab  <schwab@redhat.com>
28752         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28753         Reread the line before reparsing it.
28755 2011-09-26  Andreas Schwab  <schwab@redhat.com>
28757         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28759 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
28760             Maxim Kuvyrkov  <maxim@codesourcery.com>
28761             Joseph Myers  <joseph@codesourcery.com>
28763         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28764         if needed for __stack_chk_guard.
28766 2011-09-19  Roland McGrath  <roland@hack.frob.com>
28768         * sysdeps/posix/spawni.c (script_execute): Always define it.
28769         It will be optimized away if unused.
28770         (maybe_script_execute): New function.
28771         (__spawni): Call it.
28773         * Makerules: Don't include tls.make.
28774         (config-tls): Always set to thread.
28775         * tls.make.c: File removed.
28777 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
28779         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28780         * config.make.in (CPPFLAGS-config): New substituted variable.
28782 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28786         [BZ #13192]
28787         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28788         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28790 2011-09-15  Roland McGrath  <roland@hack.frob.com>
28792         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28793         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28794         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28795         (CALL_FAIL): Likewise.
28796         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28797         (CALL_FAIL): Macro removed.
28798         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28800 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28803         for __FINITE_MATH_ONLY__ == 1.
28805 2011-09-15  Andreas Schwab  <schwab@redhat.com>
28807         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28808         __ieee754_sqrt instead of sqrt.
28809         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28810         __ieee754_sqrtf instead of sqrtf.
28811         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28812         __floorf instead of floorf.
28813         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28814         __floorf, __truncf instead of floorf, truncf.
28816 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
28818         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28820         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28821         __extern_always_inline.
28822         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28823         32-bit.
28825 2011-09-14  Andreas Schwab  <schwab@redhat.com>
28827         * elf/rtld.c (dl_main): Also relocate in dependency order when
28828         doing symbol dependency testing.
28830 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
28832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28833         Always define `refsym'.
28835 2011-09-13  Andreas Schwab  <schwab@redhat.com>
28837         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28838         (__FD_ELT): Renamed from __FDELT.
28839         * misc/bits/select2.h (__FD_ELT): Likewise.
28840         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28841         __FD_MASK instead of __FDELT, __FDMASK.
28842         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28843         Likewise.
28844         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28845         Likewise.
28847         * elf/Makefile (gen-ldd): Fix pattern.
28849         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28850         (init_tls): Likewise.
28852 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
28854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28856 2011-09-12  Andreas Schwab  <schwab@redhat.com>
28858         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28859         `struct cmsghdr *' instead of `void *'.
28860         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28861         Likewise.
28863 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
28865         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28866         if non-absolute.
28867         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28868         ldd_rewrite_script.
28870 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
28872         * configure.in: Remove --with-tls option.
28873         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28874         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28875         out in case it is missing.
28876         * sysdeps/ia64/elf/configure.in: Likewise.
28877         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28878         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28879         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28880         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28881         * sysdeps/sh/elf/configure.in: Likewise.
28882         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28883         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28884         * sysdeps/x86_64/elf/configure.in: Likewise.
28885         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28886         * sysdeps/mach/hurd/tls.h: Likewise.
28888         [BZ #13067]
28889         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28891         [BZ #13090]
28892         * configure.in: Fix use of AC_INIT.
28894         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28896 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
28898         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28899         __set_errno.
28900         * malloc/hooks.c: Likewise.
28902         [BZ #11929]
28903         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
28904         variables statically.
28905         (narenas): Initialize.
28906         (list_lock): Initialize.
28907         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
28908         initializtion of main_arena and list_lock.  Small cleanups.
28909         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28910         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
28911         Add initializers to main_arena and mp_.
28912         (malloc_state): Remove pagesize member.  Change all users to use
28913         GLRO(dl_pagesize).
28915         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28916         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
28917         is always initialized.
28919         * malloc/malloc.c: Removed unused configurations and dead code.
28920         * malloc/arena.c: Likewise.
28921         * malloc/hooks.c: Likewise.
28922         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28924         * include/tls.h: Removed.  USE___THREAD must always be defined.
28925         * bits/libc-tsd.h: Don't handle !USE___THREAD.
28926         * elf/dl-libc.c: Likewise.
28927         * elf/dl-tsd.c: Likewise.
28928         * include/errno.h: Likewise.
28929         * include/netdb.h: Likewise.
28930         * include/resolv.h: Likewise.
28931         * inet/herrno-loc.c: Likewise.
28932         * inet/herrno.c: Likewise.
28933         * malloc/arena.c: Likewise.
28934         * malloc/hooks.c: Likewise.
28935         * malloc/malloc.c: Likewise.
28936         * resolv/res-state.c: Likewise.
28937         * resolv/res_libc.c: Likewise.
28938         * sysdeps/i386/dl-machine.h: Likewise.
28939         * sysdeps/ia64/dl-machine.h: Likewise.
28940         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28941         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28942         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28943         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28944         * sysdeps/sh/dl-machine.h: Likewise.
28945         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28946         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28947         * sysdeps/unix/i386/sysdep.S: Likewise.
28948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28949         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28954         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28958         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28959         * sysdeps/x86_64/dl-machine.h: Likewise.
28960         * tls.make.c: Likewise.
28962         * configure.in: Remove --with-__thread option.  Make tests for
28963         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28964         tls_model attribute fail if no support is available.  Remove
28965         USE_IN_LIBIO.
28966         * Makeconfig: Adjust for dropped configure option.  All features are
28967         now mandatory.
28968         * Makerules: Likewise.
28969         * Versions.def: Likewise.
28970         * argp/argp-fmtstream.c: Likewise.
28971         * argp/argp-fmtstream.h: Likewise.
28972         * argp/argp-help.c: Likewise.
28973         * assert/assert.c: Likewise.
28974         * config.h.in: Likewise.
28975         * config.make.in: Likewise.
28976         * configure: Likewise.
28977         * configure.in: Likewise.
28978         * csu/Versions: Likewise.
28979         * csu/init.c: Likewise.
28980         * elf/tst-audit2.c: Likewise.
28981         * elf/tst-tls10.c: Likewise.
28982         * elf/tst-tls10.h: Likewise.
28983         * elf/tst-tls11.c: Likewise.
28984         * elf/tst-tls12.c: Likewise.
28985         * elf/tst-tls14.c: Likewise.
28986         * elf/tst-tlsmod11.c: Likewise.
28987         * elf/tst-tlsmod12.c: Likewise.
28988         * elf/tst-tlsmod13.c: Likewise.
28989         * elf/tst-tlsmod13a.c: Likewise.
28990         * elf/tst-tlsmod14a.c: Likewise.
28991         * elf/tst-tlsmod15b.c: Likewise.
28992         * elf/tst-tlsmod16a.c: Likewise.
28993         * elf/tst-tlsmod16b.c: Likewise.
28994         * elf/tst-tlsmod7.c: Likewise.
28995         * elf/tst-tlsmod8.c: Likewise.
28996         * elf/tst-tlsmod9.c: Likewise.
28997         * gmon/gmon.c: Likewise.
28998         * grp/fgetgrent_r.c: Likewise.
28999         * grp/putgrent.c: Likewise.
29000         * hurd/fopenport.c: Likewise.
29001         * include/libc-symbols.h: Likewise.
29002         * include/tls.h: Likewise.
29003         * intl/gettextP.h: Likewise.
29004         * intl/loadinfo.h: Likewise.
29005         * locale/global-locale.c: Likewise.
29006         * locale/localeinfo.h: Likewise.
29007         * mach/devstream.c: Likewise.
29008         * malloc/arena.c: Likewise.
29009         * malloc/set-freeres.c: Likewise.
29010         * misc/err.c: Likewise.
29011         * misc/getttyent.c: Likewise.
29012         * misc/mntent_r.c: Likewise.
29013         * posix/getopt.c: Likewise.
29014         * posix/wordexp.c: Likewise.
29015         * pwd/fgetpwent_r.c: Likewise.
29016         * resolv/Versions: Likewise.
29017         * resolv/res_hconf.c: Likewise.
29018         * shadow/fgetspent_r.c: Likewise.
29019         * shadow/putspent.c: Likewise.
29020         * stdio-common/printf_fphex.c: Likewise.
29021         * stdio-common/tmpfile.c: Likewise.
29022         * stdlib/abort.c: Likewise.
29023         * stdlib/fmtmsg.c: Likewise.
29024         * sunrpc/auth_unix.c: Likewise.
29025         * sunrpc/clnt_perr.c: Likewise.
29026         * sunrpc/clnt_tcp.c: Likewise.
29027         * sunrpc/clnt_udp.c: Likewise.
29028         * sunrpc/clnt_unix.c: Likewise.
29029         * sunrpc/openchild.c: Likewise.
29030         * sunrpc/svc_simple.c: Likewise.
29031         * sunrpc/svc_tcp.c: Likewise.
29032         * sunrpc/svc_udp.c: Likewise.
29033         * sunrpc/svc_unix.c: Likewise.
29034         * sunrpc/xdr.c: Likewise.
29035         * sunrpc/xdr_array.c: Likewise.
29036         * sunrpc/xdr_rec.c: Likewise.
29037         * sunrpc/xdr_ref.c: Likewise.
29038         * sunrpc/xdr_stdio.c: Likewise.
29040 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29042         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29044 2011-07-03  Andreas Jaeger  <aj@suse.de>
29046         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29047         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29048         regenerate with gen-libm-tests.pl.
29050 2010-05-12  Petr Baudis  <pasky@suse.cz>
29052         [BZ #11589]
29053         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29054         around j0() zero points by switching to j1().
29055         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29056         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29057         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29060 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29062         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29063         instead of 0.
29064         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29065         instead of 0.
29066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29067         Patch in part by Pavel Roskin <proski@gnu.org>.
29069         [BZ #13138]
29070         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29071         realloc.
29072         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29073         Free memory block if necessary.
29075         [BZ #12847]
29076         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29077         be NULL.  Don't lock in this case.
29079 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29081         * elf/elf.h (ELFOSABI_GNU): New macro.
29082         (ELFOSABI_LINUX): Define to that.
29084 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29086         * string/strncat.c (strncat): Undef the symbol in case it has been
29087         defined in bits/string.h.
29089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29091         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29093         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29094         link map.
29096 2011-08-17  Andreas Jaeger  <aj@suse.de>
29098         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29100 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29101             Ian Lance Taylor  <iant@google.com>
29103         * math/libm-test.inc (lround_test): New testcase.
29104         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29106 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29108         * Makefile: Remove support for automatic cvs check-ins.
29109         * Makerules: Likewise.
29110         * config.make.in: Likewise.
29111         * configure.in: Likewise.
29112         * intl/Makefile: Likewise.
29113         * locale/Makefile: Likewise.
29114         * po/Makefile: Likewise.
29115         * posix/Makefile: Likewise.
29116         * sysdeps/gnu/Makefile: Likewise.
29117         * sysdeps/mach/hurd/Makefile: Likewise.
29118         * sysdeps/sparc/sparc32/Makefile: Likewise.
29120         [BZ #13118]
29121         * posix/Makefile (bug-regex32-ENV): Define.
29122         Patch by John Stanley <jpsinthemix@verizon.net>.
29124         * misc/Makefile (headers): Add bits/select2.h.
29125         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29126         * misc/bits/select2.h: New file.
29127         * include/bits/select2.h: New file.
29128         * debug/Makefile (routines): Add fdelt_chk.
29129         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29130         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29131         FD_ISSET.
29132         * debug/fdelt_chk.c: New file.
29134         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29135         * wcsmbs/test-wmemcmp.c: Likewise.
29136         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29137         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29139 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29141         * string/Makefile (strop-tests): Add memcmp.
29142         * string/test-wmemcmp.c: New file.
29143         * string/test-memcmp.c: Add wmemcmp support.
29145 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29147         [BZ #13153]
29148         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29149         2011-07-19 change.
29151         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29152         garbage value in a __mach_port_mod_refs call in the cases of the
29153         task-self and thread-self ports.
29155 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29157         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29159 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29161         * elf/dl-load.c (lose): Check for non-null L.
29163 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29165         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29167         * elf/dl-libc.c (dlerror_run): Pass back error code from
29168         dl_catch_error.
29170         [BZ #13123]
29171         * elf/dl-load.c (lose): Free l_origin if it is valid.
29173         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29174         names.
29175         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29176         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29177         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29178         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29179         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29180         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29182 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29184         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29185         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29186         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29187         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29188         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29189         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29190         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29191         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29192         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29193         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29195 2011-08-15  Alan Modra  <amodra@gmail.com>
29197         [BZ #13092]
29198         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29199         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29200         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29201         ppc_mcount to static-only-routines.
29202         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29203         __mcount_internal.
29204         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29205         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29207 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29210         for finite and infinity parameters.
29212 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29215         and add nop instructions for throughput optimization.
29216         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29218 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29221         aligned copy for power7 with vector-scalar instructions.
29222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29224 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29227         AVX check.
29229 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29231         [BZ #13144]
29232         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29233         last change.
29235 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29237         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29238         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29239         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29240         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29241         clock_gettime.
29243 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29245         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29246         Forgot to demangle the pointer.
29248         * sysdeps/i386/sysdep.h: Define atom_text_section.
29249         * sysdeps/x86_64/sysdep.h: Likewise.
29250         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29251         section with atom_text_section.
29252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29253         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29255         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29258         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29259         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29260         already be defined.  Change to take two parameters and don't assign
29261         result to variable.  Adjust all users.
29262         Define INTERNAL_GETTIME if not already defined.
29263         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29264         call.
29265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29266         HAVE_CLOCK_GETTIME_VSYSCALL.
29267         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29270         gettimeofday vsyscall, just use time.
29272 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29275         <errno.h>.
29277 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29279         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29280         syscall on x86-64.
29281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29282         syscall.
29283         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29284         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29285         syscall if possible.
29287 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29289         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29290         e_ident.  Don't pass to find_mapsXX.
29291         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29293 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29296         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29297         * sysdeps/x86_64/multiarch/strchr.S: Update.
29298         Check bit_slow_BSF bit.
29299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29301         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29303 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29305         [BZ #13134]
29306         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29307         before glibc 2.15.
29308         (tryshell): Define.
29309         (__spawni): Change last parameter to be flag.  Test
29310         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29311         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29312         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29313         * posix/spawni.c: Likewise.
29314         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29315         * posix/spawnp.c: Likewise.  Change normal version to use
29316         SPAWN_XFLAGS_USE_PATH.
29317         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29318         SPAWN_XFLAGS_TRY_SHELL.
29320         [BZ #13150]
29321         * posix/glob.h: Remove gcc 1.x support.
29323         [BZ #13068]
29324         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29326 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29329         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29330         strrchr-sse2-bsf
29331         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29332         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29333         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29335         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29336         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29338 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29340         * sysdeps/x86_64/wcscmp.S: New file.
29342         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29343         wcscmp-c wcscmp-sse2
29344         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29345         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29346         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29347         * wcsmbs/wcscmp.c: Allow renaming.
29349 2011-09-05  David S. Miller  <davem@davemloft.net>
29351         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29352         stack slot, rather than the struct return pointer slot.
29353         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29354         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29358 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29360         * po/ja.po: Update from translation team.
29362         [BZ #13144]
29363         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29364         kernel in 64-bit binaries.
29366 2011-09-01  David S. Miller  <davem@davemloft.net>
29368         * elf/elf.h (HWCAP_SPARC_*): Move to..
29369         * sysdeps/sparc/sysdep.h: this new file and add new values.
29370         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29371         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29372         _DL_HWCAP_COUNT to 24.
29373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29374         entries.
29375         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29376         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29377         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29378         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29379         instead of magic constants.
29380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29382 2011-08-31  David S. Miller  <davem@davemloft.net>
29384         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29386         Reimplement to do errno handling inline.
29387         (SYSCALL_ERROR_HANDLER): New macro.
29388         (__SYSCALL_STRING): Do not do errno handling in asm.
29389         (__CLONE_SYSCALL_STRING): Delete.
29390         (__INTERNAL_SYSCALL_STRING): Delete.
29391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29392         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29393         (PSEUDO): Reimplement to do errno handling inline.
29394         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29395         (SYSCALL_ERROR_HANDLER): New macro.
29396         (__SYSCALL_STRING): Do not do errno handling in asm.
29397         (__CLONE_SYSCALL_STRING): Delete.
29398         (__INTERNAL_SYSCALL_STRING): Delete.
29399         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29400         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29401         i386.
29402         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29403         (inline_syscall*): Add 'err' argument.
29404         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29405         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29406         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29407         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29409         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29410         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29412 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29414         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29416 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29418         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29419         directive.
29421 2011-08-24  David S. Miller  <davem@davemloft.net>
29423         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29425 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29427         * elf/Makefile: Add rules to build and run unload8 test.
29428         * elf/unload8.c: New file.
29429         * elf/unload8mod1.c: New file.
29430         * elf/unload8mod1x.c: New file.
29431         * elf/unload8mod2.c: New file.
29432         * elf/unload8mod3.c: New file.
29434         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29435         it wasn't used.
29437 2011-08-23  David S. Miller  <davem@davemloft.net>
29439         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29440         subtract stack bias.
29441         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29442         %sp not %fp in calculations.
29443         (_JMPBUF_UNWINDS_ADJ): Likewise.
29445         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29446         (aio_suspend): Call it to force an exception region around the
29447         AIO_MISC_WAIT() invocation.
29449 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29451         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29452         backslash.
29454 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29456         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29457         protection macro.
29458         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29459         and <dl-machine.h>.
29460         (Elf64_FuncDesc): Remove.
29462 2011-08-22  David S. Miller  <davem@davemloft.net>
29464         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29465         sigaltstack check, add missing cfi directives.
29466         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29467         missing cfi directives, and sigaltstack handling.
29469 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29471         [BZ #11724]
29472         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29473         object is seen twice.
29474         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29476         * elf/Makefile (distribute): Add tst-initorder2.c.
29477         (tests): Add tst-initorder2.
29478         (modules-names): Add tst-initorder2a tst-initorder2b
29479         tst-initorder2c tst-initorder2d.  Add rules to build them.
29480         ($(objpfx)tst-initorder2.out): New rule.
29481         * elf/tst-initorder2.c: New file.
29482         * elf/tst-initorder2.exp: New file.
29484 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29486         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29488         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29489         dependencies back to end of function.
29491         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29492         $(elfobjdir)/ld.so.
29494 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29496         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29497         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29499         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29500         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29501         of __vdso_gettimeofday.
29502         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29503         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29504         attribute_hidden.
29505         (_libc_vdso_platform_setup): Remove initialization of
29506         __vdso_gettimeofday and __vdso_time.
29508 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29510         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29511         and fgetc_unlocked.
29512         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29513         getc_unlocked.
29515         * elf/dl-open.c (add_to_global): Report additions to the global scope
29516         for LD_DEBUG=scopes.
29517         (dl_open_worker): Also print scope of newly loaded dependencies.
29518         (_dl_show_scope): Indicate if there is no scope.
29520         [BZ #13114]
29521         * stdio-common/Makefile (tests): Add bug24.
29522         * stdio-common/bug24.c: New file.
29524 2011-08-19  Andreas Jaeger  <aj@suse.de>
29526         [BZ #13114]
29527         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29528         non-existant file when using close-on-exec mode.
29530 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29533         the very first instruction.
29535         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29536         the CFI state in the end.
29537         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29538         inclusion of dl-trampoline.h.
29539         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29541 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29543         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29544         expectations for long double.
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29547         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29549 2011-08-14  David S. Miller  <davem@davemloft.net>
29551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29552         artificual limit depends upon the system page size.
29554 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29556         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29557         * resolv/Makefile: Define CFLAGS-libresolv.
29559 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29561         * nss/makedb.c (compute_tables): Make variables used in nested
29562         function static.
29564 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29566         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29567         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29568         if buffer was too small.
29570         * elf/pldd.c (main): Attach to all threads in the process.
29571         Rewrite /proc handling to use *at functions.
29573 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29575         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29576         specifies first scope to show.
29577         (dl_open_worker): Update callers.  Move printing scope of new
29578         object to before the relocation.
29579         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29580         * sysdeps/generic/ldsodefs.h: Update declaration.
29582         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29583         string for the scope number.
29585 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29587         * nscd/servicescache.c (cache_addserv): Make sure written is always
29588         initialized.
29590 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29592         * sysdeps/i386/i486/bits/atomic.h
29593         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29594         statement expression, so as to suppress "set but not used" warning.
29595         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29597         * string/strncat.c (STRNCAT): Use prototype definition.
29599         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29600         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29601         -Iprograms here.
29602         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29603         (localedef-modules): Add localedef.
29604         (locale-modules): Add locale.
29606         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29607         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29608         to avoid a warning.
29610 2011-08-14  David S. Miller  <davem@davemloft.net>
29612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29613         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29615 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29617         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29618         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29619         * elf/rtld.c (dl_main): Set l_name of vDSO.
29620         Call _dl_show_scope when DL_DEBUG_SCOPES.
29621         (process_dl_debug): Recognize scopes flag and also set it for all.
29622         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29623         Declare _dl_show_scope.
29625         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29626         (do_dlopen): Pass caller_dlopen to dl_open.
29627         (__libc_dlopen_mode): Initialize caller_dlopen.
29629         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29630         of libc.  Make tolower call locale-independent.  Optimize a bit by
29631         using isdigit instead of isalnum.
29632         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29634 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29636         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29637         was a dependency or dynamically loaded.
29639 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29641         * intl/l10nflist.c: Allow architecture-specific pop function.
29642         * sysdeps/x86_64/l10nflist.c: New file.
29644         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29645         classification.
29647 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29649         * include/dirent.h: Add libc_hidden_proto for scandirat and
29650         scandirat64.  Don't declare __scandirat64.
29651         * dirent/scandirat.c: Add libc_hidden_def.
29652         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29653         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29655 2011-08-10  David S. Miller  <davem@davemloft.net>
29657         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29658         enum.
29659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29663 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29665         * Versions.def [libc]: Add GLIBC_2.15.
29666         * dirent/Makefile (routines): Add scandirat and scandirat64.
29667         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29668         GLIBC_2.15.
29669         * dirent/dirent.h: Declare scandirat and scandirat64.
29670         * dirent/scandirat.c: New file.
29671         * dirent/scandirat64.c: New file.
29672         * sysdeps/wordsize-64/scandirat.c: New file.
29673         * sysdeps/wordsize-64/scandirat64.c: New file.
29674         * dirent/opendir.c: Define opendirat.
29675         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29676         using scandirat.
29677         * dirent/scandir64.c: Adjust for scandir.c change.
29678         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29679         __scandirat64, and __scandir_cancel_handler.
29680         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29681         additional parameter and use openat instead of open (outside of ld.so).
29682         Add new __opendir as wrapper around __opendirat.
29683         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29684         here without requiring old scandirat implementation.
29686 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29688         * dirent/scandir.c (cancel_handler): Renamed to
29689         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29690         defined.  Adjust users.
29691         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29692         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29694 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
29696         * string/test-string.h (IMPL): Use __STRING to expand name and then
29697         stringify it.
29699         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
29700         of cleanups.
29702 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29704         * string/Makefile: Update.
29705         (strop-tests): Append strncat.
29706         * string/test-wcscmp.c: New file.
29707         New comprehensive test for wcscmp.
29708         * string/test-strcmp.c: Update.
29709         (WIDE): New define.
29711 2011-07-22  Andreas Schwab  <schwab@redhat.com>
29713         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29714         line.
29716 2011-07-26  Andreas Schwab  <schwab@redhat.com>
29718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29719         encoding to ACE if AI_IDN.
29721 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
29723         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29724         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29726 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29728         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29729         Fix overflow bug in strncat.
29730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29732         * string/test-strncat.c: Update.
29733         Add new tests for checking overflow bugs.
29735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29738         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29739         * sysdeps/i386/i686/multiarch/strcat.S: New file.
29740         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29742         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29743         * sysdeps/i386/i686/multiarch/strncat.S: New file.
29744         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29745         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29748         (USE_AS_STRCAT): Define.
29749         Add strcat and strncat support.
29750         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29752 2011-07-25  Andreas Schwab  <schwab@redhat.com>
29754         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29755         __n bigger than INT_MAX+1.
29756         (__strncmp_g): Likewise.
29758 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
29760         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29761         * libio/stido.h: Likewise.
29763         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29764         (AF_NFC): Define.
29765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29766         (AF_NFC): Define.
29768         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29771         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29774         [BZ #13021]
29775         * scripts/test-installation.pl: Don't expect libnss_test1 to be
29776         installed.
29778         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29779         typo.
29780         (_dl_x86_64_save_sse): Likewise.
29782 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
29784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29785         OSXSAVE.
29786         (_dl_x86_64_save_sse): Likewise.
29788         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29790         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29792 2011-07-21  Andreas Schwab  <schwab@redhat.com>
29794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29795         change.
29796         (_dl_x86_64_save_sse): Use correct AVX check.
29798 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29800         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29801         bug in strncpy/strncat.
29802         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29804 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
29806         * string/tester.c (test_strcat): Add tests for different alignments
29807         of source and destination.
29808         (test_strncat): Likewise.
29810 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29812         [BZ #12852]
29813         * posix/glob.c (glob): Check passed in values before using them in
29814         expressions to avoid some overflows.
29815         (glob_in_dir): Likewise.
29817         [BZ #13007]
29818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29819         check for AVX enablement so that we don't crash with old kernels and
29820         new hardware.
29821         * elf/tst-audit4.c: Add same checks here.
29822         * elf/tst-audit6.c: Likewise.
29824         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29826 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
29828         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29830 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29832         * po/cs.po: Update from translation team.
29833         * po/bg.po: Likewise.
29835 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
29837         * misc/sys/cdefs.h: Add support for const attribute.
29838         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29839         to gnu_dev_{major,minor,makedev} functions.
29841 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
29843         * intl/dcigettext.c (get_output_charset): Add missing bracket.
29845 2011-07-20  Andreas Schwab  <schwab@redhat.com>
29847         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29848         strlen results.
29850 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29853         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29854         register in order to avoid conflicts with the soft frame pointer
29855         being held in r11 when necessary.
29856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29857         (INTERNAL_VSYSCALL_NCS): Likewise.
29859 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
29861         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29862         * elf/dl-fini.c (_dl_fini): Adjust caller.
29863         * elf/dl-close.c (_dl_close_worker): Likewise.
29864         * sysdeps/generic/ldsodefs.h: Adjust declaration.
29866 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29868         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29869         "aux_cache->nlibs < 0".
29871         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29872         in the reload-count case.
29874 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29877         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29878         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29879         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29880         * sysdeps/x86_64/multiarch/strcat.S: New file.
29881         * sysdeps/x86_64/multiarch/strncat.S: New file.
29882         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29883         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29884         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29885         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29886         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29887         (USE_AS_STRCAT): Define.
29888         Add strcat and strncat support.
29889         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29890         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29891         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29892         * string/strncat.c: Update.
29893         (USE_AS_STRNCAT): Define.
29894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29895         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29896         and i7.
29897         * sysdeps/x86_64/multiarch/init-arch.h
29898         (bit_Prefer_PMINUB_for_stringop): New.
29899         (index_Prefer_PMINUB_for_stringop): Likewise.
29900         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29901         bit_Prefer_PMINUB_for_stringop.
29903 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29905         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29906         buffer64.
29907         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29908         of casting of buffer.
29909         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29910         buffer32 and buffer64.
29911         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29912         writes instead of casting of buffer.
29913         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29914         buffer32.
29915         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29916         casting of buffer.
29918 2011-07-19  Andreas Schwab  <schwab@redhat.com>
29920         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29922 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
29924         * nscd/nscd.c (termination_handler): Don't do anything for a database
29925         if it has not yet been initialized.
29927 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29929         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29931 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
29933         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29935 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
29937         * po/nl.po: Update from translation team.
29938         * po/sv.po: Likewise.
29940 2011-07-16  Roland McGrath  <roland@hack.frob.com>
29942         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29943         now disallowed by GCC.
29945         * configure.in (use-default-link): Default to yes if a test -shared
29946         link meets our qualifications.
29947         * configure: Regenerated.
29949         * config.make.in (output-format): New variable.
29950         * configure.in: Check for ld --print-output-format support.
29951         * configure: Regenerated.
29952         * Makerules ($(common-objpfx)format.lds)
29953         [$(output-format) != unknown]: Just use $(output-format),
29954         instead of the linker-script munging.
29956 2011-07-14  Roland McGrath  <roland@hack.frob.com>
29958         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29959         of $(common-objpfx)shlib.lds.
29960         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29962         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29963         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29965         * configure.in (-z relro check): Adjust test code to add a large
29966         writable data section after it.
29967         * configure: Regenerated.
29969 2011-07-11  Roland McGrath  <roland@hack.frob.com>
29971         * configure.in (-z relro check): Fix test code to make the variable
29972         truly const.
29973         * configure: Regenerated.
29975 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
29977         * nscd/nscd.h (struct traced_file): Define.
29978         (struct database_dyn): Remove inotify_descr, reset_res, and filename
29979         elements.  Add traced_files.
29980         (inotify_fd): Declare.
29981         (register_traced_file): Declare.
29982         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29983         (inotify_fd): Export.
29984         (resolv_conf_descr): Remove.
29985         (nscd_init): Move inotify descriptor creation to main.
29986         Don't register files for notification here.
29987         (register_traced_file): New function.
29988         (invalidate_cache): Don't use reset_res to determine whether to call
29989         res_init, go through the list of registered files.
29990         (main_loop_poll): The inotify descriptors are now stored in the
29991         structures for the traced files.
29992         (main_loop_epoll): Likewise
29993         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
29994         to __nss_disable_nscd.
29995         * nscd/cache.c (prune_cache): There is no single inotify descriptor
29996         for a database anymore.  Check the records for all the registered
29997         files instead.
29998         * nss/Makefile (libnss_files-routines): Add files-init.
29999         (libnss_db-routines): Add db-init.
30000         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30001         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30002         * nss/nss_db/db-init.c: New file.
30003         * nss/nss_files/files-init.c: New file.
30004         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30005         __nss_lookup_function.
30006         (__nss_lookup_function): Call nss_load_library.
30007         (nss_load_all_libraries): New function.
30008         (__nss_disable_nscd): Take parameter with callback function for files
30009         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30010         used for the cached services.
30011         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30012         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30013         options for features to all the files in nscd.
30015         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30017 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30019         * csu/elf-init.c (__libc_csu_init): Comment typo.
30021 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30023         * po/pl.po: Update from translation team.
30024         * po/ja.po: Likewise.
30025         * po/ru.po: Likewise.
30026         * po/ko.po: Likewise.
30027         * po/fr.po: Likewise.
30029 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30031         * configure.in (.ctors/.dtors header and trailer check):
30032         Use an empirical test on a built program.
30033         * configure: Regenerated.
30035         * configure.in (-z relro check): Use an empirical test on a built DSO.
30036         Detect, but do not require, on ia64.
30037         * configure: Regenerated.
30039         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30040         Update tests that use readelf to use $READELF instead.
30041         * configure: Regenerated.
30043 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30045         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30046         if the result is not used.
30048 2011-07-05  Andreas Jaeger  <aj@suse.de>
30050         [BZ#9696]
30051         * stdlib/tst-strtod.c: Add testcase.
30053 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30055         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30056         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30057         The latter has a higher limit.  Take additional parameter to pass to
30058         the new function.
30059         (__pathconf): Pass file to __statfs_link_max.
30060         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30061         __statfs_link_max.
30062         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30063         __statfs_link_max.
30065         [BZ #12868]
30066         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30068         Handle Lustre.
30069         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30070         (__statfs_filesize_max): Likewise.
30071         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30073 2011-07-05  Andreas Jaeger  <aj@suse.de>
30075         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30077 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30079         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30080         `status' variable.
30081         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30082         Likewise.
30084 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30086         * Makefile (strop-tests): Add strncat.
30087         * string/test-strncat.c: New file.
30089 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30091         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30093 2011-06-21  Andreas Jaeger  <aj@suse.de>
30095         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30096         Copy rule from iconvdata/Makefile.
30098 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30100         [BZ #12922]
30101         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30102         but no long options are defined, just return 'W'.
30104 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30106         [BZ #9696]
30107         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30109 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30111         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30112         netgroups to read.
30113         (innetgr): Likewise.
30115 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30117         * config.make.in (install_root): Default to $(DESTDIR).
30119 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30121         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30123 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30125         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30127         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30128         containing directory rather than embedding absolute directory names.
30130         * scripts/check-local-headers.sh: Rewritten using awk.
30131         Match by word, not by line.  Print error messages for matches.
30132         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30134         * Makerules [shlib-lds-flags empty]:
30135         ($(common-objpfx)libc_pic.opts): New target.
30136         ($(common-objpfx)libc_pic.os.clean): New target.
30137         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30139         * config.make.in (OBJCOPY): New variable.
30140         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30141         * configure: Regenerated.
30143         * config.make.in (use-default-link): New variable.
30144         * configure.in (use_default_link): Grok --with-default-link to set it.
30145         * configure: Regenerated.
30146         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30147         (shlib-lds, shlib-lds-flags): Define to empty.
30149         * Makerules (shlib-lds): New variable.
30150         (shlib-lds-flags): New variable.
30151         (build-shlib, build-moduile, build-module-asneeded): Use it.
30152         ($(common-objpfx)libc.so): Use $(shlib-lds).
30153         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30154         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30156         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30157         DT_FLAGS/DT_FLAGS_1 with zero flags.
30159         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30160         linker script munging.
30162 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30164         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30165         as 128-bit value.
30166         * crypt/sha512.c (sha512_process_block): Perform total addition using
30167         128-bit if possible.
30168         (__sha512_finish_ctx): Likewise.
30169         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30170         as 64-bit value.
30171         * crypt/sha256.c (SWAP64): Define.
30172         (sha256_process_block): Perform total addition using 64-bit if
30173         possible.
30174         (__sha256_finish_ctx): Likewise.
30176 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30178         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30180         * nscd/hstcache.c (cache_addhst): Likewise.
30181         * nscd/grpcache.c (cache_addgr): Likewise.
30182         * nscd/aicache.c (addhstaiX): Likewise
30183         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30185 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30187         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30189         * nscd/hstcache.c (cache_addhst): Likewise.
30190         * nscd/grpcache.c (cache_addgr): Likewise.
30191         * nscd/aicache.c (addhstaiX): Likewise
30193 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30195         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30196         domain only when needed.
30198 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30201         is always restored.
30203 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30205         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30206         are re-adding the entry.
30207         * nscd/servicescache.c (cache_addserv): Likewise.
30209 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30211         * sysdeps/generic/dl-irel.h: fix protection against multiple
30212         inclusions.
30213         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30215 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30217         [BZ #12935]
30218         * malloc/memusage.sh: Fix quoting in message.
30219         * debug/xtrace.sh: Likewise.
30221         * configure.in: Remove support for --experimental-malloc option, make
30222         it the default.
30223         * config.make.in: Likewise.
30224         * malloc/Makefile: Likewise.
30226 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30228         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30229         two-byte characters.
30231 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30233         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30234         AC_CACHE_CHECK invocation.
30235         * configure: Regenerated.
30237         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30239 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30241         [BZ #12350]
30242         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30243         bit from old_res_options.
30245         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30247         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30248         value type for setfct.
30250 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30253         __gettimeofday instead of gettimeofday.
30255 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30257         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30259 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30261         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30263         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30264         info.
30266 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30269         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30270         strcpy-sse2-unaligned strncpy-sse2-unaligned
30271         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30272         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30273         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30274         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30275         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30276         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30277         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30278         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30279         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30280         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30281         (STRCPY): Support SSE2 and SSSE3 versions.
30283 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30285         [BZ #12874]
30286         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30287         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30288         kernels which artificially limit size of requests.
30290 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30293         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30294         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30295         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30296         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30297         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30298         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30299         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30302         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30303         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30304         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30305         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30306         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30308         Enable unaligned load optimization for Intel Core i3, i5 and i7
30309         processors.
30310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30311         Define.
30312         (index_Fast_Unaligned_Load): Define.
30313         (HAS_FAST_UNALIGNED_LOAD): Define.
30315 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30317         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30319 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30321         [BZ #12907]
30322         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30323         until it is clear that the information is realy needed.
30324         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30326 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30330 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30333         /sys/devices/system/cpu/online if it is usable.
30335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30336         reading the information from the /proc filesystem to once a second.
30338 2011-06-21  Andreas Jaeger  <aj@suse.de>
30340         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30341         NULL after inclusion of kernel headers.
30343 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30345         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30346         calls to internal_setent.
30348         [BZ #12885]
30349         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30350         addresses using gethostbyname4_r ignore IPv4 addresses.
30352         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30353         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30355         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30357 2011-06-20  David S. Miller  <davem@davemloft.net>
30359         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30360         inclusions.
30361         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30363         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30364         (elf_irel): Use it.
30365         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30366         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30367         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30368         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30369         * sysdeps/x86_64/dl-irel.h: Likewise.
30371         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30372         * elf/dl-sym.c: Likewise.
30374 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30376         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30377         need to dereference resplen2.
30379 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30381         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30383 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30385         * Makeconfig: Define vardbdir and inst_vardbdir.
30386         * nss/Makefile: Add rules to install db-Makefile.
30388         * nss/nss_db/db-XXX.c: Cleanup.
30390         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30391         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30392         GLIBC_PRIVATE.
30393         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30394         * nss/makedb.c: Implement -g option to specify that value strings
30395         are generated and should not be added to table iterated over for
30396         get*ent calls.
30397         * nss/nss_db/db-initgroups.c: New file.
30399         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30400         interface.
30402         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30403         (internal_getgrouplist): Adjust to name change.
30404         Update use_initgroups_entry if this is not the first call.
30405         * nss/databases.def: Add initgroups entry.
30407         * nss/makedb.c (compute_tables): Check result of multiple hash table
30408         sizes to minimize maximum chain length.
30410 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30412         * Versions.def: Add entry for libnss_db.
30413         * shlib-versions: Likewise.
30414         * nss/Makefile: Add rules to build libnss_db.
30415         * nss/Versions: Add libnss_db information.  Organize libnss_files
30416         entries better.
30417         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30418         makedb progra.  Some minor improvements to generate smaller files.
30419         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30420         here from...
30421         * nss/makedb.c: ...here.
30422         Improve database format to be smaller and require less memory at
30423         runtime.
30424         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30425         db anymore.
30426         * nss/nss_db/db-netgrp.c: Likewise.
30427         * nss/nss_db/db-open.c: Likewise.
30428         * nss/nss_files/flies-XXX.x: Adjust comments.
30429         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30430         * nss/nss_files/files-grp.c: Likewise.
30431         * nss/nss_files/files-hosts.c: Likewise.
30432         * nss/nss_files/files-network.c: Likewise.
30433         * nss/nss_files/files-proto.c: Likewise.
30434         * nss/nss_files/files-pwd.c: Likewise.
30435         * nss/nss_files/files-rpc.c: Likewise.
30436         * nss/nss_files/files-service.c: Likewise.
30437         * nss/nss_files/files-sgrp.c: Likewise.
30438         * nss/nss_files/files-spwd.c: Likewise.
30439         * nss/nss_db/db-alias.c: Removed.
30440         * nss/nss_db/dummy-db.h: Removed.
30442 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30444         * nss/makedb.c: Rewritten to not use database library.
30445         * nss/Makefile: Update to build new makedb program.
30447 2011-06-14  Andreas Jaeger  <aj@suse.de>
30449         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30450         memset declaration.
30452 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30455         tmpbuf.
30457 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30459         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30460         * elf/Makefile ($(objpfx)ld.so): Likewise.
30462         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30463         Don't list ld.so twice in dependencies.
30465         * posix/bug-regex31.c: Include <stdlib.h>.
30467         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30469         * nis/nss_compat/compat-spwd.c
30470         (getspent_next_nss_netgr): Remove unused variable.
30471         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30473         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30474         nonmembers" output to use the right array.
30476         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30478         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30480         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30481         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30482         * catgets/gencat.c (read_input_file): Likewise.
30483         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30485         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30486         variable definition inside #if's controlling its use.
30488         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30490         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30492         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30494         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30495         unreachable code.
30497         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30499         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30500         * configure: Regenerated.
30502         * Makerules: Revert last change.
30503         * elf/Makefile: Likewise.
30505 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30507         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30508         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30509         (reloc-link): Likewise.
30511 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30513         * elf/Makefile: Add rules to build pldd.
30514         * elf/pldd.c: New file.
30515         * elf/pldd-xx.c: New file.
30517 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30519         * version.h: Update for 2.15 development version.
30521 2011-06-07  David S. Miller  <davem@davemloft.net>
30523         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30524         ifuncs.
30525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30526         elf_machine_lazy_rel): Likewise.
30527         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30528         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30529         elf_machine_lazy_rel): Likewise.
30530         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30531         dl_hwcap via passed in argument.
30532         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30533         Likewise.
30535 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30537         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30539 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30541         [BZ #12849]
30542         * manual/fdl-1.1.texi: New file, verbatim from:
30543         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30544         * manual/lgpl-2.1.texi: New file, verbatim from:
30545         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30546         * manual/Makefile (licenses): New variable, list those new file names.
30547         (texis): Use it.
30548         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30550         * manual/fdl.texi: File removed.
30551         * manual/lesser.texi: File removed.
30552         * manual/libc.texinfo (Copying, Documentation License):
30553         Use new @include file names, put @appendix directive before @include.
30555 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30557         [BZ #12841]
30558         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30559         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30560         (mq_open): Add __NTH.
30562 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30565         Assume Intel Core i3/i5/i7 processor if AVX is available.
30567 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30570         typo.
30572 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30574         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30575         memory.  Use alloca_account.  Fix memory leak when retrying.
30577 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30579         * version.h (RELEASE): Bump for 2.14 release.
30580         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30582         * config.make.in (RANLIB): Remove entry.
30584 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30586         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30587         (libc.pot): Work around missing support for .ksh extension in xgettext.
30589         [BZ #12684]
30590         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30591         if both request failed.
30592         (send_dg): In case of server errors clear resplen or *resplen2.
30594         [BZ #12454]
30595         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30596         when there are multiple maps.
30597         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30598         (_dl_fini): Remove test here.
30600         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30602 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30604         [BZ #12350]
30605         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30606         bit from old_res_options.
30607         (gaih_inet): Likewise.
30609         [BZ #11099]
30610         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30611         as signed.
30613         * resolv/res_init.c (res_setoptions): Make the code more compact.
30615         [BZ #11558]
30616         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30617         set RES_USEVC.
30619         [BZ #11634]
30620         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30622         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30624         [BZ #11781]
30625         * malloc/malloc.h: Declare malloc hook variables as volatile.
30627         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30628         in last patch.
30630         [BZ #11799]
30631         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30632         raise in the comment.
30633         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30634         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30635         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30637 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30639         [BZ #12811]
30640         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30641         grow the buffers more if it already has to be sufficient.
30642         (build_wcs_upper_buffer): Likewise.
30643         * posix/regexec.c (check_matching): Likewise.
30644         (clean_state_log_if_needed): Likewise.
30645         (extend_buffers): Don't enlarge buffers beyond size of the input
30646         buffer.
30647         Patches mostly by Emil Wojak <emil@wojak.eu>.
30648         * posix/bug-regex32.c: New file.
30649         * posix/Makefile (tests): Add bug-regex32.
30651         * locale/findlocale.c (_nl_find_locale): Return right away if
30652         _nl_explode_name failed.
30653         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30655         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30657         * debug/xtrace.sh: Unify messages.
30658         * malloc/memusage.sh: Likewise.
30660         [BZ #12813]
30661         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30662         time symbol from vDSO.  Substitute with vsyscall if not available.
30663         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30664         __vdso_time.
30666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30667         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30668         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30669         Add sendmmsg and internal_sendmmsg.
30670         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30671         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30672         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30674         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30675         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30676         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30678 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30680         [BZ #12813]
30681         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30682         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30683         available.
30684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30685         __vdso_getcpu.
30687         [BZ #12814]
30688         * iconvdata/Makefile (tests): Add bug-iconv9.
30689         * iconvdata/bug-iconv9.c: New file.
30691 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30693         [BZ #12814]
30694         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30696 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
30698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30699         (struct user_regs_struct): Change intcs field back to cs.
30701 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
30703         * po/ja.po: Update from translation team.
30705 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
30707         [BZ #12795]
30708         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30709         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30711 2011-05-20  Andreas Schwab  <schwab@redhat.com>
30713         * stdlib/longlong.h: Update from GCC.
30715 2011-05-23  Andreas Schwab  <schwab@redhat.com>
30717         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30718         parameter name.
30719         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30720         Add parameter name.
30721         (__sysconf): Pass it down.
30723 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
30725         [BZ #12671]
30726         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30727         some situations.
30728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30729         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30730         add in in __libc_use_alloca calls.  Adjust callers.
30731         (glob): Use malloc in some situations.
30733         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30734         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30735         pltexit.
30737 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
30739         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30740         and CLOCK_BOOTTIME_ALARM.
30742         [BZ #12782]
30743         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30744         is returned.
30746         * string/_strerror.c (__strerror_r): Print negative errors as signed
30747         numbers.
30749         [BZ #12777]
30750         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30751         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30752         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30754         * configure.in: Fix typo in redirection and correct removal of test
30755         files in two cases.
30757         [BZ #12788]
30758         * locale/setlocale.c (new_composite_name): Fix test to check for
30759         identical name of all categories.
30761         [BZ #12792]
30762         * libio/filedoalloc.c (local_isatty): New function.
30763         (_IO_file_doallocate): Use local_isatty.
30764         * stdio-common/perror.c (perror): In case a new stream is used
30765         forward the stream error.
30766         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30767         error flag.
30769 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
30771         [BZ #11869]
30772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30773         alloca.
30774         * include/alloca.h (extend_alloca_account): Define.
30776         [BZ #11857]
30777         * posix/regex.h: Fix comments with documentation of user-accessible
30778         fields after compilation and describe correct free'ing of pattern
30779         after re_compile_pattern.
30780         Patch by Reuben Thomas <rrt@sc3d.org>.
30782 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
30784         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30785         and -mno-altivec to prevent the compiler from using Altivec and/or
30786         VSX instructions when the corresponding registers are not available.
30788 2011-05-19  Andreas Schwab  <schwab@redhat.com>
30790         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30792 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
30794         * libio/freopen.c (freopen): Use __dup2, not dup2.
30795         * libio/freopen64.c (freopen64): Likewise.
30797 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30799         [BZ #12775]
30800         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30801         * math/Makefile (tests): Add test-powl.
30802         (CFLAGS-test-powl.c): Define.
30803         * math/test-powl.c: New file.
30805 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30807         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30809 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
30811         [BZ #11837]
30812         * iconvdata/gb18030.c: Update to GB18020-2005.
30814 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
30816         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30817         RE_SYNTAX_POSIX_AWK): Update to match recent development.
30818         Patch by Aharon Robbins <arnold@skeeve.com>.
30820         [BZ #11892]
30821         * stdlib/putenv.c (putenv): Don't always create copy of the variable
30822         on the stack.
30824         [BZ #11895]
30825         * misc/pselect.c (__pselect): Handle timeout value errors hidden
30826         through underflows.
30828         [BZ #12766]
30829         * misc/error.c (error_at_line): Ensure file_name and old_file_name
30830         point to strings before performing equality test for error_one_per_line
30831         mode.
30833         [BZ #11697]
30834         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30836         [BZ #11820]
30837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30838         (struct user_fpregs_struct): Avoid __uint*_t types.
30840         [BZ #6420]
30841         * malloc/mtrace.c (tr_where): Add additional parameter to point to
30842         symbol info.  Use it instead of calling _dl_addr locally.
30843         (lock_and_info): New function.
30844         (tr_freehook): Call lock_and_info and pass symbol info as additional
30845         parameter to tr_where.
30846         (tr_mallochook): Likewise.
30847         (tr_reallochook): Likewise.
30848         (tr_memalignhook): Likewise.
30850         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
30851         used and couldn't be at all thread-safe.
30853 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
30855         * libio/freopen.c (freopen): Don't close old file descriptor
30856         before the new one is opened.  Instead dup the new file descriptor
30857         to the old one after the new stream is created.
30858         * libio/freopen64.c (freopen64): Likewise.
30859         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30860         * libio/fileops.c (_IO_new_file_close_it): Handle new
30861         _IO_FLAGS2_NOCLOSE flag.
30862         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30863         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30864         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30865         _IO_FLAGS2_NOCLOSE flag.
30866         * include/unistd.h: Add hidden_proto for dup3.
30867         Define __have_dup3.
30868         * io/dup3.c: Define hidden symbol.
30869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30871         [BZ #7101]
30872         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30873         when an incomplete long option is used.
30874         * posix/tst-getopt_long1.c: New file.
30875         * posix/Makefile (tests): Add tst-getopt_long1.
30877         [BZ #10138]
30878         * scripts/config.guess: Update from autoconf-2.68.
30879         * scripts/config.sub: Likewise.
30881         [BZ #10157]
30882         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30883         tests into ...
30884         (has_cpuclock): ...this.  New function.
30885         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30886         macro here based on has_cpuclock code.
30888         [BZ #10149]
30889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30890         First byte (not low byte) is now always NUL.
30891         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30894         Use non-cancelable interfaces.
30896         [BZ #9809]
30897         * locale/iso-639.def: Add entry for Sorani.
30899         [BZ #11901]
30900         * include/stdlib.h: Move include protection to the right place.
30901         Define abort_msg_s.  Declare __abort_msg with it.
30902         * stdlib/abort.c (__abort_msg): Adjust type.
30903         * assert/assert.c (__assert_fail_base): New function.  Majority
30904         of code from __assert_fail.  Allocate memory for __abort_msg with
30905         mmap.
30906         (__assert_fail): Now call __assert_fail_base.
30907         * assert/assert-perr.c: Remove bulk of implementation.  Use
30908         __assert_fail_base.
30909         * include/assert.hL Declare __assert_fail_base.
30910         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30911         mmap.
30912         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30914 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
30916         [BZ #11952]
30917         [BZ #12453]
30918         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30919         until all modules are registered in the DTV.
30920         * elf/Makefile: Add rules to build and run tst-tls19.
30921         * elf/tst-tls19.c: New file.
30922         * elf/tst-tls19mod1.c: New file.
30923         * elf/tst-tls19mod2.c: New file.
30924         * elf/tst-tls19mod3.c: New file.
30925         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30927         [BZ #12083]
30928         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30929         correctly.
30931         [BZ #12601]
30932         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30933         two-byte sequence errors.
30934         * iconvdata/Makefile (tests): Add bug-iconv8.
30935         * iconvdata/bug-iconv8.c: New file.
30937         [BZ #12626]
30938         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30939         buf2 definition.
30941         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30943         [BZ #12432]
30944         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30945         (dummy_getcfa): New function.
30946         (init): Get _Unwind_GetCFA address, use dummy if not found.
30947         (backtrace_helper): In recursion check, also check whether CFA changes.
30948         (__backtrace): Completely initialize arg.
30950         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30951         storing incomplete byte sequence in state object.  Avoid testing for
30952         guaranteed too small input if we know there is enough data available.
30954 2011-05-11  Andreas Schwab  <schwab@redhat.com>
30956         * Makeconfig (+link-pie): Indent.
30957         * Rules (binaries-pie): Define if $(have-fpie) and
30958         $(build-shared).
30959         (binaries-shared): Also filter out $(binaries-pie).
30960         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30961         * nscd/Makefile (others-pie): Add nscd.
30962         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30963         ($(objpfx)nscd): Remove command override.
30964         * login/Makefile (others-pie): Add pt_chown.
30965         ($(objpfx)pt_chown): Remove command override.
30966         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30967         remove command overrides.
30969 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
30971         * libio/tst_putwc.c: Fix error messages.
30973         [BZ #12724]
30974         * libio/fileops.c (_IO_new_file_close_it): Always flush when
30975         currently writing and seek to current position when not.
30976         * libio/Makefile (tests): Add bug-fclose1.
30977         * libio/bug-fclose1.c: New file.
30979 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
30981         [BZ #12511]
30982         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30983         don't set DF_1_NODELETE here.
30984         (do_lookup_x): When entering new entry test for copy relocation
30985         and if necessary set DF_1_NODELETE flag.
30986         * elf/tst-unique4.cc: New file.
30987         * elf/tst-unique4.h: New file.
30988         * elf/tst-unique4lib.cc: New file.
30989         * elf/Makefile: Add rules to build and run tst-unique4.
30990         Patch by Piotr Bury <pbury@goahead.com>.
30992 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
30994         [BZ #12052]
30995         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30997         [BZ #12625]
30998         * misc/mntent_r.c (addmntent): Flush the stream after the output
31000         [BZ #12393]
31001         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31002         (is_trusted_path_normalize): Skip initial colon.  Append slash
31003         to empty buffer.  Duplicate is_trusted_path code but allow
31004         constructed patch to be prefix.
31005         (is_dst): Allow $ORIGIN followed by /.
31006         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31007         Correct testing of result of is_trusted_path_normalize
31008         (decompose_rpath): Fix warning.
31010 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31012         [BZ #11257]
31013         * grp/initgroups.c (internal_getgrouplist): When we found the service
31014         list through the initgroups entry in nsswitch.conf do not always
31015         continue on a successful lookup.  Don't always use the
31016         __nss_group_database value if it is set.
31017         * nss/nsswitch.conf (initgroups): Change action for successful db
31018         lookup to continue for compatibility.
31020 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31022         [BZ #11532]
31023         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31024         and CP774 modules.
31025         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31026         and CP774 modules.
31027         * iconvdata/tst-tables.sh: Likewise.
31028         * iconvdata/cp770.c: New file.
31029         * iconvdata/cp771.c: New file.
31030         * iconvdata/cp772.c: New file.
31031         * iconvdata/cp773.c: New file.
31032         * iconvdata/cp774.c: New file.
31033         * iconvdata/testdata/CP770: New file.
31034         * iconvdata/testdata/CP770..UTF8: New file.
31035         * iconvdata/testdata/CP771: New file.
31036         * iconvdata/testdata/CP771..UTF8: New file.
31037         * iconvdata/testdata/CP772: New file.
31038         * iconvdata/testdata/CP772..UTF8: New file.
31039         * iconvdata/testdata/CP773: New file.
31040         * iconvdata/testdata/CP773..UTF8: New file.
31041         * iconvdata/testdata/CP774: New file.
31042         * iconvdata/testdata/CP774..UTF8: New file.
31044         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31045         END CHARMAP line.
31046         * iconvdata/gen-8bit-gap.sh: Likewise.
31047         * iconvdata/gen-8bit.sh: Likewise.
31049         * locale/iso-639.def: Add ary entry.
31051         [BZ #11258]
31052         * locale/C-translit.h.in: Add U20A1 transliteration.
31054         [BZ #12178]
31055         * locale/iso-639.def: Add wae entry.
31056         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31058         [BZ #12545]
31059         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31060         for n.
31062         [BZ #12711]
31063         * locale/C-translit.h.in: Add entry for U20B9.
31064         Patch by pravin.d.s@gmail.com.
31066 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31068         [BZ #12713]
31069         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31070         ENAMETOOLONG use generic getcwd.
31071         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31072         in rtld.  Use *stat64.
31073         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31074         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31075         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31076         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31077         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31078         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31079         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31080         __fstatat64 macros.
31081         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31082         * dirent/rewinddir.c: Add libc_hidden_def.
31083         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31084         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31086         * include/dirent.h (__alloc_dir): Add flags parameter.
31087         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31088         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31089         __alloc_dir.
31090         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31091         from fdopendir if O_CLOEXEC is already set.
31093 2011-03-15  Alan Modra  <amodra@gmail.com>
31095         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31096         l_tls_firstbyte_offset non-zero.  Save padding offset in
31097         l_tls_firstbyte_offset for later use.
31098         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31099         freeing static tls block.
31101 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31103         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31104         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31105         being defined by the kernel headers.
31107 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31109         [BZ #12734]
31110         * resolv/resolv.h: Define RES_NOTLDQUERY.
31111         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31112         no-tld-query and set RES_NOTLDQUERY.
31113         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31114         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31115         modern BIND to search name as TLD unless forbidden.
31117 2011-05-07  Petr Baudis  <pasky@suse.cz>
31118             Ulrich Drepper  <drepper@gmail.com>
31120         [BZ #12393]
31121         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31122         (is_trusted_path): ...to here.
31123         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31124         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31125         using is_trusted_path_normalize() in setuid scripts.
31127 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31129         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31130         __BEGIN/__END_DECLS.
31132 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31134         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31135         NSS_STATUS_NOTFOUND if no record was found.
31137 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31139         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31140         (headers-not-in-tirpc): Remove rpc/netdb.h
31141         * resolv/netdb.h: Revert last change.
31143 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31145         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31146         circular dependency between libgcc.a and libc.a.
31148 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31150         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31151         * nis/Makefile: Don't install rpcsvc/*.
31152         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31153         instead of <rpc/types.h>.
31154         (MAXHOSTNAMELEN): Define.
31156 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31158         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31160 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31162         [BZ #12714]
31163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31164         gethostbyname4_r when IPv6 results are possible.
31166 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31168         [BZ #12723]
31169         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31170         _PC_PIPE_BUF handling.
31172 2011-04-30  Bruno Haible  <bruno@clisp.org>
31174         [BZ #12717]
31175         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31176         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31177         to 'int'.
31178         * inet/getnameinfo.c (getnameinfo): Likewise.
31180 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31182         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31183         to groups setting in database lookup.
31184         * nss/nsswitch.conf: Add initgroups entry.
31186 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31188         [BZ #12685]
31189         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31190         mode string.
31191         Patch by Eric Blake <eblake@redhat.com>.
31193 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31195         * sunrpc/Makefile (need-export-routines): Add svc_run.
31196         (routines): Remove svc_run.
31197         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31198         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31199         * sunrpc/svc_run.c (svc_run): Likewise.
31200         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31202 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31205         problem in reallocation in last patch.
31207 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31209         * sunrpc/Makefile: Move inclusion of Rules.
31211 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31213         * nss/nss_files/files-initgroups.c: New file.
31214         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31215         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31216         _nss_files_initgroups_dyn.
31218 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31220         * elf/elf.h (R_ARM_IRELATIVE): Define.
31222 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31224         * po/ru.po: Update from translation team.
31226 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31228         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31229         dependencies.
31231 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31233         [BZ #12653]
31234         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31235         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31238         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31240 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31243         differing bytes.
31244         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31245         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31248 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31250         [BZ #12420]
31251         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31252         storing it.
31253         * stdlib/bug-getcontext.c: New file.
31254         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31256 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31258         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31259         instructions into .machine "z9-109".
31260         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31261         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31263 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31265         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31266         between environment variables and auxiliary vector.
31268 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31270         * Makefile: Add rules to build linkobj/libc.so.
31271         * include/libc-symbols.h: Define libc_hidden_nolink.
31272         * include/rpc/auth.h: Mark functions which are to be hidden.
31273         * include/rpc/auth_des.h: Likewise.
31274         * include/rpc/auth_unix.h: Likewise.
31275         * include/rpc/clnt.h: Likewise.
31276         * include/rpc/des_crypt.h: Likewise.
31277         * include/rpc/key_prot.h: Likewise.
31278         * include/rpc/pmap_clnt.h: Likewise.
31279         * include/rpc/pmap_prot.h: Likewise.
31280         * include/rpc/pmap_rmt.h: Likewise.
31281         * include/rpc/rpc_msg.h: Likewise.
31282         * include/rpc/svc.h: Likewise.
31283         * include/rpc/svc_auth.h: Likewise.
31284         * include/rpc/xdr.h: Likewise.
31285         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31286         * nss/Makefile: Likewise.
31287         * sunrpc/Makefile: Don't install headers.  Build library with normal
31288         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31289         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31290         for the compat linking library.  Remove use of INTDEF/INTUSE.
31291         * sunrpc/auth_none.c: Likewise.
31292         * sunrpc/auth_unix.c: Likewise.
31293         * sunrpc/authdes_prot.c: Likewise.
31294         * sunrpc/authuxprot.c: Likewise.
31295         * sunrpc/clnt_gen.c: Likewise.
31296         * sunrpc/clnt_perr.c: Likewise.
31297         * sunrpc/clnt_raw.c: Likewise.
31298         * sunrpc/clnt_simp.c: Likewise.
31299         * sunrpc/clnt_tcp.c: Likewise.
31300         * sunrpc/clnt_udp.c: Likewise.
31301         * sunrpc/clnt_unix.c: Likewise.
31302         * sunrpc/des_crypt.c: Likewise.
31303         * sunrpc/des_soft.c: Likewise.
31304         * sunrpc/get_myaddr.c: Likewise.
31305         * sunrpc/key_call.c: Likewise.
31306         * sunrpc/key_prot.c: Likewise.
31307         * sunrpc/netname.c: Likewise.
31308         * sunrpc/pm_getmaps.c: Likewise.
31309         * sunrpc/pm_getport.c: Likewise.
31310         * sunrpc/pmap_clnt.c: Likewise.
31311         * sunrpc/pmap_prot.c: Likewise.
31312         * sunrpc/pmap_prot2.c: Likewise.
31313         * sunrpc/pmap_rmt.c: Likewise.
31314         * sunrpc/publickey.c: Likewise.
31315         * sunrpc/rpc_cmsg.c: Likewise.
31316         * sunrpc/rpc_common.c: Likewise.
31317         * sunrpc/rpc_dtable.c: Likewise.
31318         * sunrpc/rpc_prot.c: Likewise.
31319         * sunrpc/rpc_thread.c: Likewise.
31320         * sunrpc/rtime.c: Likewise.
31321         * sunrpc/svc.c: Likewise.
31322         * sunrpc/svc_auth.c: Likewise.
31323         * sunrpc/svc_authux.c: Likewise.
31324         * sunrpc/svc_raw.c: Likewise.
31325         * sunrpc/svc_run.c: Likewise.
31326         * sunrpc/svc_simple.c: Likewise.
31327         * sunrpc/svc_tcp.c: Likewise.
31328         * sunrpc/svc_udp.c: Likewise.
31329         * sunrpc/svc_unix.c: Likewise.
31330         * sunrpc/svcauth_des.c: Likewise.
31331         * sunrpc/xcrypt.c: Likewise.
31332         * sunrpc/xdr.c: Likewise.
31333         * sunrpc/xdr_array.c: Likewise.
31334         * sunrpc/xdr_float.c: Likewise.
31335         * sunrpc/xdr_intXX_t.c: Likewise.
31336         * sunrpc/xdr_mem.c: Likewise.
31337         * sunrpc/xdr_rec.c: Likewise.
31338         * sunrpc/xdr_ref.c: Likewise.
31339         * sunrpc/xdr_sizeof.c: Likewise.
31340         * sunrpc/xdr_stdio.c: Likewise.
31342 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31344         [BZ #12650]
31345         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31346         * sysdeps/ia64/dl-tls.h: Likewise.
31347         * sysdeps/powerpc/dl-tls.h: Likewise.
31348         * sysdeps/s390/dl-tls.h: Likewise.
31349         * sysdeps/sh/dl-tls.h: Likewise.
31350         * sysdeps/sparc/dl-tls.h: Likewise.
31351         * sysdeps/x86_64/dl-tls.h: Likewise.
31352         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31354 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31356         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31357         rpath element also skip the following colon.
31358         (expand_dynamic_string_token): Add is_path parameter and pass
31359         down to DL_DST_REQUIRED and _dl_dst_substitute.
31360         (decompose_rpath): Call expand_dynamic_string_token with
31361         non-zero is_path.  Ignore empty rpaths.
31362         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31363         with zero is_path.
31365 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31368         Make cancelable.
31370 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31372         [BZ #12655]
31373         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31374         Patch by Filipe David Manana <fdmanana@apache.org>.
31376 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31379         Maintain aligned stack.
31380         (CHECK_RSP): Remove unused macro.
31382 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31384         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31385         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31387 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31389         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31391         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31393 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31395         [BZ #12518]
31396         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31397         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31398         * sysdeps/x86_64/memmove.c: New file.
31399         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31400         (memcpy): Renamed to ...
31401         (__new_memcpy): This.
31402         (memcpy): Provide GLIBC_2_14 memcpy.
31403         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31404         (memcpy): Provide GLIBC_2_2_5 memcpy.
31406 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31408         [BZ #12631]
31409         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31411 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31413         * misc/syncfs.c: New file.
31414         * misc/Makefile (routines): Add syncfs.
31415         * posix/unistd.h: Declare syncfs.
31416         * sysdeps/unix/syscalls.list: Add syncfs.
31418 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31420         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31421         open_by_handle_at.
31422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31423         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31425         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31427         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31430 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31434         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31440         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31441         sync_file_range.c with -fexceptions.
31442         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31443         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31444         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31445         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31446         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31447         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31449         sync_file_range as cancellation point
31450         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31451         now a wrapper around __call_sync_file_range with cancellation handling.
31452         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31453         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31454         function name to __call_sync_file_range.
31455         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31456         Add call_sync_file_range.
31458 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31461         bits/timex.h.
31463 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31465         * iconv/iconv.h: Fix typo in comment.
31466         * io/fcntl.h: Likewise.
31467         * libio/stdio.h: Likewise.
31468         * posix/spawn.h: Likewise.
31469         * posix/unistd.h: Likewise.
31470         * stdlib/stdlib.h: Likewise.
31471         * time/time.h: Likewise.
31472         * wcsmbs/wchar.h: Likewise.
31474         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31475         open_by_handle): Add.
31476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31477         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31478         Augment a few comments.
31479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31483         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31484         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31485         open_by_handle.
31487         * io/fcntl.h (AT_EMPTY_PATH): Define.
31489 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31491         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31492         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31493         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31494         to...
31495         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31496         * Versions.def: Add GLIBC_2.14.
31497         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31498         Export.
31500 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31502         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31503         round counter.
31504         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31506 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31508         [BZ #12597]
31509         * string/test-strncmp.c (do_page_test): New function.
31510         (check2): Likewise.
31511         (test_main): Call check2.
31512         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31514 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31516         [BZ #12587]
31517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31518         Handle cache information in CPU leaf 4.
31519         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31521 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31523         [BZ #12583]
31524         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31525         character representation.
31526         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31528 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31530         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31531         END(__isnan) to END(__isnanf) to match function entry point/label
31532         EALIGN(__isnanf,...).
31534 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31536         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31538 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31540         [BZ #12510]
31541         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31542         copy from the symbol referenced in the relocation to initialize the
31543         used variable.
31544         Patch by Piotr Bury <pbury@goahead.com>.
31545         * elf/Makefile: Add rules to build and tst-unique3.
31546         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31547         * elf/tst-unique3.cc: New file.
31548         * elf/tst-unique3.h: New file.
31549         * elf/tst-unique3lib.cc: New file.
31550         * elf/tst-unique3lib2.cc: New file.
31552         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31554 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31556         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31557         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31558         to _start.
31560 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31562         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31563         to-be-loaded object along a path to loader is ld.so.
31565 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31566             Ulrich Drepper  <drepper@gmail.com>
31568         * sysdeps/x86_64/memset.S: After aligning destination, code
31569         branches to different locations depending on the value of
31570         misalignment, when multiarch is enabled. Fix this.
31572 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31574         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31575         Set _x86_64_preferred_memory_instruction for AMD processsors.
31576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31577         Set bit_Prefer_SSE_for_memop for AMD processors.
31579 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31581         * libio/fmemopen.c (fmemopen): Optimize a bit.
31583 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31585         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31587 2011-03-03  Roland McGrath  <roland@redhat.com>
31589         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31591 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31593         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31594         __bzero_ultra1 instead of __memset_ultra1.
31596 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31597             Ulrich Drepper  <drepper@gmail.com>
31599         [BZ #12509]
31600         * include/link.h (struct link_map): Add l_orig_initfini.
31601         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31602         returning unsuccessfully.
31603         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31604         close of a file loaded at startup, restore the original l_initfini
31605         list.
31606         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31607         list, store the pointer.
31608         * elf/Makefile ($(objpfx)noload-mem): New rule.
31609         (noload-ENV): Define.
31610         (tests): Add $(objpfx)noload-mem.
31611         * elf/noload.c: Include <memcheck.h>.
31612         (main): Call mtrace.  Close all opened handles.
31614 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31616         [BZ #12454]
31617         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31618         dependencies are missing.
31620 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31622         Fix __if_freereq crash: Unlike the generic version which uses free,
31623         Hurd needs munmap.
31624         * sysdeps/mach/hurd/ifreq.h: New file.
31626 2011-01-27  Petr Baudis  <pasky@suse.cz>
31627             Ulrich Drepper  <drepper@gmail.com>
31629         [BZ 12445]#
31630         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31631         to extend_alloca().
31632         * stdio-common/bug23.c: New file.
31633         * stdio-common/Makefile (tests): Add bug23.
31635 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31636             Ulrich Drepper  <drepper@gmail.com>
31638         [BZ #12489]
31639         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31640         before performing relro protection.  At old place add assertion
31641         to make sure nothing changed.
31643 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31644             Glauber de Oliveira Costa  <glommer@gmail.com>
31646         * elf/elf.h: Add new ARM TLS relocs.
31648 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31651         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31652         cast from r3.
31653         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31654         'tests' variable.
31655         * sysdeps/wordsize-64/tst-writev.c: New file.
31657 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31659         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31660         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31661         insns in _dl_start to prevent a TOC reference before relocs are
31662         resolved.
31664 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31666         [BZ #12469]
31667         * Makeconfig: Remove RANLIB definition.
31668         * Makerules: Don't use RANLIB.
31669         * aclocal.m4: Remove ranlib test.
31670         * configure.in: No need to check for ranlib.
31671         * elf/rtld-Rules: Don't use RANLIB.
31673 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31675         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31676         protection macro.
31677         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31678         inclusion protection macro.
31680         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31681         SIGRTMIN and SIGRTMAX and print information in that case only when
31682         SIGRTMIN is defined.
31684 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31686         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31687         arginfo fn returning -1.
31689         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31690         and thousands string is zero terminated.
31692 2011-02-03  Andreas Schwab  <schwab@redhat.com>
31694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31695         sysdeps/unix/sysv/linux/bits/socket.h.
31697 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31699         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31700         (__CPU_COUNT): Remove old macros.
31701         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31702         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31703         (__CPU_ALLOC, __CPU_FREE): Add macros.
31704         (__sched_cpualloc, __sched_cpufree): Add declarations.
31706 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
31708         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31709         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31710         * nscd/aicache.c (addhstaiX): Return timeout of added value.
31711         (readdhstai): Return value of addhstaiX call.
31712         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31713         (addgrbyX): Return value returned by cache_addgr.
31714         (readdgrbyname): Return value returned by addgrbyX.
31715         (readdgrbygid): Likewise.
31716         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31717         (addpwbyX): Return value returned by cache_addpw.
31718         (readdpwbyname): Return value returned by addhstbyX.
31719         (readdpwbyuid): Likewise.
31720         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31721         (addservbyX): Return value returned by cache_addserv.
31722         (readdservbyname): Return value returned by addservbyX:
31723         (readdservbyport): Likewise.
31724         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31725         (addhstbyX): Return value returned by cache_addhst.
31726         (readdhstbyname): Return value returned by addhstbyX.
31727         (readdhstbyaddr): Likewise.
31728         (readdhstbynamev6): Likewise.
31729         (readdhstbyaddrv6): Likewise.
31730         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31731         (readdinitgroups): Return value returned by addinitgroupsX.
31732         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31733         (prune_cache): Keep track of timeout value of re-added entries.
31734         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31735         * nscd/nscd.h: Adjust prototypes of readd* functions.
31737 2011-02-04  Roland McGrath  <roland@redhat.com>
31739         * nis/nis_server.c (nis_servstate): Use the right name for 0.
31740         (nis_stats): Likewise.
31741         * nis/nis_modify.c (nis_modify): Likewise.
31742         * nis/nis_remove.c (nis_remove): Likewise.
31743         * nis/nis_add.c (nis_add): Likewise.
31745         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31747         * posix/fnmatch_loop.c: Add some consts.
31749         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31751 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
31753         [BZ #12460]
31754         * config.make.in (config-cflags-novzeroupper): Define.
31755         * configure.in: Substitute libc_cv_cc_novzeroupper.
31756         * elf/Makefile (AVX-CFLAGS): Define.
31757         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31758         (CFLAGS-tst-auditmod4a.c): Likewise.
31759         (CFLAGS-tst-auditmod4b.c): Likewise.
31760         (CFLAGS-tst-auditmod6b.c): Likewise.
31761         (CFLAGS-tst-auditmod6c.c): Likewise.
31762         (CFLAGS-tst-auditmod7b.c): Likewise.
31763         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31765 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
31767         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31768         function to the callback.
31769         Patch partly by Jiri Olsa <jolsa@redhat.com>.
31771 2011-02-02  Andreas Schwab  <schwab@redhat.com>
31773         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31774         of errno.
31776 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
31778         [BZ #11724]
31779         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31780         of constructors.
31781         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31782         of destructors.
31783         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31785         [BZ #11724]
31786         * elf/Makefile: Add rules to build and run new test.
31787         * elf/tst-initorder.c: New file.
31788         * elf/tst-initorder.exp: New file.
31789         * elf/tst-initordera1.c: New file.
31790         * elf/tst-initordera2.c: New file.
31791         * elf/tst-initordera3.c: New file.
31792         * elf/tst-initordera4.c: New file.
31793         * elf/tst-initorderb1.c: New file.
31794         * elf/tst-initorderb2.c: New file.
31795         * elf/tst-order-a1.c: New file.
31796         * elf/tst-order-a2.c: New file.
31797         * elf/tst-order-a3.c: New file.
31798         * elf/tst-order-a4.c: New file.
31799         * elf/tst-order-b1.c: New file.
31800         * elf/tst-order-b2.c: New file.
31801         * elf/tst-order-main.c: New file.
31802         New test case by George Gensure <werkt0@gmail.com>.
31804 2010-10-01  Andreas Schwab  <schwab@redhat.com>
31806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31807         decoding ACE if AI_CANONIDN.
31809 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
31811         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31813 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
31815         * version.h (RELEASE): Bump for 2.13 release.
31816         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31818         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31821         MADV_NOHUGEPAGE.
31822         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31827         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31829         * posix/getconf.c: Update copyright year.
31830         * catgets/gencat.c: Likewise.
31831         * csu/version.c: Likewise.
31832         * debug/catchsegv.sh: Likewise.
31833         * debug/xtrace.sh: Likewise.
31834         * elf/ldconfig.c: Likewise.
31835         * elf/ldd.bash.in: Likewise.
31836         * elf/sprof.c (print_version): Likewise.
31837         * iconv/iconv_prog.c: Likewise.
31838         * iconv/iconvconfig.c: Likewise.
31839         * locale/programs/locale.c: Likewise.
31840         * locale/programs/localedef.c: Likewise.
31841         * malloc/memusage.sh: Likewise.
31842         * malloc/mtrace.pl: Likewise.
31843         * nscd/nscd.c (print_version): Likewise.
31844         * nss/getent.c: Likewise.
31846         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31847         PF_CAIF, and PF_ALG.
31848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31850 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
31852         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31853         (modules-names): Use them.
31854         (ifunc-test-modules, ifunc-pie-tests): Define.
31855         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31856         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31857         (test-extras): Likewise.
31858         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31859         $(compile-command.c).
31860         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31861         (all-built-dso): Define.
31862         (check-textrel.out, check-execstack.out): Depend on it.
31864         * configure.in: Don't override --enable-multi-arch.
31866 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
31868         [BZ #6812]
31869         * nscd/hstcache.c (tryagain): Define.
31870         (cache_addhst): Return tryagain not notfound for temporary errors.
31871         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31872         failed.
31874 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
31876         [BZ #10563]
31877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31878         to make the syscall.
31879         * sysdeps/unix/sysv/linux/setgroups.c: New file.
31881         [BZ #12378]
31882         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31883         and fall back to matching as normal character if the string ends before
31884         the matching ']' is found.  This is what POSIX requires.
31885         * posix/testfnm.c: Adjust test result.
31886         * posix/globtest.sh: Adjust test result.  Add new test.
31887         * posix/tst-fnmatch.input: Likewise.
31888         * posix/tst-fnmatch2.c: Add new test.
31890 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
31892         * elf/Makefile (check-execstack): Revert last change.  Depend on
31893         check-execstack.h.
31894         (check-execstack.h): New target.
31895         (generated): Add check-execstack.h.
31896         * elf/check-execstack.c: Include "check-execstack.h".
31897         (main): Revert last change.
31898         (handle_file): Return zero if GNU_STACK is absent and
31899         DEFAULT_STACK_PERMS doesn't include PF_X.
31901 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
31903         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31904         in child fails because the descriptor is already closed.
31905         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31906         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31907         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31909         [BZ #12397]
31910         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31911         syscall.
31913         [BZ #10484]
31914         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31915         temporary buffer used to handle multi lookups locally.
31916         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31918 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31920         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31921         loader is ld.so.
31923 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
31925         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31926         alignment for SSE2.
31928 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
31930         [BZ #12394]
31931         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31932         characters.  When rounding increased number of integer digits recompute
31933         number of groups.
31934         * stdio-common/tst-grouping.c: New file.
31935         * stdio-common/Makefile: Add rules to build and run tst-grouping.
31937 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
31939         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31940         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
31942         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31943         void.
31944         * bits/select.h: Likewise.
31946 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
31948         * po/ja.po: Update from translation team.
31950 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
31952         [BZ #11155]
31953         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31954         implementation just like for lxstat, fxstatat, et al.
31956 2010-12-27  Jim Meyering  <meyering@redhat.com>
31958         [BZ #12348]
31959         * posix/regexec.c (build_trtable): Return failure indication upon
31960         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
31962 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
31964         [BZ #12201]
31965         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31966         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31967         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31968         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31970         [BZ #12207]
31971         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31973         [BZ #12204]
31974         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31975         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31977 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
31979         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31980         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31981         script has SORT_BY_INIT_PRIORITY.
31982         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31983         NO_CTORS_DTORS_SECTIONS is defined.
31984         * elf/soinit.c: Likewise.
31985         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31986         NO_CTORS_DTORS_SECTIONS is defined.
31987         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31988         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31989         * sysdeps/sh/init-first.c: Likewise.
31990         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31992 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
31994         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31995         always use the slow path.
31997 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
31999         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32000         similar rule which adds the sysdep directories to the header search in
32001         order to pick up the correct platform stackinfo.h.
32002         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32003         perform test if it is, otherwise return successfully without testing.
32004         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32005         DEFAULT_STACK_PERMS define in stackinfo.h.
32006         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32007         defined in stackinfo.h.
32008         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32009         DEFAULT_STACK_PERMS defined in stackinfo.h.
32010         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32011         * sysdeps/ia64/stackinfo.h: Likewise.
32012         * sysdeps/s390/stackinfo.h: Likewise.
32013         * sysdeps/sh/stackinfo.h: Likewise.
32014         * sysdeps/sparc/stackinfo.h: Likewise.
32015         * sysdeps/x86_64/stackinfo.h: Likewise.
32016         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32017         PF_X for powerpc64.  Retain PF_X for powerpc32.
32019 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32021         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32022         accurately.
32023         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32024         GETDENTS_64BIT_ALIGNED.
32026 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32028         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32030 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32032         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32033         _GNU_SOURCE.
32035         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32036         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32037         Remove __restrict.
32038         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32039         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32041 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32043         [BZ #11655]
32044         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32045         are initialized.
32047 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32049         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32051 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32053         * po/it.po: Update from translation team.
32055 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32058         unused codes.
32060 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32062         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32064 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32066         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32067         specially.
32068         (gaih_getanswer_slice): Likewise.
32070 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32074 2010-05-31  Petr Baudis  <pasky@suse.cz>
32076         [BZ #11149]
32077         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32078         silently even in the chroot mode.
32080 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32082         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32083         last patch a bit.  Pretty printing
32085 2010-05-31  Petr Baudis <pasky@suse.cz>
32087         [BZ #10085]
32088         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32089         initialization of skip_initgroups_dyn.
32091 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32093         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32094         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32096 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32098         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32100 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32102         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32103         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32104         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32105         ($(objpfx)tst-fnmatch-mem): New rule.
32106         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32107         * posix/tst-fnmatch.c (main): Call mtrace.
32109 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32112         Support Intel processor model 6 and model 0x2c.
32114 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32116         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32117           signed comparison.
32119 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32121         [BZ #12205]
32122         * string/test-strncasecmp.c (check_result): New function.
32123         (do_one_test): Use it.
32124         (check1): New function.
32125         (test_main): Use it.
32126         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32127         Support strcasecmp and strncasecmp.
32129 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32131         [BZ #12194]
32132         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32133         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32135 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32137         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32138         IFUNC support.
32139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32140         memset-x86-64.
32141         * sysdeps/x86_64/multiarch/bzero.S: New file.
32142         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32143         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32144         * sysdeps/x86_64/multiarch/memset.S: New file.
32145         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32147         Set bit_Prefer_SSE_for_memop for Intel processors.
32148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32149         Define.
32150         (index_Prefer_SSE_for_memop): Define.
32151         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32153 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32155         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32156         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32158 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32160         [BZ #12191]
32161         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32162         (__x86_64_raw_data_cache_size_half): Likewise.
32163         (__x86_64_raw_shared_cache_size): Likewise.
32164         (__x86_64_raw_shared_cache_size_half): Likewise.
32166         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32167         (__x86_64_raw_data_cache_size_half): Likewise.
32168         (__x86_64_raw_shared_cache_size): Likewise.
32169         (__x86_64_raw_shared_cache_size_half): Likewise.
32170         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32171         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32172         and __x86_64_raw_shared_cache_size_half.  Round
32173         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32174         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32175         to multiple of 256 bytes.
32177 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32179         [BZ #12167]
32180         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32181         of inacessible symlinks.  Verify result of symlink before returning it.
32182         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32183         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32185 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32187         * math/math.h (isinf): Fix typo in comment.
32189 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32191         * po/da.po: Update from translation team.
32193 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32195         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32196         is added to the list.
32198 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32199             Ulrich Drepper  <drepper@gmail.com>
32201         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32202         the global list here.  Move code to...
32203         (_dl_add_to_namespace_list): ...here.  New function.
32204         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32205         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32206         * elf/dl-load.c (lose): Don't remove the element from the list.
32207         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32208         (_dl_map_object): Likewise.
32210 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32212         [BZ #12159]
32213         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32214         into all bytes of SSE register.
32215         Patch by Richard Li <richardpku@gmail.com>.
32217 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32219         [BZ #12140]
32220         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32221         perturbing.
32223 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32225         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32226         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32227         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32228         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32230         submachine.
32231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32233 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32235         * include/dlfcn.h (__RTLD_SECURE): Define.
32236         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32237         mode & __RTLD_SECURE instead.
32238         (open_path): Rename preloaded parameter to secure.
32239         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32240         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32241         * elf/dl-deps.c (openaux): Likewise.
32242         * elf/rtld.c (struct map_args): Remove is_preloaded.
32243         (map_doit): Don't use it.
32244         (dl_main): Likewise.
32245         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32246         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32248 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32250         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32251         (sysd-rules-targets): Remove duplicates.
32252         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32253         rtld-%.$o dependency.
32255 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32257         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32258         _dl_map_object do it.
32260 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32262         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32263         fast fma builtins, define the macros in the C99 standard.
32264         (FP_FAST_FMAF): Likewise.
32265         (FP_FAST_FMAL): Likewise.
32266         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32268         * bits/mathdef.h: Update copyright year.
32269         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32271 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32273         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32274         builtins, define the macros in the C99 standard.
32275         (FP_FAST_FMAF): Likewise.
32276         (FP_FAST_FMAL): Likewise.
32277         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32278         multiply/add.
32279         (FP_FAST_FMAF): Likewise.
32281 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32283         [BZ #3268]
32284         * math/libm-test.inc (fma_test): Some new testcases.
32285         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32286         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32287         y and infinite z.  Do multiplication by C already in long double.
32288         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32290         y and infinite z.  Do bitwise or of inexact bit into u.d.
32291         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32292         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32293         * sysdeps/i386/fpu/s_fma.S: Removed.
32294         * sysdeps/i386/fpu/s_fmal.S: Removed.
32296 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32298         [BZ #3268]
32299         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32301         computation is not scheduled after fetestexcept.  Fix value
32302         of minimum denormal long double.
32304 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32306         [BZ #3268]
32307         * math/libm-test.inc (fma_test): Add some more tests.
32308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32309         correctly.
32311 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32313         * scripts/data/localplt-s390-linux-gnu.data: New file.
32314         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32316 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32318         [BZ #3268]
32319         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32320         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32321         instead of dbl-64.
32322         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32323         inlines.
32324         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32326         if one of x and y is very large and the other is subnormal.
32327         * sysdeps/s390/fpu/s_fmaf.c: New file.
32328         * sysdeps/s390/fpu/s_fma.c: New file.
32329         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32330         * sysdeps/powerpc/fpu/s_fma.S: New file.
32331         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32332         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32333         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32335 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32337         [BZ #3268]
32338         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32339         fma tests.
32340         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32341         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32342         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32343         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32344         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32345         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32346         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32348 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32350         [BZ #12078]
32351         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32352         * posix/bug-regex31.input: Add test case.
32354 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32356         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32357         * posix/bug-regex31.input: New file.
32359         [BZ #12078]
32360         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32361         (parse_sub_exp): Fix last change, use postorder.
32363         * posix/bug-regex31.c: New file.
32364         * posix/Makefile: Add rules to build and run bug-regex31.
32366         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32368         [BZ #12078]
32369         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32371         [BZ #12108]
32372         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32373         to have entries in sys_siglist.
32375         [BZ #12093]
32376         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32377         be NULL.
32379 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32381         [BZ #3268]
32382         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32383         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32384         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32385         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32386         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32387         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32388         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32389         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32390         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32391         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32392         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32393         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32394         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32395         * math/ftestexcept.c (fetestexcept): Likewise.
32396         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32397         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32398         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32399         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32400         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32401         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32404 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32406         [BZ #12107]
32407         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32408         newline.
32410 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32412         * string/bug-strstr1.c: New file.
32413         * string/Makefile: Add rules to build and run bug-strstr1.
32415 2010-10-05  Eric Blake  <eblake@redhat.com>
32417         [BZ #12092]
32418         * string/str-two-way.h (two_way_long_needle): Always clear memory
32419         when skipping input due to the shift table.
32421 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32423         [BZ #12005]
32424         * malloc/mcheck.c: Handle large requests.
32426         [BZ #12077]
32427         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32428         for strncmp and strncasecmp.
32429         * string/stratcliff.c: Add tests for strcmp and strncmp.
32430         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32432 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32434         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32435         __set_fpscr.
32437 2010-09-30  Andreas Jaeger  <aj@suse.de>
32439         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32440         (CGROUP_SUPER_MAGIC): Define.
32441         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32442         Handle btrfs and cgroup file systems.
32443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32444         Likewise.
32446 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32448         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32449         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32451 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32453         [BZ #12067]
32454         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32455         trying to locate the ELF header.
32457 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32459         [BZ #11611]
32460         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32461         Mask out sign-bit copies when constructing f_fsid.
32463 2010-09-24  Petr Baudis <pasky@suse.cz>
32465         * debug/stack_chk_fail_local.c: Add missing licence exception.
32466         * debug/warning-nop.c: Likewise.
32468 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32471         implementing getdents64 using getdents syscall, set d_type if
32472         __ASSUME_GETDENTS32_D_TYPE.
32474 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32476         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32477         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32479 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32481         [BZ #12037]
32482         * posix/unistd.h: Undo change of feature selection for ftruncate from
32483         2010-01-11.
32485 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32487         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32488         detection.
32490 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32493         fanotify_mark.
32494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32496 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32498         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32499         variables after CHECK_SP call.
32500         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32502 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32503             Ulrich Drepper  <drepper@redhat.com>
32505         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32506         re-relocationg ld.so.
32507         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32508         _dl_init_paths call.
32509         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32510         here anymore.
32512 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32514         * resolv/res_init.c (__res_vinit): Count the default server we added.
32516 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32517             Ulrich Drepper  <drepper@redhat.com>
32519         [BZ #11968]
32520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32521         (____longjmp_chk): Use %ebx for saving value across system call.
32522         Add unwind info.
32524 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32526         * manual/Makefile: Don't mix pattern rules with normal rules.
32528 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32530         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32531         operation.
32532         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32533         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32534         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32535         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32537         Likewise.
32539 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32541         [BZ #11979]
32542         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32543         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32545 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32547         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32548         * sysdeps/x86_64/addmul_1.S: Likewise.
32549         * sysdeps/x86_64/lshift.S: Likewise.
32550         * sysdeps/x86_64/mul_1.S: Likewise.
32551         * sysdeps/x86_64/rshift.S: Likewise.
32552         * sysdeps/x86_64/sub_n.S: Likewise.
32553         * sysdeps/x86_64/submul_1.S: Likewise.
32555 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32557         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32558         Define __sched_param instead of SCHED_* and sched_param when
32559         <bits/sched.h> is included with __need_schedparam defined.
32560         * bits/sched.h [__need_schedparam]
32561         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32562         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32563         (__defined_schedparam): Define to 1.
32564         (__sched_param): New structure, identical to sched_param.
32565         (__need_schedparam): Undefine.
32567 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32570         (epoll_create1): Declare.
32572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32574 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32576         [BZ #7066]
32577         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32578         shifting retval into place.
32580 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32582         * nis/rpcsvc/nis.h: Update copyright notice.
32583         * nis/rpcsvc/nis.x: Likewise.
32584         * nis/rpcsvc/nis_callback.h: Likewise.
32585         * nis/rpcsvc/nis_callback.x: Likewise.
32586         * nis/rpcsvc/nis_object.x: Likewise.
32587         * nis/rpcsvc/nis_tags.h: Likewise.
32588         * nis/rpcsvc/yp.h: Likewise.
32589         * nis/rpcsvc/yp.x: Likewise.
32590         * nis/rpcsvc/ypupd.h: Likewise.
32591         * nis/yp_xdr.c: Likewise.
32592         * nis/ypupdate_xdr.c: Likewise.
32594         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32595         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32596         (pmap_getport): Use __libc_rpc_getport.
32597         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32598         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32599         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32601 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32604         fanotify_mark.
32606 2010-08-27  Roland McGrath  <roland@redhat.com>
32608         * sysdeps/i386/i686/multiarch/Makefile
32609         (CFLAGS-varshift.c): New variable.
32611 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32613         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32614         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32618         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32620 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32622         * sysdeps/x86_64/strlen.S: Unroll the loop.
32623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32624         strlen-sse2 strlen-sse2-bsf.
32625         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32626         __strlen_no_bsf if bit_Slow_BSF is set.
32627         (__strlen_sse42): Removed.
32628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32629         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32631 2010-08-25  Roland McGrath  <roland@redhat.com>
32633         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32634         * sysdeps/x86_64/multiarch/varshift.c: New file.
32635         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32636         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32637         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32638         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32640 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32643         strlen-sse2 strlen-sse2-bsf.
32644         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32645         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32646         (__strlen_sse2): Removed.
32647         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32648         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32650         bit_Slow_BSF for Atom.
32651         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32652         (index_Slow_BSF): Define.
32653         (HAS_SLOW_BSF): Define.
32655 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32657         [BZ #10851]
32658         * resolv/res_init.c (__res_vinit): When no server address at all
32659         is given default to loopback.
32661 2010-08-24  Roland McGrath  <roland@redhat.com>
32663         * configure.in: Remove config-name.h generation.
32664         * configure: Regenerated.
32665         * config-name.in: File removed.
32666         * scripts/config-uname.sh: New file.
32667         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32668         ($(objdir)config-name.h): New target.
32670         * sunrpc/rpc_parse.h: Avoid nested comment.
32672 2010-08-24  Richard Henderson  <rth@redhat.com>
32673             Ulrich Drepper  <drepper@redhat.com>
32674             H.J. Lu  <hongjiu.lu@intel.com>
32676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32678         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32679         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32680         _mm_alignr_epi8 with _mm_loadu_si128.
32681         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32682         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32683         (__m128i_shift_right): Removed.
32684         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32685         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32686         * sysdeps/x86_64/multiarch/varshift.h: New file.
32687         * sysdeps/x86_64/multiarch/varshift.S: New file.
32689 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32691         * configure.in: Move assembler checks to before sysdep dir checking.
32693 2010-08-20  Petr Baudis  <pasky@suse.cz>
32695         * LICENSES: Sync the sunrpc license.
32697 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
32699         * sunrpc/auth_des.c: Update copyright notice once again.
32700         * sunrpc/auth_none.c: Likewise.
32701         * sunrpc/auth_unix.c: Likewise.
32702         * sunrpc/authdes_prot.c: Likewise.
32703         * sunrpc/authuxprot.c: Likewise.
32704         * sunrpc/bindrsvprt.c: Likewise.
32705         * sunrpc/clnt_gen.c: Likewise.
32706         * sunrpc/clnt_perr.c: Likewise.
32707         * sunrpc/clnt_raw.c: Likewise.
32708         * sunrpc/clnt_simp.c: Likewise.
32709         * sunrpc/clnt_tcp.c: Likewise.
32710         * sunrpc/clnt_udp.c: Likewise.
32711         * sunrpc/clnt_unix.c: Likewise.
32712         * sunrpc/des_crypt.c: Likewise.
32713         * sunrpc/des_soft.c: Likewise.
32714         * sunrpc/get_myaddr.c: Likewise.
32715         * sunrpc/getrpcport.c: Likewise.
32716         * sunrpc/key_call.c: Likewise.
32717         * sunrpc/key_prot.c: Likewise.
32718         * sunrpc/openchild.c: Likewise.
32719         * sunrpc/pm_getmaps.c: Likewise.
32720         * sunrpc/pm_getport.c: Likewise.
32721         * sunrpc/pmap_clnt.c: Likewise.
32722         * sunrpc/pmap_prot.c: Likewise.
32723         * sunrpc/pmap_prot2.c: Likewise.
32724         * sunrpc/pmap_rmt.c: Likewise.
32725         * sunrpc/rpc/auth.h: Likewise.
32726         * sunrpc/rpc/auth_unix.h: Likewise.
32727         * sunrpc/rpc/clnt.h: Likewise.
32728         * sunrpc/rpc/des_crypt.h: Likewise.
32729         * sunrpc/rpc/key_prot.h: Likewise.
32730         * sunrpc/rpc/netdb.h: Likewise.
32731         * sunrpc/rpc/pmap_clnt.h: Likewise.
32732         * sunrpc/rpc/pmap_prot.h: Likewise.
32733         * sunrpc/rpc/pmap_rmt.h: Likewise.
32734         * sunrpc/rpc/rpc.h: Likewise.
32735         * sunrpc/rpc/rpc_des.h: Likewise.
32736         * sunrpc/rpc/rpc_msg.h: Likewise.
32737         * sunrpc/rpc/svc.h: Likewise.
32738         * sunrpc/rpc/svc_auth.h: Likewise.
32739         * sunrpc/rpc/types.h: Likewise.
32740         * sunrpc/rpc/xdr.h: Likewise.
32741         * sunrpc/rpc_clntout.c: Likewise.
32742         * sunrpc/rpc_cmsg.c: Likewise.
32743         * sunrpc/rpc_common.c: Likewise.
32744         * sunrpc/rpc_cout.c: Likewise.
32745         * sunrpc/rpc_dtable.c: Likewise.
32746         * sunrpc/rpc_hout.c: Likewise.
32747         * sunrpc/rpc_main.c: Likewise.
32748         * sunrpc/rpc_parse.c: Likewise.
32749         * sunrpc/rpc_parse.h: Likewise.
32750         * sunrpc/rpc_prot.c: Likewise.
32751         * sunrpc/rpc_sample.c: Likewise.
32752         * sunrpc/rpc_scan.c: Likewise.
32753         * sunrpc/rpc_scan.h: Likewise.
32754         * sunrpc/rpc_svcout.c: Likewise.
32755         * sunrpc/rpc_tblout.c: Likewise.
32756         * sunrpc/rpc_util.c: Likewise.
32757         * sunrpc/rpc_util.h: Likewise.
32758         * sunrpc/rpcinfo.c: Likewise.
32759         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32760         * sunrpc/rpcsvc/key_prot.x: Likewise.
32761         * sunrpc/rpcsvc/klm_prot.x: Likewise.
32762         * sunrpc/rpcsvc/mount.x: Likewise.
32763         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32764         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32765         * sunrpc/rpcsvc/rex.x: Likewise.
32766         * sunrpc/rpcsvc/rstat.x: Likewise.
32767         * sunrpc/rpcsvc/rusers.x: Likewise.
32768         * sunrpc/rpcsvc/sm_inter.x: Likewise.
32769         * sunrpc/rpcsvc/spray.x: Likewise.
32770         * sunrpc/rpcsvc/yppasswd.x: Likewise.
32771         * sunrpc/rtime.c: Likewise.
32772         * sunrpc/svc.c: Likewise.
32773         * sunrpc/svc_auth.c: Likewise.
32774         * sunrpc/svc_authux.c: Likewise.
32775         * sunrpc/svc_raw.c: Likewise.
32776         * sunrpc/svc_run.c: Likewise.
32777         * sunrpc/svc_simple.c: Likewise.
32778         * sunrpc/svc_tcp.c: Likewise.
32779         * sunrpc/svc_udp.c: Likewise.
32780         * sunrpc/svc_unix.c: Likewise.
32781         * sunrpc/svcauth_des.c: Likewise.
32782         * sunrpc/xcrypt.c: Likewise.
32783         * sunrpc/xdr.c: Likewise.
32784         * sunrpc/xdr_array.c: Likewise.
32785         * sunrpc/xdr_float.c: Likewise.
32786         * sunrpc/xdr_mem.c: Likewise.
32787         * sunrpc/xdr_rec.c: Likewise.
32788         * sunrpc/xdr_ref.c: Likewise.
32789         * sunrpc/xdr_sizeof.c: Likewise.
32790         * sunrpc/xdr_stdio.c: Likewise.
32792         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32793         handling.
32795 2010-08-19  Andreas Schwab  <schwab@redhat.com>
32797         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32799 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
32801         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32802         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32803         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32804         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32805         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32806         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32807         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32808         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32810         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32811         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32812         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32813         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32814         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32816 2010-07-26  Anton Blanchard  <anton@samba.org>
32818         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32819         * malloc/arena.c (heap_trim): Likewise.
32821 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
32823         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32824         here.  Not...
32825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32826         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32828 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32830         * sysdeps/i386/elf/Makefile: New file.
32832 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32834         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32835         from fanotify_init.
32836         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32839 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
32841         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32842         of strncasecmp_l.
32843         * sysdeps/multiarch/strcmp.S: Likewise.
32845 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
32847         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32848         strncase_l-nonascii.
32849         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32850         Add strncase_l-ssse3.
32851         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32852         * sysdeps/x86_64/strcmp.S: Likewise.
32853         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32854         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32855         * sysdeps/x86_64/strncase.S: New file.
32856         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32857         * sysdeps/x86_64/strncase_l.S: New file.
32858         * string/Makefile (strop-tests): Add strncasecmp.
32859         * string/test-strncasecmp.c: New file.
32861         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32862         warning.
32864         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32867 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32869         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32871 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
32873         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32875         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32877 2010-05-01  Alan Modra  <amodra@gmail.com>
32879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32880         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32881         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32882         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32883         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32884         tidying.  Don't tail-call __sigjmp_save for static lib.
32885         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32886         save location.
32887         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32888         (CALL_MCOUNT): Add eh info, and nop after bl.
32889         (TAIL_CALL_SYSCALL_ERROR): New macro.
32890         (PSEUDO_RET): Use it.
32891         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32892         Correct save location of integer regs and cr.
32893         (_dl_profile_resolve): Correct cr save location.  Delete nops
32894         after bl when SHARED.  Reduce cfi size a little by better
32895         placement of cfi directives.
32896         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32897         make a stack frame.  Instead use parm save area as a temp.
32898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32899         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
32900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32901         Don't make a stack frame for parent, use parm save area.
32902         Increase child stack frame to 112 bytes.  Don't save unused reg,
32903         and adjust reg usage.  Set up cfi on error recovery and
32904         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32906         (__makecontext): Add dummy nop after jump to exit.
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32908         Use correct parm save area and cr save, reduce stack frame.
32909         Correct cfi for possible PSEUDO_RET frame setup.
32910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32911         Branch to local label emitted by PSEUDO_RET rather than
32912         __syscall_error.
32914 2010-08-12  Andreas Schwab  <schwab@redhat.com>
32916         [BZ #11904]
32917         * locale/programs/locale.c (print_assignment): New function.
32918         (show_locale_vars): Use it.
32920 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
32922         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32923         field.
32924         (struct statfs64): Likewise.
32925         (_STATFS_F_FLAGS): Define.
32926         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32927         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32928         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32929         (ST_VALID): Define locally.
32930         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32931         __statvfs_getflags, use the provided value.
32932         * sysdeps/unix/sysv/linux/kernel-features.h: Define
32933         __ASSUME_STATFS_F_FLAGS.
32935         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32937         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32938         Add sys/fanotify.h.
32939         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32940         fanotify_mask for GLIBC_2.13.
32941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32942         fanotify_init and fanotify_mark.
32943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32944         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32946         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32947         Add prlimit.
32948         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32949         prlimit64 for GLIBC_2.13.
32950         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32951         prlimit64.
32952         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32953         syscall.
32954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32955         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32956         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32957         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
32959         add prlimit alias.
32960         * sysdeps/unix/sysv/linux/prlimit.c: New file.
32962         [BZ #11903]
32963         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32964         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32966         * nss/Makefile: Add rules to build and run tst-nss-test1.
32967         * shlib-versions: Add entry for libnss_test1.
32968         * nss/nss_test1.c: New file.
32969         * nss/tst-nss-test1.c: New file.
32971         * nss/nsswitch.c (__nss_database_custom): Define new variable.
32972         (__nss_configure_lookup): Set appropriate entry in
32973         __nss_configure_lookup to true.
32974         * nss/nsswitch.h: Define enum with indeces of databases in
32975         databases and __nss_database_custom arrays.  Declare
32976         __nss_database_custom.
32977         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32978         to avoid using nscd when custom rules are installed.
32979         * nss/getXXbyYY_r.c: Likewise.
32980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32982         * nss/nss_files/files-parse.c: Whitespace fixes.
32984 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
32986         [BZ #11883]
32987         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32988         * posix/fnmatch_loop.c: Likewise.
32990 2010-07-17  Andi Kleen  <ak@linux.intel.com>
32992         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32993         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32994         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32995         * Versions.def [GLIBC_2.13]: Add.
32997 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
32999         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33000         Also fail if tpwd after pwuid call is NULL.
33002 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33004         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33005         when converting to ms.
33007 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33009         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33010         EOPNOTSUPP errors with ENOTTY.
33011         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33012         EOPNOTSUPP errors with ENOTTY.
33014 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33016         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33017         Add strcasecmp_l-ssse3.
33018         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33019         strcasecmp.
33020         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33022         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33024 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33026         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33028         * string/Makefile (strop-tests): Add strcasecmp.
33029         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33030         strcasecmp_l-nonascii.
33031         (gen-as-const-headers): Add locale-defines.sym.
33032         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33033         * sysdeps/x86_64/strcasecmp.S: New file.
33034         * sysdeps/x86_64/strcasecmp_l.S: New file.
33035         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33036         * sysdeps/x86_64/locale-defines.sym: New file.
33037         * string/test-strcasecmp.c: New file.
33039         * string/test-strcasestr.c: Test both ends of the range of characters.
33040         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33042 2010-07-29  Roland McGrath  <roland@redhat.com>
33044         [BZ #11856]
33045         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33047 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33049         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33050         for ld.so.
33052 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33054         * manual/memory.texi (Malloc Tunable Parameters): Document
33055         M_PERTURB.
33057 2010-07-26  Roland McGrath  <roland@redhat.com>
33059         [BZ #11840]
33060         * configure.in (-fgnu89-inline check): Set and substitute
33061         gnu89_inline, not libc_cv_gnu89_inline.
33062         * configure: Regenerated.
33063         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33065 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33067         * string/test-strnlen.c: New file.
33068         * string/Makefile (strop-tests): Add strnlen.
33069         * string/tester.c (test_strnlen): Add a few more test cases.
33070         * string/tst-strlen.c: Better error reporting.
33072         * sysdeps/x86_64/strnlen.S: New file.
33074 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33076         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33077         lower-latency instructions.
33079 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33081         * string/test-strcasestr.c: New file.
33082         * string/test-strstr.c: New file.
33083         * string/Makefile (strop-tests): Add strstr and strcasestr.
33084         * string/str-two-way.h: Don't undefine MAX.
33085         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33087 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33090         strcasestr-nonascii.
33091         (CFLAGS-strcasestr-nonascii.c): Define.
33092         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33093         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33094         Remove unused attribute.
33096 2010-07-20  Roland McGrath  <roland@redhat.com>
33098         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33099         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33100         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33101         like LD_HWCAP_MASK can disable hwcaps.
33103 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33105         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33107 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33109         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33110         call in strcasestr.
33111         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33112         __strcasestr_sse42_nonascii.
33113         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33114         strcasestr-nonascii.c.
33115         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33117 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33119         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33120         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33121         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33122         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33124 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33127         fcntl.
33129 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33131         [BZ #11577]
33132         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33133         dl_signal_cerror.
33135 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33137         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33138         _PC_PIPE_BUF using F_GETPIPE_SZ.
33140 2010-07-05  Roland McGrath  <roland@redhat.com>
33142         * manual/arith.texi (Rounding Functions): Fix rint description
33143         implicit in round description.
33145 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33147         * elf/Makefile: Fix linking for a few tests to make recent linker
33148         happy.
33150 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33152         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33153         $(common-objpfx)libc_nonshared.a.
33155 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33157         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33158         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33159         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33160         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33161         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33162         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33163         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33164         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33179         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33180         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33181         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33182         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33183         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33184         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33185         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33186         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33187         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33188         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33189         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33190         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33206 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33208         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33209         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33210         * string/memmove.c (memmove): Renamed to ...
33211         (MEMMOVE): ...this.  Default to memmove.
33212         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33213         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33214         (END_CHK): Define.
33215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33216         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33217         mempcpy-ssse3-back memmove-ssse3-back.
33218         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33220         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33221         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33222         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33223         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33224         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33225         * sysdeps/x86_64/multiarch/memmove.c: New file.
33226         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33227         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33228         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33229         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33232         Define.
33233         (index_Fast_Copy_Backward): Define.
33234         (HAS_ARCH_FEATURE): Define.
33235         (HAS_FAST_REP_STRING): Define.
33236         (HAS_FAST_COPY_BACKWARD): Define.
33238 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33240         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33241         Restore proper fallback handling.
33243 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33245         [BZ #11701]
33246         * posix/group_member.c (__group_member): Correct checking loop.
33248         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33249         OOM in getpwuid_r correctly.  Return error number when the caller
33250         should return, otherwise -1.
33251         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33252         call returning > 0 value.
33253         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33255 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33257         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33258         libc_nonshared.a from targets in modules-names.
33260 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33262         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33263         requires it.
33265 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33270         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33272 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33274         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33276 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33278         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33279         and F_GETPIPE_SZ.
33280         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33284         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33287 2010-06-14  Roland McGrath  <roland@redhat.com>
33289         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33291 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33293         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33294         __REDIRECT followed by __THROW.
33295         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33296         * posix/getopt.h (getopt): Likewise.
33298 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33300         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33301         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33302         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33303         in AT_FLAGS.
33304         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33305         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33307 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33311 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33313         [BZ #11640]
33314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33315         Properly check family and model.
33317 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33319         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33321 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33323         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33325 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33327         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33328         symbol reference.
33330 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33332         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33333         symbol reference.
33335 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33337         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33338         and internal_recvmmsg.
33339         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33340         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33341         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33342         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33344         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33345         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33346         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33348 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33350         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33352 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33354         POWER7 optimizations.
33355         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33356         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33358 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33360         * version.h: Update for 2.13 development version.
33362 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33364         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33365         exceptions.  Return 0.
33367 2010-05-07  Roland McGrath  <roland@redhat.com>
33369         * elf/ldconfig.c (main): Add a const.
33371 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33373         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33374         (args_options): Add no-idn option.
33375         (ahosts_keys_int): Add idn_flags to ai_flags.
33376         (parse_option): Handle 'i' option to clear idn_flags.
33378         * malloc/malloc.c (_int_free): Possible race in the most recently
33379         added check.  Only act on the data if no current modification
33380         happened.
33382 See ChangeLog.17 for earlier changes.